💡 Challenge Lab: Hosting a Dynamic Website on EC2 for a Café Business ☕
A real-world business request, the café wanted to move from a static website on S3 to a dynamic web application where customers can place online orders.
✅ What I worked on:
- Connected to AWS Cloud9 IDE on EC2
- Configured a LAMP stack (Apache, PHP, MariaDB)
- Installed the café application with AWS Secrets Manager for secure parameter storage
- Set up and connected a MySQL database to support orders
- Created an AMI for easy redeployment
- Launched a production EC2 instance in another Region (Oregon) for DR and separation of dev/prod
🎯 Final Outcome:
- Development server in us-east-1 (Virginia)
- Production server in us-west-2 (Oregon)
Café customers can now safely order online 🛒 while developers test in a separate environment.