10 open-source alternatives ranked by real activity

Open-source Amazon RDS alternatives

A curated, ranked list of the 10 best open-source alternatives to Amazon RDS.

The best open-source alternative to Amazon RDS is PostgreSQL. If that doesn't suit you, other good options are TiDB, MariaDB, Vitess and CloudNativePG.

Commercial alternatives to Amazon RDS include Amazon Aurora, Google Cloud Spanner, Microsoft SQL Server and Oracle Database. See all 26.

Amazon RDS alternatives are mainly databases, but some are also database tools. 9 of them shipped code in the last 30 days, 10 can be self-hosted, and 5 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

PostgreSQL

PostgreSQL is an object-relational database management system supporting SQL features such as transactions, foreign keys and triggers.

GitHub stars
23k
Last commit
yesterday
Self-hosted
Yes
postgresql.orgPostgreSQL homepage screenshot

PostgreSQL is a feature-rich object-relational database management system covering a large part of the SQL standard. Its feature set includes transactions, foreign keys, subqueries, triggers, and user-defined types and functions, and the distribution also contains C language bindings. This GitHub repository is only a mirror of the official git repository, written in C, and the metadata lists the license as Other.

The project does not use GitHub pull requests; contributors submit patches through the process described on the PostgreSQL wiki. Copyright and license terms are in the COPYRIGHT file, general documentation for each version is published on the project site, and build instructions explain how to compile the server from source. The latest releases of the software and related software are available from the PostgreSQL website. Many hosting providers offer managed PostgreSQL, but the project itself is software you install and operate.

Key features

  • Object-relational database with SQL support
  • Transactions and foreign keys
  • Subqueries and triggers
  • User-defined types and functions
  • C language bindings
  • Documentation for building from source

Pricing: Free and open source; the repository lists the license as Other, so see the COPYRIGHT file for terms.

TiDB

An open-source, MySQL-compatible distributed SQL database with horizontal scaling, ACID transactions, Raft-based high availability and support for analytics and vector search.

GitHub stars
41k
Last commit
today
Latest release
v7.5.8
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
tidb.ioTiDB homepage screenshot

TiDB is a cloud-native, open-source distributed SQL database from PingCAP. The name's Ti stands for titanium, and it is built for high availability, strong consistency and the ability to scale out as data and traffic grow, while staying compatible with MySQL so existing applications and tools can connect with little change.

Distributed transactions use a two-phase commit protocol to keep ACID guarantees even across nodes, through network partitions or node failures. It scales horizontally by adding nodes or vertically by adding resources, without downtime, and its architecture separates compute from storage so each can be adjusted independently. Built-in Raft consensus keeps multiple replicas in sync and handles automated failover. Topics also mention HTAP workloads, analytics and native vector search.

TiDB is written in Go under the Apache-2.0 license. It can be deployed on your own infrastructure or consumed as a managed cloud service, and it suits teams that have outgrown a single MySQL server and want horizontal scale without sharding by hand.

Key features

  • MySQL-compatible distributed SQL
  • Distributed ACID transactions
  • Horizontal and vertical scaling without downtime
  • Separated compute and storage layers
  • Raft-based replication and automated failover
  • Analytics and vector search support

Pricing: TiDB Community is free and Cloud Starter has a monthly free quota. Cloud Premium starts from $1800 per month and Dedicated from $0.22 per hour; Self-Managed is priced on request.

Read more about TiDBWebsiteGitHub#2 Amazon RDS alternative

MariaDB

MariaDB Server is an open-source relational database that began as a fork of MySQL, with vector search, pluggable storage engines and Galera clustering.

GitHub stars
8.6k
Last commit
today
Latest release
mariadb-13.0.2
Licence
GPL-2.0
Self-hosted
Yes
mariadb.orgMariaDB homepage screenshot

MariaDB Server is an open-source relational database built by a global community with the MariaDB Foundation and MariaDB plc. It started out as a MySQL fork driven by the people who created MySQL, keeps a high degree of MySQL compatibility, and is described as a straightforward migration target for existing MySQL deployments.

