---
title: "Workers, Durable Objects - Self-host Workers and Durable Objects with workerd clustering (experimental) — Cloud Changelog"
description: "You can now run Workers and Durable Objects as a multi-machine cluster on your own infrastructure with workerd ↗︎, the open-source runtime behind Cloudfla…"
url: "https://cloudchangelog.com/cloudflare/2026-12-01-workerd-self-hosted-durable-objects"
updated: "2026-12-01"
---

[Back to feed](https://cloudchangelog.com/feed/2026-W49)

December 1, 2026 · Cloudflare

# Workers, Durable Objects - Self-host Workers and Durable Objects with workerd clustering (experimental)

- [Workers](https://cloudchangelog.com/products/cloudflare/workers)
- [Durable Objects](https://cloudchangelog.com/products/cloudflare/durable-objects)
- [Serverless](https://cloudchangelog.com/search?q=serverless)
- [Compute and containers](https://cloudchangelog.com/search?q=compute)

## What changed

**workerd clustering:** Run Workers and Durable Objects as multi-machine cluster on own infrastructure, sharing an object storage bucket.

Preview

You can now run [Workers](https://developers.cloudflare.com/workers/) and [Durable Objects](https://developers.cloudflare.com/durable-objects/) as a multi-machine cluster on your own infrastructure with [`workerd` ↗︎](https://github.com/cloudflare/workerd), the open-source runtime behind Cloudflare Workers. Until now, `workerd` was primarily for local development because it ran as a single instance and stored data only on a local disk. Now several `workerd` instances can form one cluster that shares an object storage bucket. Documentation is at [workerd.dev ↗︎](https://workerd.dev/).

#### What this is useful for

- **Your own infrastructure:** Run inside your VPC, Kubernetes cluster, or on-premises hardware, next to internal services or within data residency limits.
- **Stateful AI agents:** Give each agent a Durable Object with SQLite memory and alarms. Idle agents are evicted from memory; their state stays in the bucket.
- **Real-time apps:** Give each chat room or collaborative document its own SQLite database, without a shared database or message broker.
- **Coordination:** Build locks, counters, and job schedulers, each a single Durable Object that every instance routes to.

#### How bucket-backed clustering works

Point multiple `workerd` instances at an object storage bucket that supports conditional writes — such as [Cloudflare R2](https://developers.cloudflare.com/r2/), Amazon S3, or Google Cloud Storage. `workerd` persists each [Durable Object](https://developers.cloudflare.com/durable-objects/) SQLite database in the bucket and coordinates ownership through conditional writes, without leader election or a consensus service.

Any instance can accept a request for any object and forward it to the current owner. To add capacity, start another instance against the same bucket. When an instance stops or fails, another instance takes over its objects without losing acknowledged writes.

#### Run standalone or in containers

`workerd` now reads `wrangler.json` and `wrangler.jsonc` directly, so an existing Workers project that uses only the [supported configuration keys ↗︎](https://workerd.dev/docs/cloudflare-compat/#wrangler-configuration) runs on your own machines unchanged:

npmyarnpnpm

```
npx workerd serve .
```

```
yarn workerd serve .
```

```
pnpm workerd serve .
```

For Docker or Kubernetes, every `workerd` release publishes the `docker.io/cloudflare/workerd` image for `linux/amd64` and `linux/arm64`:

Dockerfiledockerfile

```
FROM docker.io/cloudflare/workerd:latest
COPY . /app/
```

#### Supported services

Previously, `workerd` natively supported only Workers and Durable Objects. You needed Miniflare and Wrangler to run projects that used D1, Workflows, and other services. Now more of the Cloudflare stack is built into the single `workerd` binary. Like the cluster support itself, these built-in services require `--experimental`. (In a cluster, KV and Queues still need a Cap'n Proto configuration, `config.capnp`; `wrangler.json` support is coming soon.)

Service Status Cluster support [Workers](https://developers.cloudflare.com/workers/) Supported Yes [Durable Objects](https://developers.cloudflare.com/durable-objects/) Supported Yes [Durable Object Facets](https://developers.cloudflare.com/dynamic-workers/usage/durable-object-facets/) Supported Yes [D1](https://developers.cloudflare.com/d1/) Experimental Yes [R2](https://developers.cloudflare.com/r2/) Experimental Yes [Workflows](https://developers.cloudflare.com/workflows/) Experimental Yes [Cron Triggers](https://developers.cloudflare.com/workers/configuration/cron-triggers/) Experimental Yes [Static Assets](https://developers.cloudflare.com/workers/static-assets/) Experimental Yes [Cache API](https://developers.cloudflare.com/workers/runtime-apis/cache/) Experimental Yes [Rate Limits](https://developers.cloudflare.com/workers/runtime-apis/bindings/rate-limit/) Experimental Per-instance [KV](https://developers.cloudflare.com/kv/) Experimental Yes (`config.capnp`) [Queues](https://developers.cloudflare.com/queues/) Experimental Yes (`config.capnp`)

#### Get started

Clustering requires `--experimental`. Start each instance with the same bucket and the same cluster key, at least 32 bytes, and its own cluster address:

```
export WORKERD_CLUSTER_BUCKET=s3://BUCKET/PREFIX
export WORKERD_CLUSTER_KEY=...
npx workerd serve --experimental . --cluster-addr 10.0.0.1:7000
```

For R2 or S3, also set `AWS_ENDPOINT_URL`, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY`; refer to the [cluster guide ↗︎](https://workerd.dev/docs/cluster/#settings).

A cluster is meant to run a single application whose code you trust. `workerd` is not a hardened sandbox. For details, refer to [security ↗︎](https://workerd.dev/docs/security/).

We're just getting started with `workerd` clustering; the purpose of this experimental release is to gather feedback. Please open issues in [github.com/cloudflare/workerd ↗︎](https://github.com/cloudflare/workerd/issues) as you encounter them.

Copy promptPrompt copied!

For more information, refer to the [workerd documentation ↗︎](https://workerd.dev/docs/), including the [cluster guide ↗︎](https://workerd.dev/docs/cluster/), [Cloudflare compatibility ↗︎](https://workerd.dev/docs/cloudflare-compat/), [guarantees ↗︎](https://workerd.dev/docs/guarantees/), and [limitations ↗︎](https://workerd.dev/docs/limitations/).

Get the week’s Cloudflare changes in one email

Your email address

Free, every Monday: only what changed in Cloudflare that week. We email you a link to confirm.

[See last week’s digest](https://cloudchangelog.com/digests/weekly-2026-W48#provider-cloudflare)

Free. Unsubscribe any time.

[Read on developers.cloudflare.com](https://developers.cloudflare.com/changelog/post/2026-12-01-workerd-self-hosted-durable-objects/)

## Related updates

- Apr 7, 2025

  [Workers - Durable Objects on Workers Free plan](https://cloudchangelog.com/cloudflare/2025-04-07-durable-objects-free-tier)
- May 16, 2025

  [Workers - Durable Objects are now supported in Python Workers](https://cloudchangelog.com/cloudflare/2025-05-14-python-worker-durable-object)
- Jun 25, 2025

  [Durable Objects, Workers - \@cloudflare/actors library - SDK for Durable Objects in beta](https://cloudchangelog.com/cloudflare/2025-06-25-actors-package-alpha)
- Oct 30, 2026

  [Workers - Durable Objects now defer code updates by default](https://cloudchangelog.com/cloudflare/2026-10-30-durable-objects-deferred-code-updates)
- Mar 24, 2026

  [Workers - Dynamic Workers, now in open beta](https://cloudchangelog.com/cloudflare/2026-03-24-dynamic-workers-open-beta)

[All Workers changes](https://cloudchangelog.com/products/cloudflare/workers)

## Contact

- [YouTube](https://www.youtube.com/@cloudchangelog)
