Networking interview question · Most asked

How do private subnets reach AWS services like S3 without going over the internet?

Create a free account to save this page, take notes and track your progress. Sign in

Summary

Use VPC endpoints: gateway endpoints (free, route-table based) for S3 and DynamoDB, and interface endpoints (PrivateLink, an ENI with a private IP plus private DNS) for most other services. Azure uses Private Endpoints and service endpoints; Google Cloud uses Private Google Access and Private Service Connect.

Longer Answer

Benefits: traffic stays on the provider network, NAT data-processing costs drop, and endpoint policies can restrict access to your own buckets or accounts, which helps prevent data exfiltration.

Key Points

  • Gateway endpoints for S3/DynamoDB.
  • Interface endpoints for other services.
  • Saves NAT cost.
  • Endpoint policies limit access.

Deep dive: Networking Tutorial: Private Access to Cloud Services

Explanation

What interviewers look for

Knowing both endpoint types and the cost/security motivation.

More most-asked Networking questions

← All Networking questions

Was this page helpful?