0% found this document useful (0 votes)
71 views5 pages

TASK 5 - Static Website Hosting Using AWS S3 Service

The document provides steps to host a static website using AWS S3 service. [1] It instructs to create an S3 bucket and upload HTML files. [2] It then explains how to make the bucket public by unblocking public access and adding a bucket policy. [3] Finally, it describes enabling static website hosting on the bucket and testing the website URL.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views5 pages

TASK 5 - Static Website Hosting Using AWS S3 Service

The document provides steps to host a static website using AWS S3 service. [1] It instructs to create an S3 bucket and upload HTML files. [2] It then explains how to make the bucket public by unblocking public access and adding a bucket policy. [3] Finally, it describes enabling static website hosting on the bucket and testing the website URL.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

TASK 5  Sta c Website hos ng using AWS S3 Service.

Step1: Go to S3 Service -> Click on “Create bucket”

Step2: Give name to the bucket

Give Tags to your bucket.


Click on “Create bucket”

Step3: Open created bucket -> Click on “Upload”

Click on “Add folder” -> Select your created HTML files(website) -> click on open. -> Click on
“Upload”.

Step4: You have to make your bucket public for hos ng website

Click on “Permissins” tab -> Click on Edit bu on under “Block public access (bucket se ngs)”
Uncheck the “Block all public access” op on -> Click on “Save changes” -> Confirm your changes.

Scroll down and click on “Edit” under “Bucket policy” op on

Write Json script into Policy textarea -> Copy your bucket ARN -> paste it into last line of that script ->
Click on “Save changes”
Refresh page and then you’ll see your bucket is private now

Step5: Go to “Proper es” sec on -> Scroll down to the last

You’ll see the op on “Sta c website hos ng” -> Click on “Edit”
Click on “Enable” -> Select “Host a sta c website” -> Write “index.html” name into “Index document”
op on -> Click “Save changes”.

Go to “Proper es” sec on and scroll down to the last -> Copy “Bucket website endpoint”

Paste this URL into new tab on browser -> if you see this “404 Not Found” error then you have to
write full path of your website.

You might also like