# Managed databases

> PostgreSQL, MySQL and Valkey with automatic failover, point-in-time recovery and private networking.

Source: https://docs.avenlith.com/en/managed-databases  
Category: Cloud platform  
Last updated: 2026-09-22

## Create a cluster

```bash
avenlith db create --engine postgres --version 17 --plan db-4-16 \
  --region fra1 --replicas 1 --private-network app-net
avenlith db connection-string pg-main
```

## Engines

| Engine | Versions | Replicas | Point-in-time recovery |
| --- | --- | --- | --- |
| PostgreSQL | 15, 16, 17 | up to 5 | 14 days |
| MySQL | 8.0, 8.4 | up to 5 | 7 days |
| Valkey (Redis-compatible) | 8 | up to 2 | snapshots only |

## High availability

With one or more replicas, the primary fails over automatically in under 30 seconds. The connection string points at a DNS name that always resolves to the current primary.

> **Warning:** > Clusters attached to a private network are not reachable from the internet. Add a trusted source IP if you need access from outside.

## Maintenance

Minor versions and security patches are applied in your weekly maintenance window with a single failover.
