Creating a distribution
You can create or update a distribution by using the CloudFront console or programmatically. This topic is about working with distributions by using the console.
If you want to create or update a distribution by using the CloudFront API, see Create Distribution or Update Distribution in the Amazon CloudFront API Reference.
Important
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 update your distribution by using the CloudFront API, follow the steps described in the Amazon CloudFront API Reference.
To see the current maximum number of distributions that you can create for each AWS account, or to request a higher quota (formerly known as limit), see General quotas on distributions.
To create a CloudFront web distribution (console)
Sign in to the AWS Management Console and open the CloudFront console at https://console.aws.amazon.com/cloudfront/v3/home
. -
Choose Create distribution.
-
Specify settings for the distribution. For more information, see Values that you specify when you create or update a distribution.
-
Save changes.
-
After CloudFront creates your distribution, the value of the Status column for your distribution will change from InProgress to Deployed. If you chose to enable the distribution, it will be ready to process requests after the status switches to Deployed.
The domain name that CloudFront assigns to your distribution appears in the list of distributions. (It also appears on the General tab for a selected distribution.)
Tip
You can use an alternate domain name, instead of the name assigned to you by CloudFront; by following the steps in Using custom URLs by adding alternate domain names (CNAMEs).
-
When your distribution is deployed, confirm that you can access your content using your new CloudFront URL or CNAME. For more information, see Testing a distribution.
To update a distribution (for example, to add or change cache behaviors), see Updating a distribution.