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

The procedures in this guide support the new console design. If you choose to use the older version of the console, you will find many of the concepts and basic procedures in this guide still apply. To access help in the new console, choose the information icon.

Error Codes for AWS CodeDeploy

This topic provides reference information about AWS CodeDeploy errors.

Error Code Description


The deployment failed because of a problem with the AWS CodeDeploy agent. Make sure the agent is installed and running on all instances in this deployment group.

Learn more:


The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.

Learn more:


The deployment can’t start because the minimum number of healthy instances, as defined by your deployment configuration, are not available. You can reduce the required number of healthy instances by updating your deployment configuration or increase the number of instances in this deployment group.

Learn more:


The deployment failed because no service role exists with the service role name specified for the deployment group. Make sure you are using the correct service role name.

Learn more:


AWS CodeDeploy does not have the permissions required to assume a role, or the IAM role you're using does't give you permission to perform operations in an AWS service.

Learn more:


The service role associated with your deployment group does not have the permission required to perform operations in the following AWS service.

Learn more:


The deployment failed because more instances are targeted for deployment than are allowed for your account. To reduce the number of instances targeted for this deployment, update the tag settings for this deployment group or delete some of the targeted instances. Alternatively, you can contact AWS Support to request a limit increase.

Learn more:


The deployment failed because more requests were made than are permitted for AWS CodeDeploy by an IAM role. Try reducing the number of requests.

Learn more:


The deployment failed because the deployment group isn’t configured correctly with its Amazon EC2 Auto Scaling group. In the AWS CodeDeploy console, delete the Amazon EC2 Auto Scaling group from the deployment group, and then add it again.

Learn more:

Troubleshooting AWS CodeDeploy

On this page: