DigitalOcean Account Setup
Create your DigitalOcean account, understand the control panel, set up billing, and get started with credits.
What you'll accomplish
A configured DigitalOcean account with billing set up and team access
Prerequisites
- Email address
- Credit card or PayPal
Before You Start: What Are You Deploying?
This track teaches DigitalOcean deployment. Before diving in, consider what you're deploying:
Deploying a frontend/static site? Simpler platforms like Vercel may be all you need.
Deploying a complete SaaS product? You'll also need:
- User authentication and sessions
- Subscription billing (Stripe integration)
- Transactional email and notifications
- Multi-tenant data architecture
Your options for the backend:
- Build it yourself — this track + our SaaS Starter template
- Use a backend platform — services like StackForDevs provide auth, billing, and notifications as APIs, so you only deploy your frontend
This track focuses on deployment infrastructure. Make sure you know what you're deploying before proceeding.
What is DigitalOcean?
DigitalOcean is a cloud provider focused on simplicity and developer experience:
- App Platform - Managed PaaS (our recommended path)
- Droplets - Virtual machines
- Kubernetes - Managed K8s clusters
- Managed Databases - PostgreSQL, MySQL, Redis
- Spaces - Object storage (S3-compatible)
Your Application
↓
DigitalOcean Cloud
↓
15 Global Datacenter Regions
Why Choose DigitalOcean?
| Strength | Description |
|---|---|
| Simple pricing | Predictable, no surprise bills |
| Developer-focused | Clean UI, great docs |
| App Platform | Easy deployments from Git |
| Tutorials | Extensive learning resources |
| Fair pricing | $4/month for basic Droplet |
DigitalOcean vs Other Clouds
| Feature | DigitalOcean | AWS | Azure | GCP |
|---|---|---|---|---|
| Complexity | Low | High | Medium | Medium |
| Free tier | $200 credit | 12 months | $200 + 12mo | $300 |
| Pricing | Predictable | Complex | Complex | Complex |
| Services | ~50 | 200+ | 200+ | 100+ |
| Best for | SMB, developers | Enterprise | Enterprise | Data/ML |
Step 1: Create Your Account
1.1 Sign Up
- Go to digitalocean.com
- Click Sign Up
- Choose sign-up method:
- Email and password
- Google account
- GitHub account (recommended for developers)
1.2 Verify Email
Check your email for verification link and click to confirm.
1.3 Add Payment Method
DigitalOcean requires a payment method:
- Credit card
- PayPal
- Google Pay
Note
New accounts get $200 credit for 60 days to try any DigitalOcean service. You won't be charged until you exceed the credit.
Step 2: Navigate the Control Panel
2.1 The Dashboard
After login, you'll see the control panel at cloud.digitalocean.com.
┌────────────────────────────────────────────────────────────────┐
│ ≡ DigitalOcean [Create ▼] ? Settings [avatar] │
├──────────────┬─────────────────────────────────────────────────┤
│ Dashboard │ │
│ Droplets │ Welcome to DigitalOcean │
│ Kubernetes │ │
│ App Platform │ [Quick Actions] │
│ Databases │ - Create Droplet │
│ Spaces │ - Create App │
│ Functions │ - Create Database │
│ Networking │ │
│ Monitoring │ [Getting Started Guide] │
│ API │ │
│ Billing │ │
└──────────────┴─────────────────────────────────────────────────┘
2.2 Key Sections
| Section | What It's For |
|---|---|
| Droplets | Virtual machines |
| App Platform | Managed app deployments |
| Kubernetes | Container orchestration |
| Databases | Managed PostgreSQL, MySQL, Redis, MongoDB |
| Spaces | Object storage (like S3) |
| Functions | Serverless functions |
| Networking | VPCs, load balancers, domains |
| Monitoring | Alerts and metrics |
2.3 Projects
Organize resources into projects:
- Click + New Project in sidebar
- Name your project (e.g., "Production", "Development")
- Add description and purpose
- Move resources between projects as needed
Step 3: Set Up Billing Alerts
3.1 View Billing
- Click Billing in left sidebar
- See current balance and usage
- View billing history
3.2 Set Up Alerts
- Go to Settings → Billing Alerts
- Click Add Alert
- Configure:
- Alert type: Monthly spend
- Threshold: $25 (or your budget)
- Email: Your notification email
- Click Create
3.3 Spending Limits
Unlike other clouds, DigitalOcean has simpler billing:
- No auto-scaling surprises
- Resources bill monthly
- Prorated for partial months
- $200 credit applies automatically
Step 4: Create Your First Project
Projects help organize related resources:
- Click + New Project
- Configure:
- Name:
myapp-production - Description: "Production environment"
- Purpose: Web Application
- Name:
- Click Create Project
Project Best Practices
Organization
├── Project: Development
│ ├── dev-droplet
│ └── dev-database
├── Project: Staging
│ ├── staging-app
│ └── staging-database
└── Project: Production
├── production-app
└── production-database
Step 5: Understand Regions
DigitalOcean has 15 datacenter regions:
Available Regions
| Region | Location | Slug |
|---|---|---|
| NYC1, NYC2, NYC3 | New York | nyc1, nyc2, nyc3 |
| SFO2, SFO3 | San Francisco | sfo2, sfo3 |
| TOR1 | Toronto | tor1 |
| LON1 | London | lon1 |
| AMS3 | Amsterdam | ams3 |
| FRA1 | Frankfurt | fra1 |
| BLR1 | Bangalore | blr1 |
| SGP1 | Singapore | sgp1 |
| SYD1 | Sydney | syd1 |
Choosing a Region
- Latency: Choose closest to your users
- Compliance: Data residency requirements
- Features: Most features available in NYC and SFO
- Pricing: Same across all regions
Step 6: Set Up SSH Keys
SSH keys provide secure access to Droplets.
Generate SSH Key
Add to DigitalOcean
- Go to Settings → Security
- Click Add SSH Key
- Paste your public key
- Name it (e.g., "My Laptop")
- Click Add SSH Key
Step 7: Create API Token
For CLI and automation access:
- Go to API in left sidebar
- Click Generate New Token
- Configure:
- Name: "My CLI"
- Expiration: Choose timeframe
- Scopes: Read and Write
- Click Generate Token
- Copy and save the token - it won't be shown again!
Note
Keep your API token secure. Never commit it to Git or share it publicly. Store it in environment variables or a password manager.
Step 8: Team Access (Optional)
Add Team Members
- Go to Settings → Team
- Click Invite Member
- Enter email address
- Select role:
- Owner: Full access
- Billing: Billing only
- Custom: Select specific permissions
- Send invitation
Available Permissions
| Permission | Description |
|---|---|
| Droplet | Create/manage VMs |
| App | Create/manage App Platform apps |
| Database | Create/manage databases |
| Spaces | Create/manage object storage |
| Network | Manage networking resources |
| Billing | Access billing information |
Free Credits and Referrals
$200 Free Credit
New accounts receive:
- $200 credit
- Valid for 60 days
- Applies to all services
- Real production use allowed
Referral Program
- Refer others for $200 credit each
- You get $25 credit per referral
- Find your referral link in Account → Referrals
Common Pricing
| Service | Price |
|---|---|
| Droplet (Basic) | $4/month (1 vCPU, 512MB) |
| Droplet (Regular) | $6/month (1 vCPU, 1GB) |
| App Platform (Basic) | $5/month (512MB) |
| App Platform (Pro) | $12/month (1GB) |
| Managed Database | $15/month (PostgreSQL) |
| Spaces | $5/month (250GB + CDN) |
| Load Balancer | $12/month |
Note
DigitalOcean's pricing is simple: what you see is what you pay. No hidden data transfer costs for most use cases (first 1TB/month is free).
Verify Your Setup
- Account created and verified
- Payment method added
- $200 credit visible in billing
- Billing alert configured
- First project created
- SSH key added
- API token generated and saved
Note
Checkpoint: Log into the DigitalOcean control panel, verify your billing shows the $200 credit, and confirm your SSH key is added.