How to Host Your Static Website on AWS S3

Introduction

Every now and then, I decide to make a website simple enough to be static. Using the buckets from AWS S3, you can "quickly" set up your website. However, to properly set it up with a certificate and your own domain, there are a few extra steps that I always forget how to do. Thus, I'm making this article to help me in the future and hopefully help others too.

Create a New S3 Bucket

Activate the S3 Static Website Hosting

Getting an AWS Certificate for Your Website

Using Route 53 to Use Your Custom Domain

Create a CloudFront Distribution

Configure Your Custom Domain Back at Route 53

Did you find this article to be useful? Help me continue this blog by supporting me. I'll be really grateful :)