[{"data":1,"prerenderedAt":79},["ShallowReactive",2],{"pattern-apigw-vpclink-pvtnlb-fargate-cdk-python":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":31,"level":32,"meta":33,"patternArch":34,"resources":60,"s3URL":6,"services":6,"stem":74,"testing":75,"videoId":6,"__hash__":78},"patterns\u002Fpatterns\u002Fapigw-vpclink-pvtnlb-fargate-cdk-python.json","Amazon API Gateway to AWS Fargate via VPC Link and Network Load Balancer",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdinesh-balaaji-prabakaran.json",{"text":13},[14],"cdk deploy","This pattern connects a public API Gateway to a private Network Load Balancer to ECS Fargate cluster. It keeps the private subnet resources safe.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-vpclink-pvtnlb-fargate-cdk-python","serverless-patterns\u002Fapigw-vpclink-pvtnlb-fargate-cdk-python","apigw-vpclink-pvtnlb-fargate-cdk-python","apigw_vpclink_pvtnlb_fargate_cdk_python\u002Fapigw_vpclink_pvtnlb_fargate_cdk_python_stack.py",{"headline":25,"text":26},"How it works",[27,28,29,30],"This pattern helps connect a public API Gateway endpoint to a private Network Load Balancer alongside an ECS Fargate cluster.","It keeps the private subnet resources safe from exposure and only allows access through a VPC Link, ensuring security.","The pattern will create API Gateway, VPC Link, private Network load balancer, VPC along with a private subnet and a ECS fargate cluster.","Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the [AWS Pricing page](https:\u002F\u002Faws.amazon.com\u002Fpricing\u002F) for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.","Python","200",{},{"icon1":35,"icon2":40,"icon3":44,"icon4":48,"line1":52,"line2":56,"line3":58},{"x":36,"y":37,"service":38,"label":39},15,50,"apigw","Amazon API Gateway",{"x":41,"y":37,"service":42,"label":43},37,"vpc-endpoint","VPC Link",{"x":45,"y":37,"service":46,"label":47},57,"alb","NLB",{"x":49,"y":37,"service":50,"label":51},80,"fargate","AWS Fargate",{"from":53,"to":54,"label":55},"icon1","icon2","",{"from":54,"to":57,"label":55},"icon3",{"from":57,"to":59,"label":55},"icon4",{"bullets":61},[62,65,68,71],{"text":63,"link":64},"Getting started with the AWS CDK","https:\u002F\u002Fdocs.aws.amazon.com\u002Fcdk\u002Fv2\u002Fguide\u002Fgetting_started.html",{"text":66,"link":67},"Working with VPC links for HTTP APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api-vpc-links.html",{"text":69,"link":70},"Amazon ECS on AWS Fargate","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonECS\u002Flatest\u002Fdeveloperguide\u002FAWS_Fargate.html",{"text":72,"link":73},"Access Private applications on AWS Fargate using Amazon API Gateway PrivateLink","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Faccess-private-applications-on-aws-fargate-using-amazon-api-gateway-privatelink\u002F","patterns\u002Fapigw-vpclink-pvtnlb-fargate-cdk-python",{"text":76},[77],"See the GitHub repo for detailed testing instructions.","qOrZyGEV_FZR91Rmyht7xlQ5sV71907sUz3jSqBBkks",1778846882967]