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