HOSTING A STATIC WEBSITE ON AMAZON S3
- Step 1: Create a bucket
Choose Create bucket.
Enter the Bucket name
In the Buckets list, choose the name of the bucket that you want to enable static website hosting for.
Choose Properties.
Under Static website hosting, choose Edit.
Choose Use this bucket to host a website.
Under Static website hosting, choose Enable.
- In Index document, enter the file name of the index document, typically
index.html
Step 4: Add a bucket policy that makes your bucket content publicly available
Test your website endpoint
Under Buckets, choose the name of your bucket.
Choose Properties.
At the bottom of the page, under Static website hosting, choose your Bucket website endpoint.
Your index document opens in a separate browser window.
Comments
Post a Comment