QuestionQ90

VerifiedIncident and Event Response

A DevOps engineer is deploying a new version of a company’s application by using an AWS CodeDeploy deployment group associated with Amazon EC2 instances.

After a period of time, the deployment fails. The engineer discovers that every event associated with the specific deployment ID has a Skipped status, and the code was not deployed to the instances associated with the deployment group.

What are valid reasons for this failure?

Choose two
Explanation

For EC2/On-Premises CodeDeploy deployments in which all lifecycle events are skipped, target instances must be able to reach the CodeDeploy and Amazon S3 public endpoints over HTTPS; private-subnet instances require suitable outbound routing, such as through a NAT gateway. The CodeDeploy agent also requires an attached IAM instance profile with the necessary permissions to communicate with CodeDeploy and retrieve the application revision.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!