Skip to main content

Function naming convention

A Remotion Lambda function has the following naming convention:

remotion-render-4-0-372-mem2048mb-disk2048mb-240sec
                ^^^^^^^    ^^^^       ^^^^   ^^^
                  |         |          |      |-- Timeout in seconds
                  |         |          |--------- Disk size in MB
                  |         |------------------- Memory size in MB
                  |----------------------------- Remotion version with dots replaced by dashes

When you deploy a function, the name is hardcoded. This has two functions:

  • 1
    Avoid having multiple functions with the same configuration unnecessarily.
  • 2
    Being able to guess the function name using speculateFunctionName() so you don't have to fetch a list of functions in your AWS account.

See also