Creating an AWS Elastic Beanstalk Environment
You can deploy multiple environments when you need to run multiple versions of an application. For example, you might have development, integration, and production environments.
For instructions on creating and managing environments with the EB CLI, see Managing Elastic Beanstalk Environments with the EB CLI.
The Create New Environment wizard in the AWS Management Console guides you through the creation of an environment step by step, with a bevy of options for configuring the resources that Elastic Beanstalk deploys on your behalf. If you are just getting started, you can use the default values for many of these options without issue.
Creating an environment requires the permissions in the Elastic Beanstalk full access managed policy. See Elastic Beanstalk User Policy for details.
Follow this procedure to launch a new environment running the default application. These steps are simplified to get your environment up and running quickly. See The Create New Environment Wizard for more detailed instructions with descriptions of all of the available options.
To launch an environment with a sample application (console)
Open the Elastic Beanstalk console.
Choose an application or create a new one.
In the upper right corner, choose Create New Environment from the Actions menu.
Choose between Web server and Worker environment types. You cannot change an environment's tier after creation.
For Platform, choose the platform that matches the language used by your application.
For App code, choose Sample application.
If you would like to further customize your environment, choose Configure more options. The following options can only be set during environment creation:
The following settings can be changed after environment creation, but require new instances or other resources to be provisioned and can take a long time to apply:
Instance type, root volume, key pair, and IAM role
Internal RDS database
For details on all available settings, see The Create New Environment Wizard.
Choose Create environment.
While Elastic Beanstalk creates your environment, you are redirected to the The AWS Elastic Beanstalk Environment Management Console. Once the environment health turns green, click on the URL next to the environment name to view the running application. This URL is generally accessible from the Internet unless you configure your environment to use a custom VPC with an internal load balancer.