Skip to main content
Deploy your Restate services on Deno Deploy. This guide covers project configuration, service registration, and security setup.
Follow the quickstart to try Deno and Restate locally.

Deploying to Deno Deploy

1

Set up your project

Start from the Deno template:Deploy on Deno
2

Secure your service with request identity validation

Deno Deploy services are public HTTP endpoints. Secure your service with request identity validation so that it only accepts requests from the Restate environment you trust.
Restate Cloud and BYOC environments create and manage the request identity key for you.Copy the environment’s public key from Developers > Security > HTTP endpoints in the Restate Cloud UI.
Configure the key in your Restate SDK endpoint before deploying.
The public key is not secret, so it is safe to include it directly in your service source code or configuration files.
3

Register the service to Restate

Once deployed on Deno Deploy EA, use Preview URLs so that Restate can target specific service versions.
Register the service with Restate via the UI:
Deno Deploy UI
Or register the service with the CLI:
4

Send your first request

You’re set up! Go to the Overview page > Greeter > Playground and start sending requests to your service.

CI/CD Automation

You can set up automation to register new Restate service versions every time you deploy to Deno Deploy:
If you’ve followed the steps above, then you already have the GitHub Actions workflow set up. All you need to do is to add the secrets below to your project.
Create the project in the Deno console before the first workflow run.
.github/workflows/deploy.yml
This workflow needs the following GitHub Actions repository secrets:
For Deno Deploy Classic, we suggest the following CI/CD setup that deploys to Deno and then registers the deployment with Restate:Configure RESTATE_ADMIN_URL and RESTATE_AUTH_TOKEN as described above for your Restate environment.