S3 Website
S3can be used to host static website- To use
S3to host static website, we need to allow public read access - Site URL can be
<bucket-name>.s3-website.<AWS-region>.amazonaws.com<bucket-name>.s3-website-<AWS-region>.amazonaws.com- Only difference is after
s3-website- Could be
. - Could be
-
- Could be
- Hands on
- Enable
Static Site Hosting - Upload file
index.htmlanderror.html - Enable public access
- Add bucket policy to enable
GET Object