View a markdown version of this page

Managing CodeDeploy agent operations - 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).

Managing CodeDeploy agent operations

The instructions in this section show you how to install, uninstall, reinstall, or update the CodeDeploy agent and how to verify the CodeDeploy agent is running.

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.

Tip

Some instructions on this page differ depending on the agent version. If you are unsure which version is installed, run /opt/codedeploy-agent/bin/codedeploy-agent --version (Linux) or & 'C:\ProgramData\Amazon\CodeDeploy\bin\codedeploy-agent.exe' --version (Windows). If that command is not recognized, you are running version 1.8.x or earlier. For more information, see Determine the version of the CodeDeploy agent.