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 #2515

Open usama-khan98 opened 5 days ago

usama-khan98 commented 5 days ago

Issue #, if available: 2516

Description of changes: New SAM templates to create Private REST API Gateway in multiple accounts and integrate with the central account.

This pattern deploys four separate AWS accounts: a client account with an EC2 instance and VPC Endpoint for testing, a central account hosting the main API Gateway and routing components, an account with an ECS Fargate service behind a private API Gateway, and another account with a Lambda function integrated with Amazon Bedrock for image generation. Each account contains its own AWS resources to ensure proper communication and isolation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.