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
In questa pagina del sito puoi guardare il video online AWS S3 Static Web Hosting della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Coding Freaks 12 maggio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 141 volte e gli è piaciuto 2 spettatori. Buona visione!