Update a distribution - Amazon CloudFront

Update a distribution

In the CloudFront console, you can see the CloudFront distributions that are associated with your AWS account, view the settings for a distribution, and update most settings. Be aware that settings changes that you make won't take effect until the distribution has propagated to the AWS edge locations.

To update a CloudFront distribution
  1. Sign in to the AWS Management Console and open the CloudFront console at https://console.aws.amazon.com/cloudfront/v4/home.

  2. Select the ID of a distribution. The list includes all of the distributions associated with the AWS account that you used to sign in to the CloudFront console.

  3. To edit settings for a distribution, choose the Distribution Settings tab.

  4. To update general settings, choose Edit. Otherwise, choose the tab for the settings that you want to update: Origins or Behaviors.

  5. Make the updates, and then, to save your changes, choose Yes, Edit. For information about the fields, see the following topics:

  6. If you want to delete an origin in your distribution, do the following:

    1. Choose Behaviors, and then make sure you have moved any default cache behaviors associated with the origin to another origin.

    2. Choose Origins, and then select an origin.

    3. Choose Delete.

You can also update a distribution by using the CloudFront API:

  • To update a distribution, see UpdateDistribution in the Amazon CloudFront API Reference.


When you update your distribution, be aware that a number of additional fields are required that are not required to create a distribution. To help make sure that all of the required fields are included when you use the CloudFront API to update a distribution, follow the steps described in UpdateDistribution in the Amazon CloudFront API Reference.

When you save changes to your distribution configuration, CloudFront starts to propagate the changes to all edge locations. Successive configuration changes propagate in their respective order. Until your configuration is updated in an edge location, CloudFront continues to serve your content from that location based on the previous configuration. After your configuration is updated in an edge location, CloudFront immediately starts to serve your content from that location based on the new configuration.

Your changes don't propagate to every edge location at the same time. While CloudFront is propagating your changes, we can't determine whether a given edge location is serving your content based on the previous configuration or the new configuration.

To see when your changes are propagated, view your distribution Details in the console. The Last modified field changes from Deploying to a date and time when deployment is complete.