Billing methods

Updated at:

ApsaraDB for MyBase Community Edition currently supports only the pay-as-you-go billing method.

Billing method

Billing cycle

Billing formula

Pay-as-you-go

The billing cycle for the MyBase Community Edition service fee is one day. Alibaba Cloud generates a bill and charges you for the MyBase Community Edition service that you used on the previous day.

Bills are typically generated within 10 to 30 minutes after a billing cycle ends. After a bill is generated, the system automatically deducts the amount from your account balance if the balance is sufficient.

MyBase service fee = Number of managed instance resources × Unit price × Duration

Billing examples

Scenario 1

You create a MyBase cluster at 10:00. By 24:00 on the same day, no database instances are created in the cluster. The bill for this MyBase cluster on the next day is CNY 0.

Scenario 2

You create a MyBase cluster at 10:00 in the China (Hangzhou) region. At 11:00, you create instance A in the cluster. Instance A is a MySQL primary/replica instance with 1 vCPU and 2 GB of memory (one primary node and one replica node). At 14:00, you create instance B. Instance B is a MySQL primary/replica instance with 4 vCPUs and 16 GB of memory (one primary node and two replica nodes).

The management fees for instance A and instance B are calculated as follows:

  • Management fee for instance A = 1 vCPU × 2 nodes × (24 - 11)/24 × Daily unit price per vCPU + 2 GB of memory × 2 nodes × (24 - 11)/24 × Daily unit price per GB of memory.

    1 vCPU × 2 nodes × (24 - 11)/24 × CNY 0.24/vCPU/day + 2 GB of memory × 2 nodes × (24 - 11)/24 × CNY 0.036/GB/day = CNY 0.26 + CNY 0.078 = CNY 0.338

  • Management fee for instance B = 4 vCPUs × 3 nodes × (24 - 14)/24 × Daily unit price per vCPU + 16 GB of memory × 3 nodes × (24 - 14)/24 × Daily unit price per GB of memory.

    4 vCPUs × 3 nodes × (24 - 14)/24 × CNY 0.24/vCPU/day + 16 GB of memory × 3 nodes × (24 - 14)/24 × CNY 0.036/GB/day = CNY 1.2 + CNY 0.72 = CNY 1.92

On the next day's bill, the MyBase cluster fee is the sum of the management fees for instance A and instance B. The total fee is CNY 2.258 (CNY 0.338 + CNY 1.92).