[{"data":1,"prerenderedAt":58},["ShallowReactive",2],{"pattern-lambda-durable-managed-instances-cdk":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":39,"s3URL":6,"services":6,"stem":53,"testing":54,"videoId":6,"__hash__":57},"patterns\u002Fpatterns\u002Flambda-durable-managed-instances-cdk.json","AWS Lambda durable functions on Lambda Managed Instances",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdmitry-gulin.json",{"text":13},[14],"cdk deploy","This pattern demonstrates how to implement AWS Lambda durable functions running on AWS Lambda Managed Instances using AWS CDK.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-durable-managed-instances-cdk","serverless-patterns\u002Flambda-durable-managed-instances-cdk","lambda-durable-managed-instances-cdk","lib\u002Fdemo-stack.ts",{"headline":25,"text":26},"How it works",[27,28,29,30],"This sample project demonstrates how to implement AWS Lambda durable functions running on AWS Lambda Managed Instances. AWS Lambda durable functions allows maintaining state and execution context across multiple invocations, enabling long-running workflows that can span multiple function executions.","AWS Lambda Managed Instances provide predictable performance with pre-warmed execution environments, reduced cold start latency, and consistent execution characteristics. The combination of these features allows for building robust, stateful serverless applications that can handle complex workflows while maintaining high performance.","The pattern implements a step-wait-step workflow where the function validates an order, waits for 5 seconds using durable execution, and then processes the order. The execution state is maintained across invocations, demonstrating how durable functions can pause and resume execution seamlessly.","This pattern deploys one Lambda Function with durable configuration, a VPC with subnets and security groups, and a Lambda Capacity Provider for managed instances.","TypeScript","200",{},{"icon1":35},{"x":36,"y":36,"service":37,"label":38},50,"lambda","AWS Lambda durable function",{"bullets":40},[41,44,47,50],{"text":42,"link":43},"Lambda durable functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-functions.html",{"text":45,"link":46},"Lambda Managed Instances","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-managed-instances.html",{"text":48,"link":49},"AWS Lambda durable execution SDK for JavaScript","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@aws\u002Fdurable-execution-sdk-js",{"text":51,"link":52},"AWS capabilities explorer","https:\u002F\u002Fbuilder.aws.com\u002Fbuild\u002Fcapabilities\u002Fexplore","patterns\u002Flambda-durable-managed-instances-cdk",{"text":55},[56],"See the GitHub repo for detailed testing instructions.","MKTTYwHJoVIcMRh9BKJ5hihqQoSwOUnyf4hadyGij8U",1778846886019]