Does Gateway endpoint uses internet gateway to interact with S3 and DynamoDB ?

0

I was trying Amazon Q, AWS Generative AI assistant which says that Gateway endpoint uses internet gateway but AWS Documentations says Gateway VPC endpoints provide reliable connectivity to Amazon S3 and DynamoDB without requiring an internet gateway or a NAT device for your VPC.

Also when it specifically comes to network what is the difference between gateway endpoint and interface endpoint

asked 4 months ago277 views
1 Answer
2

Hello.

The VPC gateway endpoint does not go through an internet gateway because it can access S3 and DynamoDB even in a VPC without an internet gateway.
https://docs.aws.amazon.com/vpc/latest/privatelink/gateway-endpoints.html

Gateway type cannot be used for connections from outside the VPC.
For example, it is not possible to make a VPN connection with on-premises and access S3 via the gateway VPC endpoint.
If you want communication from on-premises to go through a VPC endpoint, you need to create an interface-type VPC endpoint.
https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html

Amazon S3 supports both gateway endpoints and interface endpoints. With a gateway endpoint, you can access Amazon S3 from your VPC, without requiring an internet gateway or NAT device for your VPC, and with no additional cost. However, gateway endpoints do not allow access from on-premises networks, from peered VPCs in other AWS Regions, or through a transit gateway. For those scenarios, you must use an interface endpoint, which is available for an additional cost. For more information, see Types of VPC endpoints for Amazon S3 in the Amazon S3 User Guide.

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