DEV Community

Cover image for Open-Source Alternatives to Managed Databases That Stay Portable Across Clouds (2026): Engines, Licenses and Operators
Noah Grinstein
Noah Grinstein

Posted on Originally published at controlplane.com AI-assisted

Open-Source Alternatives to Managed Databases That Stay Portable Across Clouds (2026): Engines, Licenses and Operators

Managed databases handle failover, backups and upgrades for you, but their proprietary storage layers, cloud-specific login tokens and provider-scoped replication tie your data to one cloud. Open-source engines that speak standard protocols can run anywhere, and the operational work a managed service performed then needs a new owner. Control Plane handles Day 2 operations and runs open-source databases from templates in any location of a Control Plane Global Virtual Cloud (GVC), a named set of locations that can span AWS, GCP, Azure, Oracle Cloud Infrastructure and your own servers, so the database runs in the same locations as the application.

Disclosure: Control Plane publishes this guide. Licenses, versions and features were checked on each project’s and cloud provider’s own pages on December 3, 2026.

TL;DR

The portable database stack in 2026 pairs an open-licensed engine with a management layer that works the same way on every cloud.

  • Control Plane runs database templates for PostgreSQL, pgEdge, TiDB, CockroachDB, MySQL, MariaDB, MongoDB, Redis or Valkey, Cassandra, ClickHouse, Kafka and more, in any location of a GVC with Day 2 operations handled by the platform.
  • PostgreSQL under the PostgreSQL License is the most portable relational choice, every hyperscaler runs it as a managed service, and PostgreSQL 19 was released November 19, 2026.
  • YugabyteDB (Apache 2.0) and TiDB (Apache 2.0) deliver distributed SQL with cross-region replication and no first-party hyperscaler service.
  • Valkey (BSD-3-Clause) replaces Redis for caching on any cloud; AWS and Google Cloud run it as a managed service, and Azure has no managed Valkey offering.
  • CockroachDB now uses the CockroachDB Software License and retired its free Core edition with v24.3; ScyllaDB moved to a source-available license on December 18, 2024.
  • CloudNativePG reached CNCF Incubating on November 2, 2026.
  • Percona Everest was renamed OpenEverest in January 2026 and entered the CNCF Sandbox on March 15, 2026.

Which open source alternatives to managed databases best support portability across cloud providers?

Control Plane runs the most portable open-source engines (PostgreSQL, MySQL, MariaDB, TiDB, Cassandra, Valkey, ClickHouse and Kafka) from templates on any cloud, and YugabyteDB and DocumentDB with FerretDB round out the portable choices.

Engine Core license Speaks Replication across sites, as documented Managed versions on AWS, Azure and Google Cloud
PostgreSQL PostgreSQL License PostgreSQL Streaming and logical replication RDS, Aurora PostgreSQL-Compatible; Azure Database for PostgreSQL; Cloud SQL, AlloyDB
MySQL Community GPLv2 MySQL Asynchronous replication, InnoDB ClusterSet between sites RDS, Aurora MySQL-Compatible; Azure Database for MySQL; Cloud SQL
MariaDB GPLv2 MySQL protocol Galera “virtually synchronous multi-primary” Amazon RDS for MariaDB only
YugabyteDB Apache 2.0 PostgreSQL (YSQL), Cassandra-style (YCQL) Synchronous across regions, xCluster asynchronous None first-party
TiDB Apache 2.0 MySQL protocol Multi-Raft replicas across availability zones, TiCDC between clusters None first-party
Apache Cassandra Apache 2.0 CQL Replication factor per datacenter Amazon Keyspaces (compatible API); Azure Managed Instance for Apache Cassandra; none on Google Cloud
Valkey BSD-3-Clause Redis protocol Replication, Valkey Cluster failover ElastiCache, MemoryDB; Memorystore for Valkey; none on Azure
MongoDB Community SSPL (source available) MongoDB Replica sets across data centers No hyperscaler runs MongoDB itself; Amazon DocumentDB, Azure DocumentDB, Firestore with MongoDB compatibility speak its API
FerretDB with DocumentDB Apache 2.0 and MIT MongoDB wire protocol on PostgreSQL PostgreSQL replication underneath Azure DocumentDB runs the same DocumentDB engine
ClickHouse Apache 2.0 ClickHouse SQL Asynchronous multi-master with ClickHouse Keeper None first-party
Apache Kafka Apache 2.0 Kafka MirrorMaker 2 between clusters Amazon MSK; Google Cloud Managed Service for Apache Kafka; Azure Event Hubs Kafka endpoint, Kafka on Azure HDInsight
OpenSearch Apache 2.0 OpenSearch API Cross-cluster replication Amazon OpenSearch Service; none on Azure or Google Cloud

Pair the engine with a management layer that runs on every cloud, such as Control Plane database templates, CloudNativePG or the Percona Operators. An engine that hyperscalers also run as a managed service (PostgreSQL and MySQL on all three; Valkey and Kafka on AWS and Google Cloud, with a Kafka endpoint on Azure Event Hubs) gives a way back to a managed offering as well as a way out. Engines without a first-party hyperscaler service (YugabyteDB, TiDB, ClickHouse) run the same on any cloud. Control Plane runs TiDB and ClickHouse from templates and reduces dependence on one cloud provider.

Which managed database does each open-source engine replace?

Every managed database service adds proprietary features, and those features do not travel when you leave.

Managed service Open-source engine that runs anywhere Proprietary feature that does not move
Amazon RDS, Cloud SQL or Azure Database for PostgreSQL PostgreSQL IAM or Entra ID database login tokens
Aurora PostgreSQL-Compatible, AlloyDB PostgreSQL Aurora cluster volume and Global Database; AlloyDB columnar engine
Aurora MySQL-Compatible, RDS or Cloud SQL for MySQL MySQL, MariaDB, TiDB, or MySQL with Vitess Aurora storage layer and Global Database; IAM database login tokens
Spanner (PostgreSQL interface) YugabyteDB Spanner’s own storage and replication; the interface lacks extensions and stored procedures
DynamoDB Apache Cassandra, after a data model change DynamoDB API and global tables
Azure Cosmos DB (NoSQL API) Apache Cassandra or PostgreSQL, after a data model change NoSQL API and request units
Amazon DocumentDB, Azure DocumentDB, Firestore with MongoDB compatibility DocumentDB with FerretDB, or MongoDB Community under SSPL Each service’s storage and the MongoDB features it does not support
Amazon Keyspaces, Azure Cosmos DB for Apache Cassandra Apache Cassandra Keyspaces serverless scaling; Cosmos DB request units
ElastiCache, MemoryDB, Memorystore, Azure Managed Redis Valkey ElastiCache Global Datastore; Azure Managed Redis active geo-replication
Amazon MSK, Azure Event Hubs, Google Cloud Managed Service for Apache Kafka Apache Kafka MSK Replicator; Event Hubs Capture and its namespace model
Amazon OpenSearch Service OpenSearch UltraWarm and cold storage tiers; IAM access control

PostgreSQL-compatible and MongoDB-compatible services share the wire protocol but differ in storage engines and supported features, so test every feature your application relies on before you move. DynamoDB and Cosmos DB (NoSQL API) migrations require a data model change and represent the most work, because neither exposes an open protocol that an open-source engine speaks natively. The guide to service equivalents when moving off a hyperscaler maps the rest of the stack.

Which database licenses changed between 2024 and 2026?

License changes in this period reshaped which engines remain fully open source and which are now source available.

  • Valkey was forked from Redis 7.2.4 under the BSD-3-Clause license by the Linux Foundation on March 28, 2024, after Redis moved to RSALv2 and SSPL in March 2024.
  • CockroachDB retired its free Core edition with v24.3, announced August 15, 2024. The CockroachDB Software License now applies, and the Enterprise Free tier covers businesses under $10M annual revenue.
  • Elastic announced on August 29, 2024 that it would add AGPLv3 as a license option alongside SSPL and the Elastic License 2.0; the Elasticsearch repository now uses all three.
  • OpenSearch moved to the OpenSearch Software Foundation under the Linux Foundation, announced September 16, 2024.
  • ScyllaDB moved from AGPL to a source-available license on December 18, 2024. License v1.1 (April 12, 2026) limits the free license to organizations with no paid relationship with ScyllaDB in the prior 12 months and to 10 TB of storage and/or 50 vCPUs.
  • Redis 8 added AGPLv3 as a third license option on May 1, 2025, alongside RSALv2 and SSPLv1.
  • DocumentDB (the open-source engine) joined the Linux Foundation under the MIT license, announced August 25, 2025.
  • The Autobase Platform console became proprietary on October 24, 2026, while the automation core remains MIT.

