Why doesn’t AWS Lambda 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 in AWS by akhtar
• 4,500 points
108 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 by MD
• 8,870 points

Related Questions In AWS

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
41 views
+2 votes
3 answers
0 votes
1 answer

How to set-up DynamoDB trigger using AWS Lambda?

Well this code worked for me. You ...READ MORE

answered Aug 20, 2018 in AWS by Archana
• 4,150 points
1,086 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Why do we need to create our own VPC in AWS?

Hi@akhtar, Yes, in AWS you will get one ...READ MORE

answered Mar 18 in AWS by MD
• 8,870 points
90 views
0 votes
1 answer

Email notification using SNS topic and Lambda function in AWS?

Hi@akhtar, You can set notification system for your ...READ MORE

answered 2 days ago in AWS by MD
• 8,870 points
9 views