TASK 5 - Static Website Hosting Using AWS S3 Service
TASK 5 - Static Website Hosting Using AWS S3 Service
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.
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
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.