Install the CodeDeploy agent - 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.

Install the CodeDeploy agent

To use CodeDeploy on EC2 instances or on-premises servers, the CodeDeploy agent must be installed first. You can install the CodeDeploy agent with AWS Systems Manager or with the command line. For more information about Systems Manager, see What is AWS Systems Manager.

For the recommended version to install, see Version history of the CodeDeploy agent.