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

已提問 5 個月前檢視次數 293 次
1 個回答
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
專家
已回答 5 個月前
profile picture
專家
已審閱 5 個月前

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

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

回答問題指南