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
| Item | Size |
|---|
| chromium | 196 MB |
| emoji-google | 9.9 MB |
| fonts | 1.9 MB |
| cjk | 16 MB |
| Total | 223.8 MB |
Key Takeaways
- Understand default layers<availablefrom v="4.0.205"/> when working with Custom Layers.
- Understand ensure remotion version when working with Custom Layers.
- Understand creating a custom binary when working with Custom Layers.
- Understand creating a lambda layer when working with Custom Layers.
- 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.