Since then it has gained its own capabilities. A native VECTOR data type with approximate nearest-neighbour HNSW indexing has been available since version 11.8. Pluggable storage engines include InnoDB, Aria and MyRocks, plus ColumnStore (analytics), Spider (sharding) and S3 (archiving). Replication options include async, semi-sync and parallel modes using global transaction IDs, and Galera provides synchronous multi-primary clustering. On the SQL side it offers common table expressions, window functions, temporal tables with system versioning, sequences and a range of JSON functions.

It also offers an Oracle SQL mode with PL/SQL-style routines, GIS data types and full-text indexing, and security features such as role-based access control, pluggable authentication, data-at-rest encryption and TLS. MariaDB is written in C++ and licensed under GPL-2.0, and you run it on your own servers or in the cloud.

Key features

  • Native vector search with HNSW indexing
  • Pluggable storage engines including InnoDB
  • Galera synchronous multi-primary clustering
  • Temporal tables and window functions
  • MySQL and Oracle compatibility modes
  • Spatial and full-text indexing
  • Role-based access and data-at-rest encryption

Pricing: Free and open source under the GPL-2.0 licence.

Read more about MariaDBWebsiteGitHub#3 Amazon RDS alternative

Vitess

Vitess is a cloud-native database system that adds sharding, connection pooling and schema management on top of MySQL.

GitHub stars
21k
Last commit
yesterday
Latest release
v24.0.5
Licence
Apache-2.0
Self-hosted
Yes
vitess.ioVitess homepage screenshot

Vitess is a MySQL-compatible, cloud-native database system. Its built-in sharding lets a database grow without adding sharding logic to the application, and the sharding schemes are described as transparent to the application.

For performance it rewrites queries, caches and pools connections, so the number of concurrent client connections can scale far beyond traditional MySQL. It detects and repairs primary failures automatically, and data migrations and resharding are done with near-zero downtime.

Schema changes happen in the background without disrupting running workloads, and materialized views and messaging work across shards. Vitess is a graduated project of the Cloud Native Computing Foundation, with quickstarts for Kubernetes and local installs.

Key features

  • Built-in sharding
  • Query rewriting, caching and connection pooling
  • Automatic detection and repair of primary failures
  • Live resharding with minimal read-only downtime
  • Background schema changes
  • Materialized views and messaging across shards
Read more about VitessWebsiteGitHub#4 Amazon RDS alternative

CloudNativePG

A Kubernetes operator that manages the full lifecycle of PostgreSQL clusters, including high availability, failover, backups and updates, without external HA tools.

GitHub stars
9.6k
Last commit
today
Latest release
v1.30.1
Licence
Apache-2.0
Self-hosted
Yes
cloudnative-pg.ioCloudNativePG homepage screenshot

CloudNativePG, often shortened to CNPG, is an open-source platform for running PostgreSQL databases on Kubernetes. Its core component is an operator that handles the whole operational lifecycle, from deployment to ongoing maintenance, in a way that fits GitOps-driven CI/CD automation.

It takes a Kubernetes-native approach to primary and standby cluster management. Rather than relying on external high-availability tools such as Patroni, repmgr or Stolon, the operator integrates directly with the Kubernetes API, and the status of a PostgreSQL cluster is exposed on the Cluster resource. It follows the operator pattern to reconcile the desired state, and application containers are immutable. Topics also list failover, switchover, replication, disaster recovery, a kubectl plugin, a Prometheus exporter and JSON logging.

CloudNativePG is a CNCF project written in Go and licensed under Apache-2.0, with a quickstart guide, governance policies, a list of adopters and pointers to commercial support. It is intended for Kubernetes administrators who want PostgreSQL managed as a native workload.

Key features

  • Kubernetes operator for PostgreSQL clusters
  • Primary and standby cluster management
  • Automated failover and switchover
  • Direct Kubernetes API integration
  • Immutable application containers
  • Prometheus exporter and JSON logging
  • Companion kubectl plugin

Pricing: Free and open source under the Apache-2.0 licence; the project points to commercial support providers.

MySQL

Source repository of the MySQL relational database server, covering the open-source Community edition and the clustered MySQL Cluster variant.

GitHub stars
13k
Last commit
16 days ago
Self-hosted
Yes
Hosted version
Available
mysql.comMySQL homepage screenshot

