Interview Prep/AWS/VPC and Networking

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.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking