Skip to content

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

An open-engine database plug fits outlets for AWS, Google Cloud, Azure, Oracle Cloud and your own servers; a proprietary database API outlet does not fit.
Blog
By Noah Grinstein
19 min read

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.

EngineCore licenseSpeaksReplication across sites, as documentedManaged versions on AWS, Azure and Google Cloud
PostgreSQLPostgreSQL LicensePostgreSQLStreaming and logical replicationRDS, Aurora PostgreSQL-Compatible; Azure Database for PostgreSQL; Cloud SQL, AlloyDB
MySQL CommunityGPLv2MySQLAsynchronous replication, InnoDB ClusterSet between sitesRDS, Aurora MySQL-Compatible; Azure Database for MySQL; Cloud SQL
MariaDBGPLv2MySQL protocolGalera “virtually synchronous multi-primary”Amazon RDS for MariaDB only
YugabyteDBApache 2.0PostgreSQL (YSQL), Cassandra-style (YCQL)Synchronous across regions, xCluster asynchronousNone first-party
TiDBApache 2.0MySQL protocolMulti-Raft replicas across availability zones, TiCDC between clustersNone first-party
Apache CassandraApache 2.0CQLReplication factor per datacenterAmazon Keyspaces (compatible API); Azure Managed Instance for Apache Cassandra; none on Google Cloud
ValkeyBSD-3-ClauseRedis protocolReplication, Valkey Cluster failoverElastiCache, MemoryDB; Memorystore for Valkey; none on Azure
MongoDB CommunitySSPL (source available)MongoDBReplica sets across data centersNo hyperscaler runs MongoDB itself; Amazon DocumentDB, Azure DocumentDB, Firestore with MongoDB compatibility speak its API
FerretDB with DocumentDBApache 2.0 and MITMongoDB wire protocol on PostgreSQLPostgreSQL replication underneathAzure DocumentDB runs the same DocumentDB engine
ClickHouseApache 2.0ClickHouse SQLAsynchronous multi-master with ClickHouse KeeperNone first-party
Apache KafkaApache 2.0KafkaMirrorMaker 2 between clustersAmazon MSK; Google Cloud Managed Service for Apache Kafka; Azure Event Hubs Kafka endpoint, Kafka on Azure HDInsight
OpenSearchApache 2.0OpenSearch APICross-cluster replicationAmazon 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 serviceOpen-source engine that runs anywhereProprietary feature that does not move
Amazon RDS, Cloud SQL or Azure Database for PostgreSQLPostgreSQLIAM or Entra ID database login tokens
Aurora PostgreSQL-Compatible, AlloyDBPostgreSQLAurora cluster volume and Global Database; AlloyDB columnar engine
Aurora MySQL-Compatible, RDS or Cloud SQL for MySQLMySQL, MariaDB, TiDB, or MySQL with VitessAurora storage layer and Global Database; IAM database login tokens
Spanner (PostgreSQL interface)YugabyteDBSpanner’s own storage and replication; the interface lacks extensions and stored procedures
DynamoDBApache Cassandra, after a data model changeDynamoDB API and global tables
Azure Cosmos DB (NoSQL API)Apache Cassandra or PostgreSQL, after a data model changeNoSQL API and request units
Amazon DocumentDB, Azure DocumentDB, Firestore with MongoDB compatibilityDocumentDB with FerretDB, or MongoDB Community under SSPLEach service’s storage and the MongoDB features it does not support
Amazon Keyspaces, Azure Cosmos DB for Apache CassandraApache CassandraKeyspaces serverless scaling; Cosmos DB request units
ElastiCache, MemoryDB, Memorystore, Azure Managed RedisValkeyElastiCache Global Datastore; Azure Managed Redis active geo-replication
Amazon MSK, Azure Event Hubs, Google Cloud Managed Service for Apache KafkaApache KafkaMSK Replicator; Event Hubs Capture and its namespace model
Amazon OpenSearch ServiceOpenSearchUltraWarm 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.

ToolEnginesLicenseBackups toAcross clusters or cloudsRuns on
Control Plane database templatesPostgreSQL, pgEdge, TiDB, CockroachDB, MySQL, MariaDB, MongoDB, Redis or Valkey, Cassandra, ClickHouse, Kafka, OpenSearch and morePlatform serviceWAL-G, engine-native backup tools or scheduled dumps to S3, GCS or MinIO, plus volume snapshotsMulti-location templates for PostgreSQL, pgEdge, TiDB, CockroachDB, MongoDB, Redis or Valkey and ClickHouseControl Plane locations on AWS, GCP, Azure, Oracle Cloud Infrastructure and your own clusters
CloudNativePGPostgreSQLApache-2.0Object storage through the Barman Cloud pluginReplica clusters across regions and cloudsKubernetes
Percona OperatorsPostgreSQL, MySQL, MongoDBApache-2.0S3-compatible, GCS, Azure BlobStandby clusters; MongoDB multi-clusterKubernetes
OpenEverestMySQL, PostgreSQL, MongoDBApache-2.0S3-compatibleNot documentedKubernetes
Crunchy Data PGOPostgreSQLApache-2.0 operator; images under Developer Program termspgBackRest to S3, GCS, AzureStandby clusters across Kubernetes clustersKubernetes
Zalando postgres-operatorPostgreSQLMITWAL-G through Spilo; restore and clone on AWS, GCS or AzureStandby from a WAL archive or remote hostKubernetes
StackGresPostgreSQLAGPL-3.0WAL-G to S3, GCS, Azure Blob, MinIOExternal cluster replicasKubernetes
KubeBlocksMany engines through addonsAGPL-3.0 coreFull and continuous backupsNot documentedKubernetes
KubeDBMany enginesAppsCode Community License (not open source)KubeStash on EnterpriseNot documentedKubernetes
VitessMySQLApache-2.0S3, GCS, Ceph, fileCellsVMs or Kubernetes
StrimziKafkaApache-2.0Not applicableMirrorMaker 2Kubernetes
K8ssandraCassandraApache-2.0Medusa to S3, GCS, AzureDatacenters across Kubernetes clustersKubernetes
MongoDB Controllers for KubernetesMongoDBApache-2.0 for CommunityOps Manager on EnterpriseMongoDBMultiCluster with Ops ManagerKubernetes
AutobasePostgreSQLMIT core, proprietary consolepgBackRest or WAL-G to object storageServers on AWS, GCP, Azure, DigitalOcean or HetznerVMs 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.

