Static website hosting

Hosting a static website from an S3 bucket

Introduction Hosting a static website on AWS provides a scalable and cost-effective solution with high availability. In this guide, we’ll walk through the entire process, from setting up an S3 bucket to configuring CloudFront for CDN and HTTPS with a custom domain, and finally, integrating a CICD pipeline using GitHub Actions. Step 1: Create an S3 Bucket Navigate to the S3 service in the AWS Management Console and click on “Create bucket” and enter a unique bucket name (all S3 buckets across all accounts must have a unique name, so you may need to try a few names before you find one that’s not taken)....

26 July 2024 · 10 min · Toby Scott