This topic describes the billing items and pricing of ApsaraDB for MongoDB.

Warning Your instances may be stopped in case of expiration or overdue payment. You will be notified in such cases. Then you must renew or pay the instances in a timely manner to ensure service availability.

Billing items and billing rules

Instance type Billing item Billing rule
Standalone instance

Replica set instance

  • Instance fee
  • Disk fee

For more information about billing rules, see ApsaraDB for MongoDB Pricing.

Sharded cluster instance
  • Mongos node fee
  • Shard node fee
  • Shard node disk fee
  • Configserver node fee
  • Configserver node disk fee

Billing methods

Billing method Expiration or overdue payment Renewal Configuration change
Subscription:

You must pay the subscription fee when you create an instance.

When the subscription expires, your instance is still available for 15 days. After that, the instance is locked and its data is retained for 15 days.

No fee is charged when your instance is locked.

If you do not renew the subscription, your instance will be released 30 days after the expiration date, and the data on the instance will be permanently deleted.

You can renew the subscription before the expiration date or within 30 days after the expiration date.

After you renew the subscription, the instance is billed based on the new configurations and subscription duration.

  • During the contract period, you can only upgrade the configurations of a subscription instance, but cannot downgrade the configurations or release the instance.
  • Upgrade fee = Daily price difference of an instance before and after the upgrade × Number of remaining days from the upgrade date to the expiration date
  • If the remaining validity period of an instance is greater than or equal to 356 days, its price after the upgrade is calculated on a yearly basis.
  • If the remaining validity period of an instance is less than 356 days, its price after the upgrade is calculated on a monthly basis. The remaining validity period of this instance lasts until its expiration date.
Pay-as-you-go:

A bill is generated per hour based on the configurations of an instance and money is collected from your account.

If your account balance is insufficient, all pay-as-you-go instances that belong to your account become overdue.

When the subscription expires, your instance is still available for 15 days. After that, the instance is locked. The instance will be released when the payment has been overdue for more than 30 days. The data on the released instance will be permanently deleted.

After the instance has been released for seven days, its backup data is permanently deleted. Within seven days after the instance is released, the data that has exceeded the specified retention period is deleted in half an hour.

Pay-as-you-go instances are billed based on the service duration and no renewal is required. Make sure that your account has a sufficient balance.
  • You can release a pay-as-you-go instance and downgrade or upgrade its configurations. For more information, see Configuration change overview.
  • You can directly change the billing method of a pay-as-you-go instance to subscription. The new billing method takes effect immediately.