This topic describes items related to ECS billing, such as billable resources, billing methods, and payment methods.

The price of an ECS resource may vary depending on regions. For more information about ECS resource prices, see Pricing.

Billable resources

ECS comprises the following major components: instances, images, Block Storage devices, snapshots, security groups, and networks. For more information, see What is ECS?.

The following table describes billable ECS resources.
Resource Description
ECS instance You are billed based on the instance type that you choose. The instance type determines the number of vCPUs and the size of memory that you can use.
Note If you select an instance type that is equipped with local disks, the price of the instance type contains the price of local disks.
Image Images are classified into the following types:
  • Public image
    • Windows Server: The price is subject to the instance type that you choose. For more information, see the buy page.
    • Red Hat Enterprise Linux: These images incur fees. For more information, see the buy page.
    • Other images: free of charge.
  • Alibaba Cloud Marketplace image: The price is subject to the pricing standards of image providers.
  • Custom image
    • If a custom image is obtained from a free public image or Alibaba Cloud Marketplace image, the image fee is the fee incurred by the snapshot used to create the custom image. Snapshots are charged based on storage space usage.
    • If a custom image is obtained from a paid public image or Alibaba Cloud Marketplace image, the image fee is the fee incurred by the snapshot used to create the custom image. Snapshots are billed based on storage space usage. If you use a custom image to create an ECS instance, you are also charged for the image.
  • Shared image
    • If a shared image is obtained from a free public image or Alibaba Cloud Marketplace image, the shared image is free of charge.
    • If a shared image is obtained from a paid public image or Alibaba Cloud Marketplace image, you are also charged for the shared image if you use it to create an ECS instance. If you never use the image, you are not billed.
Block Storage device Alibaba Cloud provides the following types of Block Storage devices:
  • Cloud disks: Cloud disks are billed based on their storage capacity. You can use cloud disks as system disks or data disks.
  • Local disks: Local disks are billed based on their storage capacity. You can use local disks only as data disks. You cannot purchase a separate local disk. Local disks created together with an ECS instance have the same billing method as the ECS instance.

    Instance families that are equipped with local disks include d1ne, d1, i2, i2g, i1, gn5, and ga1. For information about instance families, see Instance families.

Public bandwidth An ECS instance can access the Internet through the following methods:
  • Use the public IP address allocated by the system: Retained public IP addresses do not incur fees. You are only charged for public bandwidth. For more information, see Billing methods of public bandwidth.
  • Use the Elastic IP Address (EIP): EIP is an independent service. For more information, see Billing overview.
  • Use the NAT gateway: NAT Gateway is an independent service. For more information, see Billing method.
Snapshot Snapshots are billed based on the storage space usage.

Billing methods

ECS instances mainly support the following billing methods: subscription and pay-as-you-go.
  • Subscription: a billing method that allows you to use an instance only after you pay for the instance. Subscription is applicable to the services that run for 24 hours a day and 7 days a week, such as web services. For more information, see Subscription.
  • Pay-as-you-go: a billing method that allows you to pay for an instance after you use the instance. Pay-as-you-go is applicable to scenarios where traffic spikes occur, such as temporary scaling, interim testing, and scientific computing. For more information, see Pay-as-you-go.

For more information about the difference between subscription and pay-as-you-go, see Billing method comparison.

Resource Billing method
ECS instance
  • Subscription
  • Pay-as-you-go

    If you plan to make a long-term commitment with pay-as-you-go ECS instances, you can purchase reserved instances to offset your bill. This method is more flexible and cost-effective. For more information, see Reserved instance overview. For more information about the billing details of reserved instances, see Reserved instance billing.

  • Preemptible instance

    Preemptible instances are a type of on-demand instances that reduce overall ECS instance costs. Preemptible instances may be reclaimed. You can use auto provisioning groups to alleviate the instability caused by reclaiming preemptible instances. For more information, see Auto provisioning overview.

Image
  • Subscription
  • Pay-as-you-go

Images can only be used along with ECS instances. Windows-based reserved instances can be used to offset image bills.

Disk
  • Subscription
  • Pay-as-you-go
The billing methods of cloud disks depend on how they are created.
  • Cloud disks created along with an ECS instance have the same billing method as the ECS instance.
  • Cloud disks created for a subscription ECS instance use the subscription billing method.
  • Cloud disks created on the Disks page of the ECS console support only pay-as-you-go.
  • Cloud disks created from snapshots support only pay-as-you-go.

You can change the billing methods of your cloud disks based on your needs. For more information, see Convert the billing methods of cloud disks.

Public bandwidth If your ECS instance accesses the Internet by using a public IP address, the billing methods are as follows:
  • Pay-by-bandwidth
    Fees are calculated based on the bandwidth that you specified. Based on the billing methods of ECS instances, the following billing methods for network usage are supported:
    • Subscription
    • Pay-as-you-go
  • Pay-by-traffic

    You are billed based on the traffic that you actually used on an hourly basis.

You can enable public bandwidth when you create an ECS instance, or enable public bandwidth by using the upgrade or downgrade feature after you create an ECS instance. For more information, see Billing methods of public bandwidth.

Snapshot

Pay-as-you-go.

For more information, see Snapshot billing.

Payment methods

You can use the following methods to pay for ECS resources:
  • Bank card
  • PayPal

    Alibaba Cloud pre-authorizes your PayPal account after your pay-as-you-go resources start to incur fees.

  • Paytm (India)

    Only for users in India. Alibaba Cloud pre-authorizes your Paytm account after your pay-as-you-go resources start to incur fees.

Note Coupons are used to pay for your resource usage before bills are issued. No actual payments are involved.

Before you purchase ECS resources, you must bind a bank card, PayPal account, or Paytm (India) account to your Alibaba Cloud account. For more information, see in Account Management Add a payment method.

If you want to purchase ECS resources in mainland China, you must complete real-name verification. For more information, see of Account Management in Real-name registration FAQs the How can I complete real-name registration? section.