Amazon CloudFront
Developer Guide (API Version 2016-09-29)

Deleting a Distribution

If you no longer want to use a distribution, use the following procedure to delete it using the CloudFront console.

You can also delete a distribution using the CloudFront API:

Note

CloudFront lets you create up to 200 web distributions and 100 RTMP distributions using one AWS account.

To Delete a CloudFront Distribution

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

  2. In the right pane of the CloudFront console, find the distribution that you want to delete.

  3. If the value of the State column is Disabled, skip to Step 7.

    If the value of State is Enabled and the value of Status is Deployed, continue with Step 4 to disable the distribution before deleting it.

    If the value of State is Enabled and the value of Status is InProgress, wait until Status changes to Deployed. Then continue with Step 4 to disable the distribution before deleting it.

  4. In the right pane of the CloudFront console, check the check box for the distribution that you want to delete.

  5. Click Disable to disable the distribution, and click Yes, Disable to confirm. Then click Close.

  6. The value of the State column immediately changes to Disabled. Wait until the value of the Status column changes to Deployed.

  7. Check the check box for the distribution that you want to delete.

  8. Click Delete, and click Yes, Delete to confirm. Then click Close.