MySQL is a widely used open-source relational database. This repository contains the MySQL Server source code along with MySQL Cluster, which the description presents as a real-time, open-source transactional database. Applications talk to it using SQL, and it is a common choice for web applications and embedded products.

The MySQL website describes several offerings built around the server: the Community Edition, with a published governance model and early access builds; MySQL Enterprise Edition for advanced features, management tools and technical support; MySQL HeatWave, a cloud service that combines transactions with analytics and machine learning; and MySQL Cluster CGE. A program for OEM and ISV vendors covers embedding the database in other products.

The server is written in C++ and distributed under licenses detailed in the repository. Organizations can run the Community Edition on their own infrastructure, buy a commercial edition from Oracle, which owns the project, or use a managed cloud offering. Documentation, downloads and a developer zone are available on mysql.com.

Key features

  • Open-source relational database server
  • SQL query interface
  • MySQL Cluster for transactional workloads
  • Community and Enterprise editions
  • HeatWave managed cloud option
  • Documentation and developer resources

Pricing: Community Edition is open source; Enterprise Edition and the HeatWave cloud service are commercial offerings.

Read more about MySQLWebsiteGitHub#6 Amazon RDS alternative

YugabyteDB

A PostgreSQL-compatible, cloud-native distributed SQL database for transactional workloads that need scale, fault tolerance or multi-region deployment.

GitHub stars
11k
Last commit
today
Latest release
v2026.1.3.0
Self-hosted
Yes
yugabyte.comYugabyteDB homepage screenshot

YugabyteDB is a distributed SQL database that is compatible with PostgreSQL. It combines the relational features of traditional databases with the scale-out design of NoSQL systems, and is intended for cloud-native OLTP applications that need correct data and at least one of scalability, tolerance to failures or global distribution.

Its SQL layer, YSQL, reuses the PostgreSQL query layer and so supports most PostgreSQL features, including data types, stored procedures, triggers and extensions. Its transaction model follows the design of Google Spanner, using Raft consensus for replication and hybrid logical clocks for distributed ACID transactions, with snapshot, serializable and read committed isolation. Reads are strongly consistent by default and can be tuned to read from followers and replicas.

The database can be configured to withstand failures at the level of a disk, rack, node, zone, region or whole cloud, recovering on its own, and the topics mention multi-region, multi-cloud and Kubernetes deployments. The project is written mainly in C and C++, the repository lists its license as Other, and documentation covers architecture, roadmap and how to build applications.

Key features

  • PostgreSQL-compatible SQL layer
  • Distributed ACID transactions
  • Replication using Raft consensus
  • Snapshot, serializable and read committed isolation
  • Automatic failover and repair
  • Multi-region and multi-cloud deployments
  • Kubernetes deployment support

Pricing: The open-source database is free. The managed Aeon service starts at $125 (Standard) or $167 (Professional) per vCPU per month plus storage and transfer, with a free trial; Enterprise is quoted.

Neon

An open-source serverless Postgres platform that separates storage from compute to offer autoscaling, database branching and scale to zero.

GitHub stars
23k
Last commit
2 mo ago
Latest release
release-proxy-8853
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
neon.techNeon homepage screenshot

Neon is a serverless Postgres database platform that is open source. It separates storage from compute and replaces the PostgreSQL storage layer with one that distributes data across a cluster of nodes, which enables autoscaling, branching of databases in the style of code, and scaling down to zero.

A running Neon system is made up of compute nodes plus a dedicated storage engine. The compute nodes are stateless PostgreSQL instances backed by that engine, whose two main components are the Pageserver, a scalable storage backend for the compute nodes, and the Safekeepers, a redundant write-ahead-log service that keeps WAL durably until the Pageserver has processed it and uploaded it to cloud storage. Developer documentation describes the architecture in more detail.

The easiest way to try Neon is the hosted Neon Free Tier, connecting with psql, DBeaver or the online SQL editor. The project is also written in Rust and licensed under Apache-2.0 so you can compile and run it locally for experiments, with build instructions for Linux and macOS. It suits teams that want Postgres with branching for development workflows and elastic scaling.

