[{"data":1,"prerenderedAt":100},["ShallowReactive",2],{"pattern-multi-account-private-apigw":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":30,"level":31,"meta":32,"patternArch":33,"resources":73,"s3URL":6,"services":6,"stem":95,"testing":96,"videoId":6,"__hash__":99},"patterns\u002Fpatterns\u002Fmulti-account-private-apigw.json","Multi-Account Setup with Private Amazon API Gateway",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fusama-ali-khan.json",{"text":13},[14],"sam deploy --guided --profile PROFILE_NAME","Create Private REST API Gateway in multiple accounts and integrate with the central account","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fmulti-account-private-apigw","serverless-patterns\u002Fmulti-account-private-apigw","multi-account-private-apigw","centralAccount\u002Ftemplate.yaml",{"headline":25,"text":26},"How it works",[27,28,29],"This sample project demonstrates how to enable secure, centralized API communications across multiple AWS accounts using a private Amazon API Gateway. It facilitates east\u002Fwest communication between services while keeping traffic within the AWS network.","The architecture utilizes key AWS services such as Amazon API Gateway (Private), VPC links, Network Load Balancers (NLBs), and Execute-API VPC Endpoints. These services work together to securely route requests between multiple AWS accounts and their respective private APIs.","This pattern deploys three separate AWS accounts: 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 integration. Each account contains its own AWS resources to ensure proper communication and isolation.","Python","300",{},{"icon1":34,"icon2":39,"icon3":43,"icon4":47,"icon5":51,"icon6":53,"icon7":55,"line1":59,"line2":63,"line3":65,"line4":67,"line5":69,"line6":71},{"x":35,"y":36,"service":37,"label":38},15,50,"apigw","Central API Gateway",{"x":40,"y":36,"service":41,"label":42},35,"vpc-endpoint","VPC Link",{"x":44,"y":45,"service":37,"label":46},55,25,"API Gateway",{"x":48,"y":45,"service":49,"label":50},80,"lambda","AWS Lambda",{"x":44,"y":52,"service":37,"label":46},65,{"x":54,"y":52,"service":41,"label":42},72,{"x":56,"y":52,"service":57,"label":58},90,"fargate","AWS Fargate",{"from":60,"to":61,"label":62},"icon1","icon2","",{"from":61,"to":64,"label":62},"icon3",{"from":64,"to":66,"label":62},"icon4",{"from":61,"to":68,"label":62},"icon5",{"from":68,"to":70,"label":62},"icon6",{"from":70,"to":72,"label":62},"icon7",{"bullets":74},[75,78,81,84,87,90,92],{"text":76,"link":77},"Amazon API Gateway (Private)","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapigateway-private-apis.html",{"text":79,"link":80},"Execute-API VPC Endpoint","https:\u002F\u002Fdocs.aws.amazon.com\u002Fvpc\u002Flatest\u002Fprivatelink\u002Fcreate-interface-endpoint.html",{"text":82,"link":83},"VPC Links","https:\u002F\u002Fdocs.aws.amazon.com\u002Fvpc\u002Flatest\u002Fuserguide\u002Fendpoint-services-overview.html",{"text":85,"link":86},"Network Load Balancer (NLB)","https:\u002F\u002Fdocs.aws.amazon.com\u002Felasticloadbalancing\u002Flatest\u002Fnetwork\u002Fintroduction.html",{"text":88,"link":89},"Amazon ECS Fargate","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonECS\u002Flatest\u002Fdeveloperguide\u002FAWS_Fargate.html",{"text":50,"link":91},"https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwelcome.html",{"text":93,"link":94},"Amazon EC2","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSEC2\u002Flatest\u002FUserGuide\u002Fconcepts.html","patterns\u002Fmulti-account-private-apigw",{"text":97},[98],"See the GitHub repo for detailed testing instructions.","TtjUh4bMA0AyKnSzPPQkPPHr4bXlQRqocQnI-Mds0mA",1779273338176]