How can I verify the VPC Gateway Endpoint is used?


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?

asked 2 years ago646 views
2 Answers
Accepted Answer

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
answered 2 years ago
profile pictureAWS
reviewed 2 years ago
  • 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.


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

answered a year 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