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

AWS CodeDeploy Resource Kit Reference

Many of the files AWS CodeDeploy relies on are stored in publicly available, AWS region-specific Amazon S3 buckets. We call this collection of files the AWS CodeDeploy Resource Kit.

Resource Kit File List

The following table lists the files in the AWS CodeDeploy Resource Kit.

File Description
VERSION A file used by AWS CodeDeploy agents to update themselves as they are running on instances.
codedeploy-agent.noarch.rpm The AWS CodeDeploy agent for Amazon Linux and Red Hat Enterprise Linux (RHEL). There may be several files with the same base file name, but different versions (such as -1.0-0).
codedeploy-agent_all.deb The AWS CodeDeploy agent for Ubuntu Server. There may be several files with the same base file name, but different versions (such as _1.0-0).
codedeploy-agent.msi The AWS CodeDeploy agent for Windows Server. There may be several files with the same base file name, but different versions (such as -1.0-0).
install A file you can use to more easily install the AWS CodeDeploy agent.

CodeDeploy_SampleCF_Template.json

An AWS CloudFormation template you can use to launch from one to three Amazon EC2 instances running Amazon Linux or Windows Server. There may be several files with the same base file name, but different versions (such as -1.0.0).

SampleApp_Linux.zip

A sample application revision you can deploy to an Amazon EC2 instance running Amazon Linux or to a Ubuntu Server or RHEL instance. There may be several files with the same base file name, but different versions (such as -1.0).

SampleApp_Windows.zip A sample application revision you can deploy to a Windows Server instance. There may be several files with the same base file name, but different versions (such as -1.0).

Displaying a List of the Resource Kit Files

To view a list of files, use the aws s3 ls command for your region.

Note

The files in each bucket are designed to work with resources in the corresponding region.

Copy
aws s3 ls --recursive s3://aws-codedeploy-us-east-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-us-east-2
Copy
aws s3 ls --recursive s3://aws-codedeploy-us-west-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-us-west-2
Copy
aws s3 ls --recursive s3://aws-codedeploy-ca-central-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-eu-west-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-eu-west-2
Copy
aws s3 ls --recursive s3://aws-codedeploy-eu-central-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-ap-northeast-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-ap-northeast-2
Copy
aws s3 ls --recursive s3://aws-codedeploy-ap-southeast-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-ap-southeast-2
Copy
aws s3 ls --recursive s3://aws-codedeploy-ap-south-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-sa-east-1
Copy
aws s3 ls --recursive s3://aws-codedeploy-cn-north-1

Downloading the Resource Kit Files

To download a file, use the aws s3 cp command for your region.

Note

Be sure to use the period (.) near the end. This downloads the file to your current directory.

The following commands download a single file named SampleApp_Linux.zip from one of the buckets' /samples/latest/ folders:

Copy
aws s3 cp s3://aws-codedeploy-us-east-1/samples/latest/SampleApp_Linux.zip . --region us-east-1
Copy
aws s3 cp s3://aws-codedeploy-us-east-2/samples/latest/SampleApp_Linux.zip . --region us-east-2
Copy
aws s3 cp s3://aws-codedeploy-us-west-1/samples/latest/SampleApp_Linux.zip . --region us-west-1
Copy
aws s3 cp s3://aws-codedeploy-us-west-2/samples/latest/SampleApp_Linux.zip . --region us-west-2
Copy
aws s3 cp s3://aws-codedeploy-ca-central-1/samples/latest/SampleApp_Linux.zip . --region ca-central-1
Copy
aws s3 cp s3://aws-codedeploy-eu-west-1/samples/latest/SampleApp_Linux.zip . --region eu-west-1
Copy
aws s3 cp s3://aws-codedeploy-eu-west-2/samples/latest/SampleApp_Linux.zip . --region eu-west-2
Copy
aws s3 cp s3://aws-codedeploy-eu-central-1/samples/latest/SampleApp_Linux.zip . --region eu-central-1
Copy
aws s3 cp s3://aws-codedeploy-ap-northeast-1/samples/latest/SampleApp_Linux.zip . --region ap-northeast-1
Copy
aws s3 cp s3://aws-codedeploy-ap-northeast-2/samples/latest/SampleApp_Linux.zip . --region ap-northeast-2
Copy
aws s3 cp s3://aws-codedeploy-ap-southeast-1/samples/latest/SampleApp_Linux.zip . --region ap-southeast-1
Copy
aws s3 cp s3://aws-codedeploy-ap-southeast-2/samples/latest/SampleApp_Linux.zip . --region ap-southeast-2
Copy
aws s3 cp s3://aws-codedeploy-ap-south-1/samples/latest/SampleApp_Linux.zip . --region ap-south-1
Copy
aws s3 cp s3://aws-codedeploy-sa-east-1/samples/latest/SampleApp_Linux.zip . --region sa-east-1
Copy
aws s3 cp s3://aws-codedeploy-cn-north-1/samples/latest/SampleApp_Linux.zip . --region cn-north-1

To download all of the files, use one of the following commands for your region:

Copy
aws s3 cp --recursive s3://aws-codedeploy-us-east-1 . --region us-east-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-us-east-2 . --region us-east-2
Copy
aws s3 cp --recursive s3://aws-codedeploy-us-west-1 . --region us-west-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-us-west-2 . --region us-west-2
Copy
aws s3 cp --recursive s3://aws-codedeploy-ca-central-1 . --region ca-central-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-eu-west-1 . --region eu-west-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-eu-west-2 . --region eu-west-2
Copy
aws s3 cp --recursive s3://aws-codedeploy-eu-central-1 . --region eu-central-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-ap-northeast-1 . --region ap-northeast-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-ap-northeast-2 . --region ap-northeast-2
Copy
aws s3 cp --recursive s3://aws-codedeploy-ap-southeast-1 . --region ap-southeast-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-ap-southeast-2 . --region ap-southeast-2
Copy
aws s3 cp --recursive s3://aws-codedeploy-ap-south-1 . --region ap-south-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-sa-east-1 . --region sa-east-1
Copy
aws s3 cp --recursive s3://aws-codedeploy-cn-north-1 . --region cn-north-1