Lambda static outbound IP address without NAT gateway

0

My lambda use case deals with outbound connections. I would like to have a static IP address, so I can whitelist them.

Since my use case deals with outbound connections, I can't use a load balancer here.

NAT gateway can be associated with elastic IP address. But cost is a barrier.

At the moment, I'm using a NAT EC2 instance for having a static IP address.

Is there a better way?

p.s. My lambda function is triggered by SQS. And my function require access to S3 and DynamoDB. No other access required.

Edited by: Vir2020 on Jun 2, 2020 1:19 PM

Vir2020
gefragt vor 4 Jahren677 Aufrufe
1 Antwort
0

Unfortunately no, the only way at the moment to get a fixed IP on outgoing requests for lambda is to be running in a VPC with a NAT gateway or NAT instance.

Ellison
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen