Deployed the Mini Finance Dashboard this week using Terraform and Ansible.
Here is what I built:
Provisioned an AWS EC2 instance using Terraform
Created VPC, Subnet, Internet Gateway and Security Groups as code
Configured passwordless SSH access with ED25519 keys
Used Ansible roles to install Nginx, Node.js, MySQL
Deployed the Mini Finance Dashboard, fully accessible from any browser
Verified the site loads live with HTTP 200 ✓
The best part? The entire infrastructure is code. I can destroy it and rebuild it in minutes. That is the power of doing it right.
Terraform handles the infrastructure. Ansible handles the configuration.
Real problems I hit and pushed through:
Nginx returned 403. The app is Node.js, not static files. Reconfigured as a full reverse proxy and kept moving
MySQL auth was failing; credentials had to match the app config exactly. Fixed native password authentication and moved on
I want to sincerely thank my mentors, Pravin Mishra, Praveen Pandey, Abhishek Makwana ,Mobarak Hosen,Onuche Paul and Nkechi Anna Ahanonye
Top comments (0)