Skip to main content
HomeInstall Coder in your infrastructure

Install Coder in your infrastructure

On this page

This section describes how to plan, install, and configure a Coder deployment, from the initial decisions you need to make in order to successfully run Coder to a steady-state operating environment. The five phases are meant to be read in order: each phase produces the required information for the next phase.

Tip

If you only need the coder command-line client on your own machine, refer to Coder CLI. You don't need the rest of this section.

If you want a Coder deployment on a single machine as quickly as possible, follow the Quickstart instead. It installs Coder and launches a first workspace without the planning and preparation work described here. Come back to this section when you want an expanded Coder deployment.

The five phases

PhaseWhat it answersWhat you finish with
1. Plan your deploymentWhich components run where, how large they need to be, who operates themA deployment shape and a size target you can hand to an infrastructure team
2. Prepare prerequisitesWhat must exist before installation starts, and who owns each pieceDNS, certificates, a database, a license, and an identity provider application
3. Install the control planeHow to install Coder on the platform your team operatesA running Coder deployment you can sign in to
4. Validate your deploymentWhether the deployment is hardened, works, and holds up under loadEvidence that the deployment is ready for real users
5. Operate and maintainHow to keep the deployment healthy, upgraded, and correctly sizedAn upgrade and scaling routine, plus a removal path

Phases 1 and 2 are advisory rather than a gate. Nothing stops you from installing the control plane first, but the recommendations in those phases are what keep a deployment from needing to be rebuilt later. Don't know where to start? Read Plan your deployment and Prepare prerequisites first.

Who does the work

A Coder deployment usually crosses team boundaries. The following actors appear throughout this section, so you can anticipate which conversations you need to start and how long they're likely to take.

ActorResponsible forAppears in phase
Coder platform ownerThe deployment itself: installation, configuration, upgrades, and support1 to 5
Infrastructure teamClusters, virtual machines, networking, load balancers, and egress rules1 to 4
DNS and TLS ownerThe Coder hostname, the wildcard record for workspace apps, and certificates2
Database administratorPostgreSQL provisioning, sizing, backups, and restore tests2, 4, 5
Identity provider administratorThe OIDC or SAML application, claims, and group mappings2
Security and compliance reviewerAudit requirements, network policy, data handling, and sign-off2, 4
Licensing contactPurchasing and renewing the Coder license2
Template authorThe workspace templates developers use once the deployment is running4, 5

These are roles, not people. One person may serve as several actors, which is common for a proof of concept run by a single platform engineer. Several people may also serve as one actor, which is common for an infrastructure team that splits networking and compute ownership. Use the table to identify who has to agree, not to count headcount.