Menu
AWS CodeDeploy
User Guide (API Version 2014-10-06)

Prerequisites

For this tutorial, we assume you have already completed all of the steps in Getting Started, including setting up and configuring the AWS CLI and creating an IAM instance profile (CodeDeployDemo-EC2-Instance-Profile) and a service role (CodeDeployDemo). A service role is a special type of IAM role that gives a service permission to act on your behalf.

If you want to deploy an application revision to an Auto Scaling group of Ubuntu Server Amazon EC2 instances, you can create and use the sample revision in Step 2: Create a Sample Application Revisionin the Tutorial: Deploy an Application to an On-Premises Instance tutorial. Otherwise, you will need to create and use a revision that is compatible with an Ubuntu Server instance and AWS CodeDeploy. We also provide sample revisions for Amazon Linux, Windows Server, and Red Hat Enterprise Linux (RHEL) Amazon EC2 instances. To create a revision on your own, see Working with Application Revisions.