[{"data":1,"prerenderedAt":53},["ShallowReactive",2],{"pattern-lambda-microvms-from-ecr":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":29,"level":30,"meta":31,"patternArch":32,"resources":37,"s3URL":6,"services":6,"stem":48,"testing":49,"videoId":6,"__hash__":52},"patterns\u002Fpatterns\u002Flambda-microvms-from-ecr.json","AWS Lambda MicroVM from Amazon ECR image",null,{"text":8},[9],"\u003Ccode>bash cleanup.sh\u003C\u002Fcode>",[11],"content\u002Fcontributors\u002Falexander-vladimirov.json",{"text":13},[14],"bash deploy.sh","Deploy an AWS Lambda MicroVM from a pre-built Docker image stored in Amazon ECR.","json","AWS CLI",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-microvms-from-ecr","serverless-patterns\u002Flambda-microvms-from-ecr","lambda-microvms-from-ecr","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"This pattern deploys a Lambda MicroVM from a pre-built Docker image stored in Amazon ECR. You build and push your container image to ECR, then upload a thin zip containing only a FROM directive referencing the ECR image. Lambda pulls the image during the server-side build.","This approach is ideal for complex builds, private base images, and CI\u002FCD pipelines where you want full control over the Docker build process. MicroVMs offer snapshot-based rapid startup speeds and automatically suspend after idle timeout.","Python","200",{},{"icon1":33},{"x":34,"y":34,"service":35,"label":36},50,"lambda-microvms","AWS Lambda MicroVMs",{"bullets":38},[39,42,45],{"text":40,"link":41},"AWS Lambda MicroVMs Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-microvms.html",{"text":43,"link":44},"Amazon Elastic Container Registry (ECR)","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonECR\u002Flatest\u002Fuserguide\u002Fwhat-is-ecr.html",{"text":46,"link":47},"Firecracker - Secure and fast microVMs for serverless computing","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fopensource\u002Ffirecracker-open-source-secure-fast-microvm-serverless\u002F","patterns\u002Flambda-microvms-from-ecr",{"text":50},[51],"See the GitHub repo for detailed testing instructions.","Zjdr05Gk-nObLs5YgnIn2gT8ozmZMTyyLtOzbq0vxEc",1782470142468]