Use CS Browser to create a CloudFront distribution that delivers content from an Amazon S3 bucket or a custom origin. The wizard lets you add a custom domain, enable access logs, and configure HTTPS and caching.
Custom Origin - Enter the hostname of a web server or an Amazon S3 website endpoint. Select how CloudFront connects to the origin and adjust the HTTP or HTTPS ports as needed. The default ports are 80 and 443. For an Amazon S3 website endpoint, use HTTP Only.
CNAMEs - To serve content under your own domain, enter the alternate names in lowercase, one per line or separated by commas. See the CloudFront quotas for the number of names per distribution.
ACM certificate ARN or IAM certificate ID - For a standard AWS account, this field appears when you enter a CNAME. Provide a certificate that covers all the names. An ACM certificate for CloudFront must be in us-east-1. See AWS instructions for adding alternate domain names.
Click Next.
The Logging page opens:
Standard logging to an Amazon S3 bucket
Enable logging - Select this option to turn on CloudFront standard logging (legacy). Access logs can help you review requests for your content. CloudFront delivers them on a best-effort basis.
Logs location - Choose an existing Amazon S3 bucket with ACLs enabled and add an optional prefix, such as docs-example-logs/cloudfront/. Use a separate bucket for the logs if your origin is an Amazon S3 bucket. Check the AWS requirements for the log bucket.
Click Next.
The Advanced page opens:
Viewer connections, root object, and cache settings
Comment - Enter an optional description, up to 128 characters.
Allowed Connections - Choose how viewers connect to CloudFront. HTTP and HTTPS accepts either protocol. HTTPS Only rejects HTTP requests. Redirect HTTP to HTTPS redirects them. See CloudFront pricing.
Default Root Object - Enter the object to serve at the distribution's root URL, such as index.html. Enter its name without a leading slash.
Minimum Time To Live (Min TTL) - Set the minimum cache lifetime for the default cache behavior. Values above zero can override origin directives such as no-cache, no-store, and private. See CloudFront cache behavior settings.
Click Next.
The Distribution Summary page opens:
Review the distribution before creating it
Review the settings. To save a copy, right-click the summary and choose Copy. Click Finish to create the distribution.
In CloudFront Manager, refresh the list until the new distribution's Status is Deployed. Use its Domain Name to test delivery over HTTPS and as the target for any alternate domain names you configured.
CS Browser is developed by Netsdk Software FZE and is not affiliated with, endorsed by, or sponsored by Amazon or AWS. Amazon S3 and Amazon S3 Glacier are trademarks of Amazon.com, Inc. or its affiliates.