Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
elasticbeanstalk
/
File Content:
create-environment.rst
**To create a new environment for an application** The following command creates a new environment for version "v1" of a java application named "my-app":: aws elasticbeanstalk create-environment --application-name my-app --environment-name my-env --cname-prefix my-app --version-label v1 --solution-stack-name "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8" Output:: { "ApplicationName": "my-app", "EnvironmentName": "my-env", "VersionLabel": "v1", "Status": "Launching", "EnvironmentId": "e-izqpassy4h", "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", "CNAME": "my-app.elasticbeanstalk.com", "Health": "Grey", "Tier": { "Type": "Standard", "Name": "WebServer", "Version": " " }, "DateUpdated": "2015-02-03T23:04:54.479Z", "DateCreated": "2015-02-03T23:04:54.479Z" } ``v1`` is the label of an application version previously uploaded with `create-application-version`_. .. _`create-application-version`: http://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/create-application-version.html **To specify a JSON file to define environment configuration options** The following ``create-environment`` command specifies that a JSON file with the name ``myoptions.json`` should be used to override values obtained from the solution stack or the configuration template:: aws elasticbeanstalk create-environment --environment-name sample-env --application-name sampleapp --option-settings file://myoptions.json For more information, see `Option Values`_ in the *AWS Elastic Beanstalk Developer Guide*. .. _`Option Values`: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html
Submit
FILE
FOLDER
Name
Size
Permission
Action
abort-environment-update.rst
210 bytes
0644
check-dns-availability.rst
317 bytes
0644
create-application-version.rst
932 bytes
0644
create-application.rst
832 bytes
0644
create-configuration-template.rst
592 bytes
0644
create-environment.rst
1737 bytes
0644
create-storage-location.rst
226 bytes
0644
delete-application-version.rst
282 bytes
0644
delete-application.rst
163 bytes
0644
delete-configuration-template.rst
263 bytes
0644
delete-environment-configuration.rst
236 bytes
0644
describe-application-versions.rst
1186 bytes
0644
describe-applications.rst
1276 bytes
0644
describe-configuration-options.rst
1916 bytes
0644
describe-configuration-settings.rst
2095 bytes
0644
describe-environment-health.rst
1499 bytes
0644
describe-environment-resources.rst
986 bytes
0644
describe-environments.rst
1106 bytes
0644
describe-events.rst
1586 bytes
0644
describe-instances-health.rst
2052 bytes
0644
list-available-solution-stacks.rst
2560 bytes
0644
rebuild-environment.rst
199 bytes
0644
request-environment-info.rst
408 bytes
0644
restart-app-server.rst
210 bytes
0644
retrieve-environment-info.rst
938 bytes
0644
swap-environment-cnames.rst
236 bytes
0644
terminate-environment.rst
855 bytes
0644
update-application-version.rst
781 bytes
0644
update-application.rst
766 bytes
0644
update-configuration-template.rst
915 bytes
0644
update-environment.rst
3234 bytes
0644
validate-configuration-settings.rst
2712 bytes
0644
N4ST4R_ID | Naxtarrr