Know Nothing
Know Nothing

Reputation: 1251

aws lambda function to call internal load balancer

Is there any way to call internal load balancer from a lambda function without going to internet??

I have a lambda function that need to call an internal load balancer without going to internet. Tried to put lambda function in the vpc but it cannot call the load balancer because lambda loses the internet access.

Upvotes: 5

Views: 8336

Answers (1)

Mark B
Mark B

Reputation: 201048

The Lambda function will have to be configured to run in the VPC. You will need to place it in a private subnet with a NAT gateway if you want it to still have access to the Internet.

Upvotes: 7

Related Questions