Shared layers
Manage reusable packages, SDKs, and runtime dependencies for functions.
How shared layers work
Layers let you bundle heavy packages and utility code into a shared zip artifact that functions mount instantly at cold start without recompilation.
Packaging structure
Upload a zip file containing the required directory hierarchy for your runtime (e.g. nodejs/node_modules/... for Node.js functions).
Version immutability
Each uploaded revision creates an immutable version number (v1, v2, ...). Existing function deployments retain their pinned layer version.