Today’s IaC progress 🧑🏽💻
Built:
• 2 EC2 instances across different AZs/subnets
• An Application Load Balancer for traffic distribution
• Separate Security Groups for the ALB and instances
• HTTP/SSH access rules
It wasn’t smooth. Typos, logic errors, deployment issues… and even after deploying, the ALB DNS still refused to load my page.
Debugging is part of the learning.
Been getting deeper into AWS + Terraform, and it took me a while to fully understand how everything connects.
Built an EC2 instance inside a VPC, configured the Internet Gateway, route tables, subnet associations, security groups, and custom ingress rules to allow SSH access.
I spent hours thinking I made an untraceable error on my instance setup, then I found out that I mistakenly set the from_port and to_port to 0, meaning I couldn't ssh into the instance.
Well, I'm still a beginner