Trouble Connecting to EC2 Launch Template Instances
Asked by
bottle green
I'm having some issues with my EC2 launch template instances. While I can SSH into them without any problems, I can't connect through the public IP address using my browser. I even created a launch template based on a working EC2 instance, but I'm still facing the same problem. It's quite puzzling! Does anyone have any insight or suggestions?
Answers
It sounds like the issue could be related to your security group settings. You might want to check if the security group is allowing traffic on the necessary ports (80 for HTTP or 443 for HTTPS). Are you able to see if the connection times out or fails instantly? That might give more clues to the problem.
Reply to this answer
If you're using a load balancer with your EC2 instances, make sure you've configured the inbound rules for the load balancer's security group as well. Sometimes, it's the little things that trip us up!
bottle green: I actually recreated the entire setup this morning, including the SGs and the load balancer, and it's finally working now! I was confused because I thought using a template from a working instance would make everything seamless.
Reply to this answer
Add your answer
Answers are reviewed before publication.
bottle green: I'm using the same security group as the working instance, and I followed the tutorial closely. It's confusing because I can SSH in just fine, but the browser just times out.
+63 tiles remaining: I see, that can be tricky! Maybe double-check if any of your firewall settings on the local machine could be interfering.