Changing the configuration of an ApsaraDB for MongoDB instance affects your bill differently depending on whether the instance uses pay-as-you-go or subscription billing.
For the full price list, see Pricing.
Pay-as-you-go instances
The minimum charging period is one hour. After a configuration change takes effect, the instance is charged at the new configuration's price.
Subscription instances
How a configuration change is billed depends on whether you are upgrading or downgrading.
Upgrade immediately
When you upgrade a subscription instance, you pay the difference in cost for the remaining subscription period.
Formula:
Payment = (Monthly price of new configuration / 30 / 24 × Unused hours) − (Monthly price of original configuration / 30 / 24 × Unused hours)
| Variable | Description |
|---|---|
| Monthly price of new configuration | The per-month list price of the upgraded configuration |
| Monthly price of original configuration | The per-month list price of the current configuration |
| Unused hours | The number of hours remaining in your subscription period |
Example:
| Value | |
|---|---|
| Monthly price, new configuration | USD 14,400 |
| Monthly price, original configuration | USD 7,200 |
| Remaining subscription period | 50 days (1,200 hours) |
| Payment | (14,400 / 30 / 24 × 1,200) − (7,200 / 30 / 24 × 1,200) = USD 12,000 |
Downgrade immediately
When you downgrade a subscription instance, you receive a refund for the difference in cost over the remaining subscription period.
Formula:
Refund = (Monthly price of original configuration / 30 / 24 × Unused hours) − (Monthly price of new configuration / 30 / 24 × Unused hours)
Refund = Total price of the original configuration for the remaining subscription period (Monthly price of the original configuration / 30 / 24 × Remaining hours) - Total price of the new configuration for the remaining subscription period (Monthly price of the new configuration / 30 / 24 × Remaining hours)
Example: You subscribed to an instance for three months for a fee of 3,500. You paid 3,000 after using a coupon. After two months, the price for the remaining duration is 1,000. The price of the new configuration for one month is 800. The refund is calculated as follows: 1,000 - 800 = 200.
| Variable | Description |
|---|---|
| Monthly price of original configuration | The per-month list price of the current configuration |
| Monthly price of new configuration | The per-month list price of the downgraded configuration |
| Unused hours | The number of hours remaining in your subscription period |
Example:
| Value | |
|---|---|
| Original 3-month subscription price | USD 3,500 (paid USD 3,000 after coupons) |
| Remaining period | 1 month |
| Remaining fees at original configuration rate | USD 1,000 |
| Remaining fees at new configuration rate | USD 800 |
| Refund | 1,000 − 800 = USD 200 |
A downgrade refund applies to the configuration change only, not the entire instance. To request a refund for the full instance, submit a ticket.
You may receive a smaller refund if you downgrade an instance immediately after an upgrade in the following two scenarios:
- The upgrade order included a discount. For example, if you subscribe for one year at a 15% discount, you pay 850 for a service with a list price of 1,000. A refund for a subsequent downgrade is calculated based on the 850 that you paid.
- The upgrade order was paid for with a coupon. When you downgrade, the refund for the original configuration is based on the cash amount that you paid and excludes the value of the coupon. However, during an upgrade, the value of the original configuration is calculated based on its list price, which includes the value of the coupon.
How discounts and coupons affect refunds
If you upgrade and then downgrade a subscription instance, previous discounts or coupons may reduce your refund amount. The two scenarios below describe how this happens.
Scenario 1: You used a discount on the upgrade order
Refunds are calculated based on the cash you actually paid, not the full list price.
For example, if you subscribed for a year at a 15% discount and paid USD 850 for USD 1,000 worth of service, a subsequent downgrade refund is calculated based on USD 850.
Scenario 2: You used coupons on the upgrade order
When calculating a downgrade refund, the original configuration's remaining value is based on the cash you paid (excluding the coupon amount). However, the original configuration's cost in the upgrade calculation is based on its full unit price (including the coupon amount).