Skip to content

narglesinthecode/hosting-static-website-on-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

AWS Hands-On Lab: Static Website Hosting

In this hands-on lab, I created and configured a simple static website using AWS, demonstrating how to build cost-efficient hosting for static content such as HTML, CSS, JavaScript, fonts, and images.

Objective

The goal of this lab was to:

  • Set up a static website on AWS
  • Learn the basics of S3 static website hosting
  • Understand access permissions and bucket policy configurations
  • Successfully host and access a public HTML website

What I Did

  • Created an S3 bucket configured for static website hosting
  • Uploaded HTML
  • Set correct bucket policies to allow public access
  • Accessed the website via the provided endpoint

Result

The website was successfully hosted and accessible via the public endpoint.

Screenshots

Here are some screenshots of the hosted website:

Index Page Error Page

Cost Efficiency

This method of hosting is extremely cost-effective for low-traffic sites or basic landing pages, requiring no server management and minimal charges based on storage and data transfer.

Key Learnings

  • AWS S3 static website configuration
  • IAM and bucket policies for public access
  • Hosting best practices for static content

This lab was completed as part of my continuous learning in cloud technologies and hands-on experience with AWS.

About

AWS hands-on lab to host static website on S3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages