Chapter 450: Data transfer cost
Core Idea
When rendering on Remotion Lambda, a headless browser is opened, which opens your bundle via the Serve URL. Your site and assets are being loaded via HTTP, meaning that you will be charged by AWS for the data transfer.
Key Concepts
- Isn't data transfer free if the assets are in the same region?
- Option 1: Use an alternate CDN for storing assets
- Enable Cloudflare Cache for R2 assets
- Option 2: Use @remotion/media tags
- Option 3: Enable VPC endpoints
- Caveats
- See also
Key Takeaways
- Understand isn't data transfer free if the assets are in the same region? when working with Data transfer cost.
- Understand option 1: use an alternate cdn for storing assets when working with Data transfer cost.
- Understand enable cloudflare cache for r2 assets when working with Data transfer cost.
- Understand option 2: use @remotion/media tags when working with Data transfer cost.
- Understand option 3: enable vpc endpoints when working with Data transfer cost.
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.