Next: Step 3---Test Your Links, Previous: Step 1---Upload Your Content to Amazon S3 and Grant Object Permissions, Up: Getting Started with CloudFront [Index]
The options are:
Specify the domain name for your origin — the Amazon S3 bucket, AWS MediaPackage channel endpoint, AWS MediaStore container endpoint, or web server from which you want CloudFront to get your web content. The files in your origin must be publicly readable if you are not using an OAI.
The dropdown list contains the available AWS resources in the current AWS account. To use a resource from a different AWS account, type the domain name of the resource.
Optional. If you want CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin, enter the directory name here, beginning with a ‘/’. Do not include a ‘/’ at the end of the directory name.
CloudFront appends the directory name to the value of Origin Domain Name when forwarding the request to your origin.
The default cache behavior only allows a path pattern of
‘*’ (forward all requests to the origin specified by
Origin). To change the behavior or the routing for
other requests (for example, *.jpg
), add more cache
behaviors after you create the distribution.
For more information about cache behavior options,
The options are:
If you want CloudFront to allow viewers to access your web content using either HTTP or HTTPS, specify HTTP and HTTPS. If you want CloudFront to redirect all HTTP requests to HTTPS, specify Redirect HTTP to HTTPS. If you want CloudFront to require HTTPS, specify HTTPS Only.
You must list any custom domain names that you use in addition to the CloudFront domain name for the URLs for your files. Specify up to 100 CNAMEs separated with commas or put each on a new line.
You also must create a CNAME record with your DNS service to route queries for the custome domain to the CloudFront domain.
The options are:
*.cloudfront.net
) — Choose this
option if you want your users to use HTTPS or HTTP to access your
content with the CloudFront domain name.
example.com
) — Choose this option if you
want your users to access your content by using an alternate domain
name. You can use a certificate stored in AWS Certificate Manager (ACM)
in the US East (N. Virginia) Region.
Optional.
The object that you want CloudFront to return (for example,
index.html
) when a viewer request points to your root URL instead of
to a specific object in your distribution.
Select whether you want CloudFront to log all viewer requests for files in your distribution. You are charged for access logs.