[{"data":1,"prerenderedAt":50},["ShallowReactive",2],{"pattern-lambda-microvms-from-zip":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":45,"testing":46,"videoId":6,"__hash__":49},"patterns\u002Fpatterns\u002Flambda-microvms-from-zip.json","AWS Lambda MicroVM from Zip file",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 zip artifact containing a Dockerfile and application code, built server-side.","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-zip","serverless-patterns\u002Flambda-microvms-from-zip","lambda-microvms-from-zip","src\u002Fapp.py",{"headline":25,"text":26},"How it works",[27,28],"This pattern deploys a Lambda MicroVM from a zip artifact uploaded to S3. The zip contains a Dockerfile and application code. Lambda builds the image server-side on the al2023 base image, waits for the \u002Fready lifecycle hook, and takes a Firecracker snapshot.","The MicroVM resumes rapidly from the snapshot, exposing an HTTP endpoint on port 8080 gated by an auth token. It automatically suspends after idle timeout and resumes on next request — each MicroVM runs in its own isolated VM with hardware-level isolation.","Python","200",{},{"icon1":33},{"x":34,"y":34,"service":35,"label":36},50,"lambda-microvms","AWS Lambda MicroVMs",{"bullets":38},[39,42],{"text":40,"link":41},"AWS Lambda MicroVMs Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-microvms.html",{"text":43,"link":44},"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-zip",{"text":47},[48],"See the GitHub repo for detailed testing instructions.","Whh4q4b9SRzfWOEIsC5TtphHhKdQNWW2RLts_VCkoUE",1782470142473]