jack get

Run the following command to download the configuration from the Elastic Beanstalk environment:

jack get hi-web-stag

You should see something similar to this:

Let’s take a look the contents of the downloaded file:

  Description: Configuration created from the EB CLI using "eb config save".
  Name: WebServer
  Type: Standard
    EC2KeyName: default
    IamInstanceProfile: aws-elasticbeanstalk-ec2-role
    InstanceType: t2.micro
    RollingUpdateEnabled: true
    RollingUpdateType: Health
    BatchSize: '30'
    BatchSizeType: Percentage
    ServiceRole: aws-elasticbeanstalk-service-role
    SystemType: enhanced
    CrossZone: true
    ConnectionDrainingEnabled: true
  PlatformArn: arn:aws:elasticbeanstalk:us-west-2::platform/Docker running on 64bit
    Amazon Linux/2.1.0

As you can see the configuration file contains everything there is to know about the Elastic Beanstalk environment. These settings include ELB behavior, VPC, LaunchConfiguration, AutoScaling settings, hard drive size, environment variables, etc. With this file you can completely rebuild the environment and even “clone” it across Elastic Beanstalk applications.

If you would like to save the config file under a different path, you can use the -c option.

jack get hi-web-stag -c my-config

This saves the config file to jack/cfg/my-config.cfg.yml. You can also override which config file to use with the -c flag when creating EB environments like so:

jack create hi-web-stag-2 -c my-config

If you would like to override the application name convention you can use the --app option.

jack create hi-web-stag-2 --app myapp

Pro tip: Use the <- and -> arrow keys to move back and forward.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!