How to Create a New CloudFront Distribution.
S3 Browser Freeware comes with an easy to use CloudFront Distribution Wizard that provides you with a quick and easy way to create a new CloudFront distribution.
To create a new distribution:
1. Click Tools -> CloudFront Manager.Click Tools, CloudFront Manager
2. CloudFront Manager dialog will open. Click the New Distribution button:Click the New Distribution button to open the Create New CloudFront Distribution Wizard.Create New CloudFront Distribution Wizard will open:Create New CloudFront Distribution Wizard. Select a delivery method and click Next.
3. Select a delivery method:
- Download - to serve files over HTTP(S)
- Streaming - to stream media files over RTMP
- Live HTTP Streaming with Flash Media Server - to stream media files using Adobe's Flash Media Server running on your EC2 instance.
4. Click Next. Origin and CNAMEs page will open:Configure an Origin (and optionally CNAMEs) and click Next
5. Here you can configure an Origin and CNAMEs.
Choosing the origin server
An origin server is the location where you store the original, definitive version of your objects. For CloudFront, your origin server is either an Amazon S3 Bucket that you own, or a Custom Origin.
When you use Amazon S3 Bucket as your origin, you place any objects you want delivered through CloudFront in an Amazon S3 bucket.
A Custom Origin is any origin server that isn't hosted on Amazon S3. A custom origin might be located on a set of servers you manage privately, or it could be an Amazon EC2 instance.
For Custom Origin you can also configure additional parameters: Protocol Policy (How CloudFront fetches the objects from your custom origin) and Custom HTTP and HTTPS ports (80 and 443 are default values).Note: CloudFront currently only supports Amazon S3 origin servers for streaming distributions. Custom origins are not supported for streaming distributions.
You can specify up to the 10 CNAMEs separated by newlines or commas. Using CNAME you can choose a domain name for your links instead of the domain name CloudFront provides you. Download and streaming distributions support CNAMEs.
Note: You will also need to create a CNAME record in the DNS system to establish the alias between your domain name and the CloudFront domain name for your distribution.
6. Click Next.
CloudFront Logging page will open:You can enable Logging for your CloudFront Distribution if necessary.
7. Here you can enable Logging for your CloudFront Distribution.
Access logs are activity records that show you details about every request delivered through Amazon CloudFront. They contain a comprehensive set of information about requests for your content, including the object requested, the date and time of the request, the edge location serving the request, the client IP address, the referrer and the user agent.
To enable logging for your distribution:
Step 1: Mark the Enable logging checkbox
Step 2: Specify Logging Bucket - An Amazon S3 Bucket to store the access logs in.
Step 3: Specify Logging Prefix - An optional string of your choice to prefix to the access log filenames for this distribution.
8. Click Next.
Advanced Properties page will open:You can enable Logging for your CloudFront Distribution if necessary.
9. Here you can specify additional distribution properties:
Comment - Optional comment about the distribution. The maximum allowed length is 128 characters.
Allowed Connections - You can restrict access to your download distribution to HTTPS only. Note: You always incur a surcharge for HTTPS requests and bytes transferred. See CloudFront pricing for more details.
Default Root Object - An object that CloudFront returns when a user's request points to root of your download distribution instead of a specific object. Defining a default root object avoids exposing the contents of your distribution. Example: index.html
Minimum Time To Live (Min TTL) - Optional, and only applies to Download distributions. Minimum amount of time that CloudFront keeps an object in the cache before forwarding another request to the origin. This value applies to all of the objects in a distribution.
Note: Most of the advanced features are not available for Streaming Distributions.
10. Click Next.
Distribution Summary page will open:Review details of the distribution and click Finish.
11. Review details of the distribution and click Finish (you can also copy distribution details using context menu).
S3 Browser will create a new CloudFront Distribution.
"S3 Browser is an invaluable tool to me as a web developer to easily manage my automated site backups" -Bob Kraft, Web Developer
"Just want to show my appreciation for a wonderful product. I use S3 Browser a lot, it is a great tool." -Gideon Kuijten, Pro User
"Thank You Thank You Thank You for this tool. A must have for anyone using S3!" -Brian Cummiskey, USA