Check the license of the exact version and the management tool you deploy, because several projects now pair an open core with a proprietary console (Autobase) or restrictive image terms (Crunchy Data PGO).

What replaces the management work a managed database does?

Operators, platforms and automation tools take over the failover, backup and upgrade responsibilities that a managed service handles.

Tool Engines License Backups to Across clusters or clouds Runs on
Control Plane database templates PostgreSQL, pgEdge, TiDB, CockroachDB, MySQL, MariaDB, MongoDB, Redis or Valkey, Cassandra, ClickHouse, Kafka, OpenSearch and more Platform service WAL-G, engine-native backup tools or scheduled dumps to S3, GCS or MinIO, plus volume snapshots Multi-location templates for PostgreSQL, pgEdge, TiDB, CockroachDB, MongoDB, Redis or Valkey and ClickHouse Control Plane locations on AWS, GCP, Azure, Oracle Cloud Infrastructure and your own clusters
CloudNativePG PostgreSQL Apache-2.0 Object storage through the Barman Cloud plugin Replica clusters across regions and clouds Kubernetes
Percona Operators PostgreSQL, MySQL, MongoDB Apache-2.0 S3-compatible, GCS, Azure Blob Standby clusters; MongoDB multi-cluster Kubernetes
OpenEverest MySQL, PostgreSQL, MongoDB Apache-2.0 S3-compatible Not documented Kubernetes
Crunchy Data PGO PostgreSQL Apache-2.0 operator; images under Developer Program terms pgBackRest to S3, GCS, Azure Standby clusters across Kubernetes clusters Kubernetes
Zalando postgres-operator PostgreSQL MIT WAL-G through Spilo; restore and clone on AWS, GCS or Azure Standby from a WAL archive or remote host Kubernetes
StackGres PostgreSQL AGPL-3.0 WAL-G to S3, GCS, Azure Blob, MinIO External cluster replicas Kubernetes
KubeBlocks Many engines through addons AGPL-3.0 core Full and continuous backups Not documented Kubernetes
KubeDB Many engines AppsCode Community License (not open source) KubeStash on Enterprise Not documented Kubernetes
Vitess MySQL Apache-2.0 S3, GCS, Ceph, file Cells VMs or Kubernetes
Strimzi Kafka Apache-2.0 Not applicable MirrorMaker 2 Kubernetes
K8ssandra Cassandra Apache-2.0 Medusa to S3, GCS, Azure Datacenters across Kubernetes clusters Kubernetes
MongoDB Controllers for Kubernetes MongoDB Apache-2.0 for Community Ops Manager on Enterprise MongoDBMultiCluster with Ops Manager Kubernetes
Autobase PostgreSQL MIT core, proprietary console pgBackRest or WAL-G to object storage Servers on AWS, GCP, Azure, DigitalOcean or Hetzner VMs or bare metal

Kubernetes operators automate failover and backups inside a cluster, but storage classes, volume snapshots and cross-cluster networking still differ by provider. Each StorageClass has a provisioner, VolumeSnapshot support depends on the CSI driver, and the Multi-Cluster Services API is a specification that each provider or service mesh implements differently. On Control Plane, volume sets (Control Plane’s persistent storage) and scheduled snapshots work the same way in every location, and multi-location templates connect replicas across locations and providers, so teams run these databases without having to operate a Kubernetes cluster.

How do I evaluate managed databases versus self-hosted options for portability?

Ten dependencies tie a database to one cloud, and each has a portable alternative.

Dependency Where it shows up Portable choice
Login IAM, Cloud SQL IAM or Entra ID tokens Database users with SCRAM passwords or TLS client certificates, with secrets held outside the cloud
Storage Aurora cluster volume, provider StorageClasses and CSI drivers Engine-level replication between standard block volumes on each provider, so no provider storage layer holds the only copy
Backups Cloud snapshots that restore only in the same provider Backups in object storage with a tool that restores anywhere (pgBackRest, WAL-G, Barman Cloud)
Extensions and engine forks AlloyDB columnar engine, Aurora-only features, Spanner interface gaps Community engine and extensions that run on every target
API DynamoDB, Cosmos DB NoSQL API An open protocol (PostgreSQL, MySQL, CQL, MongoDB wire, Redis)
Cross-cluster networking Provider-specific Multi-Cluster Services implementations A network layer that spans every location you run
Region scope Replicas and standbys limited to one provider’s regions Replication that crosses providers
Data transfer Per-GB egress between clouds Place replicas deliberately and measure replication traffic
Encryption keys Snapshots and backups encrypted with a provider KMS key Backups encrypted by the backup tool (pgBackRest, WAL-G) with keys you hold
Connection path RDS Proxy, Cloud SQL Auth Proxy and connectors, Private Link endpoints Standard connection strings through a pooler you run (PgBouncer, ProxySQL) and DNS you control

A managed service takes database operations off your team inside one cloud and ties the database to that cloud’s storage, login and replication. A self-hosted engine, run by an operator or a platform, keeps those operations automated and lets the database run on any provider now or move later. Cross-cloud replicas add per-GB charges, so check cross-cloud data transfer costs before you commit. The decision comes down to who runs those operations and whether the data must exist in more than one provider’s network at the same time. Weighing managed services against portability covers the same decision for other managed services.

Which multi-cloud patterns reduce dependence on proprietary managed services?

Five patterns keep the database portable regardless of which clouds you run today.

  • Use an open wire protocol at the application boundary so the engine behind it can change.
  • Store backups in object storage that restores on any provider, using tools like pgBackRest, WAL-G or Barman Cloud.
  • Run engine-level replication across providers so a second cloud holds a current replica, and alert on replication lag, since an asynchronous replica can trail the primary.
  • Manage secrets and identities outside one cloud’s IAM so a credential rotation does not depend on a single provider.
  • Define every deployment in one format that applies to every location, so adding a cloud is a configuration change.

Building portable applications across cloud providers applies the same patterns to the application tier.

How to run open-source databases across clouds on Control Plane

Control Plane templates are versioned, installed into an existing GVC, and every installation and revision is tracked so you can upgrade or roll back.

Template Engine and version in the docs Topology Backups in the docs
PostgreSQL Highly Available PostgreSQL 18, Patroni, etcd, HAProxy leader endpoint One location; automatic failover WAL-G with point-in-time restore
Postgres Multi-Location PostgreSQL 17, one Patroni cluster across locations Asynchronous replicas in other locations; automatic promotion with three or more locations; HAProxy in every location routes to the primary WAL-G or scheduled pg_dumpall to S3, GCS or MinIO
pgEdge PostgreSQL 19 with Spock 5 Active-active; every node accepts writes; last-update-wins conflicts Scheduled pg_dump to S3 or GCS
TiDB TiDB v8.5.7 One or more locations S3 or GCS
CockroachDB CockroachDB v25.4.0 Nodes per location; survives a region loss with three locations BACKUP INTO S3 or GCS
MongoDB Cluster Percona Server for MongoDB 8.0 Replica set in one location or stretched across several mongodump
Redis Multi-Location Redis or Valkey with Sentinel Across two or more locations; automatic failover with three S3 or GCS
Cassandra Cassandra 5.0.9 Multi-node cluster in one location Logical or physical backups to S3 or GCS
ClickHouse ClickHouse 25.10 with ClickHouse Keeper One node, or one shard per location with three or more locations; table data in S3, GCS or Azure Blob Storage Object storage holds table data
Kafka Apache Kafka 3.9.1 in KRaft mode Three brokers by default Replication across brokers, plus volume snapshots
MySQL, MariaDB, PostgreSQL (single) mysql:9, mariadb:11, PostgreSQL 19 Single replica, no replication Scheduled dumps to S3 or GCS

Install a multi-location template into a GVC whose locations span the clouds you need, and a single-location template such as PostgreSQL Highly Available or Cassandra into a GVC with one location. Control Plane’s stateful workload type keeps a stable identity per replica and mounts volume sets; with the ext4 or xfs file system, a volume set gives each replica its own volume in each location. Data is not replicated between volumes because replication happens in the database engine itself. Volume sets grow automatically within a maximum capacity you set, take scheduled snapshots (at most once per hour) with a configurable retention period, and support restoring a volume to a snapshot. Use cpln volumeset copy, a command in Control Plane’s CLI, to copy a volume to another location or to a volume set in another GVC of the same org (stop the workload first for a consistent copy). Workloads reach cloud services such as object storage for backups through Control Plane’s Universal Cloud Identity, which provisions an IAM role, service account or managed identity in AWS, GCP or Azure and serves short-lived credentials at runtime. To reach a database you still keep on AWS (for example an Amazon RDS instance with no public access), Control Plane’s Cloud Wormhole connects through an agent that links outbound from your VPC. The roundup of platforms for Postgres in containers compares where else PostgreSQL runs in containers.

Which approach fits your situation?

The right combination of engine, operator and platform depends on what you are leaving and what your team operates today.

Situation Approach Options
Leave Aurora, RDS or Cloud SQL without changing the app Community PostgreSQL or MySQL with backups in object storage Control Plane PostgreSQL templates, CloudNativePG, Percona Operators, Autobase on VMs
Keep writing when a whole region or cloud is lost Database replication across three or more locations on more than one provider, so a quorum survives the loss Control Plane Postgres Multi-Location, pgEdge, CockroachDB or TiDB templates, YugabyteDB, CloudNativePG replica clusters
Replace DynamoDB or Cosmos DB Move to an open API and plan the data model change Control Plane Cassandra template, or Cassandra with K8ssandra
Replace ElastiCache or Memorystore Valkey Control Plane Redis templates with Valkey, Valkey Cluster
Keep MongoDB drivers without SSPL DocumentDB with FerretDB FerretDB on PostgreSQL with the DocumentDB extension
Analytics off BigQuery or Redshift ClickHouse with data in object storage Control Plane ClickHouse template, Altinity operator
No Kubernetes on the team A platform that runs the database for you on any cloud Control Plane templates; Autobase for PostgreSQL on VMs

Whichever engine you pick, rehearse a restore on a second provider before you depend on it.

How Control Plane runs portable databases

Control Plane handles Day 2 operations for you, including autoscaling, built-in observability, and security. A GVC can mix regions on AWS, GCP, Azure and Oracle Cloud Infrastructure with Kubernetes clusters you run yourself through Control Plane’s BYOK (Bring Your Own Kubernetes), including clusters on your own servers. A workload runs in every location of its GVC, and a database template runs in the locations listed in its values, so adding or moving a location is a configuration change. A workload’s localOptions field, Control Plane’s per-location override, sets different options per location, including suspending the workload in one location.

Control Plane encrypts all volumes by default; customer-managed AWS KMS keys per region are available on Control Plane-managed AWS locations. Control Plane offers a 99.999% SLA for workloads that run at least two replicas in at least two locations. Control Plane is PCI DSS Level 1, SOC 2 Type II, HIPAA, and GDPR compliant.

Each template packages a database engine with its topology and persistent storage, ready to install into a GVC. The catalog runs from single-location high availability to active-active pgEdge across locations. Day 2 operations for containers covers patching, autoscaling and failover for containerized workloads.

FAQ

Ten questions that come up when evaluating open-source databases for portability.

What is the most portable open-source database?

PostgreSQL under the PostgreSQL License is the most portable relational database in 2026. Every major hyperscaler runs it as a managed service (RDS, Aurora PostgreSQL-Compatible, Azure Database for PostgreSQL, Cloud SQL, AlloyDB), Control Plane templates, CloudNativePG and the Percona Operators all run it, and it runs on VMs, bare metal and containers under a permissive license.

Is PostgreSQL portable across AWS, Azure and Google Cloud?

Yes. PostgreSQL uses the PostgreSQL License, “a liberal Open Source license, similar to the BSD or MIT licenses.” All three hyperscalers offer managed PostgreSQL, and the community engine runs the same on any infrastructure. Tools like pgBackRest, WAL-G and Barman Cloud back up to S3, GCS or Azure Blob, and those backups restore on any provider.

What is the open-source alternative to DynamoDB?

Apache Cassandra (Apache 2.0) is an open-source wide-column engine for workloads currently on DynamoDB. Cassandra supports a replication factor per datacenter and runs on any cloud. The migration requires a data model change because DynamoDB uses a proprietary API, and Cassandra’s multi-datacenter replication, where every datacenter accepts writes, fills the role of DynamoDB global tables. ScyllaDB offers a DynamoDB-compatible Alternator API, but ScyllaDB is now source available.

What is the open-source alternative to ElastiCache?

Valkey (BSD-3-Clause), launched by the Linux Foundation on March 28, 2024 as a fork of Redis 7.2.4, speaks the Redis protocol and commands. AWS offers ElastiCache and MemoryDB with Valkey, and Google Cloud offers Memorystore for Valkey. Azure has no managed Valkey; Azure Managed Redis is built on Redis Enterprise software. Control Plane’s Redis templates run Valkey with Sentinel automatic failover in any location of a GVC.

Is CockroachDB still open source?

CockroachDB is source available under the CockroachDB Software License, which is not an OSI-approved open-source license. Cockroach Labs retired the free Core edition with v24.3, announced August 15, 2024, and moved all users to the CockroachDB Software License. Businesses under $10M annual revenue can use the Enterprise Free tier.

Is MongoDB open source?

MongoDB Community Server uses the Server Side Public License (SSPL) v1, which is not approved by the Open Source Initiative. For teams that need an OSI-approved license and MongoDB wire protocol compatibility, DocumentDB (MIT, Linux Foundation) with FerretDB (Apache 2.0) converts MongoDB 5.0+ wire protocol queries to SQL on PostgreSQL.

What is OpenEverest?

OpenEverest is the renamed Percona Everest project, changed in January 2026. It provides a web UI and API over the Percona Operators for MySQL, PostgreSQL and MongoDB with backups to S3-compatible storage and point-in-time recovery. OpenEverest is Apache-2.0 licensed and entered the CNCF Sandbox on March 15, 2026. The current release on December 3, 2026 is v1.18.0.

Do I need Kubernetes to self-host a database?

No. Control Plane runs database templates on its own platform, so your team never has to operate a Kubernetes cluster. Autobase provisions PostgreSQL on VMs or bare metal with Ansible across AWS, GCP, Azure, DigitalOcean and Hetzner. Patroni (MIT) manages PostgreSQL high availability with etcd, Consul, ZooKeeper or Kubernetes as the distributed configuration store. Vitess (Apache-2.0) runs MySQL sharding on VMs or Kubernetes.

How do I fail over a database between clouds?

On Control Plane, the Postgres Multi-Location template runs asynchronous replicas across locations, promotes one automatically when three or more locations are present, and routes the HAProxy tier in every location to the new primary, so the application keeps the same connection address. Without such a template, keep a replica in the second provider and monitor its replication lag, fence the old primary so it cannot accept writes, promote the replica, and move connections through DNS with a short TTL, a proxy or a leader endpoint. With asynchronous replication, transactions the replica had not received are lost, so the lag at the moment of failure is the data you lose. Rebuild the old primary as a replica before it rejoins. The pgEdge template runs active-active, so every node already accepts writes and no promotion is needed; applications reconnect to a surviving node, and writes the failed node had not yet replicated stay missing until it recovers. The runbook for failing over a database between cloud regions walks through each step.

How does Control Plane run open-source databases?

Control Plane handles Day 2 operations, including autoscaling, observability and security. It runs open-source databases from versioned templates installed into a Control Plane Global Virtual Cloud (GVC) whose locations can span AWS, GCP, Azure, Oracle Cloud Infrastructure and your own Kubernetes clusters through Control Plane’s BYOK (Bring Your Own Kubernetes). Stateful workloads mount volume sets that give each replica its own volume in each location, with automatic growth, scheduled snapshots and the cpln volumeset copy command for copying data between locations.

Talk to the Control Plane team or sign up free to run portable databases across clouds today.


Originally published on the Control Plane blog.

Top comments (0)