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

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

Unknown macro: {spacejump}

or visit the current documentation home.

Deploying to AWS CodeDeploy

Components

The deployment of an artifact to AWS CodeDeploy involves several major components as follows:

  • Application – A name that uniquely identifies the application that you want to deploy.

    • Application RevisionAn archive file containing source content – such as source code, web pages, executable files, and deployment scripts – along with an Application Specification File (AppSpec file). Revisions are stored in Amazon S3 buckets or GitHub repositories.
    • Deployment ConfigurationA set of deployment rules and deployment success and failure conditions that AWS CodeDeploy uses during a deployment.
    • Deployment GroupA set of individual instances. A deployment group contains individually-tagged Amazon EC2 instances, Amazon EC2 instances in Auto Scaling groups, or both.

 

Workflow

The deployment workflow is illustrated by the following diagram:

    • (info) the AWS CodeDeploy Agent on each participating instance pulls the revision from the specified Amazon S3 bucket or GitHub repository and starts deploying the contents to that instance, following the instructions in the AppSpec file that's provided

Alternative workflow via CloudFormation

A typical workflow based on CloudFormation might look as follows:

  1. commit or upload the application source code (the 'Revision') – see the Upload File(s) action of the Amazon S3 Object task
  2. create/update the CloudFormation stack that provisions the CodeDeploy application and deployment group – see the Create Stack action of the AWS CloudFormation Stack task

Frequently Asked Questions (FAQ)