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".

AWS
已提問 4 年前檢視次數 2796 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南