AWS S3

icon picker
Static Websites

S3 can be used to host static websites.
Cannot use dynamic content such as PHP, .Net etc.
Automatically scales.
You can use a custom domain name with S3 using a Route 53 Alias record.
When using a custom domain name the bucket name must be the same as the domain name.
Can enable redirection for the whole domain, pages, or specific objects.
URL is: <bucketname>.s3-website-.amazonaws.com.
Requester pays does not work with website endpoints.
Does not support HTTPS/SSL.
Returns an HTML document.
Supports object and bucket level redirects.
Only supports GET and HEAD requests on objects.
Supports publicly readable content only.

To enable website hosting on a bucket, specify:
An Index document (default web page).
Error document (optional).

Difference between endpoints
Key Difference
REST API Endpoint
Website Endpoint
1
Access Control
Supports both public and private content
Supports only publicly readable content
2
Error message handling
Returns an XML-formatted error response
Returns an HTML document
3
Redirection support
Not applicable
Supports both object-level and bucket-level redirects
4
Requests support
Supports all bucket and object operations
Supports only GET and HEAD requests on objects
5
Responses to GET and HEAD requests at the root of the bucket
Returns a list of the object keys in the bucket
Returns the Index document that is specified in the website configuration
6
SSL support
Supports SSL connections
Does not support SSL connections
There are no rows in this table

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.