3 ms·
Now that you can run containers on Lambda, why are individual releases like this still important? Couldn't you just deploy your own runtime in Docker?
by arjvik 5y ago
Now that you can run containers on Lambda, why are individual releases like this still important? Couldn't you just deploy your own runtime in Docker?
- nhoughto 5y agoYou can package a lambda as a container image, but lambda doesn’t itself run the container like it would in dockerd or kube etc, it’s just a packaging mechanism I believe.
- Dunedan 5y agoUsing Docker images as deployment packages for AWS Lambda has two notable disadvantages from my point of view: - You're suddenly responsible for managing the whole operating system again, neglecting one of the major benefits of AWS Lambda. - You need to store the Docker images in AWS Elastic Container Registry (ECR) which adds additional complexity to the setup.
- kbd 5y agoDoesn't a lambda based on a docker container incur container startup time, whereas if you use one of their language-specific SDKs you don't?
- Dunedan 5y agoAWS Lambda doesn't run a container like one might expect, but it treats the files in the Docker image basically the same as if it's be a regular AWS Lambda runtime rootfs + your application code. So if there are differences in cold start time, reasons for that could be that a docker image is fetched from ECR instead of S3 for regular Lambda packages and that a docker image is likely larger than the usual Lambda package.