Skip to content

Xcode83/Cost-Optimized-Static-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cost-Optimized Static Website Hosting (S3 + CloudFront + Route 53 + GitHub Actions)

This project demonstrates a highly cost-efficient and scalable architecture for hosting static websites using AWS services. The setup ensures global performance, automated deployments, and secure content delivery.

🚀 Architecture Overview Screenshot From 2025-11-19 17-58-33

Amazon S3 – Stores static website files

CloudFront CDN – Speeds up global delivery with caching

Route 53 – Custom domain routing

ACM – Free SSL certificate

GitHub Actions – CI/CD pipeline for automatic deployments

IAM – Secure access via least privilege

⚙️ CI/CD Pipeline (GitHub Actions)

Every push to the main branch triggers:

Auto build & sync files to S3

Delete removed files

Create CloudFront invalidation

Deploy new version globally in seconds

🧩 Key Features

Automated deployment using GitHub Actions

CloudFront OAC for secure private S3 access

Custom domain + HTTPS

~80% cost savings vs EC2 hosting

Zero-maintenance, scalable solution

🛠 Tech Stack

AWS S3, CloudFront, Route 53, ACM, GitHub Actions, IAM, HTML/CSS

🧑‍💻 Author

Biswajit Sahoo B.Tech CSE | AWS | DevOps | Linux | Terraform | Cloud Projects

About

Cost-Optimized Static Website Hosting (S3 + CloudFront + Route 53) • Deployed secure static hosting on S3 with CDN using CloudFront. • Automated deployment via GitHub Actions → S3 → CloudFront Invalidation. • Result: ~80% cost reduction vs EC2 hosting and improved global performance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages