Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added CloudFormation based alternative workflow.

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.
Panel
borderColor#bbb
bgColor#eeeeee

On this page:

Table of Contents
maxLevel2
excludePopular.

...

...

:

...

Image Added

...

    • 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)

Questionslist macro
filterpopular
asktrue
limit8
topicaws-codedeploy