All apps/AWS Elastic Beanstalk CLI

AWS Elastic Beanstalk CLI

aws-elasticbeanstalk

The EB CLI is a command line interface for AWS Elastic Beanstalk.

Runs as eb|macOS, Linux, Windows|docs.aws.amazon.com

Command form

ai-draft · 6 tasks · 21 fields

Use the subcommand tabs for the common eb jobs: init, deploy, list, open, ssh and use. Create, terminate and configuration commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui aws-elasticbeanstalk

eb init

Initialize application

Initialize a new Elastic Beanstalk application in the current directory.

Initialize applicationExample values, fixed in this page — nothing here reaches a terminal
Basic
Application name*
string
Advanced
Platform version
string
TasksEach one presets the form for one job
Initialize
nameplatform
ParametersOnly these flags are editable in the form
Application name
string · positional 0
Prompt for every option
boolean
--interactive-i
EC2 key pair
string
--keyname-k
Platform version
string
--platform-p
Tags
Comma-separated key=value list.
string
--tags

eb deploy

Deploy

Deploy the application source bundle from the project directory to the running environment.

DeployExample values, fixed in this page — nothing here reaches a terminal
Basic
Environment name
string
Version label
string
Version description
string
TasksEach one presets the form for one job
Deploy with a message
environmentlabelmessage
ParametersOnly these flags are editable in the form
Environment name
Leave blank for the default environment.
string · positional 0
Version label
string
--label-l
Version description
string
--message-m
Deploy staged files
Deploy files staged in the git index instead of the HEAD commit.
boolean
--staged
Timeout (minutes)
integer
--timeout
Existing version label
Deploy an existing application version.
string
--version

eb list

List environments

List environments.

List environmentsExample values, fixed in this page — nothing here reaches a terminal
Basic
All applications
--all
TasksEach one presets the form for one job
List all
all
ParametersOnly these flags are editable in the form
All applications
boolean
--all-a
Verbose
boolean
--verbose-v

eb open

Open environment URL

Open the environment's public URL in the default browser.

Open environment URLExample values, fixed in this page — nothing here reaches a terminal
Basic
Environment name
string
TasksEach one presets the form for one job
Open
environment
ParametersOnly these flags are editable in the form
Environment name
Leave blank for the default environment.
string · positional 0

eb ssh

SSH to instance

Connect to a Linux EC2 instance in the environment.

SSH to instanceExample values, fixed in this page — nothing here reaches a terminal
Basic
Environment name
string
Instance ID
string
TasksEach one presets the form for one job
SSH
environmentinstance
ParametersOnly these flags are editable in the form
Environment name
Leave blank for the default environment.
string · positional 0
Instance ID
string
--instance-i
Instance number
string
--number-n
Run command instead
Execute a shell command on the instance instead of starting a session.
string
--command
Keep port 22 open
Leave port 22 open on the security group after the session.
boolean
--keep_open-o

eb use

Set default environment

Set the specified environment as the default.

Set default environmentExample values, fixed in this page — nothing here reaches a terminal
Basic
Environment name*
string
TasksEach one presets the form for one job
Use environment
environment
ParametersOnly these flags are editable in the form
Environment name
Environment to use.
string · positional 0
Region
string
--region-r
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed eb against its version. A form that does not match your version is not offered.