• Like
  • Save
Introducing Amazon S3 Website Features
Upcoming SlideShare
Loading in...5
×

Introducing Amazon S3 Website Features

  • 8,531 views
Uploaded 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 …

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
8,531
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
69
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    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

Transcript

  • 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
  • 8. Enabling your bucket as a Website
    Using Amazon S3 Management Console
  • 9. Also supported by…
    Enabling your bucket as a Website
    Applications
    • AWS Management Console
    • 10. Bucket Explorer
    • 11. CloudBerry S3 Explorer
    Amazon S3 API
    • Put Bucket website
    SDKs
    • AWS .NET Library
    • 12. AWS JAVA Library
    • 13. AWS PHP Library
    • 14. boto Library (Python)
    • 15. Jets3t Library (JAVA)
  • Root/Subdirectory Index Document
    http://www.dualnatureofmatter1.net.s3-website-us-east-1.amazonaws.com/
    http://www.dualnatureofmatter1.net.s3-website-us-east-1.amazonaws.com/music/
  • 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
  • 22. Thank you for attending
    Note:
    • This slide deck and recorded webinar will be posted on the AWS “Videos & Webinars” website within 2 days…
    • 23. http://aws.amazon.com/resources/webinars/
  • Appendix
  • 24. Website Endpoints
    + .amazonaws.com
  • 25. {
    "Version":"2008-10-17",
    "Id":"Policy1298564050193",
    "Statement":[{
    "Sid":"Stmt1298564047107",
    "Effect":"Allow",
    "Principal":{
    "AWS":"*"
    },
    "Action":"s3:GetObject",
    "Resource":"arn:aws:s3:::www.dualnatureofmatter1.net/*"
    }
    ]
    }
    Bucket Policy