|
A
CloudFront Distribution
is a link between Origin (S3 or Non S3) and an Amazon CloudFront domain name. You can use new Distribution Domain name in place of Origin (AWS S3 or Non AWS S3). You can create distribution which delivers the content over as HTTPS connection. You can create disctribution for S3 as well as custsom (Non S3) domain.
Bucket Explorer is now supporting AWS CloudFront's New feature "
Dynamic Content Delivery
". Now CloudFront has become more useful and powerful service on adding this new feature. This new feature provides you an easy, cost effective process to increase the performance, more reliable and provides availability of your dynamic websites to the world . Now CloudFront works like Amazon EC2's running applications. Now you can combine your origin running from inside of AWS as well as outside of AWS. It is not only simple but also more usable and reliable service. Now you can get benifit of this CloudFront service using Bucket Explorer.
|
As we know that
CloudFront
is the link for the Origin and Distribution Domain. To Create Distribtuion we have to configure it. For that you have to do some sort of settings, like which type of distibution you want to create (
Download / Streaming
), then you have to mention Origins for which you want to create distribution and then you have to define Cache Behavior for the each Origin. You can also set Default Root, Logging for the distribution, CNAME, Min TTL, Connection Type (Secure/Non Secure), Trusted Signers, make private the origin access by adding Origin Access Identity ID.
So When you go to create Download Distribution, You will find four steps
1. Distribution Type
2. General Details
3. Origin Details
4. Cache Behavior Details
|
|
|
How to create multi domain download distribution for dynamic content delivery ?
-
Run Bucket Explorer.
-
Choose "Distribution" icon from Bucket table toolbar or you can do the same by selecting "Manage Distribution" option from right click menu option of any bucket.
-
It displays a "Distribution" window having list of already created distributions.
-
To create new distribution choose "New" icon from toolbar of Distribution window.
-
It opens a new window to create distribution, now you need to set configuration for public distribution.
|
|
Step 1. Distribution Type
-
Here you will have two options. One Download Distribution and another one is Streaming Distribution. Here you have to select the distribution type "Download Distribution"
|
|
Step 2. General Distribuiton Details
-
Default Root Object
[
Optional
] : Enter Default Root Object if you want to make any file default (for default Origin Cache Behavior - Details added at Step 4)
-
CNAME
[
Optional
] : Enter CName Entry if you want to add. You can enter upto 10 CName entries here.
-
Logging
[
Optional
] : You can also add Logging setting details here, where you want to get created distribution logging with file having prefix so and so. So You can mention Bucket Name and Log File Name Prefix here.
-
Comments
[Optional]
: Enter comment about this distribution.
-
After entering all required entries, press Next Button.
|
|
Step 3. Origin Details
-
Here you will find two tabs. 1. S3 Origin 2. Non-S3 (Custom) Origin, Select S3 Origin tab.
-
Now you have to select Bucket as
S3 Origin
-
Do not make any selection for Origin Access Identitiy Details - Only for Private Download Distribution
-
Now Press Add Button S3 Origin details.
-
Now click on
Non S3 Origin
Tab
-
Enter your domain name outside of AWS. like bucketexplorer.com etc.
-
Enter Port for Secure and Non Secure connect
-
Choose protocol policy for custom origin Http-Only / Match Viewer.
-
Now Press Add Button to add custom origin details.
-
You can add number of origin as you want to merge in a distirbution.
-
After entering all required entries, press Next Button.
|
|
Step 4. Cache Behavior Details
Here you will see the two combo box Domain Name/ Targeted Origin Id. You have to select any one combo item and add cache behavior for each Domain/Targeted Origin Id. Remember Out of them one must be default cache behavior.
-
Targeted Origin ID
: To make associated the cache behavior with origin, you have to select the targeted origin id or select any bucket, Both are associated with each other.
-
Path Pattern
: You can add Path pattern for cache behavior ( Not Applicable for Default Cache Behavior)
-
Trusted Signer
: Keep trusted signer disabled ( Unchecked the Trusted Signer Checkbox.)
-
Viewer Protocol Policy
: Select either Allow All or Https Only.
-
Query String
: You can set query string option enabled or disabled as par your requirements.
-
Min TTL
: You can set min TTL for distribution from 0-0 to ~3,153,600,000 seconds.
-
Default :
If Origin table has one entry then here Cache Behavior will have to be set default.
-
When for all domain there is one entry in Cache Behavior details table then , press Create Button to create Distribution.
-
Finally you have created Download Distribution for faster dynamic content delivery.
|
-^
Default Root Object
:
You can use bucket explorer to assign a default object for your distribution. A default object is a file that is designated as the object for Amazon CloudFront to return in response when a user requests to your distribution's root URL instead of a specific object in your distribution.
AWS S3 Origin
: It refers to Amazon S3 Bucket like mybucket.s3.amazonaws.com
Non S3 Origin
: It refers to any domain other than Amazon S3 Bucket, like bucketexplorer.com, sdbexplorer.com etc.
Related Topics:
|
|