Skip to main content

What is this integration?

Provision and manage DigitalOcean managed databases.

Supported Engines

EngineSlugVersions
PostgreSQLpg11, 12, 13, 14, 15, 16
MySQLmysql5.7, 8.0
Valkeyvalkey7, 8
MongoDBmongodb4.4, 5.0, 6.0, 7.0
Apache Kafkakafka3.5
OpenSearchopensearch1.x, 2.x
Note: Redis has been replaced by Valkey on DigitalOcean. If you want to use Redis, use valkey as the engine instead. For backwards compatibility, specifying engine: redis will automatically be mapped to valkey.

What Monk manages

  • Database clusters and configuration

Getting Started

  1. Add DO provider (PAT configured in provider)
  2. Define a PostgreSQL cluster (save as do-db.yaml):
namespace: digitalocean-database-example

my-postgres-db:
  defines: digitalocean-database/database
  name: my-postgres-cluster
  engine: pg
  version: "16"
  num_nodes: 1
  region: nyc1
  size: db-s-1vcpu-1gb
  1. Create/update:
monk update digitalocean-database-example/my-postgres-db