How to create a Droplet on DigitalOcean
Sign into DigitalOcean Control Panel, click Create > Droplets, select region, image (e.g., Ubuntu), plan (e.g., s-1vcpu-1gb), add SSH key, enable options like backups, then click Create Droplet. It provisions in 1-2 minutes; access via SSH at the displayed IP. Use CLI with doctl for automation.
Prerequisites
- Active DigitalOcean account with added payment method and sufficient funds
- SSH key pair generated (public key ready to upload)
- Basic knowledge of your app's CPU, RAM, and storage needs
- doctl CLI installed for command-line method (optional)
Step-by-Step Instructions
Log in to DigitalOcean Control Panel
cloud.digitalocean.com/login and sign in with your account credentials. If new, create an account at cloud.digitalocean.com/registrations/new. Ensure your account has a payment method added and sufficient credits to cover the Droplet plan cost.Navigate to Create Droplet
Choose Datacenter Region
doctl compute region list via CLI to list options.Choose an Image
Select a Plan
doctl compute size list for available slugs.Set Up Authentication
Configure Additional Options
webserver), and set quantity >1 if needed.Finalize and Create Droplet
my-droplet), add tags, select Project (default: Default), and quantity. Click green Create Droplet button. It provisions in ~1 minute; note the IP from the Droplets list and SSH as ssh root@your-ip.Optional: Create via CLI (doctl)
doctl auth init with token. Create with doctl compute droplet create mydroplet --region nyc1 --image ubuntu-24-04-x64 --size s-1vcpu-1gb --ssh-keys your:key:id. List options via doctl compute region list, etc.Common Issues & Troubleshooting
Process stalls or hangs without error (e.g., UI freezes)
Check DigitalOcean dashboard directly; Droplet often creates in background. Refresh, restart tool, and manually import if listed.
"Insufficient funds" or billing error
Add payment method/credits in Billing settings or select cheaper plan like s-1vcpu-1gb.
Cannot SSH after creation
Verify SSH key added correctly, check security group/firewall allows port 22, use correct user (root or added user) and IP from dashboard.
Wrong region or unavailable size/image
Run <code>doctl compute region list</code>, <code>doctl compute size list</code>, <code>doctl compute image list</code> to confirm available options in your region.
Droplet not appearing after API/CLI create
Check action status via API links or <code>doctl compute droplet list</code>; wait 1-2 minutes as provisioning is asynchronous.