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 Answer
2
Accepted Answer

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
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions