Skip to main content

Serverless Workers

SUPPORT, STABILITY, and DEPENDENCY INFO

Serverless Workers are in Pre-release and available to select Temporal Cloud customers. To request access during Pre-release, create a support ticket or contact your account team. APIs are experimental and may be subject to backwards-incompatible changes. Sign up for updates to be notified when Serverless Workers reach Public Preview.

Serverless Workers let you run Temporal Workers on serverless compute like AWS Lambda. Deploy your Worker code to a serverless provider, configure a compute provider for the Worker Deployment Version, and Temporal invokes the Worker when Tasks arrive. There are no long-lived processes to provision or scale.

Temporal monitors Task Queues that have a compute provider configured. When a Task arrives and no Worker is polling, Temporal invokes the configured compute target. The Worker starts, processes available Tasks, and shuts down when the invocation window ends.

Supported providers

  • AWS Lambda - Deploy a Serverless Worker as a Lambda function. Temporal assumes an IAM role in your AWS account to invoke the function when Tasks arrive.