1.7 KiB
display_name | description | icon | maintainer_github | verified | tags | |||
---|---|---|---|---|---|---|---|---|
Azure VM (Linux) | Provision Azure VMs as Coder workspaces | ../../../site/static/icon/azure.png | coder | true |
|
Remote Development on Azure VMs (Linux)
Provision AWS EC2 VMs as Coder workspaces with this example template.
Prerequisites
Authentication
This template assumes that coderd is run in an environment that is authenticated
with Azure. For example, run az login
then az account set --subscription=<id>
to import credentials on the system and user running coderd. For other ways to
authenticate, consult the Terraform docs.
Architecture
This template provisions the following resources:
- Azure VM (ephemeral, deleted on stop)
- Managed disk (persistent, mounted to
/home/coder
)
This means, when the workspace restarts, any tools or files outside of the home directory are not persisted. To pre-bake tools into the workspace (e.g. python3
), modify the VM image, or use a startup script. Alternatively, individual developers can personalize their workspaces with dotfiles.
Note This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.
code-server
code-server
is installed via the startup_script
argument in the coder_agent
resource block. The coder_app
resource is defined to access code-server
through
the dashboard UI over localhost:13337
.