Skip to content

Instantly share code, notes, and snippets.

@jetztgradnet
Created February 3, 2011 02:46
Show Gist options
  • Save jetztgradnet/808950 to your computer and use it in GitHub Desktop.
Save jetztgradnet/808950 to your computer and use it in GitHub Desktop.
Usage of script to start an Amazon ElasticBeanstalk application with configuration parameters
usage: eb-create-app.sh <options> -a appname {-e envname|-T template}
eb-create-app.sh <options> -a appname -e envname
create and start an application
eb-create-app.sh <options> -a appname -T template
create an application and a configuration template
-a appname application name (required)
-e environment Name of environment to create
-T template Name of configuration template to create
-d desciption application description
-D desciption environment/template description
* Instance parameters
-i image-id AMI id
-t instance-type Instance type, e.g. 'm1.small' or 't1.micro'
-C solution-stack solution stack to use
possible values:
'32' -> 32bit Amazon Linux running Tomcat 6
'64' -> 64bit Amazon Linux running Tomcat 6
or any other solution stack as shown by
elastic-beanstalk-list-available-solution-stacks
-c CNAME CNAME to be used for the environment
if empty, the environment is used
* Security parameters
-k keyname name of SSH access key configured in EC2
-g security-group security group to apply
-o optionsfile file containing additional options in JSON format
* Application parameters
-V version label for application version
-f location S3 location of application WAR file.
Format: 'bucket/file_key'
If version is specified, but location is empty,
the AWS sample application is used
-1 value PARAM1
-2 value PARAM2
-3 value PARAM3
-4 value PARAM4
-5 value PARAM5
-j value JDBC_CONNECTION_STRING
* Load-balancing parameters
-m max-count max number of instances to create
-M min-count min number of instances to create
* Other parameters
-h usage show this help
-v increase verbosity
-q decrease verbosity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment