Overview
Add DigitalOcean to any ModuleX agent or workflow. Cloud infrastructure management via the DigitalOcean REST API (api.digitalocean.com/v2). Create and manage Droplets, domains, SSH keys, and snapshots.
Categories: Developer Tools & Infrastructure · Cloud Infrastructure · Devops · Auth: OAuth2 · Actions: 6
Authentication
OAuth2 Authentication
Connect using DigitalOcean OAuth (recommended)Required Credentials
OAuth Configuration
- Authorization URL:
https://cloud.digitalocean.com/v1/oauth/authorize - Token URL:
https://cloud.digitalocean.com/v1/oauth/token - Scopes:
read,write
Available Actions
add_ssh_key — Add a new SSH key to your DigitalOcean account
add_ssh_key — Add a new SSH key to your DigitalOcean account
create_domain — Create a new domain in DigitalOcean DNS
create_domain — Create a new domain in DigitalOcean DNS
create_droplet — Create a new DigitalOcean Droplet (virtual machine)
create_droplet — Create a new DigitalOcean Droplet (virtual machine)
Parameters
string
required
Human-readable string used as the Droplet display name
string
required
Region slug where the Droplet will be deployed (e.g. nyc1, sfo1, ams3)
string
required
Image ID or slug for the base image (e.g. ubuntu-22-04-x64)
string
required
Size slug for the Droplet (e.g. s-1vcpu-1gb)
array
List of Block Storage volume IDs to attach to the Droplet
array
List of SSH key IDs or fingerprints to embed in the Droplet’s root account
boolean
Whether automated backups should be enabled
boolean
Whether IPv6 is enabled on the Droplet
string
Cloud-init user data or Bash script for first-boot configuration (max 64 KiB)
boolean
Whether private networking is enabled for the Droplet
boolean
Whether to install the DigitalOcean monitoring agent
array
List of tag names to apply to the Droplet after creation
Response
create_snapshot — Create a snapshot from an existing DigitalOcean Droplet
create_snapshot — Create a snapshot from an existing DigitalOcean Droplet
list_all_droplets — List all Droplets in your DigitalOcean account
list_all_droplets — List all Droplets in your DigitalOcean account
Limits & Quotas
- Rate limit: 5,000 requests per hour per OAuth token (returns HTTP 429 when exceeded).
- Droplet creation: subject to account-level Droplet limits (default 25; request increase via support).
- Error model: non-2xx responses and timeouts are caught and returned as
success=False+errorrather than raising.