Installation requirements
Check the compute, database, platform, and network requirements for installing the Coder control plane.
On this page
This page lists what a Coder deployment administrator needs before installing the Coder control plane. Each guide in Install the control plane repeats the requirements for its own platform. For the items other teams usually provide, such as DNS records, certificates, and an identity provider application, refer to Prepare prerequisites.
Control plane
Control plane| Resource | Requirement |
|---|---|
| CPU and memory | 2 CPU cores and 4 GiB of memory to evaluate Coder |
| Operating system | Linux, for every guide that Coder maintains in this section |
| Architecture | amd64, arm64, or armv7 |
On Kubernetes, the Helm chart requests and limits the Coder container to 2 CPU cores and 4 GiB of memory unless you set coder.resources in your values file.
To try Coder on macOS or Windows, follow the Quickstart instead.
To size a production deployment, refer to the Coder Validated Architecture. Its reference architectures cover deployments of up to 1,000, 2,000, 3,000, and 10,000 users.
Database
DatabaseCoder stores its data in PostgreSQL 13 or later.
- On Kubernetes, you provide the database. The Kubernetes guide covers a managed PostgreSQL service and an in-cluster database for a proof of concept.
- The Docker Compose example runs PostgreSQL in a container next to Coder.
- On a single host,
coder serverstarts a built-in PostgreSQL database whenCODER_PG_CONNECTION_URLisn't set. The built-in database downloads PostgreSQL from the internet the first time it starts, so a deployment without internet access needs an external database.
For production, use an external PostgreSQL database with a backup and restore plan.
Platform
Platform| Platform | Requirements |
|---|---|
| Kubernetes | Kubernetes 1.19 or later, and Helm 3.5 or later on the machine you install from |
| Rancher | SUSE Rancher Manager 2.10 or later with the Rancher Prime distribution, a workload cluster that runs Kubernetes 1.19 or later, and Helm 3.5 or later |
| OpenShift | OpenShift 4.7 or later, Helm 3.5 or later, the OpenShift CLI (oc), and the coder CLI |
| Docker | Docker on a Linux host |
| Red Hat Enterprise Linux (RHEL) family | A supported distribution and root or sudo access |
| Cloud platforms | The cloud account permissions that each guide lists |
Network
Network- An access URL: a hostname or IP address that both users and workspaces can reach.
- Without an access URL,
coder servercreates a public URL through a tunnel, which needs internet access. - A wildcard access URL, such as
*.coder.example.com, if you want to forward ports from the dashboard or serve workspace apps on subdomains. The wildcard hostname needs a DNS record that resolves to Coder, and a TLS certificate that covers it.
Internet access
Internet accessCoder runs without internet access. Features that call a service outside your network, such as a hosted AI provider, work only if your network can reach that service. A deployment without internet access needs the following:
- An external PostgreSQL database.
- A way to install the Terraform providers that your templates use.
- Templates that get their modules and tools from inside your network.
Refer to Air-gapped deployments.
License
LicenseYou can install Coder without a license. Some features, including AI Governance, need a Premium license. Coder validates license keys locally, without an outbound connection, so a license also works in a deployment without internet access. Refer to Licensing.