I have a simple Lambda deployed into my VPC that is making a call to an EC2 host in the same VPC (and subnet). They both share an SG and I’ve used the Reachability Analyzer (from the Lambda ENI to the EC2 Instance) and it says they can talk. But when I test the Lambda it sits on the HTTPS call (the call should be very quick) and eventually the Function timesout.
Any other ways to debug the Lambda->EC2 path, if that is even the issue.
2
Answers
This may not apply to everyone, but my issue was a 3rd party Firewall that was fronting the ALB. To test this theory I used the direct internal IP address of the server and it worked fine.
It usually sign that security group settings are blocking you.
Here is some steps for troubleshoot: