Files
coder/docs
d02992fddc docs: size reference architectures by concurrent workspaces and add 10k and 20k tiers (#30846)
## Summary

Renames the four validated architecture tiers by concurrent running
workspaces (600, 1,200, 1,800, 6,000) and adds tiers for 10,000 and
20,000.
User counts came from a fixed 0.6 workspaces-per-user ratio that doesn't
hold once users run AI agents, so each tier now states only concurrent
running workspaces and concurrent workspace builds, and the index page
treats the tiers as starting points and explains how to estimate
concurrent workspaces from users and agent adoption.

Hardware numbers on the existing tiers don't change.
All six tiers match `terraform/scenarios.tf` in `coder/scaletest`.

## Changes

- Rename `1k-users`, `2k-users`, `3k-users`, and `10k-users` to
`600-workspaces`, `1200-workspaces`, `1800-workspaces`, and
`6000-workspaces`, and add `10000-workspaces` and `20000-workspaces`.
- Each tier page states the three-region layout the scale tests use, the
`CODER_PG_CONN_MAX_OPEN` and `CODER_PG_CONN_MAX_IDLE` values for
`coderd`, and the Postgres `max_connections` value the tier ran with.
- Size the database on the sizing index by the tier pages, not by users,
and keep only instance families per cloud.
- Replace the remaining per-user sizing in `scale-testing.md`,
`scale-coder.md`, and `requirements.md`, and fix the provisioner build
count (1, not 2) and idle agent memory (128 MB, not 256 MB).
- Redirect the old pages, point the `architecture/*` redirects at the
new pages, and add per-page rules ahead of the
`admin/infrastructure/validated-architectures/*` wildcard so none of
them chain.

Refs DOCS-1453

## Open questions for reviewers

- **20k readiness**: ScaleGRU closed workspace traffic at 20k (GRU-75)
on Nov 4, and workspace updates at 20k (GRU-76) is still open.
  Is the 20k tier ready to publish?
- **Builds**: concurrent workspace builds equal the scenario's
provisioner count.
Did the 10k and 20k runs complete the create-workspaces phase cleanly at
that concurrency?
- **Version**: which Coder version, and NATS on or off, were the 10k and
20k runs on?
- **20k database**: publish `max_connections` as 2,000 (tested) or about
2,200 (1,800 plus the 20% headroom in Connection pool tuning)?
Did the run after the pool bump confirm that 64 vCPU holds, or does
it need 96 vCPU?
- **6k vs. 10k `max_connections`**: the scenarios set 1,200 on 6,000 and
1,000 on 10,000.
The pages publish the tested values, so the larger tier shows the
smaller number.
- **600 tier proxies**: the 600 scenario runs 3 proxies at 2 vCPU
and 8 GB in each secondary region, but the page has no Workspace
Proxies section.
  Add one?
- **Region layout**: `vars.tf` only accepts three regions, so the tier
pages now say their numbers assume that layout.
  Confirm no single-region run exists.

## Testing

- `make gen/docs-manifest` rebuilds `docs/manifest.json` with no diff,
and `make lint/docs-manifest` passes.
- `go run ./scripts/docsredirectscheck -base origin/main -branch main`:
352 rules OK, 839 routes still resolve.
- `go run ./scripts/docshtmlcheck`, `scripts/check_emdash.sh`, and `pnpm
run check-docs` pass.
- Vale on the changed pages reports only advisory alerts on unchanged
sentences.
- Relative links and anchors on the changed pages resolve.

<details>
<summary>Review feedback addressed</summary>

| Feedback | Resolution |

|------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Drop per-user numbers (Spike, Callum, Nick) | Removed from intros,
limits tables, and sidebar descriptions, plus the last per-user figure
on the 600 page. |
| Connection pool settings on 10k and 20k, and on 600 through 6,000 |
Added to every tier from `scenarios.tf`, with the tested
`max_connections`. |
| Single region tested? | No, `vars.tf` requires three regions, so each
tier page states the layout. |
| "Safety margin" claim | Replaced with "run each tier at its full
number of concurrent running workspaces". |
| Typos carried over from the old pages | Fixed on all six pages. |
| Merge conflicts and manifest | Rebased on `main` (most recently Dec
4), moved the sidebar entries into
`docs/install/plan/sizing/sidebar.yml` after #32637, kept both sets of
redirect rules, and rebuilt the manifest (no diff). |
| Observability line | Split to one sentence per line on the two new
pages. |
| Two-hop redirects | The in-repo rules now point at the new pages;
docs-engine and coder.com still carry their own copies, which is a
follow-up outside this repo. |
| Out-of-diff per-user sizing in `index.md` and `scale-testing.md` |
Fixed in this PR rather than deferred, in separate commits so they can
be split out on request. |
| Node sizing too prescriptive, and no tier picks in the example (Spike)
| **Node sizing** opens with the tiers as starting points and the
"actual load" guidance, drops "choose the smallest architecture", and
keeps only the developers-to-workspaces math in the example. It adds
that a deployment can grow gradually with more `coderd` replicas or more
CPU and memory, linked to Scale Coder. |

</details>

Follow-ups kept out of this PR: a dedicated NATS page, the stale
methodology on the scale testing page, workload assumptions behind each
tier, signals for moving up a tier, and the docs-engine and coder.com
redirect copies.

Original commits by @denisra, generated with [Claude
Code](https://claude.com/claude-code).
Rebase and review fixes by @nickvigilante.

🤖 Description updated with Coder Agents on behalf of @nickvigilante.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Nick Vigilante <nick.vigilante@coder.com>
2026-12-04 09:54:23 -05:00
..

title, markdown_url
title markdown_url
Home /docs.md

Coder platform showing templates and a running workspace

Coder Workspaces

Coder Workspaces are cloud development environments defined with Terraform, connected through a secure Wireguard tunnel, and automatically shut down when not in use. Agents and developers share the same workspace infrastructure.

  • Defined in Terraform: Templates describe the infrastructure for each workspace, from Amazon Elastic Compute Cloud (EC2) VMs and Kubernetes Pods to Docker containers.
  • Any architecture and OS: Support ARM and x86-64 across Windows, Linux, and macOS from a single deployment.
  • Managed by admins: Platform teams create and maintain templates that enforce approved images, resource limits, and security policies.
  • Accessed from any IDE: Connect through VS Code, JetBrains, Cursor, a web terminal, remote desktop, or SSH.
  • Automatic shutdown: Idle workspaces stop automatically to reduce cloud spend, and restart in seconds when needed.

Coder Agents

Coder Agents is a native AI coding agent built into Coder. The agent loop runs in the Coder control plane on your infrastructure, not in the workspace and not in a vendor's cloud. Developers interact with agents through the web UI or the Representational State Transfer (REST) API for programmatic and continuous integration (CI)-driven workflows.

  • Self-hosted agent loop: The control plane handles planning, model calls, and tool dispatch. Workspaces have zero AI awareness.
  • No API keys in workspaces: large language model (LLM) credentials stay in the control plane.
  • Any model: Anthropic, OpenAI, Google, Bedrock, or self-hosted endpoints. Switching is a configuration change.
  • Governance and cost controls: Centralized model approval, per-user spend limits, and audit logging.
  • Open source and inspectable: The full platform is available to audit and extend.

Coder Agents chat interface with git diff sidebar

IDE support

IDE icons

You can use:

Why remote development

Provisioning consistent development environments for a large engineering team is difficult. Each developer has preferences for operating systems, editors, and toolchains, and providing a reliable build environment across all of them is a maintenance burden. A missed step during onboarding or an unsupported local configuration can cost hours of debugging.

Remote development solves this by moving the environment off the developer's machine and into managed infrastructure. The developer's laptop becomes a portal into the actual compute where work happens. If a device is lost or replaced, access is simply revoked. No source code or credentials are stored locally.

This approach provides:

  • Speed: Server-grade hardware accelerates builds, tests, and large workloads without requiring expensive local machines.
  • Consistency: Infrastructure tools such as Terraform, nix, Docker, and Dev Containers produce identical environments for every developer.
  • Security: Source code stays on private servers. Users and groups are managed through single sign-on (SSO) and role-based access control (RBAC).
  • Compatibility: Workspaces share infrastructure configurations with staging and production, reducing configuration drift.
  • Accessibility: Browser-based IDEs and remote IDE extensions let developers work from any device, including lightweight laptops, Chromebooks, and tablets.

Read more on the Coder blog, the Slack engineering blog, or from Alex Ellis at OpenFaaS.

Why Coder

The key difference between Coder and other platforms is that the entire system, agent loop, control plane, model routing, and workspace provisioning, runs on infrastructure you control.

For agents, this means platform teams can:

  • Run the entire agent loop on their infrastructure, with no SaaS dependency for orchestration.
  • Define Model Context Protocol (MCP) servers, skills, and system prompts centrally so every agent session starts with the same tools, policies, and context.
  • Keep LLM credentials out of workspaces entirely.
  • Tie every agent action to an authenticated user identity.
  • Support air-gapped and restricted-network deployments with self-hosted models.

For workspaces, this means admins can:

  • Support any architecture (ARM, x86-64) and operating system (Windows, Linux, macOS).
  • Modify pod/container specs, such as adding disks, managing network policies, or setting/updating environment variables.
  • Use VM or dedicated workspaces, developing with Kernel features (no container knowledge required).
  • Enable persistent workspaces, which are like local machines, but faster and hosted by a cloud service.

Pricing

Coder is free and open source under the GNU Affero General Public License v3.0. All developer productivity features are included in the open source version. A Premium license is available for enhanced support and custom deployments.

How Coder works

Coder workspaces are represented with Terraform, but you do not need to know Terraform to get started. The Coder Registry provides production-ready templates for AWS EC2, Azure, Google Cloud, Kubernetes, and other providers.

Logos of infrastructure providers (Google Cloud, Azure, Kubernetes, AWS, Hetzner, Docker, OVHcloud, VMware) connected to compute environments (Intel, ARM, AMD, Linux, macOS, Windows)Providers and compute environments

Workspaces can include more than just compute. Terraform can add storage buckets, secrets, sidecars, and other resources.

See the templates documentation for details.

What Coder is not

  • Coder is not an infrastructure as code (IaC) platform.

    Terraform is the first IaC provisioner in Coder, allowing Coder admins to define Terraform resources as Coder workspaces.

  • Coder is not a DevOps/CI platform.

    Coder workspaces can be configured to follow best practices for cloud-service-based workloads, but Coder is not responsible for how you define or deploy the software you write.

  • Coder is not an online IDE.

    Coder supports common editors, such as VS Code, vim, and JetBrains, all over HTTPS or SSH.

  • Coder is not a collaboration platform.

    You can use Git with your favorite Git platform and dedicated IDE extensions for pull requests, code reviews, and pair programming.

  • Coder is not a SaaS/fully-managed offering.

    Coder is a self-hosted solution. You must host Coder in a private data center or on a cloud service, such as AWS, Azure, or GCP.

Learn more