🚀 Integrating API Gateway with Private ALB: The New, Simpler, and More Scalable Way
dev.to·11h·
Discuss: DEV
Flag this post

🧩 The Problem

When you work with microservices in AWS (especially in ECS, EKS, or internal applications inside a VPC), sooner or later you need to expose a REST endpoint through Amazon API Gateway, but without making your backend public.

For many years, the only “official” way to integrate API Gateway (REST) with a private Application Load Balancer (ALB) was by placing a Network Load Balancer (NLB) in the middle.

This created three common issues in real-world projects:

  1. More infrastructure than necessary (ALB + NLB just to create a bridge).
  2. Higher latency because traffic needed to make an extra hop.
  3. More cost and operational overhead: two load balancers to monitor, scale, and secure.

For students or small teams, this architecture was confusin…

Similar Posts

Loading similar posts...