Key features

  • Serverless Postgres with autoscaling
  • Separated storage and compute
  • Database branching for development
  • Scale to zero when idle
  • Pageserver and Safekeeper storage engine
  • Hosted free tier available

Pricing: Free plan has no time limit. Launch is usage-based at $0.106 per CU-hour plus $0.35 per GB-month of storage; Scale is $0.222 per CU-hour.

Read more about NeonWebsiteGitHub#8 Amazon RDS alternative

Autobase

Autobase is an open-source platform that provides a DBaaS-like experience for PostgreSQL on your own infrastructure, automating clusters, failover and backups.

GitHub stars
4.4k
Last commit
yesterday
Latest release
2.12.0
Licence
MIT
Self-hosted
Yes
autobase.techAutobase homepage screenshot

Autobase is an internal database platform for PostgreSQL that brings the managed database experience of a cloud DBaaS onto infrastructure you control. You build and operate production-grade PostgreSQL clusters with high availability, and the tool aims to simplify deployment, reduce operating costs and make database management approachable even for teams without deep database expertise.

It automates deployment, failover, backups, restore, upgrades and scaling, with Patroni topics indicating a proven high-availability foundation, and offers a web interface written in TypeScript on top of automation scripts. The documentation includes an architecture overview. It is the successor to what was previously a PostgreSQL cluster automation project.

Autobase is MIT-licensed and self-hosted, running on your own servers, virtual machines or cloud accounts. It suits platform teams and companies that want managed-database convenience without paying for a hosted service, and that are ready to operate the underlying machines.

Key features

  • Highly available PostgreSQL cluster creation
  • Automatic failover between nodes
  • Backup and restore automation
  • Automated upgrades and scaling
  • Web interface for cluster management
  • Runs on your own infrastructure

Pricing: Free MIT-licensed edition with CLI management. Paid commercial plans are Standard at $256, Professional at $1024 and Premium at $4096 per month, with a month free on annual billing.

Read more about AutobaseWebsiteGitHub#9 Amazon RDS alternative

Percona Server

Open-source, enhanced drop-in replacement for MySQL from Percona, installed from the Percona repository or built from source.

GitHub stars
1.3k
Last commit
3 days ago
Latest release
Percona-Server-5.5.55-38.8
Self-hosted
Yes
percona.comPercona Server homepage screenshot

Percona Server for MySQL is Percona's enhanced build of MySQL. The README describes it as free, fully compatible and open source, and as a drop-in replacement for any MySQL database. It is written mainly in C++ and licensed under version 2 of the GNU General Public License.

According to the README, it targets better performance and concurrency for demanding workloads, with optimized performance, greater scalability and availability, enhanced backups and increased visibility into the server. These claims are Percona's own and come with no benchmark numbers in the sources.

It can be installed from the Percona repository or built from the source code, and the official documentation covers the steps. Bugs and feature requests go to the project's Jira tracker, and Percona runs a community forum for questions. Percona itself is a company that has offered MySQL support since 2006.

Key features

  • Drop-in replacement for MySQL databases
  • Aims at scalability, availability and enhanced backups
  • Installable from the Percona repository
  • Can be built from source code
  • Bugs tracked in a public Jira project

Commercial Amazon RDS alternatives

Hosted, closed-source products that compete with Amazon RDS. Showing 12 of 26.

See every Amazon RDS alternative on its tool page

Amazon RDS alternatives: questions

What is the best open-source alternative to Amazon RDS?
PostgreSQL is the top-ranked open-source alternative to Amazon RDS on Enlisted: PostgreSQL is an object-relational database management system supporting SQL features such as transactions, foreign keys and triggers. Other strong options are TiDB, MariaDB, Vitess and CloudNativePG.
What are the best commercial alternatives to Amazon RDS?
Amazon Aurora, Google Cloud Spanner, Microsoft SQL Server, Oracle Database and PlanetScale are among the hosted, closed-source alternatives to Amazon RDS listed on Enlisted, which lists 26 in total. Compare their pricing and features on each tool page.
Are these Amazon RDS alternatives free?
All 10 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 3 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Amazon RDS alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 9 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all