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
Auf dieser Seite können Sie das Online-Video AWS S3 Static Web Hosting mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coding Freaks 12 Mai 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 141 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!