Files
coder/docs/install/server/cloud/azure-vm.md
T
Nick Vigilante 3f08db96a8 docs: lead the AWS install page with Amazon EKS (#32458)
## 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._
2026-11-30 17:38:13 +00:00

5.1 KiB
Raw Blame History

title
title
Microsoft Azure

This guide shows you how to set up the Coder control plane on Azure which will provision Azure-hosted Linux workspaces. To install Coder on an Azure Kubernetes Service (AKS) cluster instead, follow Install Coder on Kubernetes.

Requirements

This guide assumes you have full administrator privileges on Azure.

Create An Azure VM

From the Azure Portal, navigate to the Virtual Machines Dashboard. Select Create to create a new Azure virtual machine.

Azure VM creation page

This will bring you to the Create a virtual machine page. Select the subscription group of your choice, or create one if necessary.

Next, name the VM something relevant to this project using the naming convention of your choice. Change the region to something more appropriate for your current location. For this tutorial, we will use the base selection of the Ubuntu Gen2 Image and keep the rest of the base settings for this image the same.

Azure VM instance details Azure VM size selection

Up next, under Inbound port rules modify the Select inbound ports to also take in HTTPS and HTTP.

Azure VM inbound port rules

The set up for the image is complete at this stage. Select Review and Create, review the information, and select Create. A popup will appear asking you to download the key pair for the server. Select Download private key and create resource and place it into a folder of your choice on your local system.

Azure VM key pair generation

Select Return to create a virtual machine. Your VM will start up.

Azure VM deployment complete

Select Go to resource in the virtual machine and copy the public IP address. You will need it to SSH into the virtual machine via your local machine.

Follow these instructions to SSH into the virtual machine. Once on the VM, you can run and install Coder using your method of choice. For the fastest install, we recommend running Coder as a system service.

Install Coder

For this instance, we will run Coder as a system service, however you can run Coder a multitude of different ways. You can learn more about those here.

In the Azure VM instance, run the following command to install Coder

curl -fsSL https://coder.com/install.sh | sh

Run Coder

Run the following command to start Coder as a system level service:

sudo systemctl enable --now coder

The following command will get you information about the Coder launch service

journalctl -u coder.service -b

This will return a series of logs related to running Coder as a system service. Embedded in the logs is the Coder Access URL.

Copy the URL and run the following command to create the first user, either on your local machine or in the instance terminal.

coder login <url***.try.coder.app>

Fill out the prompts. When coder login asks for a setup token, copy it from the line that starts with Setup token: in the logs. Be sure to save use email and password as these are your admin username and password.

You can now access Coder on your local machine with the relevant ***.try.coder.app URL and logging in with the username and password.

Create and upload your first template

First, run coder template init to create your first template. You’ll be given a list of possible templates to use. This tutorial will show you how to set up your Coder instance to create a Linux based machine on Azure.

Coder CLI template init

Press enter to select Develop in Linux on Azure template. This will return the following:

Coder CLI template init

To get started using the Azure template, install the Azure CLI by following the instructions here. Run az login and follow the instructions to configure the Azure command line.

Coder is running as a system service, which creates the system user coder for handling processes. The Coder user will require access to the Azure credentials to initialize the template.

Run the following commands to copy the Azure credentials and give the coder user access to them:

sudo cp -r ~/.azure /home/coder/.azure
sudo chown -R coder:coder /home/coder/.azure/

Navigate to the ./azure-linux folder where you created your template and run the following command to put the template on your Coder instance.

coder templates push

Congrats! You can now navigate to your Coder dashboard and use this Linux on Azure template to create a new workspace!