This topic describes the database proxy tiers available on Alibaba Cloud and AWS, the free Shared tier quota, and pricing for the Exclusive tier.
Background information
Database proxy configuration and billing rules are being updated in stages by cloud provider. Alibaba Cloud and AWS both bill Exclusive proxies based on the number of vCPUs per proxy node, the number of nodes, and the hours of use. Alibaba Cloud's price per vCPU-hour remains the same.
Tiers
The database proxy service offers Shared, Fusion, and Exclusive tiers.
Shared tier
Shared proxy clusters use compute resources shared with other customers and are suited to workloads with steady traffic. OceanBase Cloud provides a free quota based on the CPU capacity of your OceanBase cluster. The total number of vCPUs across all Shared proxy nodes can be up to one quarter of the total vCPUs across the database cluster's full-featured replicas. The smallest Shared proxy node has 1 vCPU.
For example, an OceanBase cluster with 16 vCPUs in each of two zones (1-1) has a Shared tier quota of 16 × 2 ÷ 4 = 8 vCPUs. This covers one Shared proxy cluster with a 4-vCPU node in each zone, or two Shared proxy clusters with a 2-vCPU node in each zone.
Fusion tier
A Fusion proxy cluster shares compute resources with your OceanBase cluster. Its vCPUs do not count toward the free Shared tier quota.
Suppose you have the 8-vCPU quota from the example above, three Shared proxy clusters with one 2-vCPU node in each of two zones, and a 6-vCPU Fusion proxy cluster. The Shared proxy clusters use 2 × 2 × 3 = 12 vCPUs, which puts you 4 vCPUs over quota. To create another Shared proxy cluster or scale up an existing one, first release enough Shared capacity to keep the total at or below 8 vCPUs after the change.
Exclusive tier
Exclusive proxy clusters use dedicated compute resources and are suited to high-concurrency, high-traffic workloads. You can adjust the node size as your workload changes.
Note
On Alibaba Cloud, you can adjust the maximum number of connections for each proxy endpoint on all three tiers. The default for the Exclusive tier is 5,000 connections per endpoint. For instructions, see Modify the maximum number of connections for a tenant proxy.
Billing for Exclusive tier
Total cost = price per vCPU-hour × vCPUs per proxy node × number of proxy nodes × hours of use.
Pricing
Note
- The table lists the reference rate for 1 vCPU with 2 GiB of memory in a single zone, by cloud provider and region.
- Rates may change over time. Check the order page for the current price in your region.
Cloud vendor |
Region |
Resource billing unit |
Price per vCPU-hour (USD) |
|---|---|---|---|
| AWS | Regions except São Paulo | 1 vCPU (1 vCPU, 2 GiB memory) | 0.120 |
| São Paulo | 1 vCPU (1 vCPU, 2 GiB memory) | 0.1550 | |
| Alibaba Cloud | Hong Kong (China), Frankfurt, Manila, Malaysia (Kuala Lumpur), US (Silicon Valley), US (Virginia) | 1 vCPU (1 vCPU, 2 GiB memory) | 0.140 |
| Chinese mainland regions | 1 vCPU (1 vCPU, 2 GiB memory) | 0.09 |
Billing examples
Cloud provider |
Exclusive proxy configuration |
Cost (USD/hour) |
|---|---|---|
| AWS (São Paulo) | Primary-standby deployment across two zones, with one 1-vCPU, 2-GiB node in each zone | 0.1550 × 1 × 2 = 0.31 |
| Alibaba Cloud (Frankfurt) | Two nodes, each with 8 vCPUs and 16 GiB of memory | 0.140 × 8 × 2 = 2.24 |