AWS EC2 Portfolio Deployment
Minimal infrastructure deployment on AWS using Terraform and EC2 to host a static HTML portfolio. Automates server provisioning, Apache HTTP server installation, and deployment of portfolio content via GitHub Actions.
Includes simple security configuration for SSH and HTTP access, and uses AWS CLI and curl to validate the deployment.
Key Features
- Terraform-managed AWS EC2 instance for hosting static HTML portfolio
- GitHub Actions pipeline for automatic deployment on push to main branch
- Apache HTTP server setup via SSH provisioners
- Security Group allowing SSH (port 22) and HTTP (port 80) access
- Validation of deployment using AWS CLI and curl
- Simple folder structure with `app/index.html`
- Secrets management for SSH key and EC2 host in GitHub Actions