Install the CodeDeploy agent
Version 2.0.x rollout status
Version 2.0.x of the CodeDeploy agent is being rolled out across Amazon Web Services Regions and might not be available in all Regions yet. Version 2.0.0 is an opt-in upgrade. Use the instructions on this page to upgrade to version 2.0.x from any older revisions.
To use CodeDeploy on EC2 instances or on-premises servers, the CodeDeploy agent must be installed
first. You can install the CodeDeploy agent with Amazon Systems Manager or with the command line. For more
information about Systems Manager, see What is Amazon Systems Manager
For the recommended version to install, see Version history of the CodeDeploy agent.