Connects to the Temporal Cloud Runs a Worker on Render
Run Workers in the Cloud.
The following guide configures and deploys your Temporal Workers on Render (render.com).
For a complete set of documentation see https://render.com/docs
For documentation on background workers, see https://render.com/docs/background-workers
- Select
New workers.
Background Workers are suitable for long running processes like consumers for queues and streaming.
- Choose one of the following and add your repository:
- Build and deploy from a Git repository
- Deploy an existing image from a registry
- On the
Create Background Workerpage, enter the following informaiton:- Name: the name of your background worker.
- Region: the region where you background worker runs.
- Branch: the repository branched used for you background worker. (
main) - Runtime: The runtime for your background worker. (
Python 3) - Build Command: the command that runs in the root directory. (
pip install -r requirements.txt) - Start Command: the command that runs your worker. (
python3 run_worker.py)
- Select your instance type.
Continue to add your secrets.
- Select
Advanced ^and choose either:Add Environment Variable- Enter a key and a value.
Add Secret File- give your filename a name.
- enter the file contents.
- Choose
Save.
Continue to deploy your Worker.
- Choose
Create background Workerwhen you’re ready.
Review your logs.
- From the logging dashboard, watch your worker deploy.
- You should see something similar to the following: