Amazon S3(Simple Storage Service) is an object level storage in the AWS. S3 is a highly available, scalable, AWS managed storage service. There is no limit to store objects in the S3 but the object size should not be greater than 5TB. S3 offer four 9’s of availability (99.99%) and eleven 9’s of durability (99.999999999%).
Apart from storing objects, S3 can also be used to host static websites, website with constant content that does not require server side computing.
In this article, we will host a sample static website on S3.
The first step is to create a S3 bucket.
Provide the name of the index document of your website. You can also specify error document if you wish to. Click save.
Hosting Static Website On Amazon S3
Your static website is up and running. The domain for this website is your bucket name followed by default S3 domain name. If you own a domain, such as example.com, you can also set it to redirect to this page using Route53 and S3. For this, it is important to have your S3 bucket name the same as your domain name. For example, if your domain name is www.example.com then your bucket name should also be www.example.com.
The website is hosted in S3, so it is highly available, durable and maintained by AWS.