Tools: deployment of The Epic Book, a Node.js + MySQL web application on AWS production-grade

Tools: deployment of The Epic Book, a Node.js + MySQL web application on AWS production-grade

DevOps #AWS #Terraform #Ansible #CloudEngineering #IaC #Linux #Nginx #NodeJS #MySQL #LearningInPublic #CloudComputing #Infrastructure Just deployed a full-stack web application to AWS using Terraform + Ansible. As part of my cloud engineering journey, I completed a Here's what I built from scratch: Infrastructure (Terraform)

• VPC, public subnet, internet gateway, and route tables• Security groups with control• Ubuntu 22.04 EC2 instance with SSH key authentication• All infrastructure destroyed and recreated in minutes; that’s the power of IaC Configuration Management (Ansible)• 3 clean, reusable roles: common → nginx → epicbook• Nginx configured as a reverse proxy in front of Node.js• MySQL provisioned and configured automatically• PM2 process manager keeping the app alive• Fully idempotent: re-running the playbook shows zero failures Result: A live, browser-accessible web app served over HTTP with nginx proxying to a Node.js backend connected to MySQL, all automated, repeatable, and production-ready. Challenges I overcame:• The app wasn't a static site; it had to switch from file serving to a full reverse proxy setup• MySQL authentication required, matching the app's config exactly• Port conflicts on re-runs taught me the importance of clean state management in automation What this taught me: Real deployments are never just "run a script, and it works." They require understanding full-stack networking, web servers, application runtimes, databases, and process management and how they all connect. This is exactly how production engineering teams operate, and I'm proud to have built it end-to-end. Tech used: AWS EC2 · Terraform · Ansible · Nginx · Node.js · MySQL · PM2 · Ubuntu 22.04I want to sincerely thank my mentors, Pravin Mishra, Praveen Pandey, Abhishek Makwana ,Mobarak Hosen,Onuche Paul and Nkechi Anna Ahanonye Templates let you quickly answer FAQs or store snippets for re-use. as well , this person and/or