Cloud and platform engineering

Architect private subnets with VPC endpoints

Route internal AWS service traffic securely without traversing the public internet using VPC endpoints. Routing traffic to cloud storage or APIs via public internet gateways adds latency and unnecessary exposure. Cloud architecture decisions trade cost, resilience, operational skill and recovery time; validate them against service objectives rather than adopting a pattern by default.

Operational constraints and failure modes

Routing traffic to cloud storage or APIs via public internet gateways adds latency and unnecessary exposure.

  • Define service objectives and recovery targets
  • Model dependency and regional failure modes
  • Measure cost and operational overhead

Implementation approach

Configure interface and gateway VPC endpoints (PrivateLink) for internal service communication within VPCs.

  • Confirm the responsible owner
  • Apply the change to a representative case
  • Document decisions and exceptions

Practical example

Illustrative example: a private subnet uses gateway endpoints for S3 and DynamoDB where appropriate and reviews route tables and endpoint policies before removing its general outbound path.

  • Reproduce the starting situation
  • Apply the described approach
  • Check the user-facing result

Verification and follow-up

Test private network isolation, verify API access without internet gateways, and inspect routing tables.

  • Test expected and failure cases
  • Compare with the recorded baseline
  • Agree the next review date and owner

Questions to keep in view

When should a team use this cloud and platform engineering guide?

Route internal AWS service traffic securely without traversing the public internet using VPC endpoints.

What should be checked before rollout?

Test private network isolation, verify API access without internet gateways, and inspect routing tables.