View a markdown version of this page

Install the CodeDeploy agent - Amazon CodeDeploy
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Install the CodeDeploy agent

Important

Version 2.0.0 of the CodeDeploy agent is being rolled out across Amazon Web Services Regions and might not be available in all Regions yet. It is an opt-in upgrade that can currently only be installed via the command line. To upgrade to version 2.0.0, see Install the CodeDeploy agent using the command line.

To use CodeDeploy on EC2 instances or on-premises servers, the CodeDeploy agent must be installed first. You can install the CodeDeploy agent with the command line or, for versions earlier than 2.0.0, with Amazon Systems Manager. 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.