The following macros are not currently supported in the header:
  • unmigrated-wiki-markup

Documentation for Tasks for AWS 2.5 – other releases are available in the Tasks for AWS Documentation Directory.
View

Unknown macro: {spacejump}

or visit the current documentation home.

Deploying to AWS Elastic Beanstalk

The deployment of an artifact to AWS Elastic Beanstalk involves three different major components as follows:

  • Application – a logical collection of Elastic Beanstalk components, including environments, versions [...] (see the next two)
  • Application Version – a specific, labeled iteration of deployable code for a web application
  • Environment – a version that is deployed onto AWS resources

The lifecycle of any artifact (i.e. any specific application version) is illustrated by the diagram in What Is AWS Elastic Beanstalk and Why Do I Need It?:

The binding between those three components is established indirectly and comprises the following activities:

  1. create an application version for that application – see the Create action of the AWS Elastic Beanstalk Application Version task
  2. manage the environment, which implies going back to 3./4. and selecting one of two approaches for deploying a new application version (be it a newly created or a former one):
    1. update an environment as outlined in Deploying Versions to Existing Environments by replacing the currently running application version with another one – see the Update action of the AWS Elastic Beanstalk Environment task
    2. create a new environment, optionally swapping over to that one by Deploying Versions with Zero Downtime once it is verified as working correctly – see the Swap action of the AWS Elastic Beanstalk Environment task