Introducing Amazon S3 Website Features


Published on

We're excited to announce new features that make it easy to host static websites on Amazon S3. Customers already use Amazon S3 to host images, video, and other content for their website, but until now they haven't been able to effectively host their entire website on Amazon S3. That's because even though customers can configure an Amazon S3 bucket as a website, users accessing the root of the website (e.g. would see the list of objects in the Amazon S3 bucket instead of the website's home page. Also, if an error occurred, users would see an Amazon S3 error message instead of a website specific error message. In response to customer requests, we've added support for root and custom error documents to address these issues.

Published in: Technology
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Amazon S3 was originally designed to be accessed by programs. Amazon S3 for humans!
  • Also supported by Bucket Explorer and Cloudberry S3 Explorer
  • Will also demonstrate additional information provided if
  • Other error states to demonstrate: No error.html/index.html Content not set to Public (same as no index.html) Access via s3-website endpoint, but Website is not configured on the bucket
  • Will show this slide during Q&A
  • Introducing Amazon S3 Website Features

    1. 1. Introducing Amazon S3 Website Features<br />Matt Davis, Amazon S3 Senior Product ManagerCarl Perry, Amazon S3 Development ManagerFebruary 24, 2011<br />
    2. 2. Agenda<br />Brief overview of Amazon S3<br />Review the new Website Features <br />Discuss how to use them<br />
    3. 3. What is Amazon S3?<br />Amazon S3 is storage for the Internet. It can be used to store and retrieve any amount of data, at any time, from anywhere on the web.<br />AWS Cloud<br />3rd Party Applications<br />Durable<br />Scalable<br />Secure<br />Available<br />Your Applications<br />Libraries<br />Cost Effective<br />3<br />
    4. 4. Amazon S3 has always been a great repository for images, video, documents and other website content because it provides…<br />High Availability, Scalability, and Durability for any web content<br />Global access makes it easy to share content publically<br />Ability to customize your URLs for content hosted on Amazon S3 (Virtual Hosting – more on this later)<br />Easy integration with CloudFront (AWS Content Delivery Network)<br />Prior to this release…<br />
    5. 5. Feedback we received from website customers<br />Currently, when a request is made to the root of a bucket, we return a list of the bucket’s contents or an error…<br />So, customers hosting websites could not host their root document on Amazon S3<br />
    6. 6. Feedback we received from website customers<br />Also, all error messages are XML and the error message is not customizable <br />So, customers could not easily provide user-friendly error messaging<br />
    7. 7. Amazon S3 Website Features<br />Root/Subdirectory Index Document<br />HTML Error Pages<br />Custom Error Pages for 4xx class errors<br />
    8. 8. Enabling your bucket as a Website<br />Using Amazon S3 Management Console<br />
    9. 9. Also supported by… <br />Enabling your bucket as a Website<br />Applications<br /><ul><li> AWS Management Console
    10. 10. Bucket Explorer
    11. 11. CloudBerry S3 Explorer</li></ul>Amazon S3 API<br /><ul><li> Put Bucket website</li></ul>SDKs<br /><ul><li> AWS .NET Library
    12. 12. AWS JAVA Library
    13. 13. AWS PHP Library
    14. 14. boto Library (Python)
    15. 15. Jets3t Library (JAVA) </li></li></ul><li>Root/Subdirectory Index Document<br /><br /><br />
    16. 16. HTML and Custom 4xx Errors<br /><br />
    17. 17. What happens if I continue to use the original endpoints? <br /><br />Traditional endpoint behavior does not change<br />
    18. 18. Keep in mind… <br />New website endpoints<br />Amazon S3 has a new set of endpoints for accessing website content<br />Use the existing REST API to enable, use the new website endpoints for referencing content<br />Amazon S3 website endpoints support GET and HEAD only <br />Public content<br />All content must be marked as public (via ACLs or Bucket Policies)<br />Signed requests are not validated, but aspects of the request may be validated (i.e. IP address, HTTP referrer)<br />Static websites<br />Amazon S3 does not support server-side code<br />However, you can still host websites that utilize Flash, HTML5, Silverlight, etc…<br />Amazon S3 Website Features<br />
    19. 19. Using your own web URL<br />Assume your website domain is named and you want to move your entire website to Amazon S3.<br />You would create a CNAME that points requests from your website domain to your Amazon S3 bucket website URL:<br /> CNAME <br /><br />User requests resolve to your bucket<br /><br /><br />…and you also get the benefit of the S3 Website features<br /><br />Reference Amazon S3 Virtual Hosting documentation for more information<br />
    20. 20. Keep in mind…<br />Bucket name must match your website domain<br />Bucket name must be all lower case<br />The DNS entry you point at Amazon S3 must be a CNAME (i.e.<br />Virtual Hosting<br />
    21. 21. All of our feature releases are driven by direct customer feedback<br />Website Features 2/16/11<br />5TB Object Support 12/9/10<br />Multipart Upload 11/10/10<br />RRS Notifications 7/14/10<br />Bucket Policies 7/6/10<br />Reduced Redundancy Storage 5/19/10<br />Ways to provide feedback<br />Amazon S3 Forums<br />Matt Davis, Amazon S3 Product Manager:<br />We Want to Hear Your Feedback<br />
    22. 22. Thank you for attending<br />Note:<br /><ul><li>This slide deck and recorded webinar will be posted on the AWS “Videos & Webinars” website within 2 days…
    23. 23.</li></li></ul><li>Appendix<br />
    24. 24. Website Endpoints<br />+<br />
    25. 25. {<br /> "Version":"2008-10-17",<br /> "Id":"Policy1298564050193",<br /> "Statement":[{<br /> "Sid":"Stmt1298564047107",<br /> "Effect":"Allow",<br /> "Principal":{<br /> "AWS":"*"<br /> },<br /> "Action":"s3:GetObject",<br /> "Resource":"*"<br /> }<br /> ]<br />}<br />Bucket Policy<br />