Back to posts

Centralized VPC Endpoints & Private DNS Resolution

Read the full guide on docs.beyondyou.my.id
awsnetworkingvpcprivatelinkdnsarchitecture

VPC Endpoints are essential for keeping traffic between AWS services private, but managing them across dozens of VPCs and accounts creates significant overhead. A centralized endpoint architecture consolidates Interface and Gateway endpoints into a shared services VPC, reducing cost and simplifying operations.

Key Takeaways

  • Centralized VPC Endpoints consolidate Interface Endpoints (PrivateLink) and Gateway Endpoints (S3, DynamoDB) into a shared services VPC
  • Private DNS resolution enables spoke VPCs to resolve AWS service endpoints through the central VPC
  • Route 53 Resolver endpoints facilitate DNS forwarding between VPCs
  • Interface Endpoints support cross-account access via VPC endpoint policies
  • Gateway Endpoints use route table entries in spoke VPCs pointing to the central VPC

Quick Overview

In the centralized model, a dedicated infrastructure or network VPC hosts all Interface Endpoints (e.g., for EC2, ECR, CloudWatch, STS) and Gateway Endpoints (S3, DynamoDB). Spoke VPCs access these services through Transit Gateway routing. Private DNS resolution is handled by Route 53 Resolver inbound/outbound endpoints, allowing spoke VPCs to resolve AWS service DNS names to the private IPs of the centralized endpoints.

This architecture eliminates the need to provision VPC Endpoints in every spoke VPC, significantly reducing costs while maintaining private connectivity.


Read the full guide: Centralized VPC Endpoints & Private DNS Resolution → — includes step-by-step setup, DNS forwarding configuration, and cross-account endpoint policy examples.