Gateway endpoints vs interface endpoints?
IntermediateConceptVPC and Networking
Answer
A gateway endpoint exists only for S3 and DynamoDB. It adds a prefix-list route to your route table, costs nothing and is not reachable from on-prem or other VPCs. An interface endpoint (PrivateLink) puts an ENI with a private IP in your subnets for most other services, supports security groups and private DNS, is reachable over VPN/DX/TGW, and bills per hour and per GB.
Both support endpoint policies to restrict which buckets or principals can be used through them.
More on VPC and Networking
What is a VPC and what are the CIDR constraints?BeginnerWhat makes a subnet public or private?BeginnerHow do route tables work, including the local route and longest-prefix match?IntermediateInternet Gateway vs NAT Gateway: what does each do?BeginnerNAT Gateway vs NAT instance?IntermediateSecurity group vs network ACL: compare them.Beginner