About This Project
Serve main site from EC2.
Connected domain slancer.site via Cloudflare.
Use SSL/TLS Full (Strict) for HTTPS.
Enable live updates by uploading files directly to EC2 via scp (or Git for version control).
Key Features
- 1. GitHub Integration
- Live Deployment on EC2
- Automatic Updates
- Version Control
- Domain and SSL Ready
- Scalable and Extendable
- Backup and Safety
Challenges & Solutions
During the project, challenges included GitHub branch mismatches and EC2 permission issues, which were resolved by verifying branches, committing all files, and adjusting folder ownership. Replacing the old portfolio was handled safely with backups and GitHub updates. To automate updates, a script with a cron job was added, pulling the latest changes every five minutes. Domain setup via Namecheap took longer due to DNS propagation, which was mitigated by verifying records, using the EC2 IP temporarily, and clearing local DNS caches.