Here's a quick list of the AWS Elastic Beanstalk CLI Commands and their description for the super busy developer.
- Used to configure a local repository for your Elastic Beanstalk environment and source code. This will prompt you for your aws-access-id & aws-secret-key to connect to your aws account.
- Lists down all environments that are present for your application
- Opens the public url of the application
- To check the status of the application and various instances
- Prints the latest events for the specific environment
- Shows all app versions which are available in an interactive mode. User can delete a version of the application or create the application version lifecycle policy
- Gets all config of the environment. Saves the environment configuration settings as well as uploads, downloads, or lists saved configurations
- Terminates the environment
- Rebuilds a terminated environment, creating a new environment with the same name, ID, and configuration
- Upgrades the platform of your environment to the most recent version available for the platform
- Clones the environment
- Creates a new environment and deploys an application version to it
- Cancels an upgrade when environment configuration changes to instances are still in progress
- Scales the environment to always run on a specified number of instances, setting both the minimum and maximum number of instances to the specified number
- Helps you swap the environment's CNAME with the CNAME of another environment to avoid any down time
- Retrieves the tail logs of your environment
eb logs --all
- Retrieves all logs of your environment
- Set an environment property
- Prints the environment properties
- Deploys the application source bundle from the initialized project directory to the running application
- Configures the EB CLI to deploy from a CodeCommit repository, or disables CodeCommit integration and uploads the source bundle from your local machine
- Allows you to ssh into a non windows server/instance
- Add, delete, update, and list tags of an Elastic Beanstalk resource
Overall elastic beanstalk CLI is pretty straight forward to use for the beginner/intermediate developer.
For additional options and remaining commands check out the For the full list refer to AWS official documentation
What's your favorite command?