This project demonstrates a simple DevOps pipeline that automates deployment of a static website to AWS S3 using GitHub Actions.
- Website: Static HTML page (
index.html) - CI/CD: Automated deployment using GitHub Actions
- Cloud Provider: AWS S3 (Static Website Hosting)
- Goal: Any update pushed to the
mainbranch is automatically deployed to the S3 bucket
This project is ideal for beginners learning DevOps, CI/CD concepts, and cloud deployment.
| Technology | Purpose |
|---|---|
| Git & GitHub | Version Control & Repository |
| GitHub Actions | CI/CD automation |
| AWS S3 | Hosting static website |
| HTML | Frontend website |
| IAM & Secrets | Secure access to AWS resources |
DevOps-static-site/
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Actions workflow
├── index.html # Static website file
└── README.md # Project information
+----------------+
| Developer |
| (Push Code) |
+--------+-------+
|
v
+----------------+
| GitHub Repo |
| (Main Branch) |
+--------+-------+
|
v
+----------------+
| GitHub Actions |
| (CI/CD) |
+--------+-------+
|
v
+----------------+
| AWS S3 |
| (Static Site) |
+--------+-------+
|
v
+----------------+
| Users / Web |
| Visitors |
+----------------+
-
Automatically triggers on push to
mainbranch -
GitHub Actions workflow:
- Checks out repository
- Configures AWS credentials securely using secrets
- Syncs website files to S3 bucket
-
Ensures that latest code is always live
-
Manual intervention not required
- Fully automated CI/CD pipeline
- Secure deployment using GitHub Secrets
- Scalable: Can be extended to multiple environments (dev, staging, prod)
- Fast & lightweight deployment for static sites
- Reduces manual deployment errors
- Ensures continuous delivery
- Enables version control and rollback
- Provides a real-world example of DevOps principles
- Integrate CloudFront CDN for faster load times and HTTPS
- Use Terraform for Infrastructure as Code (IaC)
- Implement monitoring & alerts using CloudWatch
- Add automated tests before deployment for production readiness
- Extend project to deploy dynamic websites using AWS services
Built with ❤️ by Tejaswini Shirke