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

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Update the CodeDeploy Agent on Amazon Linux or RHEL

After the CodeDeploy agent (codedeploy-agent.noarch.rpm) is installed on an instance, it is updated within 24 hours of the release of a new version. The update time cannot be easily cancelled or rescheduled. If a deployment is in progress during the update, the current deployment lifecycle event finishes first. After the update is complete, the deployment resumes with the next deployment lifecycle event.

If you want to force an update of the CodeDeploy agent, sign in to the instance, and run the following command:

sudo /opt/codedeploy-agent/bin/install auto