Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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.


Steps
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

isaac-arnault-aws-solution-architect.png

Bucket creation

🔵 See in AWS

mywebsitebucket.png

Files upload on S3 bucket

🔵 See in AWS

file-upload.png

  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

isaac-arnault-aws-5.png

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.

website.png


Visit my S3 static website

Author

  • Isaac Arnault - AWS Cloud series - Related tags: #S3 #Bucket #StaticWebsite

About

Creating a static website in 5 minutes using S3 on AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published