AWS CodeDeploy Supports Local Testing and Debugging

Posted on: Nov 16, 2017

You can now locally test and debug your deployment through the updated AWS CodeDeploy agent. The updated agent is a software package that, when installed on an instance, enables the instance to be used in CodeDeploy deployments and provides a command line interface for troubleshooting. 

Previously, if you wanted to test and debug your deployment, you had to fully configure AWS CodeDeploy. This includes installing the agent on the target host, creating a CodeDeploy Application, and creating a CodeDeploy Deployment Group. Now, you can execute a deployment directly on a local machine or instance where the CodeDeploy agent is installed. If your deployment has errors, you can easily find and view the error logs by accessing the agent with your terminal. This makes it faster and easier to find and fix bugs before configuring CodeDeploy for production.

To learn how to deploy locally with AWS CodeDeploy, go here. If you already use CodeDeploy, you can enable local deployment testing by updating your agent to version or later. To learn more about using AWS CodeDeploy, visit the documentation.

The AWS CodeDeploy agent is available globally in the (Ohio), US East (N. Virgina), US West (N. California), US West (Oregon), Asia Pacific (Seoul), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Canada (Central), EU (Frankfurt), EU (Ireland), EU (London), and South America (São Paulo) Regions. The CodeDeploy agent is also available in the AWS China (Beijing) Region, operated by Sinnet. For more information about AWS Regions, please visit here.