AWS Simple storage service S3 provides a great feature of hosting a static website and you can also map that to a custom domain. This is a demonstration of how to create a bucket, make that publicly accessible and enable it for hosting a static website. In last, we will understand how to map the custom domain to the public URL of S3.
BUCKET POLICY SAMPLE:
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::[[bucket-name]]/*"
}
]
}
Follow us:
Telegram:https://t.me/codingfreaks
Facebook: / codingfreaksorg
Twitter: / codingfreaksorg
On this page of the site you can watch the video online AWS S3 Static Web Hosting with a duration of hours minute second in good quality, which was uploaded by the user Coding Freaks 12 May 2020, share the link with friends and acquaintances, this video has already been watched 141 times on youtube and it was liked by 2 viewers. Enjoy your viewing!