In this lesson, you will learn how to host a static website on Amazon S3. I will show you how to create the buckets, create the bucket policy to allow public access and point your own custom DNS name to the website.
Go to S3 service, create tow buckets:
- static.zhentian.fi --> put the statis site
- logs.zhnetian.fi --> put logs
We need to set premission to the static site, because once it created it is private by default.
Set loggin to your logs site:
Go static site upload your files.
Add some other settings:
You can visit the site from the Endpoint it provides