Automating OVHcloud VS Code server deployment with Terraform
OVHcloud
· May 13, 2026
· ✓ verified
OVHcloud (blog author Rémy Vandepoel) has published a guide to automate deployment of a VS Code server on OVHcloud Public Cloud using Terraform and cloud-init.
- Main announcement: The blog explains how to fully automate the deployment of a remote VS Code environment using cloud-init and Terraform on OVHcloud Public Cloud, linking to a ready-to-use GitHub repository: https://github.com/RemyAtOVH/blogpost-dev-server. It demonstrates the full lifecycle commands (
terraform init,terraform plan,terraform apply) and shows an example apply result: “Apply complete! Resources: 4 added, 0 changed, 0 destroyed.” - Background and concrete details: The post specifies using a secondary persistent volume /dev/sdb (example shown as 10G) alongside sda (25G) for data persistence; includes a Terraform safeguard lifecycle { prevent_destroy = true } to avoid accidental deletion; and configures code-server, Caddy (for automatic SSL) and UFW via a cloud-config.yaml (
user_data = file("cloud-config.yaml")).