You can choose an appropriate billing method based on the Elastic Compute Service (ECS) resource types. This topic describes all billing methods used in ECS, compares the subscription and pay-as-you-go billing methods, and elaborates the cost-effective billing methods such as preemptible instance and savings plans.

Basic billing methods

An ECS instance includes computing resources (vCPUs and memory), an image, and Elastic Block Storage (EBS) devices, and uses one of the following basic billing methods: subscription, pay-as-you-go, or preemptible instance. The following table describes the applicable resources and scenarios of each billing method.

Billing methodApplicable resourcesDescriptionReferences
Subscription
  • Computing resources (vCPUs and memory)
  • Image
  • Disk
  • Public bandwidth
A billing method that allows you to use ECS resources only after you pay for them. Subscription is applicable to services that run for 24 hours a day and seven days a week, such as web services. You must pay for subscription resources before you can use them. Subscription
Pay-as-you-go
  • Computing resources (vCPUs and memory)
  • Image
  • Disk
  • Public bandwidth
  • Snapshot
A billing method that allows you to use ECS resources and pay for them afterwards. Pay-as-you-go is applicable to applications or services that experience traffic spikes, such as temporary scaling, interim testing, and scientific computing. You can activate and use pay-as-you-go resources before you pay for them. The system generates bills in each billing cycle and deducts corresponding fees from your account. Pay-as-you-go
Preemptible instanceComputing resources (vCPUs and memory)Preemptible instances are on-demand instances that you can use before you pay for them. Preemptible instances offer some discounts compared with pay-as-you-go instances and are charged based on the actual usage duration. Prices of preemptible instances fluctuate based on the changes in supply and demand. Preemptible instances
Subscription instances, pay-as-you-go instances, and preemptible instances support different features. The following table describes the differences.
FeatureSubscription instancePay-as-you-go instancePreemptible instance
Release instances
  • To release an instance before it expires, you must first change its billing method from subscription to pay-as-you-go.
  • If you do not renew an instance within the required period of time after the instance expires, the instance is automatically released.
Supported.

Release pay-as-you-go instances that you no longer need at the earliest opportunity. If you do not release them, the ECS resources continue to incur charges until the instances are stopped and released due to overdue payments.

Supported. The system may also release an instance when the market price exceeds your bid or when the resources of the instance are insufficient.
Change instance typesSupported. Supported. Not supported.
Change bandwidth configurationsSupported. Supported. Not supported.
Change billing methodsSupported. Supported. Not supported.
Use subscription images from Alibaba Cloud MarketplaceSupported. Not supported. Not supported.
Apply for ICP filings for websites that are deployed on ECS instances in the Chinese mainlandSupported.
You can apply for ICP filings only for ECS instances that have a subscription period of at least three months.
Note Public bandwidth must be purchased for the ECS instances.
Not supported. Not supported.
Create instances by calling API operationsSupported. Supported. Supported.
Use Security Center Basic and CloudMonitor BasicSupported. Supported. Supported.

Cost-effective combinations of billing methods

In addition to subscription, pay-as-you-go and preemptible instance, Alibaba Cloud provides some combinations of billing methods for different ECS resources to reduce costs. You can use a proper combination of billing methods based on your business requirements.
Billing methodApplicable resourcesDescriptionReferences
Reserved instance
  • Compute resources (vCPUs and memory)
  • Image
Reserved instances are coupons that can be used to offset the bills of pay-as-you-go instances. Reserved instances
SCU
  • Disk
  • Snapshot
Storage capacity units (SCUs) are storage resource plans that can be used to offset the bills of different pay-as-you-go storage resources. Storage capacity units
Data transfer planPublic bandwidthData transfer plans are effective and economical solutions that can be used to offset the bills of IPv4 data transfers generated by pay-as-you-go instances. Data Transfer Plan

Switch between billing methods

If the billing methods of your purchased resources do not meet your business requirements, you can change the billing methods. The following table describes ECS resources whose billing methods can be changed.
ResourceDescriptionReferences
InstanceWhen you change the billing method of an ECS instance, the billing methods of its computing resources (vCPUs and memory) and system disk are also changed.
  • You can change the billing method of an ECS instance from subscription to pay-as-you-go. This allows you to recover a portion of the subscription costs and use the instance in a more flexible manner.
    Note Alibaba Cloud determines whether the billing method of your instance can be changed based on your instance usage. You can check whether the corresponding button or menu item for the billing method switching operation exists in the ECS console. If the corresponding button or menu item does not exist, the billing method of the instance cannot be changed.
  • You can change the billing method of an ECS instance from pay-as-you-go to subscription. This allows you to obtain some discounts.
Disk
  • The billing methods of data disks that are attached to a subscription instance can be separately changed.
  • The billing methods of the system disk and data disks that are attached to a pay-as-you-go instance must be changed together with that of the instance.
Public bandwidthFor an instance that uses a system-assigned public IP address, you can change the billing method for network usage by upgrading or downgrading the instance specifications.Change the billing method of network usage