How do I confirm interface VPC endpoint usage?

0

How can we validate or confirm that AWS PrivateLink is actually being used? I have an AWS Lambda function that sends logs to a third party using AWS PrivateLink and the logs aren't being received. Therefore, I'm not sure if PrivateLink is being used. There's no helpful logging with the function, and the setup is exactly the same across environments. Nothing in CloudTrail shows up, and the VPC Flow Logs show status on the ENIs as "NODATA".

1 回答
0
已接受的回答

If VPC Flow Logs for the AWS Lambda ENI isn't showing any data going to the IP address of the ENI for AWS PrivateLink, then your traffic isn't going to the private link. The "NoData" status in your VP Flow Logs means no data was recorded during the five minute capture period that is set on the ENI. You can try inserting some extra debugging around the AWS Lambda code, which will make the function call to the logging API. The debugging code can also check the logging API configuration to make sure that it's configured to point to the AWS PrivateLink endpoint address.

AWS
专家
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则