How can I verify the VPC Gateway Endpoint is used?

0

How do I verify the VPC Gateway Endpoint is being used after setup? I can run a reachability analysis between the ENI and the VPC gateway, but how do I confirm it's routing via the gateway endpoint?

已提問 2 年前檢視次數 612 次
2 個答案
1
已接受的答案

The easiest way to do this is to look at the CloudTrail event for each API call. If the endpoint is being used then there will be vpcEndpointId value in the event.

profile pictureAWS
專家
已回答 2 年前
profile pictureAWS
專家
已審閱 2 年前
  • Ah wonderful, what I was looking at was working, but instead I discovered RedShift wasn't using it probably because it doesn't have enhanced VPC enabled.

  • Depending on what you're doing; AWS services (RDS, Redshift and others) will access S3 without going through your VPC - they have other networking connections that allow them to connect to S3 independently and that's how they would work in a VPC without Internet access or a private endpoint.

0

I noticed that "vpcEndpointId" is present even for the events when no point existed. Not sure why that's there.

已回答 1 年前

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

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

回答問題指南