Connect DigitalOcean Account
DigitalOcean is the easiest cloud provider to connect - just one click and you're done.
What You'll Get
After connecting your DigitalOcean account, OEC.sh can:
| Capability | What It Enables |
|---|---|
| Compute | Auto-provision Droplets for Odoo hosting |
| Storage | Use Spaces (S3-compatible) for backups |
| DNS | Manage DNS records for your domains |
Prerequisites
Before you begin, ensure you have:
- Active DigitalOcean account (Sign up here (opens in a new tab))
- At least one payment method configured in DigitalOcean
- OEC.sh organization admin or appropriate permissions
Step-by-Step Connection
Step 1: Navigate to Cloud Accounts
- Log in to app.oec.sh (opens in a new tab)
- Click Settings in the left sidebar
- Click the Cloud Accounts tab
Step 2: Start Connection
- Click the Add Account button (top right)
- Under One-Click Connect (OAuth), find DigitalOcean
- Click the DigitalOcean card
Step 3: Authorize in DigitalOcean
A new browser tab will open to DigitalOcean:
- If not logged in, sign in to your DigitalOcean account
- Review the permissions OEC.sh is requesting:
- Read access to your account information
- Write access to manage Droplets, Spaces, and DNS
- Click Authorize application
Step 4: Confirm Connection
After authorization:
- The tab automatically closes (or redirects back to OEC.sh)
- Your DigitalOcean account appears in the list
- Status shows Active with a green badge
- You'll see capability badges: Compute, Storage, DNS
Verify Your Connection
Check Account Status
Your connected account should display:
- Name: "DigitalOcean" (you can rename it)
- Status: Active (green)
- Capabilities: Compute, Storage, DNS badges
- Account: Your DigitalOcean email/team name
Test the Connection
- Find your account in the list
- Click the refresh icon (circular arrow)
- Status should remain "Active"
- If validation fails, see Troubleshooting
What Permissions Does OEC.sh Request?
When you authorize OEC.sh, we request these DigitalOcean scopes:
| Scope | Purpose |
|---|---|
read | View your account, Droplets, Spaces, and DNS zones |
write | Create/manage Droplets, Spaces buckets, and DNS records |
We never:
- Access your billing information
- Delete resources you created outside OEC.sh
- Share your credentials with third parties
Using Your DigitalOcean Account
For Server Provisioning
- Go to Servers > Add Server
- Choose Provision from Cloud (instead of BYOS)
- Select your DigitalOcean account
- Choose region, size, and click Provision
For Backup Storage
- Go to Settings > Storage
- Click Add Storage Configuration
- Click Quick Setup on your DigitalOcean account
- Choose or create a Spaces bucket
For DNS Management
- Go to Settings > DNS Providers
- Click Quick Setup on your DigitalOcean account
- Select the domain you want to manage
- OEC.sh will automatically create A records
Managing Your Connection
Rename Account
- Click the pencil icon on your account
- Enter a descriptive name (e.g., "DO Production", "DigitalOcean EU")
- Click Save
Set as Default
- Click the pencil icon on your account
- Check Set as default for DigitalOcean
- Click Save
This account will be pre-selected when using DigitalOcean features.
Refresh Token
If your connection shows issues:
- Click the refresh icon on your account
- OEC.sh will refresh the OAuth tokens
- Status should update to "Active"
Reconnect Account
If refresh doesn't work:
- Click the Reconnect button
- Re-authorize in the DigitalOcean popup
- Connection will be restored
Troubleshooting
"Authorization Denied" Error
Cause: You clicked "Deny" or closed the authorization window.
Solution:
- Click Add Account again
- Complete the authorization flow
- Make sure to click "Authorize application"
Account Shows "Expired"
Cause: OAuth tokens expired and couldn't auto-refresh.
Solution:
- Click Refresh on the account
- If that fails, click Reconnect
- Re-authorize OEC.sh
"Insufficient Permissions" When Provisioning
Cause: Your DigitalOcean team permissions may be limited.
Solution:
- Check your role in DigitalOcean team settings
- You need at least "Member" role with write access
- Contact your team owner if needed
Droplet Creation Fails
Cause: Could be quota limits or payment issues.
Solution:
- Check DigitalOcean dashboard for account alerts
- Verify your payment method is current
- Check if you've hit Droplet limits (new accounts have restrictions)
- Try a different region if capacity is limited
Can't See Spaces Buckets
Cause: You may not have Spaces enabled.
Solution:
- Go to DigitalOcean dashboard > Spaces
- Enable Spaces if prompted
- Create at least one Space
- Refresh your OEC.sh connection
DigitalOcean Regions
OEC.sh supports all DigitalOcean regions:
| Region Code | Location |
|---|---|
nyc1, nyc3 | New York, USA |
sfo3 | San Francisco, USA |
tor1 | Toronto, Canada |
lon1 | London, UK |
ams3 | Amsterdam, Netherlands |
fra1 | Frankfurt, Germany |
sgp1 | Singapore |
blr1 | Bangalore, India |
syd1 | Sydney, Australia |