You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Azure, your PostgreSQL Server workloads can run in a hosted virtual machine infrastructure as a service (IaaS) or as a hosted platform as a service (PaaS). PaaS has multiple deployment options, each with multiple service tiers. When you choose between IaaS and PaaS, you must decide if you want to manage your database, apply patches, and make backups, or if you want to delegate these operations to Azure.
18
18
19
-
When making your decision, consider the following three options in PaaS or alternatively running on Azure VMs (IaaS)
20
-
-[Azure Database for PostgreSQL Single Server](./overview-single-server.md)
19
+
When making your decision, consider the following option in PaaS or alternatively running on Azure VMs (IaaS)
21
20
-[Azure Database for PostgreSQL Flexible Server](../flexible-server/overview.md)
22
21
23
22
**PostgreSQL on Azure VMs** option falls into the industry category of IaaS. With this service, you can run PostgreSQL Server inside a fully managed virtual machine on the Azure cloud platform. All recent versions and editions of PostgreSQL can be installed on an IaaS virtual machine. In the most significant difference from Azure Database for PostgreSQL, PostgreSQL on Azure VMs offers control over the database engine. However, this control comes at the cost of responsibility to manage the VMs and many database administration (DBA) tasks. These tasks include maintaining and patching database servers, database recovery, and high-availability design.
24
23
25
24
The main differences between these options are listed in the following table:
26
25
27
-
|**Attribute**|**Postgres on Azure VMs**|**PostgreSQL as PaaS**|
28
-
|-----|-----|-----|
29
-
|**Availability SLA**|- [Virtual Machine SLA](https://azure.microsoft.com/support/legal/sla/virtual-machines)| - [Single Server and Flexible Server](https://azure.microsoft.com/support/legal/sla/postgresql)|
30
-
|**OS and PostgreSQL patching**| - Customer managed | - Single Server – Automatic <br> - Flexible Server – Automatic with optional customer managed window |
31
-
|**High availability**| - Customers architect, implement, test, and maintain high availability. Capabilities might include clustering, replication etc. | - Single Server: built-in <br> - Flexible Server: built-in |
32
-
|**Zone Redundancy**| - Azure VMs can be set up to run in different availability zones. For an on-premises solution, customers must create, manage, and maintain their own secondary data center.| - Single Server: No <br> - Flexible Server: Yes|
33
-
|**Hybrid Scenario**| - Customer managed |- Single Server: Read-replica <br> - Flexible Server: Not available during Preview |
34
-
|**Backup and Restore**| - Customer Managed | - Single Server: built-in with user configuration for local and geo <br> - Flexible Server: built-in with user configuration on zone-redundant storage |
35
-
|**Monitoring Database Operations**| - Customer Managed | - Single Server and Flexible Server: All offer customers the ability to set alerts on the database operation and act upon reaching thresholds.|
36
-
|**Advanced Threat Protection**| - Customers must build this protection for themselves. |- Single Server: Yes <br> - Flexible Server: Not available during Preview |
37
-
|**Disaster Recovery**| - Customer Managed | - Single Server: Geo redundant backup and geo read-replica <br> - Flexible Server: Not available during Preview |
38
-
|**Intelligent Performance**| - Customer Managed | - Single Server: Yes <br> - Flexible Server: Not available during Preview |
26
+
|**Attribute**|**Postgres on Azure VMs**|**PostgreSQL as PaaS**|
|**OS and PostgreSQL patching**| - Customer managed |- Flexible Server – Automatic with optional customer managed window|
30
+
|**High availability**| - Customers architect, implement, test, and maintain high availability. Capabilities might include clustering, replication etc. |- Flexible Server: built-in|
31
+
|**Zone Redundancy**| - Azure VMs can be set up to run in different availability zones. For an on-premises solution, customers must create, manage, and maintain their own secondary data center.| - Flexible Server: Yes |
32
+
|**Hybrid Scenario**| - Customer managed |- Flexible Server: Not available during Preview|
33
+
|**Backup and Restore**| - Customer Managed |- Flexible Server: built-in with user configuration on zone-redundant storage|
34
+
|**Monitoring Database Operations**| - Customer Managed | - Flexible Server: All offer customers the ability to set alerts on the database operation and act upon reaching thresholds |
35
+
|**Advanced Threat Protection**| - Customers must build this protection for themselves. |- Flexible Server: Not available during Preview|
36
+
|**Disaster Recovery**| - Customer Managed |- Flexible Server: Not available during Preview|
37
+
|**Intelligent Performance**| - Customer Managed |- Flexible Server: Not available during Preview|
39
38
40
39
## Total cost of ownership (TCO)
41
40
@@ -47,7 +46,7 @@ Azure Database for PostgreSQL is currently available as a service in several tie
47
46
48
47
With Azure Database for PostgreSQL, Microsoft automatically configures, patches, and upgrades the database software. These automated actions reduce your administration costs. Also, Azure Database for PostgreSQL has [automated backup-link]() capabilities. These capabilities help you achieve significant cost savings, especially when you have a large number of databases. In contrast, with PostgreSQL on Azure VMs you can choose and run any PostgreSQL version. However, you need to pay for the provisioned VM, storage cost associated with the data, backup, monitoring data and log storage and the costs for the specific PostgreSQL license type used (if any).
49
48
50
-
Azure Database for PostgreSQL Single Server provides built-in high availability at the zonal-level (within an AZ) for any kind of node-level interruption while still maintaining the [SLA guarantee](https://azure.microsoft.com/support/legal/sla/postgresql/v1_2/) for the service. Flexible Server provides [uptime SLAs](https://azure.microsoft.com/support/legal/sla/postgresql/v1_2/) with and without zone-redundant configuration. However, for database high availability within VMs, you use the high availability options like [Streaming Replication](https://www.postgresql.org/docs/12/warm-standby.html#STREAMING-REPLICATION) that are available on a PostgreSQL database. Using a supported high availability option doesn't provide an additional SLA. But it does let you achieve greater than 99.99% database availability at additional cost and administrative overhead.
49
+
Azure Database for PostgreSQL Flexible Server provides built-in high availability at the zonal-level (within an AZ) for any kind of node-level interruption while still maintaining the [SLA guarantee](https://azure.microsoft.com/support/legal/sla/postgresql/v1_2/) for the service. Flexible Server provides [uptime SLAs](https://azure.microsoft.com/support/legal/sla/postgresql/v1_2/) with and without zone-redundant configuration. However, for database high availability within VMs, you use the high availability options like [Streaming Replication](https://www.postgresql.org/docs/12/warm-standby.html#STREAMING-REPLICATION) that are available on a PostgreSQL database. Using a supported high availability option doesn't provide an additional SLA. But it does let you achieve greater than 99.99% database availability at additional cost and administrative overhead.
51
50
52
51
For more information on pricing, see the following articles:
53
52
-[Azure Database for PostgreSQL pricing](https://azure.microsoft.com/pricing/details/postgresql/server/)
0 commit comments