Deploy an AWS Lambda MicroVM from a pre-built Docker image stored in Amazon ECR.
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/CD pipelines where you want full control over the Docker build process. MicroVMs offer snapshot-based rapid startup speeds and automatically suspend after idle timeout.