Coder offers Terraform modules that help you deploy Coder faster.
Currently, we offer a single-command deployment of Coder to Google Cloud Platform. We will add support for additional cloud providers in the future.
Deploying Coder to Google Cloud Platform
Before proceeding, please make sure that you have both Terraform and Terragrunt installed.
Copy the GKE example to the location of your choice (we recommend version controlling the entire folder).
Create a cloud DNS zone containing your desired hostname. This must be in the same GCP project where you will deploy Coder.
terragrunt.hclfile that's included in the root of your example folder. The
terragrunt.hclfile contains notes that will guide you through customization options available. When done, you can view the changes you proposed running:
terragrunt run-all plan
If you run the above command and it fails, you may have misconfigured one or more of the variables required. The output will direct you to the problematic areas.
Deploy Coder by running:
terragrunt run-all apply
applycommand succeeds, you will be able to access Coder at the hostname you provided. Log in with
adminas the username and the password that you're provided.
To tear down your Coder deployment, run:
terragrunt run-all destroy