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

I am a Cloud Support Engineer (Serverless) at AWS who loves cloud computing