Creating an Elastic Beanstalk environment - AWS Elastic Beanstalk

Creating an Elastic Beanstalk environment

You can deploy multiple AWS Elastic Beanstalk 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 Elastic Beanstalk 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)

  1. Open the Elastic Beanstalk console.

  2. Choose an existing application or create one.

  3. From the Actions menu in the upper-right corner, choose Create environment.

  4. Choose the Web server environment or Worker environment environment tier. You can't change an environment's tier after creation.


    The .NET on Windows Server platform doesn't support the worker environment tier.

  5. Choose a Platform that matches the language used by your application.


    Elastic Beanstalk supports multiple versions for most of the platforms that are listed. By default, the console selects the latest version of the language, web container, or framework supported by Elastic Beanstalk. If your application requires an earlier version, choose Configure more options, as described in step 7.

  6. For App code, choose Sample application.

  7. To further customize your environment, choose Configure more options. You can set the following options only during environment creation:

    • Environment name

    • Domain name

    • Platform version (configuration)

    • VPC

    • Tier

    You can change the following settings after environment creation, but they require new instances or other resources to be provisioned and can take a long time to apply:

    • Instance type, root volume, key pair, and AWS Identity and Access Management (IAM) role

    • Internal Amazon RDS database

    • Load balancer

    For details on all available settings, see The create new environment wizard.

  8. Choose Create environment.

While Elastic Beanstalk creates your environment, you are redirected to the Elastic Beanstalk console. When the environment health turns green, choose 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.