Skip to main content
InfraGap.com Logo
Home
Getting Started
Core Concept What is a CDE? How It Works Benefits CDE Assessment Getting Started Guide
Implementation
Architecture Patterns DevContainers Language Quickstarts IDE Integration AI/ML Workloads Advanced DevContainers
Operations
Performance Optimization High Availability & DR Monitoring Capacity Planning Troubleshooting Runbooks
Security
Security Deep Dive Secrets Management Vulnerability Management Network Security IAM Guide Compliance Guide
Planning
Pilot Program Design Stakeholder Communication Risk Management Migration Guide Cost Analysis Vendor Evaluation Training Resources Team Structure Industry Guides
Resources
Tools Comparison CDE vs Alternatives Case Studies Lessons Learned Glossary FAQ

How Cloud Development Environments Work

Platform engineering workflow: Terraform templates, Kubernetes pods, VS Code Remote SSH, and JetBrains Gateway

1

Platform Engineering Team Creates Terraform Templates

Platform engineers and DevOps teams define workspace templates using infrastructure as code (IaC). Terraform, DevContainers, or Kubernetes YAML templates specify:

Compute Resources

CPU cores, RAM, GPU (if needed)

Operating System

Ubuntu, Debian, Windows, etc.

Pre-installed Tools

Languages, SDKs, CLIs

IDE Extensions

Linters, formatters, plugins

# Example Terraform template for Coder
resource "coder_agent" "main" {
  os   = "linux"
  arch = "amd64"
}

resource "kubernetes_pod" "workspace" {
  spec {
    container {
      image = "python:3.11-bullseye"
      resources {
        limits = {
          cpu    = "4"
          memory = "8Gi"
        }
      }
    }
  }
}
2

Developer Selects a Template

Developers log into the CDE dashboard and browse available templates. They select one that matches their project requirements and click "Create Workspace."

Available Templates 3 templates
Python Data Science
Python 3.11 + Jupyter + PyTorch
Selected
Node.js Backend
Node 20 + PostgreSQL + Redis
Java Enterprise
JDK 21 + Maven + Spring Boot
3

Infrastructure Provisions Resources

The CDE platform automatically provisions the requested resources. Depending on the setup, this could be:

EC2 Instance
Full VM
Kubernetes Pod
Container
Docker Container
Lightweight
4

Developer Connects

Once the workspace is ready, the developer connects using their preferred method:

VS Code Remote SSH

Local VS Code connects to remote workspace over SSH

JetBrains Gateway

IntelliJ, PyCharm, WebStorm - local client, remote backend

Web IDE

Browser-based VS Code (code-server) - no local install needed

SSH Terminal

Standard SSH access for terminal-based workflows

5

Work, Stop, Resume

The developer works as if everything were local. When done:

  • Workspace can be stopped to save costs (auto-stop after idle time)
  • State is preserved - resume exactly where you left off
  • Workspace can be deleted when project is complete
  • New workspace from same template = same environment, fresh start