DependencyWhere it shows upPortable choice
LoginIAM, Cloud SQL IAM or Entra ID tokensDatabase users with SCRAM passwords or TLS client certificates, with secrets held outside the cloud
StorageAurora cluster volume, provider StorageClasses and CSI driversEngine-level replication between standard block volumes on each provider, so no provider storage layer holds the only copy
BackupsCloud snapshots that restore only in the same providerBackups in object storage with a tool that restores anywhere (pgBackRest, WAL-G, Barman Cloud)
Extensions and engine forksAlloyDB columnar engine, Aurora-only features, Spanner interface gapsCommunity engine and extensions that run on every target
APIDynamoDB, Cosmos DB NoSQL APIAn open protocol (PostgreSQL, MySQL, CQL, MongoDB wire, Redis)
Cross-cluster networkingProvider-specific Multi-Cluster Services implementationsA network layer that spans every location you run
Region scopeReplicas and standbys limited to one provider’s regionsReplication that crosses providers
Data transferPer-GB egress between cloudsPlace replicas deliberately and measure replication traffic
Encryption keysSnapshots and backups encrypted with a provider KMS keyBackups encrypted by the backup tool (pgBackRest, WAL-G) with keys you hold
Connection pathRDS Proxy, Cloud SQL Auth Proxy and connectors, Private Link endpointsStandard 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.

TemplateEngine and version in the docsTopologyBackups in the docs
PostgreSQL Highly AvailablePostgreSQL 18, Patroni, etcd, HAProxy leader endpointOne location; automatic failoverWAL-G with point-in-time restore
Postgres Multi-LocationPostgreSQL 17, one Patroni cluster across locationsAsynchronous replicas in other locations; automatic promotion with three or more locations; HAProxy in every location routes to the primaryWAL-G or scheduled pg_dumpall to S3, GCS or MinIO
pgEdgePostgreSQL 19 with Spock 5Active-active; every node accepts writes; last-update-wins conflictsScheduled pg_dump to S3 or GCS
TiDBTiDB v8.5.7One or more locationsS3 or GCS
CockroachDBCockroachDB v25.4.0Nodes per location; survives a region loss with three locationsBACKUP INTO S3 or GCS
MongoDB ClusterPercona Server for MongoDB 8.0Replica set in one location or stretched across severalmongodump
Redis Multi-LocationRedis or Valkey with SentinelAcross two or more locations; automatic failover with threeS3 or GCS
CassandraCassandra 5.0.9Multi-node cluster in one locationLogical or physical backups to S3 or GCS
ClickHouseClickHouse 25.10 with ClickHouse KeeperOne node, or one shard per location with three or more locations; table data in S3, GCS or Azure Blob StorageObject storage holds table data
KafkaApache Kafka 3.9.1 in KRaft modeThree brokers by defaultReplication across brokers, plus volume snapshots
MySQL, MariaDB, PostgreSQL (single)mysql:9, mariadb:11, PostgreSQL 19Single replica, no replicationScheduled 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.

SituationApproachOptions
Leave Aurora, RDS or Cloud SQL without changing the appCommunity PostgreSQL or MySQL with backups in object storageControl Plane PostgreSQL templates, CloudNativePG, Percona Operators, Autobase on VMs
Keep writing when a whole region or cloud is lostDatabase replication across three or more locations on more than one provider, so a quorum survives the lossControl Plane Postgres Multi-Location, pgEdge, CockroachDB or TiDB templates, YugabyteDB, CloudNativePG replica clusters
Replace DynamoDB or Cosmos DBMove to an open API and plan the data model changeControl Plane Cassandra template, or Cassandra with K8ssandra
Replace ElastiCache or MemorystoreValkeyControl Plane Redis templates with Valkey, Valkey Cluster
Keep MongoDB drivers without SSPLDocumentDB with FerretDBFerretDB on PostgreSQL with the DocumentDB extension
Analytics off BigQuery or RedshiftClickHouse with data in object storageControl Plane ClickHouse template, Altinity operator
No Kubernetes on the teamA platform that runs the database for you on any cloudControl 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.

Run Unbreakable
Apps and Agents