- No single provider is best: pick the hyperscaler your application already runs on, unless a specialist offers a feature you need (branching, scale to zero, all-inclusive pricing, multi-cloud).
- For SQL Server or Oracle, the hyperscale clouds are the realistic options; for PostgreSQL and MySQL the choice is much wider.
- Specialists usually have simpler plans and developer features, but fewer engines and regions than AWS, Azure or Google Cloud.
- This is a shortlist based on documented features and list prices, not a ranking from performance tests.
How we chose these database hosting providers
We considered the providers developers most often compare when choosing database hosting, and kept those that meet all of these criteria:
- A managed or serverless database service (not only virtual machines), with automated backups.
- Self-service sign-up and a public price list, so costs can be checked without talking to sales.
- Documentation that states the supported engines, plans and limits.
- An active product in October 2026.
Where we say who a provider suits, that is our editorial assessment of the documented features, not a measured result. For background on the hosting options themselves, read database hosting: how to choose.
Database hosting providers compared
Starting prices for each provider are in the dated pricing section below. Free options are summarised here; the free database hosting page has the detailed limits.
| Provider | Engines | Free option | Billing model | Limitation |
|---|---|---|---|---|
| Amazon RDS | PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, Db2 (plus Aurora) | AWS Free plan, up to 6 months, selected micro instances | Instance hours plus storage, backups, transfer | Many separately billed items |
| Microsoft Azure | SQL Server engine (Azure SQL), PostgreSQL, MySQL | Azure SQL Database free offer | Instance or vCore hours, or serverless per second | Azure SQL Database feature differences from SQL Server |
| Google Cloud SQL | MySQL, PostgreSQL, SQL Server | 30-day free trial instance | vCPU and memory per hour, plus storage | Shared-core types outside the SLA |
| DigitalOcean | PostgreSQL, MySQL, MongoDB, Kafka, caching | None listed | Fixed node prices | Fewer regions and features |
| Neon | PostgreSQL | Free plan, 100 projects | Compute-unit hours plus storage | Free compute always scales to zero |
| Supabase | PostgreSQL | Free plan, 2 active projects | Monthly plan plus hourly compute | Free projects pause after a week idle |
| Aiven | PostgreSQL, MySQL, Valkey, Kafka and others | Free tier (PostgreSQL, MySQL) | All-inclusive hourly plans | Free tier cannot choose cloud or region |
| MongoDB Atlas | MongoDB | Free cluster, 512 MB | Hourly by cluster tier | No backups on Free clusters |
| PlanetScale | Vitess (MySQL-compatible), Postgres | None listed | Resource-based monthly pricing | No free tier |
The hyperscale cloud database providers
Amazon RDS (AWS)
AWS says RDS automates provisioning, configuration, backups and patching across nine database engine options, and supports PostgreSQL, MySQL, MariaDB, SQL Server, Oracle and Db2. Amazon Aurora adds PostgreSQL- and MySQL-compatible engines with a serverless option. RDS is the widest managed relational offering and the obvious choice if the application runs on AWS. Limitation: the bill is made of many separate items (instance, storage, provisioned IOPS on some storage types, backup storage, data transfer, Extended Support for old versions), which makes cost tracking harder. See Amazon RDS vs Amazon Aurora.
Microsoft Azure
Azure SQL Database is Microsoft's fully managed PaaS for the SQL Server engine, with a serverless compute tier and a free offer; Azure Database for PostgreSQL and Azure Database for MySQL cover the open source engines and can be stopped to pause compute billing. It suits teams already using SQL Server and Microsoft tooling. Limitation: Microsoft documents feature differences between Azure SQL Database, SQL Server and Azure SQL Managed Instance, so check that the SQL Server features you rely on are supported before migrating; see Azure SQL Database vs Managed Instance.
Google Cloud SQL
Google describes Cloud SQL as a fully managed relational database service for MySQL, PostgreSQL and SQL Server, with AlloyDB and Spanner for larger PostgreSQL-compatible or globally distributed workloads. Pricing is per vCPU and per GB of memory, which makes sizing flexible. Limitation: Google states that its shared-core machine types (db-f1-micro and db-g1-small) are not covered by the Cloud SQL SLA, so the cheapest instances are for development only. See AWS RDS vs Google Cloud SQL.
Specialist database hosting services
DigitalOcean Managed Databases
DigitalOcean offers managed PostgreSQL, MySQL, MongoDB, Kafka and caching with fixed hourly and monthly node prices, and its documentation says clusters include daily backups with point-in-time recovery and standby nodes for high availability. In our view it suits small teams that want a simple console and predictable bills. Limitation: fewer regions, engines and integrations than the hyperscalers, and no free tier listed.
Neon
Neon is serverless PostgreSQL that separates compute from storage, autoscales and scales to zero when idle, and bills per compute-unit hour on paid plans. Its free plan includes 100 projects. It suits development workflows with a database per branch and databases that sit idle. Limitation: on the free plan the 5-minute scale-to-zero setting is fixed, and an idle database must start a compute on the next connection. Compare with Neon vs AWS RDS.
Supabase
Supabase gives every project its own dedicated Postgres instance, with authentication, storage and APIs around it, on a monthly plan plus hourly compute. It suits applications that want a backend platform, not just a database. Limitation: free projects pause after a week of inactivity and only two can be active; paid compute runs continuously per project. See Supabase vs Neon and Supabase alternatives.
Aiven
Aiven runs PostgreSQL, MySQL and other open source services on AWS, Google Cloud, Azure, DigitalOcean, OVH and UpCloud, with all-inclusive hourly plans that it says cover VM, network and backup costs. It suits teams that want the same managed service on more than one cloud. Limitation: the free tier cannot choose a specific cloud or region and may be powered off when inactive.
MongoDB Atlas
Atlas is MongoDB's own managed service on AWS, Google Cloud and Azure, with Free, Flex and Dedicated tiers. It is the natural choice if your data model is document-oriented; see MongoDB vs PostgreSQL if you are deciding. Limitation: Free clusters cannot enable backups, and only one Free cluster is allowed per project.
PlanetScale
PlanetScale offers Vitess (MySQL-compatible with horizontal sharding), a sharded Postgres product, and PlanetScale Postgres with single-node and high-availability options. It suits MySQL workloads that need sharding and teams that want high-availability clusters across three zones. Limitation: there is no free tier; the cheapest single-node Postgres plan is paid. See PlanetScale vs AWS RDS.
Which provider to pick for common situations
- Your application runs on AWS, Azure or Google Cloud: use that provider's managed service (RDS, Azure SQL Database or Azure Database for PostgreSQL or MySQL, Cloud SQL).
- You need SQL Server or Oracle: a hyperscale cloud; see the managed SQL Server guide in this section.
- Best MySQL database hosting for a small team: a managed MySQL plan from your cloud, or DigitalOcean or Aiven for simple fixed plans; PlanetScale if you expect to need sharding.
- Database per pull request, or many idle databases: Neon.
- A backend with auth and storage around Postgres: Supabase.
- Document data: MongoDB Atlas, or a hyperscaler NoSQL service.
- Middle East regions: Azure lists UAE Central and UAE North, Google Cloud lists Doha and Dammam, and AWS lists Middle East (UAE) among RDS pricing locations; check engine and plan availability in the region before you commit.
When none of these is the right choice
- Data that must stay on your own premises: a public cloud service is ruled out; run the database on your own servers.
- A tiny website: the database included with ordinary web hosting may be enough.
- Analytics over large data: a warehouse such as BigQuery, Redshift or Snowflake fits better than an application database; see data warehouse vs database.
- Full control of the engine and operating system: install the database on a VM you manage.
Pricing
Prices from the provider's official pricing pages, checked 8 October 2026, region AWS US East (N. Virginia), Azure East US, Google Cloud Iowa (us-central1); other providers as shown in their default listing, in USD, excluding tax. List prices only; discounts, commitments and your actual usage change the bill.
Entry-level list prices, to show where each provider starts. They are not equivalent configurations (sizes, included storage and availability differ), so use the pricing comparison for like-for-like examples on the big three.
| Provider | Entry option | Listed price |
|---|---|---|
| Amazon RDS for PostgreSQL | db.t4g.micro, Single-AZ, on demand | 0.016 USD per hour (storage extra) |
| Azure Database for PostgreSQL | Burstable B1ms, 1 vCore, 2 GiB | 12.41 USD per month (storage extra) |
| Google Cloud SQL | db-f1-micro, shared core, 0.6 GiB | 0.0105 USD per hour (storage extra) |
| DigitalOcean Managed PostgreSQL | 1 GiB, 1 vCPU node | 15.15 USD per month |
| Neon | Launch plan | 0.106 USD per CU-hour plus 0.35 USD per GB-month |
| Supabase | Pro plan | From 25 USD per month, including 10 USD of compute credits |
| Aiven for PostgreSQL | Developer plan | 5 USD per month |
| MongoDB Atlas | Flex | Up to 30 USD per month |
| PlanetScale Postgres | Single node | From 5 USD per month |
Frequently asked questions
What is the best database hosting service?
It depends on where your application runs and which engine you use. For most teams the best choice is the managed database of the cloud they already use; specialists such as Neon, Supabase, DigitalOcean or Aiven are worth it when their pricing model or features fit better.
Who are the main cloud database providers?
AWS (Amazon RDS, Aurora, DynamoDB), Microsoft Azure (Azure SQL Database, Azure Database for PostgreSQL and MySQL, Cosmos DB) and Google Cloud (Cloud SQL, AlloyDB, Spanner, Firestore), plus specialists such as MongoDB Atlas, Neon, Supabase, PlanetScale, DigitalOcean and Aiven.
What is the best MySQL database hosting?
For an application on a hyperscale cloud, that cloud's managed MySQL (Amazon RDS for MySQL, Azure Database for MySQL, Cloud SQL for MySQL). For simple fixed pricing, DigitalOcean or Aiven. For MySQL that needs horizontal sharding, PlanetScale.
Did CodeWithSQL test these providers?
No. The shortlist is based on provider documentation and pricing pages checked on 8 October 2026, and is not a performance ranking.
Which database hosting provider has a free tier?
Neon, Supabase, Aiven and MongoDB Atlas have free plans, Azure SQL Database has a free offer, AWS offers a Free plan for new customers for up to 6 months, and Google Cloud SQL has a 30-day free trial instance. DigitalOcean and PlanetScale list no free tier.
Sources
- Amazon RDS product page
- Amazon RDS User Guide: What is Amazon RDS?
- Amazon RDS Free Tier
- Amazon RDS for PostgreSQL pricing
- AWS price data for RDS for PostgreSQL, US East (N. Virginia) (data behind the RDS pricing page)
- AWS price data: RDS for PostgreSQL locations
- Microsoft Learn: What is Azure SQL Database?
- Azure Database for PostgreSQL pricing
- Google Cloud SQL pricing
- Google Cloud: Cloud SQL overview
- DigitalOcean Managed Databases pricing
- Neon pricing
- Neon docs: Scale to zero
- Supabase pricing
- Aiven pricing
- MongoDB Atlas pricing
- MongoDB docs: Atlas Free cluster limits
- PlanetScale pricing
Checked 8 October 2026.
How we research cloud database guides: our editorial method. CodeWithSQL earns nothing from the providers mentioned.