Cloud Equivalents

Amazon Web Services → Microsoft Azure

Azure equivalent of Lambda layers

Azure Functions has no equivalent of Lambda layers.

Last verified: · Edit on GitHub

About Lambda layers

ProviderAmazon Web Services
StatusGenerally available
What it isShared .zip archives (libraries, runtimes, config) mounted into /opt. Up to five per function, for .zip-packaged functions only.
Documentationdocs.aws.amazon.com
PricingOfficial pricing page

Azure mappings (1)

CapabilityAzure equivalentMatch
Shared function dependencies (layers)NoneNo equivalent
Serverless functions(1)

Shared function dependencies (layers) No equivalent

Azure Functions has no equivalent of Lambda layers. On Azure, dependencies are packaged with each function app, or you use a custom container image to share a base layer.

  • Lambda layers are versioned .zip archives mounted at /opt, up to five per function, and only for .zip-packaged functions. Container-image functions use image layers instead.
  • On Azure Functions, one function app holds many functions that share one deployment package and dependency set, which removes some of the reasons for layers. For cross-app sharing, use internal package feeds or a shared base container image.

Full comparison →