Dynamic Hosting with CI/CD and Server Management
This project demonstrates the deployment of my personal portfolio website on an AWS EC2 instance. Unlike static hosting with S3, EC2 allowed me to configure a full web server using Nginx, practice server management, and implement a CI/CD pipeline with AWS CodePipeline. This setup provided hands-on experience in infrastructure provisioning, hosting both dynamic and static files, and automating deployments for a seamless workflow.
/var/www/html/
.Manual Deployment Delays
Uploading files to EC2 manually via SSH was time-consuming.
✅ Solution: Implemented CodePipeline and CodeDeploy for automated deployments.
Complex SSL Configuration
Setting up HTTPS on EC2 with Let’s Encrypt required manual certificate renewals.
✅ Solution: Utilized Cloudflare’s free SSL for simplified management.
DNS Propagation Issues
Cloudflare DNS updates took hours to propagate globally.
✅ Solution: Verified DNS settings with tools like dig
and nslookup
, then allowed time for propagation.
EC2 Instance Setup
Nginx Configuration
CodePipeline Setup
Live Portfolio