Leave Azure Database for PostgreSQL flexible server and keep the data in your Azure subscription
Typical situation: a public-sector agency on Azure Database for PostgreSQL flexible server that needs settings, extensions or an upgrade calendar the managed service does not give it, and cannot move to another cloud or vendor account. OSStend builds a dedicated PostgreSQL cluster inside your Azure subscription and VNet, subscribes it to the flexible server with logical replication and cuts over with the old server kept for rollback. The prerequisite on Azure is a parameter change: wal_level must be set to logical and the server restarted. On Azure's public retail list, a memory-optimized E8ds_v5 compute (8 vCores) in East US is $1.00 an hour, and storage is $0.115 per GB-month (read 23 Nov 2026). Compare the move pattern with RDS to PostgreSQL.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓Move
- ✓Azure PostgreSQL
- ✓Your cloud account
- Source
- Azure Database for PostgreSQL flexible server
- Target
- Dedicated cluster in your subscription
- Method
- Logical replication
- Azure prerequisite
- wal_level = logical, then restart
- Typical timeline
- 4 to 8 weeks
Typical situation
Trigger. The agency needs extensions, settings and upgrade timing beyond the managed menu, and must stay in Azure.
Versions. Azure flexible server PostgreSQL 15 or 16 to a dedicated 16 or 17 cluster.
- Data stays in your subscription and region
- Private networking only
- Your identity provider and keys
A typical situation, not a named customer.
To leave Azure Database for PostgreSQL flexible server, set wal_level to logical, restart, grant the replication role, create a publication and subscribe a dedicated cluster in your Azure subscription. The old server stays live until cutover. East US list prices: E8ds_v5 at $1.00 an hour, storage $0.115 per GB-month.
Customers
Partners
- PostgreSQL
- MySQL
- MongoDB
- Redis
Valkey
- OpenSearch
- Kafka
- RabbitMQ
- AWS
- Google Cloud
- Azure
- Kubernetes
- OpenShift
- Prometheus
- Grafana
- Datadog
- Dynatrace
- Splunk
What OSStend runs and what you keep
Inside your subscription, the account and network are yours, and OSStend operates the database on top.
| Area | OSStend | You |
|---|---|---|
| Cluster design | An engineer writes the design: size, replica layout, versions, extensions and settings. You sign it off before anything is built. | Approve the design and name the change windows. |
| Build and move | Builds the target and owns the move, with both sides live until you switch. | Point the application at the new endpoint on the agreed day. |
| Backups and recovery | Base backups, continuous WAL archiving and restore tests, with point-in-time recovery. | Say how far back you must be able to recover. |
| Failover | Detects a dead primary and promotes a replica; checks the old primary before it rejoins. | Use connection retry in the application. |
| Upgrades and patching | Minor releases and major upgrades on your change calendar. | Set the freeze dates. |
| Monitoring and on call | Replication lag, oldest transaction ID age, bloat, WAL archiving and disk, with engineers on call 24/7. | Receive the alerts you want forwarded. |
| Application and schema | Advice on queries and indexes found during the review. | Your schema, your queries, your releases. |
| Contract | One contract, one on-call team, price quoted per design. | Own the subscription, VNet and policies, and pay Azure for the infrastructure. |
Where it can run
Your Azure subscription is the placement for this page. PostgreSQL's licence allows it, and the same design runs in other clouds if policy changes.
| Option | When it fits | Licence and source |
|---|---|---|
| Your cloud account | Data and policy must stay in your Azure subscription. | PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs. |
| Our cloud | Policy allows a hosted dedicated cluster. | PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs. |
| Your data center | A later move to on-premises. | PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs. |
How the move works
Microsoft documents the server parameters and role grants logical replication needs. The restart is a planned maintenance step.
Review (1 to 3 days)
Extensions on the azure.extensions allow-list, server parameters, networking and sizes are inventoried.
Design and sign-off (3 to 7 days)
Version, VM sizes, disks, zones, backups and keys are written down.
Prepare the source (1 day)
wal_level is set to logical, max_worker_processes checked, the server restarted, and the replication role granted.
Build and subscribe (1 to 3 weeks)
The cluster is built in your VNet, the schema is copied and the subscription runs.
Verify and cut over (one change window)
Lag is zero, sequences are set and the application reconnects.
Run (from cutover)
Engineers run it 24/7; the flexible server stays for rollback.
Time ranges are typical for databases of this size and are fixed in the design you sign off. The method, the order and the checks do not change with the range.
Cost basis
On Azure's public list, compute is billed per vCore-hour and storage per GB-month, and a backup beyond the free allocation is billed separately. OSStend's fee is quoted per design.
Azure Retail Prices API, East US, pay as you go, read 23 Nov 2026. Azure Government and other regions have their own prices, so check yours.
| Line | Arithmetic | Monthly |
|---|---|---|
| E4ds_v5, 4 vCores, 32 GiB | $0.50 x 730 | $365.00 |
| E8ds_v5, 8 vCores, 64 GiB | $1.00 x 730 | $730.00 |
| Storage, 1,024 GB | 1,024 x $0.115 | $117.76 |
| E8ds_v5 plus 1,024 GB | $730.00 + $117.76 | $847.76 |
| Backup storage beyond free, per GB | $0.095 | Per GB-month |
| OSStend dedicated cluster | Quoted per design | Quoted per design |
Labelled arithmetic from the Azure Retail Prices API, serviceName Azure Database for PostgreSQL, eastus, checked 23 Nov 2026. High availability adds a standby; its charge is not shown here. Excludes transfer and taxes.
What we watch on call
Azure's managed layer hides some details that matter during a move. We check these early.
- Extension allow-list.
- Extensions must be allowed on the source and installed on the target. Signal: CREATE EXTENSION errors.
- Restart not scheduled.
- wal_level changes need a restart. Signal: pending parameter change.
- Worker slots.
- Too few background workers block subscriptions. Signal: out of background worker slots.
- Private networking.
- Replication needs a path between VNets. Signal: connection timeouts.
- Slot growth.
- Signal: slot lag bytes and source storage.
When OSStend is not the right fit
A move helps when the managed menu blocks you but the cloud must stay Azure. If the menu holds, staying is simpler.
Contact us if
- ✓You need settings or extensions flexible server does not allow.
- ✓Policy requires Azure and your own subscription.
- ✓You want an upgrade calendar you control.
Not a fit if
- ✕Flexible server meets every requirement.
- ✕You want to leave Azure; a different placement fits better.
- ✕You cannot take a restart for the parameter change.
Questions buyers ask
What must change on the Azure server first?
Set wal_level to logical, raise max_worker_processes as needed, restart and grant the replication role (Microsoft Learn, checked 23 Nov 2026).
Will data leave Azure?
No, not in this design. The cluster runs in your subscription and region.
How much does Azure charge?
See the table above: E8ds_v5 lists at $1.00 an hour in East US, plus $0.115 per GB-month of storage.
Plan your Azure exit with an engineer
Share your server size and extensions. An engineer will outline the move.
- ✓A design sketch for your workload, not a plan menu
- ✓A zero-downtime cutover path for what you run today
- ✓A price for that design, after the review





