码迷,mamicode.com
首页 > 其他好文 > 详细

How to use aws CloudFront for CDN

时间:2014-12-26 11:01:07      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

How to use aws CloudFront for CDN

1. create a new distribution in AWS cloudfront service, select alternative domain names

技术分享

 

2. create a new subdomain, and point the new subdomain CNAME to the xxxxxxxx.cloundfront.net you just got from the service.

 

3. Do the original setting for, tell the service where it can get content, the original website can in EC2 or just any website that out side of aws.

技术分享

4. Setting cache Behaviors, tell the service what kind of objects can be cached, what kind of things need forward to the original server get the content.

技术分享

 

5. For each behavior, do the related settings.

技术分享

6. For the default behavior, do the related settings.

技术分享

 

7. Wait few minutes,  when the status changed to Deployed, then the clound front is working.

技术分享

 

How to use aws CloudFront for CDN

标签:

原文地址:http://www.cnblogs.com/shadowzhang/p/AWS_CDN_cloudfront.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!