Menu
AWS CodeDeploy
User Guide (API Version 2014-10-06)

Create a Deployment (Console)

  1. Sign in to the AWS Management Console and open the AWS CodeDeploy console at https://console.aws.amazon.com/codedeploy.

    Note

    Sign in with the same account or IAM user information you used in Getting Started.

  2. Do one of the following:

    • On the AWS CodeDeploy menu, choose Deployments, and then choose Create deployment.

    • On the AWS CodeDeploy menu, choose Applications, and then choose the name of the application you want to deploy a revision to. On the Application details, page, select the button for the deployment group you want to deploy a revision to. On the Actions menu, choose Deploy new revision.

  3. In the Application list, choose the name of the application you want to use for this deployment.

  4. In the Deployment group list, choose the name of the deployment group associated with the application.

  5. Next to Revision type, choose the repository type your revision is stored in:

  6. (Optional) In the Deployment description box, type a description for this deployment.

  7. In the Deployment configuration list, choose a deployment configuration to control the rate at which instances are updated with the new application revisions (in-place deployments) or the rate at which traffic is rerouted to a replacement environment (blue/green deployments).

    For more information, see Working with Deployment Configurations.

  8. (Optional) In the Rollback configuration overrides area, you can specify different automatic rollback options for this deployment than were specified for the deployment group, if any.

    Note

    For information about rollbacks in AWS CodeDeploy, see Redeployments and Deployment Rollbacks and Redeploy and Roll Back a Deployment.

    Choose from the following:

    • Roll back when a deployment fails — AWS CodeDeploy will redeploy the last known good revision as a new deployment.

    • Roll back when alarm thresholds are met — If alarms were added to the deployment group, AWS CodeDeploy will redeploy the last known good revision when one or more of the specified alarms is activated.

    • Disable rollbacks — Do not perform rollbacks for this deployment.

  9. Choose Deploy.

    To track the status of your deployment, see View Deployment Details.