Skill 3.4.1
Describe Lambda deployment packaging options
Key Concepts
A .zip archive can be uploaded directly up to 50 MB, or from S3, with an unzipped limit of 250 MB including all layers. Up to five layers can hold shared dependencies. Zip deployments use a managed runtime that AWS patches.
A container image of up to 10 GB is stored in Amazon ECR and built from an AWS base image or any image that implements the Lambda Runtime API. Images suit large dependencies such as machine-learning libraries and teams that already use container tooling. Container image functions cannot use layers; dependencies are built into the image instead.