Prerequisites
- A DigitalOcean account
- A Personal Access Token with write scope
1. Generate an API token
- Log into your DigitalOcean account
- Go to API → Tokens
- Click Generate New Token
- Give it a name (e.g.
StartMyVPN) - Select Read and Write scopes
- Copy the token — it will only be shown once
2. Configure in StartMyVPN
Set the token in.env:
3. Deploy a VPN server
- Navigate to Admin → Deployments → DigitalOcean
- Select a region (e.g.
nyc3,lon1,sgp1) - Choose a droplet size — see sizing guide below
- Select the VPN protocol (OpenVPN or WireGuard)
- Click Deploy — the droplet is created and provisioning begins automatically
Recommended droplet sizes
| Users | Droplet Size | vCPU | RAM |
|---|---|---|---|
| Up to 50 | s-1vcpu-1gb | 1 | 1 GB |
| Up to 200 | s-2vcpu-2gb | 2 | 2 GB |
| Up to 500 | s-2vcpu-4gb | 2 | 4 GB |
| 500+ | c-4 (CPU-optimized) | 4 | 8 GB |