This guide is for CTOs, tech leads and operations leads choosing the database service for a business application. It sits under Netbase's cloud platform engineering work, where the database is part of the platform design, and the upgrade and failover routines belong in DevOps and platform engineering pipelines.
In this guide
- Why do benchmarks rarely decide the choice?
- Which service fits which operational need?
- How do failover and standbys differ in practice?
- Where does connection pooling come from?
- How much control do you have over maintenance?
- What happens when a major version reaches end of support?
- How does logical replication behave on failover?
- When should you choose Aurora over RDS, and when not?
- How to test a service before you commit
- Where AI fits in a database choice
- What delivery record exists, and what does not
- Alternatives: what if none of the four fits?
- What are the limits of this guide?
- Frequently asked questions
- Next step
Why do benchmarks rarely decide the choice?
Published benchmarks compare one workload, one instance size and one date, and the services change after every release. A typical business application rarely sits at the throughput limit of any of the four. What it does hit is a failover at peak hours, a burst of connections, a maintenance restart at a bad moment or a forced major-version upgrade. Those events cost more engineering time than a few percent of query speed.
The second rule is gravity: the database belongs in the same cloud as the application, its network and its identity system, so the realistic choice is usually between the options of one provider, not across all four. All four patch the system, take automated backups with point-in-time restore and offer a synchronous standby in another zone.
Which service fits which operational need?
| Criterion | AWS: RDS and Aurora | Google Cloud SQL | Azure Database for PostgreSQL |
|---|---|---|---|
| Standby design | RDS Multi-AZ instance: one standby that serves no reads; Multi-AZ DB cluster: two standbys that serve reads; Aurora: shared storage across three zones | Regional instance: primary and standby in two zones, writes committed to disks in both | Zone-redundant or same-zone standby, synchronous, not readable |
| Connection pooling | RDS Proxy as a separate managed service | Managed pooling on Enterprise Plus; otherwise run your own pooler | Built-in PgBouncer on port 6432 (not on Burstable) |
| Maintenance control | Maintenance window; changes applied per instance | One-hour window, week timing and deny periods up to 90 days | Custom 60-minute window, applied to the standby first |
| Version lifecycle | Paid Extended Support after standard support ends | Provider-managed major versions | Provider-managed major versions |
| Choose it when | The application already runs on AWS | The application already runs on Google Cloud | The application already runs on Azure or depends on Entra ID |
Read a column only after the cloud is decided. Inside AWS the decision is RDS or Aurora; inside Google Cloud, the Enterprise or Enterprise Plus edition; inside Azure, the compute tier, because Burstable loses both zone-redundant high availability and the built-in pooler.
How do failover and standbys differ in practice?
On AWS, an RDS Multi-AZ DB instance keeps one standby that only waits for a failover, while a Multi-AZ DB cluster keeps two standbys that also serve read traffic. Aurora stores data in a cluster volume with copies across three Availability Zones, so adding a reader does not copy the data and the replicas read the same storage.
Google Cloud SQL writes every commit to disks in two zones and documents a failover of about 60 seconds. Azure documents 60 to 120 seconds for a zone-redundant failover, longer on a busy primary whose standby must first replay its write-ahead log.
Two points matter more than the seconds. Only the AWS options let a standby serve reads; on Cloud SQL and Azure you add read replicas. And your application's reconnect logic, not the provider's figure, decides the outage users see.
Where does connection pooling come from?
PostgreSQL opens one server process per connection, so an application that scales out its web servers can exhaust connections long before CPU. Azure ships PgBouncer inside the server: you switch the port to 6432, and after a failover it restarts on the new primary under the same host name. AWS offers RDS Proxy as a separate service in front of RDS and Aurora. Cloud SQL offers managed pooling only on the Enterprise Plus edition; on Enterprise you run PgBouncer yourself.
Whichever layer you use, test transaction pooling against your framework first: session settings, advisory locks and some prepared statements behave differently behind a pooler.
How much control do you have over maintenance?
Cloud SQL gives the most explicit controls: a one-hour window, a choice of week and deny periods of up to 90 days around peak seasons. Its documentation states that an Enterprise instance loses connectivity for under 30 seconds on average during maintenance, and an Enterprise Plus instance typically for under one second.
Azure applies patches and minor upgrades to the standby first and then fails over, so a zone-redundant server sees a short switch instead of a restart. On AWS, set the window per instance and keep retry logic tested. A business with a seasonal peak should write its freeze dates into the database settings, not only into a team calendar.
What happens when a major version reaches end of support?
The PostgreSQL project supports each major version for five years. After that, the providers move you on. On AWS, RDS Extended Support keeps an old major version running for up to three more years as a paid offering, after which RDS upgrades the engine automatically. That is a budget line and a deadline, not a reprieve.
Treat a major-version upgrade as a project: test extensions, query plans and the application on a restored copy. The backup restore testing runbook gives the restored copy and the evidence log this needs.
How does logical replication behave on failover?
If you stream changes out of the database, for analytics, search or a change data capture pipeline, the replication slot must survive a failover. On Azure, PostgreSQL 16 and earlier need the pg_failover_slots extension and PostgreSQL 17 can synchronise slots natively once two parameters are set. Check this for your engine version on any provider, and alert when a slot falls behind.
When should you choose Aurora over RDS, and when not?
-
Read scaling
- Stay on RDS
- One or two replicas are enough
- Consider Aurora
- Several readers that must not each copy the data
-
Storage growth
- Stay on RDS
- Predictable, sized ahead
- Consider Aurora
- Fast or uneven growth you do not want to provision
-
Write pattern
- Stay on RDS
- Steady writes, low I/O share of spend
- Consider Aurora
- I/O-heavy work where the I/O-Optimized option fits
-
Portability
- Stay on RDS
- You may move the database later
- Consider Aurora
- You accept an AWS-specific storage engine
Do not move to Aurora, or between clouds, for a benchmark gain alone. A move costs a migration, a cutover and new runbooks; it pays off only when a signal above already hurts in production.
How to test a service before you commit
-
Write the operating requirements
Recovery targets, peak connections, blackout dates and replication consumers.
-
Build a production-like setup
Use the tier and high-availability option you plan to buy.
-
Force a failover with the application connected
Measure the outage from the client side and check that pools and retries recover.
-
Put the pooler under load
Scale application instances up and confirm connections stay under the limit.
-
Restore to a point in time
Time it against the recovery target and validate the data.
-
Rehearse a major-version upgrade
Run it on a restored copy and record extension and query-plan changes.
-
Write the decision record
Note the service, tier, results and the signal that would reopen the choice.
Where AI fits in a database choice
AI helps collect the evidence, not make the decision. An assistant can extract connection counts, slow queries and extension lists from logs and schema files and draft the test plan for review. Netbase works with the major commercial and open-source AI tools and models, chosen per project.
Engineers still verify every limit against current documentation, run the failover and restore tests and own the decision record; no model gets rights to change production database settings.
- In delivered work
MLOps pipeline
An MLOps pipeline Netbase delivered for a client that is not named; an AI delivery record, not a database selection study.
- Available capability
AI agents in operations
AI-assisted database evidence review is a way Netbase approaches the work, not yet tied to a published case.
What delivery record exists, and what does not
Netbase names AWS, Google Cloud, DigitalOcean and Cloudflare as the cloud providers it uses; Azure appears in this guide from Microsoft's documentation only. Netbase also works as offshore development partner on a multi-tenant cloud ERP delivered as SaaS to small and mid-sized businesses for a US client, not named.
Delivery runs in a six-step lifecycle with weekly reviews and KPI dashboards, and most Netbase projects are delivered on fixed-price contracts. No published Netbase record compares these four services in a project, and no failover time, benchmark or cost figure is claimed here for Netbase or a client.
Alternatives: what if none of the four fits?
| Option | Fits when | Selection criterion |
|---|---|---|
| Self-managed PostgreSQL on virtual machines | You need superuser access or extensions no provider allows | You have people to own patching, backups and failover |
| A Postgres-compatible distributed database | Write volume outgrows one primary | The application tolerates its compatibility gaps |
The database also sets the floor of your recovery plan; the disaster recovery tiers guide shows which standby and backup design each recovery target needs. A move between services is a migration with its own cutover; Netbase's cloud migration work plans that switch.
What are the limits of this guide?
- It compares operational features from provider documentation on the access date, not performance or prices.
- Provider features, tiers and limits change often; check the current documentation before you commit.
Plan the next step with a Netbase consultant
Frequently asked questions
No. Aurora helps when you need several read replicas, storage that grows without provisioning or I/O-heavy work on AWS. A steady application with one standby and predictable storage runs well on RDS and stays closer to community PostgreSQL.
Usually yes. Latency, private networking, identity and billing all favour keeping the database next to the application, unless a hard rule forces otherwise.
Yes. The provider switches the database, but only a test with your application connected shows whether pools, retries and background jobs recover without a person stepping in.
Next step
If you want the database choice tested before it is committed, book a solution review with Netbase.
Related services and solutions
AI-ready cloud platform engineering for SaaS and commerce workloads Netbase provides cloud platform engineering for SaaS and commerce teams that need a secure, repeatable home for their software and its AI features, on AWS, Google Cloud, DigitalOcean or Cloudflare. We design the architecture, write the environments as code, connect managed and AI services and hand over a platform your team can run, built the way we run ours.
Learn More
AI-assisted cloud migration with a cut-over plan and a way back Netbase provides cloud migration services for companies running business applications on ageing servers or hosting to move them to AWS, Google Cloud, DigitalOcean or Cloudflare without losing data or control. AI speeds up the code and dependency assessment; every migration still has an inventory, a rehearsed cut-over, cost controls from day one and a tested rollback point.
Learn More
AI-assisted DevOps and platform engineering for routine releases Netbase provides DevOps and platform engineering for SaaS and commerce teams to make releases routine instead of risky. We set up CI/CD pipelines, repeatable environments and observability on AWS, Google Cloud, DigitalOcean or Cloudflare, with AI assistance for tests, reviews and incident triage, so every change ships the same way and problems surface before customers notice.
Learn More
SaaS product accelerator: launch an AI-ready SaaS on proven Netbase modules A SaaS product accelerator is a set of reusable Netbase modules for accounts, billing, roles and integrations that helps founders and product teams launch subscription software faster, with room for in-product AI from the first release. Reusing these modules can shorten development time, and the approach is proven on Printcart, Netbase's own web-to-print SaaS.
Learn More
Work with Netbase remotely
Every Netbase engagement is delivered remotely, so clients in any country and any industry can work with us; Netbase has worked with clients in 80 countries. Contracts and invoices are issued by Netbase JSC, and payment is made by bank transfer to Netbase JSC's company account or PayPal Business. Talk to the CEO, Huy Nguyen (David), on WhatsApp or by email.
Discuss a project
Netbase JSC helps organizations design, build, modernize, and operate digital products and AI-enabled business systems.project@netbasejsc.com
+84 937 869 689
91 Nguyen Chi Thanh, Dong Da, Hanoi, Vietnam
Get in touch
Tell us what you want to build, modernize, or operate.