Install the control plane
Choose a platform and install the Coder control plane on it.
On this page
The pages in this section are alternatives, not sequential steps. Choose the one that matches the platform your team already operates, or intends to operate, then follow it through to the end. Each guide finishes with a deployment you can sign in to. Before you start, check the installation requirements for the platform you choose.
Choose a platform
Choose a platformTo choose a guide, answer three questions:
- Can the deployment reach the internet? If it can't, also read Deployments without internet access.
- Does Coder run on Kubernetes, in a container, or on a Linux host or virtual machine?
- Does Coder run in the cloud or on premises?
| Where the control plane runs | Guide | Best suited to |
|---|---|---|
| Kubernetes (recommended) | Kubernetes | Production deployments, including high availability with multiple replicas |
| Kubernetes | Rancher | Kubernetes clusters your team already manages through Rancher |
| Kubernetes | OpenShift | Red Hat OpenShift clusters, which need specific security context settings |
| Container runtime | Docker | A single machine, such as a proof of concept or a small team deployment |
| Linux | RPM for Red Hat Enterprise Linux (RHEL) | A single Red Hat Enterprise Linux host, or another RHEL-family distribution |
| Cloud platform | Cloud providers | A virtual machine on AWS, Google Cloud, or Azure, or a marketplace listing |
| Other | Community install methods | Platforms Coder doesn't package, where a community-contributed method exists |
Kubernetes is the recommended platform for deployments that others depend on, and the Coder Validated Architecture reference designs assume it. The Kubernetes guide covers managed clusters such as Amazon Elastic Kubernetes Service (EKS), Azure Kubernetes Service (AKS), and Google Kubernetes Engine (GKE). It also covers lightweight distributions such as K3s. To install on a cluster you already run in the cloud, use the Kubernetes guide rather than Cloud providers. If you need to size the deployment before you choose a platform, refer to Plan your deployment.
Deployments without internet access
Deployments without internet accessCoder runs in a network with no 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. If the deployment has no internet access, read Air-gapped deployments before you install, and use it alongside the guide for your platform. An air-gapped deployment needs an external PostgreSQL database and a way to install the Terraform providers that your templates use without the public Terraform registry. To try an air-gapped deployment from start to finish on one machine, follow Install Coder on K3s in an air-gapped environment.
Before you move on
Before you move onAt the end of this phase you should be able to reach the Coder access URL, sign in as the first administrator, and see the deployment reported as healthy. If you prepared a license and an identity provider application in Prepare prerequisites, apply them now so that the deployment you validate is the one you intend to run. Then create your first template and build a workspace from it to confirm the deployment works end to end.
In a deployment without internet access, make the providers, modules, and tools your template downloads available inside your network before that first workspace build. For example, the Kubernetes starter template installs code-server from the internet when a workspace starts. Refer to Air-gapped deployments.
Next: Validate your deployment.