[{"data":1,"prerenderedAt":61},["ShallowReactive",2],{"pattern-lambda-managed-instances-python-sam":3,"pattern-group-lambda-managed-instances-python-sam":60},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":24,"language":30,"level":31,"meta":32,"patternArch":33,"patternGroup":6,"patternGroupLabel":6,"resources":46,"s3URL":6,"services":6,"stem":54,"testing":55,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Flambda-managed-instances-python-sam.json","AWS Lambda Managed Instances with AWS SAM (Python)",null,{"text":8,"file":10},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>","template.yaml",[12],"content\u002Fcontributors\u002Fajaya-shrestha.json",{"text":14,"file":10},[15],"sam deploy --guided","Deploy a Python Lambda function on AWS-managed Amazon EC2 instances with multi-concurrency, AWS Graviton support, and EC2 pricing advantages.","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":10},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-managed-instances-python-sam","serverless-patterns\u002Flambda-managed-instances-python-sam","lambda-managed-instances-python-sam",{"headline":25,"text":26},"How it works",[27,28,29],"This pattern creates a Lambda Capacity Provider with VPC configuration and deploys a Python function that runs on managed EC2 instances.","Lambda handles instance lifecycle, OS patching, routing, and auto-scaling while you benefit from EC2 pricing models.","Multi-concurrency allows one execution environment to handle multiple invocations simultaneously.","Python","300",{},{"icon1":34,"icon2":39,"line1":43},{"x":35,"y":36,"service":37,"label":38},20,50,"lambda","AWS Lambda",{"x":40,"y":36,"service":41,"label":42},80,"ec2","Managed Instances (EC2)",{"from":44,"to":45},"icon1","icon2",{"bullets":47},[48,51],{"text":49,"link":50},"Lambda Managed Instances","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-managed-instances.html",{"text":52,"link":53},"Build high-performance apps with Lambda Managed Instances","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fbuild-high-performance-apps-with-aws-lambda-managed-instances\u002F","patterns\u002Flambda-managed-instances-python-sam",{"text":56,"file":58},[57],"See the GitHub repo for detailed testing instructions.","README.md","ysP6ByNmxet8wJrRqyJ0LIfjxaDRDzphVVlWNVK4drE",[],1790246097530]