Skip to content
Creating a static website in 5 minutes using S3 on AWS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Creating a static website in 5 minutes using S3 on AWS

• Cloud platform: AWS • Tools used: Atom (Text editor), S3 (AWS) • Languages: Html

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

The following gist is part of my AWS Solution Architect - Associate exam preparation.
It can help you as a web entrepreneur, web bloggers, to deploy a static website very quickly using AWS.

1. Create a bucket on S3 named mywebsitebucket054485
2. Change the number since you must have a unique bucket name on S3)
3. Create three files, index.html, error.html, about.html
4. Upload the files in the S3 bucket

Solution architecture


Bucket creation

🔵 See in AWS


Files upload on S3 bucket

🔵 See in AWS


  1. Go to S3 > select your bucket > Edit Public Acess Settings > unselect "Block all public access" > Save > Confirm

  2. Click on your bucket > select your 3 files > click on Actions > Make public

  3. Click on Properties > Static Website Properties > select "Use this bucket to host a website" > Index document: type index.html > Error document: type error404.html

🔵 See in AWS


Click on Static Website Hosting to get the endpoint url.

There you go! Your website is online, you can visit it using the provided endpoint url.


Visit my S3 static website


  • Isaac Arnault - AWS Cloud series - Related tags: #S3 #Bucket #StaticWebsite
You can’t perform that action at this time.