This project demonstrates an automated CI/CD pipeline that deploys a static website from GitHub to an AWS EC2 Ubuntu server using GitHub Actions.
Whenever code is pushed to the main branch, GitHub Actions automatically:
- Copies website files to EC2
- Deploys them to Apache Web Server
- Restarts Apache
- Makes the latest version available instantly
- AWS EC2 (Ubuntu 24.04)
- Git
- GitHub
- GitHub Actions
- Apache2
- HTML5
- CSS3
- SSH
- Developer updates code in VS Code
- Code pushed to GitHub
- GitHub Actions starts automatically
- Files copied securely to EC2 using SSH
- Apache serves the updated website
aws-cicd-github-actions/
│
├── .github/
│ └── workflows/
│ └── deploy.yml
├── screenshots/
├── index.html
├── style.css
└── README.md
Deployment is fully automated using GitHub Actions.
Every push to the main branch triggers the deployment workflow automatically.
Snehal Awasare
Aspiring AWS & DevOps Engineer
GitHub: https://github.com/awasaresnehal