Capítulo 449 de 988

Chapter 449: Custom Layers

Core Idea

The Lambda function includes Chrome and base fonts by default.

Key Concepts

  • Default layers<AvailableFrom v="4.0.205"/>
  • Ensure Remotion version
  • Creating a custom binary
  • Creating a Lambda layer
  • Specify custom Layers while deploying<AvailableFrom v="4.0.510" />
  • Update the Lambda function
  • See also

Code Examples

sh size.sh
  • What it demonstrates: Usage pattern for Custom Layers from the official docs.

Reference Tables

ItemSize
chromium196 MB
emoji-google9.9 MB
fonts1.9 MB
cjk16 MB
Total223.8 MB

Key Takeaways

  1. Understand default layers<availablefrom v="4.0.205"/> when working with Custom Layers.
  2. Understand ensure remotion version when working with Custom Layers.
  3. Understand creating a custom binary when working with Custom Layers.
  4. Understand creating a lambda layer when working with Custom Layers.
  5. Understand specify custom layers while deploying<availablefrom v="4.0.510" /> when working with Custom Layers.

Connects To

  • api: related page in the Lambda (@remotion/lambda) section.
  • Approuterwebhook: related page in the Lambda (@remotion/lambda) section.
  • Authentication: related page in the Lambda (@remotion/lambda) section.