On 9 October 2026, Deno announced that its entire team is joining Cloudflare and that Deno Deploy "will continue operating for six months before shutting down." Deno's product, pricing and docs pages now carry the banner "Deno Deploy will be sunset in April 2027", and the docs add that existing applications keep running until then. No page names a day in April, so plan to be moved by the end of March.
Deno Deploy made shipping a TypeScript server about as simple as it gets, and Deno is a great runtime. The good news: Deploy runs the standard Deno runtime, so most Deploy apps run wherever Deno does. We make Server4Agent, one of the places you can move to, so weigh our view with that in mind. The Deno details come from Deno's announcement, the Deno Deploy page and the Deno docs, as they read on 24 November 2026.
Quick answer
- Deno's own path: migration support for paying customers moving to Cloudflare Workers. If you pay for Deploy or need an edge network, start there.
- Get your code: if you deployed from GitHub, it is in your repository. If it only lives in the Deploy dashboard, copy it out now.
- Get your Deno KV data: copy every key into a local file with the short script below.
- Collect your secrets: Deploy never shows one again once saved, so gather the values from where you first got them.
- Redeploy, check it, then move your domain. Deploy keeps serving until the sunset, so DNS can switch with no gap.
Key takeaways
- Two timelines matter: Deploy is sunset in April 2027, and the Deno runtime gets monthly fix and security releases for one more year, then Deno ends its own development of it. Deno stays open source.
- Deploy code is plain Deno.
Deno.serve,Deno.openKvandDeno.cronrun in the Deno CLI with the--unstable-kvand--unstable-cronflags. - Outside Deploy, Deno KV is a SQLite file. Give
Deno.openKv()a path inside your project.
How each part of a Deploy app runs elsewhere
| Your app uses | On Deno Deploy | Outside Deploy, per Deno's docs |
|---|---|---|
Deno.serve | Started on a request, stopped when idle | Same code. Listens on port 8000 unless you pass a port |
| Deno KV | A managed database assigned to the app | Built into the CLI. A file path gives a local SQLite database; with no path, it lives in your home directory |
KV queues (enqueue, listenQueue) | Part of Deno KV | Work with a local database file, not over a remote connection |
Deno.cron | Found at deploy time, run and retried by the platform | Keeps its state in memory in your process, so it fires only while that process runs |
| Environment variables | Set per context in the dashboard, secrets hidden once saved | Deno.env.get reads them from the process, as before |
| Postgres | DATABASE_URL injected for you | Set it yourself. A Prisma Postgres instance made through Deploy can be claimed into your own Prisma account (permanently) |
| Custom domain | DNS records and a Let's Encrypt certificate | Add the domain on the new host, then change DNS |
Copy your Deno KV data out
Deno's KV docs describe opening a Deploy database from outside Deploy with its connection URL (the database ID is on its page in the Deploy console) and a personal or organization access token in DENO_KV_ACCESS_TOKEN. The copy is a few lines:
// copy-kv.ts
const from = await Deno.openKv("https://api.deno.com/v2/databases/<Database ID>/connect");
await Deno.mkdir("./data", { recursive: true });
const to = await Deno.openKv("./data/kv.sqlite3");
let copied = 0;
for await (const entry of from.list({ prefix: [] })) {
await to.set(entry.key, entry.value);
copied++;
}
console.log(`Copied ${copied} keys`);Run it with deno run -A --unstable-kv copy-kv.ts, then point Deno.openKv() in your app at "./data/kv.sqlite3". It does not keep key expiry times. For a large database, Deno's backup docs describe continuous backup to an S3-compatible bucket that the open source denokv tool can restore.
Where each kind of app fits
| Your app | A good home |
|---|---|
| Needs to answer from many locations at once | Cloudflare Workers, Deno's own recommended path |
| A Deno web app, API, bot or scheduled job you keep changing from your AI assistant | Server4Agent. The same Deno code runs on a server, with KV as a file in the project |
| Several services sharing one KV database, and you are happy to run servers | A VPS with Deno and a self-hosted denokv server |
Server4Agent is not a global edge network. Each project runs on one server whose size you pick: small, medium or large. If you need edge distribution, Deno's recommended path or another edge host fits better.
Moving to Server4Agent from your AI assistant
- Connect Server4Agent once in the AI assistant you already use (in ChatGPT it is in the plugin directory: add it and sign in), or type the goal in the dashboard. Nothing to install. The integrations page has the steps for each app.
- Bring the code. Ask the assistant to clone your repository into a new project. Git is preinstalled.
- Install Deno in the workspace. Deno is not preinstalled, and only the workspace survives a server restart, so the assistant installs it there (adding
unzipwith sudo if the script asks for it):
curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/home/node/workspace/.deno shDeno's install docs put the binary at $DENO_INSTALL/bin/deno. Point DENO_DIR, Deno's cache, into the workspace too.
- Listen on the project's port. Each project hands its app a
PORT:Deno.serve({ port: Number(Deno.env.get("PORT")), hostname: "0.0.0.0" }, handler). - Move the data. Run the copy script in the project folder, where files persist. Keep the explicit path: the default KV location is in the home directory.
- Set your secrets. Add each value as a secret on your account from the dashboard; the assistant attaches it to the project by name, so keys stay out of the chat.
- Start it. The assistant runs
start_appwith, for example,/home/node/workspace/.deno/bin/deno run -A --unstable-kv --unstable-cron main.ts(Deploy ran apps with all permissions). It records the command, so a restart brings the app back with itsDeno.cronjobs, and a server with a running process is never put to sleep, so those jobs keep firing after you close the chat. A job that should run on its own can be a crontab line instead; the crontab is restored after a restart. - Check it, publish it, then move your domain. A new project is private, so test it at its
<slug>.apps.server4agent.comaddress (HTTPS included) first. Then open it to your team, named teammates, a password or the public. Custom domains are on paid plans (how to): connect yours, then switch DNS.
For a small app, one message can cover it:
Clone my Deno app from this repo into a new project, install Deno in the workspace, copy my KV data into a file in the project, and keep it running on the project's port.
If you later want the app on Node 22, which is already on the server, ask the assistant to port it in the same project.
FAQ
When does Deno Deploy shut down?
In April 2027, according to the banner on Deno's product, pricing and docs pages. Deno's 9 October 2026 announcement says Deploy will operate for six months before shutting down. No page gives an exact day, and existing apps keep running until then.
Is the Deno runtime going away too?
Not now. The announcement says Deno will support the runtime for another year with monthly bug fix and security releases, then end its own development of it. Deno stays open source, and the announcement welcomes others who want to continue its development.
What does Deno recommend for Deno Deploy users?
The announcement says Deno will provide migration support for paying customers moving to Cloudflare Workers. We found no separate migration guide in Deno's docs on 24 November 2026.
Does Deno KV work outside Deno Deploy?
Yes. Deno KV is built into the Deno CLI behind the unstable KV flag, and with a file path the database is a local SQLite file. To bring data across, open the Deploy database from a script with an access token and copy every key.
Does Deno.cron work outside Deno Deploy?
Yes, with the unstable cron flag. It runs inside your process and keeps its state in memory, so jobs fire only while that process runs, and each running copy of the app has its own set.
Can I run a Deno app on Server4Agent?
Yes. Deno is not preinstalled, so the assistant installs it into the workspace, which survives a restart. The same Deno.serve code then runs on the project's port.
Does Server4Agent support custom domains?
Yes, on paid plans: 2 on Solo, 3 on Starter, 10 on Pro and 30 on Business. Connect the domain to the project, then switch DNS.
Does Server4Agent have a free plan?
Yes. The Free plan includes a small server and one live public project. Paid plans are Solo at $19 a month, Starter at $29, Pro at $99 and Business at $299. AI credits are included, and an account-wide budget cap limits what you can spend.
Related reading
- livemy.app is closing: move your app before December 16: the same kind of move, from another host.
- Put the app your assistant built on your own domain: connecting a domain step by step.
- Best MCP servers to deploy an app: every option side by side.
External references
All read on 24 November 2026.
- Deno is joining Cloudflare, Deno blog, 9 October 2026
- Deno Deploy and pricing, both with the April 2027 banner
- Deno Deploy docs: overview and sunset notice, runtime, cron, environment variables, databases, Deno KV, domains
- Deno KV: quick start, backups, Deno.openKv reference, denokv
- Deno runtime: cron, HTTP server, installation