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
На этой странице сайта вы можете посмотреть видео онлайн AWS S3 Static Web Hosting длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Coding Freaks 12 Май 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 141 раз и оно понравилось 2 зрителям. Приятного просмотра!