Our local server is connected to AWS via VPN. I can telnet our on-premise sql server in AWS EC2, but I can't connect to the sql server in Lambda function, always timeout. The EC2 and Lambda function are in same VPC. Did I miss something?
Asked
Active
Viewed 1,611 times
1
-
The db server didn't block any clients – Sven Apr 01 '19 at 11:52
-
2Routing tables attached to Subnet, Are Ec2 and Lambda launched in the same Subnet and using the same routing table ? Assuming it's a AWS VPN, not from Ec2 to your on premise using openswan etc. – James Dean Apr 01 '19 at 17:13
-
yes, it's AWS VPN. I have checked, same subnet and routing table – Sven Apr 02 '19 at 03:52