Overview
Upstash Workflow operates on top of QStash, which is available in two distinct regions: EU region and US region. Each region is completely independent with its own infrastructure, pricing, resources, and workflow runs.Regional URLs
- EU Region:
https://qstash-eu-central-1.upstash.io, orhttps://qstash.upstash.io - US Region:
https://qstash-us-east-1.upstash.io
Key Concepts
Each region maintains:- Usage in each region is tracked and billed independently
- Workflow runs, events, and configurations are region-specific
- Each region has its own API tokens and signing keys
Migration Between Regions
If you don’t have any active resources (active workflow runs, schedules, url groups etc), you can simply update your environment variables with the new region to migrate. If you have active resources, you will need to migrate more gracefully, as described below. You can migrate your Workflow resources from one region to another using the Upstash Console:- Navigate to the Workflow tab on Upstash Console
- Click the Migrate button
- Follow the guided migration process

- Help you set up migration-mode environment variables
- Copy and update your QStash resources (schedules, url groups, queues)
After migration, your app will be able to handle requests from both regions simultaneously to ensure a smooth transition.
Operating Modes
Workflow SDK supports two modes of operation:Single-Region Mode (Default)
WhenQSTASH_REGION environment variable is not set, the SDK operates in single-region mode:
- Uses
QSTASH_TOKENandQSTASH_URL(or defaults to EU region) - All workflow triggers are sent through the configured region
- Incoming workflow requests are verified using default signing keys
Migration Mode
WhenQSTASH_REGION is set to US_EAST_1 or EU_CENTRAL_1, the SDK enables migration mode:
- Uses region-specific credentials for the primary region (
QSTASH_REGION) - Automatically handles region detection for incoming workflow requests
- Supports receiving workflow calls from multiple regions simultaneously
If a workflow run was started in one region, all its steps will execute in that region.
SDK Requirements
Migration support requires:@upstash/workflow>= 1.1.0@upstash/qstash>= 2.9.0