## Summary Rework the AWS install page so it leads with Amazon EKS and Helm, the way enterprises install Coder on AWS. The Community Edition and CloudFormation path stays as a proof-of-concept option, with a clear note about the AWS resources it creates. Builds on #32405 (merged), which already sends EKS, AKS, and GKE readers on the Cloud platforms page to the Kubernetes guide. This branch is rebased onto `main`, so the diff holds only the AWS page changes. Refs [DOCS-1571](https://linear.app/codercom/issue/DOCS-1571). ## Changes - `install/server/cloud/aws-marketplace.md`: - The intro offers two paths: Helm on an EKS cluster you already run, for deployments that others depend on, and the AWS Marketplace listing, for a proof of concept. - A new "Install Coder on Amazon EKS" section points to the Kubernetes guide, Amazon RDS for PostgreSQL, the guide's AWS load balancer settings, and a first template. - The Marketplace section now opens by saying that the CloudFormation stack creates an EKS cluster, sub-stacks, and a CodeBuild pipeline, and that an existing cluster should use the EKS path instead. Its steps are unchanged. - Fixed typos: "from the from" in a heading and "lastest". - `install/server/cloud/index.md`: the AWS tab lists the EKS path first, then the Marketplace listing. - `compute-engine.md` and `azure-vm.md`: one sentence each, pointing GKE and AKS clusters to the Kubernetes guide. - `docs/manifest/install/server/cloud.yml`: the AWS entry's description now mentions both paths. `docs/manifest.json` is regenerated. ## Decisions for review 1. **The CloudFormation path is demoted, not removed.** Ben said the page hurts more than it helps, but many customers install from the Marketplace, so it stays below the EKS path. 2. **The sidebar title is still "AWS Marketplace".** The page now covers EKS too, so a title such as "Amazon Web Services" (the page's H1) would fit better. That counts as a rename, which this pass rules out, so it's left for the page moves in DOCS-1569. 3. **No EKS procedure is written here.** The new section points to the Kubernetes guide, which already covers RDS and the AWS load balancer. A tested, air-gapped EKS procedure is tracked as DOCS-1798. ## Testing - `make gen/docs-manifest` and `make fmt/markdown`. - `make lint/emdash lint/docs-html lint/docs-manifest lint/markdown`: all pass. - Vale on the four changed pages: 0 errors and 0 warnings. The remaining suggestions are on lines this PR doesn't change. - A relative link and anchor check on the changed pages: no broken links. - doc-check skill in author self-check mode. I fixed its one blocking finding: the EKS steps named the load balancer settings but never said to set them before `helm install`. I also added a link to the cluster requirements. <details> <summary>Plan: issue scope to changes</summary> | Scope item | What this PR does | |---|---| | Lead with EKS and link to the Kubernetes and Helm install | New intro and "Install Coder on Amazon EKS" section, and the AWS tab on Cloud platforms lists EKS first | | Decide whether to keep, demote, or drop the CloudFormation path | Demoted below EKS, with a lead-in that names the resources the stack creates (decision 1) | | Keep AWS Marketplace guidance | The Marketplace steps and screenshots are unchanged | | Check the other cloud platform pages for the same problem | The GCP and Azure VM guides now point GKE and AKS clusters to the Kubernetes guide | Sources: Ben's view that the page hurts more than it helps, and Kirby's report of a customer confused by the CloudFormation template's extra AWS resources (install docs review, Nov 4). </details> --- _This PR was generated by Coder Agents on behalf of @nickvigilante._
85 lines
3.9 KiB
Markdown
85 lines
3.9 KiB
Markdown
---
|
|
title: Google Cloud Platform
|
|
---
|
|
|
|
In this guide, you will learn how to deploy the Coder control plane instance and your first template.
|
|
To install Coder on a Google Kubernetes Engine (GKE) cluster instead, follow [Install Coder on Kubernetes](../kubernetes/index.md).
|
|
|
|
## Requirements
|
|
|
|
This guide assumes you have `roles/compute.instanceAdmin.v1` access to your Google Cloud Platform project.
|
|
|
|
## Launch a Coder instance from the Google Cloud Marketplace
|
|
|
|
We publish an Ubuntu 22.04 VM image with Coder and Docker pre-installed.
|
|
|
|
Two stock keeping units (SKUs) are available via the Google Cloud Marketplace:
|
|
|
|
1. [License purchase via Google Cloud Marketplace](https://console.cloud.google.com/marketplace/product/coder-enterprise-market-public/coder-gcmp?inv=1&invt=Ab45rg&project=secret-beacon-468405-p5)
|
|
2. [A solution to deploy VM's on GCP (Bring Your Own License)](https://console.cloud.google.com/marketplace/product/workspan-public-422119/coder?inv=1&invt=Ab45rg&project=secret-beacon-468405-p5)
|
|
|
|

|
|
|
|
Be sure to keep the default firewall options checked so you can connect over HTTP, HTTPS, and SSH.
|
|
|
|
We recommend keeping the default instance type (`e2-standard-4`, 4 cores and 16 GB memory) if you plan on provisioning Docker containers as workspaces on this VM instance.
|
|
Keep in mind this platforms is intended for proof-of-concept deployments and you should adjust your infrastructure when preparing for production use.
|
|
See: [Scaling Coder](../../plan/index.md)
|
|
|
|
<video autoplay controls muted playsinline loop>
|
|
<source src="../../../images/platforms/gcp/launch.mp4?raw=true" type="video/mp4">
|
|
Your browser does not support the video tag.
|
|
</video>
|
|
|
|
This screencast shows launching a Coder VM from the Google Cloud Marketplace.
|
|
|
|
Be sure to add a keypair so that you can connect over SSH to further [configure Coder](../../../admin/setup/index.md).
|
|
|
|
After launching the instance, wait 30 seconds and navigate to the public IPv4 address.
|
|
You should be redirected to a public tunnel URL.
|
|
|
|

|
|
|
|
The setup page asks for a setup token before it creates the first user.
|
|
To find it, connect to the instance over SSH and read the Coder service logs:
|
|
|
|
```sh
|
|
journalctl -u coder.service -b
|
|
```
|
|
|
|
Copy the token from the line that starts with `Setup token:`.
|
|
|
|
That's all!
|
|
Use the UI to create your first user, template, and workspace.
|
|
We recommend starting with a Docker template since the instance has Docker pre-installed.
|
|
|
|

|
|
|
|
<a id="configuring-the-control-plane"></a>
|
|
|
|
## Configure the control plane
|
|
|
|
Coder is primarily configured by server-side flags and environment variables.
|
|
Given you created or added key-pairs when launching the instance, you can [configure your Coder deployment](../../../admin/setup/index.md) by logging in via SSH or using the console:
|
|
|
|
```sh
|
|
ssh ubuntu@<gcp-public-IPv4>
|
|
sudo vim /etc/coder.d/coder.env # edit config
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl restart coder # restart Coder
|
|
```
|
|
|
|
## Give developers VM workspaces (optional)
|
|
|
|
Instead of running containers on the Coder instance, you can offer developers full VM instances with the [gcp-linux](../../../../examples/templates/gcp-linux/README.md) template.
|
|
|
|
Before you can use this template, you must authorize Coder to create VM instances in your GCP project.
|
|
Follow the instructions in the [gcp-linux template README](../../../../examples/templates/gcp-linux/README.md#authentication) to set up authentication.
|
|
|
|
### Next Steps
|
|
|
|
- [Use your IDE with Coder](../../../workspaces/workspace-access/index.md)
|
|
- [Writing custom templates for Coder](../../../templates/index.md)
|
|
- [Configure the control plane](../../../admin/setup/index.md)
|
|
- [Use your own domain + TLS](../../../admin/setup/index.md#tls--reverse-proxy)
|