Update the CodeDeploy agent on Amazon Linux or RHEL - AWS CodeDeploy
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Update the CodeDeploy agent on Amazon Linux or RHEL

To configure automatic, scheduled updates of the CodeDeploy agent using AWS Systems Manager, follow the steps in Install the CodeDeploy agent with AWS Systems Manager.

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