Network Interfaces are not created

0

I have a lambda attached to the private subnets in the VPC. I have defined and vpc interface endpoint so that lambda can access AWS secret manager. But it is timing out. When I check issue was with the network interfaces where for the security group associated with lambda have no network interface defined for the endpoint I defined. Since network interfaces (EC2 service) are defined automatically why the endpoint is not attached with the security group I use. Please explain how network interfaces are defined and work as well.

1 Antwort
2
Akzeptierte Antwort

Hello.

When I check issue was with the network interfaces where for the security group associated with lambda have no network interface defined for the endpoint I defined.

Lambda ENI and VPC endpoint ENI are not related.
Therefore, you need to configure the inbound rules of the security group that you set when creating the VPC endpoint to allow the security group that is linked to the Lambda ENI.
https://docs.aws.amazon.com/lambda/latest/dg/foundation-networking.html#foundation-nw-connecting

profile picture
EXPERTE
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat

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