Flask Website Deployment & AWS Infrastructure

End-to-end deployment using AWS services with CI/CD automation.

🔧 Project Overview

This project demonstrates a full-stack deployment of a Flask web application on AWS using EC2, security best practices, and automated infrastructure provisioning. It includes deployment scripts, secure credential management via AWS Secrets Manager, and CI/CD using GitHub Actions.

☁️ Key AWS Services Used

🚀 Deployment Strategy

The infrastructure is defined using a bootstrap EC2 script and AWS CLI tools. Environment-specific configs are managed using a config.py file with secrets pulled securely from AWS Secrets Manager. The application is auto-started using systemd and monitored via logs.

🧰 CI/CD Pipeline

The GitHub Actions workflow automatically builds and deploys the app to EC2 on push to the main branch. Environment variables are injected securely and dependencies are managed with requirements.txt.

✅ What This Demonstrates