[AWS S3] Hosting a Static Website on Amazon S3

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.

[AWS S3] Hosting a Static Website on Amazon S3

Set loggin to your logs site:
[AWS S3] Hosting a Static Website on Amazon S3

Go static site upload your files.

Add some other settings:

[AWS S3] Hosting a Static Website on Amazon S3

You can visit the site from the Endpoint it provides

上一篇:android屏幕页面实现滚动,页面跳转


下一篇:最新IP数据库 存储优化 查询性能优化 每秒解析上千万