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

Stop a Deployment with AWS CodeDeploy

You can use the AWS CodeDeploy console, the AWS CLI, or the AWS CodeDeploy APIs to stop deployments associated with your AWS account.

Warning

Stopping a deployment can leave some or all of the instances in your deployment groups in an indeterminate deployment state. For more information, see Stopped and Failed Deployments.

Stop 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. On the AWS CodeDeploy menu, choose Deployments.

    Note

    If no entries are displayed, make sure the correct region is selected. On the navigation bar, in the region selector, choose one of the regions listed in Region and Endpoints in the AWS General Reference. AWS CodeDeploy supports these regions only.

  3. In the Actions column for the deployment you want to stop, choose Stop.

    Note

    If a Stop button does not appear in the Actions column, the deployment has progressed to a point where it cannot be stopped.

Stop a deployment (CLI)

Call the stop-deployment command, specifying the deployment ID. To view a list of deployment IDs, call the list-deployments command.