error no VPC found AWS Lambda does not support Elastic IPs without using VPC

0 votes

Hi everyone,

I tried to attach an Elastic IP in AWS Lambda. But it shows me error, by saying that no VPC found. Why do we need a VPC for that?

Thank You

Mar 18, 2020 in AWS by akhtar
• 38,230 points
757 views

1 answer to this question.

0 votes

Hi@akhtar,

When you run Lambda outside your VPC it's likely running on a shared network out of your control.

When you run it in your VPC, the hosts running the function will attach a network interface provisioned inside your VPC, so you can route the traffic through a NAT gateway with fixed Elastic IPs.

Therefore the functionality of having fixed IPs is not directly implemented by Lambda but a side effect of running it in a VPC subnet routed through a NAT gateway.

Hope this will help.

Thank You

answered Mar 18, 2020 by MD
• 95,440 points

Related Questions In AWS

+2 votes
3 answers
+3 votes
3 answers
0 votes
1 answer
0 votes
1 answer

Enable VPC support using Lambda Function

Steps that you need to follow to ...READ MORE

answered Jan 29, 2019 in AWS by william
404 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

not able to delete a security group for my Amazon VPC in AWS?

Hi@akhtar, When you try to delete that security ...READ MORE

answered Mar 18, 2020 in AWS by MD
• 95,440 points
2,328 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP