aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.6k stars 928 forks source link

New serverless pattern: Multi Account Private API Gateway #2516

Open usama-khan98 opened 5 days ago

usama-khan98 commented 5 days ago

Description: This pattern enables secure east/west communication in a multi-account AWS setup using Private API Gateway, VPC Endpoints, VPC Links, and Network Load Balancers (NLB). A centralized API Gateway in a central account routes traffic to downstream accounts hosting services like ECS Fargate and Lambda. All communication stays within the AWS private network, ensuring scalability, modularity, and security for inter-account API interactions.

Framework: AWS Serverless Application Model (SAM)

Resources:

Author bio: Usama is a Technical Account Manager at Amazon Web Services. https://www.linkedin.com/in/usama-ali-khan/ - Name: Usama Ali Khan

GitHub PR for template: https://github.com/aws-samples/serverless-patterns/pull/2515