This topic describes the billing for Elastic Compute Service (ECS) images and provides examples on how to calculate image fees.
Billing overview
You may be charged for ECS images. The following table describes the billing rules for different types of images.
Image type | Billing rule |
Public images | Public images are provided by Alibaba Cloud and include open source and commercial images.
|
Custom images | Custom images are created from instances or snapshots or imported from your computer. The fees for custom images may include the following fees:
|
Shared images | Shared images are images that are shared with you by other Alibaba Cloud accounts. If you use a shared image that is derived from a paid image, you are charged a license fee for the shared image. For example, if you share Image A (paid image) with User B and User B uses Image A to create ECS instances, User B is charged a license fee for Image A. |
Alibaba Cloud Marketplace images | Alibaba Cloud Marketplace images are provided by independent software vendors (ISVs). The prices of Alibaba Cloud Marketplace images are displayed on the image product pages in Alibaba Cloud Marketplace. |
Community images | Community images are custom images that Alibaba Cloud community members made available for others to use. If a community image is derived from a paid image, you are charged a license fee when you use the community image to create ECS instances. |
Billing methods
You must select an image when you create an ECS instance. The image uses the same billing method and has the same billing duration as the ECS instance. The following table describes the billing methods.
Billing method | Billing rule |
Subscription: You must pay for an image before you can use the image. |
|
Pay-as-you-go: You can pay for resources after you use the resources. Fees are automatically deducted from the balance of your Alibaba Cloud account. |
|
You can use images only with ECS instances. Windows reserved instances include public images and can be applied to offset the license fees for the public images.
Billing examples
The following table provides examples on how to calculate image license fees. In the examples, an ECS instance in the China (Hangzhou) region is used. The ECS instance has 2 vCPUs and uses a RHEL 8.1 64-bit image.
The prices in the following table are only for reference. The actual prices on the Pricing tab of the Elastic Compute Service product page shall prevail.
Billing method | Billing item | Fee (USD) |
Subscription |
| License fee for the image = Unit price for the image × Subscription duration = 43.00 × 1 = 43 |
Pay-as-you-go |
| License fee for the image = Unit price for the image × Billing duration = 0.063 × (24 × 30) = 45.36 |
References
For more information about image billing, see FAQ about image fees.
For information about image types and how to use images, see Overview of images.