DevPod Setup Guide â
This guide provides comprehensive setup instructions for using DevPod with various providers, including local Docker, major cloud platforms, and manual setup for services like Rackspace.
Table of Contents â
Local Docker Setup đŗ â
The simplest setup option, perfect for getting started. Uses your local Docker installation.
Prerequisites â
- Docker Desktop (or Docker Engine on Linux) installed and running
Setup Steps â
Add the Provider (DevPod usually detects Docker automatically):
bashdevpod provider add dockerCreate a Workspace:
bashdevpod up https://github.com/loft-sh/devpod-example-simple
DevPod will pull the necessary image and start a container on your local machine.
DigitalOcean Setup đ§ â
Create development workspaces on DigitalOcean Droplets.
Prerequisites â
- DigitalOcean account
doctlCLI installed and configured- Personal Access Token (PAT) with read/write permissions
Setup Steps â
Authenticate with doctl:
bashdoctl auth init --access-token YOUR_DIGITALOCEAN_TOKENAdd the DigitalOcean Provider:
bashdevpod provider add digitaloceanCreate a Workspace:
bashdevpod up https://github.com/your/repo --provider digitaloceanCustomize region and instance size:
bashdevpod up https://github.com/your/repo --provider digitalocean --option region=nyc3
AWS Setup đŠī¸ â
Use Amazon EC2 instances for your workspaces with optional Spot Instance support for cost savings.
Prerequisites â
- AWS account
- AWS CLI installed
- AWS credentials configured (
aws configureor environment variables)
Setup Steps â
Authenticate with AWS CLI:
bashaws configure # Follow prompts: Access Key ID, Secret Access Key, region, output formatAdd the AWS Provider:
bashdevpod provider add awsCreate a Workspace (Standard Instance):
bashdevpod up https://github.com/your/repo --provider awsCreate a Workspace (Spot Instance):
bashdevpod up https://github.com/your/repo --provider aws --option spot-instance=trueSet maximum spot price:
bashdevpod up https://github.com/your/repo --provider aws --option spot-instance=true --option spot-price=0.03
GCP Setup âī¸ â
Provision workspaces on Google Compute Engine (GCE) virtual machines.
Prerequisites â
- Google Cloud Platform account with project created
gcloudCLI installed- Billing enabled and Compute Engine API enabled for your project
Setup Steps â
Authenticate with gcloud:
bashgcloud auth application-default login gcloud config set project YOUR_PROJECT_IDAdd the GCP Provider:
bashdevpod provider add gcpCreate a Workspace:
bashdevpod up https://github.com/your/repo --provider gcpCustomize zone and machine type:
bashdevpod up https://github.com/your/repo --provider gcp --option zone=us-central1-a --option machine-type=e2-medium
Azure Setup đ â
Use Azure Virtual Machines for your development environments.
Prerequisites â
- Azure account with active subscription
- Azure CLI (
az) installed
Setup Steps â
Authenticate with Azure CLI:
bashaz login # Follow browser-based login processSet active subscription:
bashaz account set --subscription "YOUR_SUBSCRIPTION_NAME_OR_ID"Add the Azure Provider:
bashdevpod provider add azureCreate a Workspace:
bashdevpod up https://github.com/your/repo --provider azureSpecify location and VM size:
bashdevpod up https://github.com/your/repo --provider azure --option location=eastus --option vm-size=Standard_B2s