The Simple Storage Service (S3) is a great option to host a static website because it gives us the following benefits:
- Hosts every file with a 99.999999999% durability [DONE]
- High availability with an SLA of 99.99%
- Low cost for usage calculated for every 1,000 requests, plus storage, and data transfer fees
Our first step is to provision a bucket where we will be hosting our website; for DNS resolution, our bucket name must have the same name as the domain name; for this purpose, I have registered the domain s3websitehosting using Route 53.
Latency is an important aspect, so we need to choose a region closer to our end users so we can measure response times for HTTP endpoints using cloudping.info:
We will choose California because it makes sense from my current location:
Once we have created our bucket, let's create our web...