Interview Prep/Networking/VPC & Network Architecture

When should you use VPC endpoints?

IntermediateProductionVPC & Network Architecture
Answer

When private workloads call AWS services and you want to avoid NAT cost, internet exposure or compliance issues. Gateway endpoints (S3, DynamoDB) are free and route-table based. Interface endpoints (PrivateLink) create ENIs with private IPs for ECR, STS, SSM, Secrets Manager, CloudWatch and more, at about 0.01 USD per hour per AZ plus data.

Attach endpoint policies and use aws:SourceVpce conditions in bucket policies to lock data access to your VPC.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Network Architecture