I currently have a lambda function which is inside a Private VPC because I am using it to access a ElasticCache Redis Cluster. However, I am unable to make https requests because of the private VPC.
I have greated a NAT gateway with one of the subnets but all https requests time out.
Should I be creating a second lambda function? How should I be doing this?
Question posted in Amazon Web Sevices
The official Amazon Web Services documentation can be found here.
The official Amazon Web Services documentation can be found here.
2
Answers
Adding ip address of the server you are trying make an https to, to the outbound rules of the security group might help. The outgoing request must’ve been disabled.
The configuration should be:
0.0.0.0/0
destination