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. http://www.mywebsite.com/) 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.
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Introducing Amazon S3 Website Features
1. Introducing Amazon S3 Website Features Matt Davis, Amazon S3 Senior Product ManagerCarl Perry, Amazon S3 Development ManagerFebruary 24, 2011
2. Agenda Brief overview of Amazon S3 Review the new Website Features Discuss how to use them
3. What is Amazon S3? 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. AWS Cloud 3rd Party Applications Durable Scalable Secure Available Your Applications Libraries Cost Effective 3
4. Amazon S3 has always been a great repository for images, video, documents and other website content because it provides… High Availability, Scalability, and Durability for any web content Global access makes it easy to share content publically Ability to customize your URLs for content hosted on Amazon S3 (Virtual Hosting – more on this later) Easy integration with CloudFront (AWS Content Delivery Network) Prior to this release…
5. Feedback we received from website customers Currently, when a request is made to the root of a bucket, we return a list of the bucket’s contents or an error… So, customers hosting websites could not host their root document on Amazon S3
6. Feedback we received from website customers Also, all error messages are XML and the error message is not customizable So, customers could not easily provide user-friendly error messaging
7. Amazon S3 Website Features Root/Subdirectory Index Document HTML Error Pages Custom Error Pages for 4xx class errors
16. HTML and Custom 4xx Errors http://www.dualnatureofmatter1.net.s3-website-us-east-1.amazonaws.com/typo
17. What happens if I continue to use the original endpoints? http://www.dualnatureofmatter1.net.s3.amazonaws.com/ Traditional endpoint behavior does not change
18. Keep in mind… New website endpoints Amazon S3 has a new set of endpoints for accessing website content Use the existing REST API to enable, use the new website endpoints for referencing content Amazon S3 website endpoints support GET and HEAD only Public content All content must be marked as public (via ACLs or Bucket Policies) Signed requests are not validated, but aspects of the request may be validated (i.e. IP address, HTTP referrer) Static websites Amazon S3 does not support server-side code However, you can still host websites that utilize Flash, HTML5, Silverlight, etc… Amazon S3 Website Features
19. Using your own web URL Assume your website domain is named www.mywebsite.com and you want to move your entire website to Amazon S3. You would create a CNAME that points requests from your website domain to your Amazon S3 bucket website URL: www.mywebsite.com CNAME www.mywebsite.com.s3-website-us-east-1.amazonaws.com http://www.mywebsite.com/subdir/image.jpg User requests resolve to your bucket http://www.mywebsite.com.s3-website.amazonaws.com/subdir/image.jpg http://www.mywebsite.com …and you also get the benefit of the S3 Website features http://www.mywebsite.com.s3-website.amazonaws.com/index.com Reference Amazon S3 Virtual Hosting documentation for more information
20. Keep in mind… Bucket name must match your website domain Bucket name must be all lower case The DNS entry you point at Amazon S3 must be a CNAME (i.e. www.myexcitingbucket.com) Virtual Hosting
21. All of our feature releases are driven by direct customer feedback Website Features 2/16/11 5TB Object Support 12/9/10 Multipart Upload 11/10/10 RRS Notifications 7/14/10 Bucket Policies 7/6/10 Reduced Redundancy Storage 5/19/10 Ways to provide feedback Amazon S3 Forums Matt Davis, Amazon S3 Product Manager: mattd@amazon.com We Want to Hear Your Feedback
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