Amazon API Gateway REST API with Private ALB integration via VPC link V2

API Gateway REST API → VPC link V2 → Application Load Balancer → Amazon ECS

This pattern demonstrates integrating an API Gateway REST API with a private Amazon Application Load Balancer using VPC link V2

This pattern deploys an API Gateway REST API endpoint that integrates with a private Application Load Balancer using VPC link V2
The private ALB routes traffic to an ECS Fargate cluster running containerized applications
The pattern creates all required security groups, IAM roles, and networking components for secure private integration

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-rest-vpclink-pvt-alb-sam

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

sam delete

Created by:

Abhishek Agawane

Abhishek Agawane

Abhishek is a Security Consultant at Amazon Web Services with more than 9 years of industry experience. He helps organizations architect resilient, secure, and efficient cloud environments, guiding them through complex challenges and large-scale infrastructure transformations. He has helped numerous organizations enhance their cloud operations through targeted optimizations, robust architectures, and best-practice implementations.