Azure Database for PostgreSQL runs the community PostgreSQL engine as a managed Azure service. The main deployment resource is a Flexible Server, which provides compute, storage, connection endpoints, and server-level configuration for one or more databases. Databases on the same server share its resources, so separate servers are appropriate when workloads need independent scaling, maintenance, or isolation. Applications connect using PostgreSQL drivers and tools such as psql, JDBC, Npgsql, and psycopg.
Choose among Burstable, General Purpose, and Memory Optimized compute tiers according to sustained CPU demand, concurrency, and memory requirements. Burstable configurations suit intermittent workloads, while production systems with steady demand generally need predictable compute capacity. Compute can be resized, but applications should tolerate connection interruptions during infrastructure changes. Storage capacity, throughput, connection counts, and query behavior must be evaluated together rather than treating vCore count as the only sizing variable.
Microsoft manages the underlying infrastructure, operating system, database patching, and automated backups. Engineers still manage schemas, indexes, database roles, query tuning, and application compatibility. Administrative accounts do not receive unrestricted PostgreSQL superuser access, and only supported extensions and exposed server parameters are available. Validate extension dependencies and privileged operations before migrating an existing database.
Optional high availability maintains a synchronously replicated standby, with same-zone or zone-redundant configurations where supported. The standby is a failover resource, not a reporting endpoint. Read replicas use asynchronous replication and can offload read-only traffic or support cross-region recovery, but replication lag means they are unsuitable for reads that require immediate visibility of every committed write. Applications need reconnection logic and bounded retries for transient faults and failovers.
Automatic backups support point-in-time recovery with a default retention period of seven days, configurable up to 35 days. Recovery creates a new server rather than rewinding the existing server in place. Geo-redundant backups, where supported and selected at creation, provide another recovery path for regional failures. Backups, high availability, and cross-region replicas address different risks; define recovery objectives and test each chosen recovery procedure.
Secure deployments use private connectivity where appropriate, correctly configured DNS, TLS certificate validation, and least-privilege database roles. Data at rest is encrypted, and TLS is enforced by default. Monitor resource utilization, storage growth, connections, replication lag, and slow queries. For connection-heavy applications, enable built-in PgBouncer on supported configurations and test pooling compatibility. Development servers can be stopped to avoid compute charges, but storage remains billable and stopped servers automatically restart after seven days.