This topic describes the billing items and billing methods of Cloud Storage Gateway (CSG).

For more information about the pricing of CSG resources, see Pricing of CSG.

Billing items

CSG includes in-cloud gateways and local gateways. The billing items of these gateways are different.

  • In-cloud gateways

    Gateways deployed in Alibaba Cloud are billed based on the specifications and cache types of the gateways.

  • On-premises gateways

    Gateways deployed on the premises run with your own virtual machines and cache resources. Alibaba Cloud only charges for the gateway software license.

Billing methods

CSG supports the subscription and Pay-As-You-Go billing methods.

  • The system runs the Pay-As-You-Go billing method in this way: Actual consumption × Unit price. The actual consumption is calculated by hour, and the charges for the actual consumption are deducted from your account balance. For example, if you receive a bill at 9:30, the bill covers the charges for the consumption from 8:00 to 9:00.
    Note The billing system has a latency, so you may not timely obtain the bill for the previous hour. For example, the bill you view at 9:30 may cover the consumption from 7:00 to 8:00.
  • You can also use the subscription billing method. The corresponding purchase plan provides more discounts than the Pay-As-You-Go billing method.

Other charges

When you use the CSG service, you may be charged for other services as follows:

  • OSS

    You own the Object Storage Service (OSS) resources in CSG, so you have to pay for the charges for access to OSS from CSG. These charges include storage fees, traffic fees, request fees, and data retrieval fees. For more information, see Pricing of OSS.

    • Storage fees: Files written to gateways are uploaded to OSS, and consume the storage space of OSS.
    • Traffic fees: If you select an internal endpoint of OSS, no read and write traffic fees are incurred. If you select a public endpoint of OSS, you have to pay for outbound traffic over the Internet when you read files from gateways.
    • Request fees: You have to pay for requests when you upload or download files through a file gateway or a block gateway. If remote synchronization is enabled, when you open a folder, the file gateway retrieves a list of files and metadata from the corresponding OSS bucket. This process results in request fees. A block gateway uploads files in the way of fixed-size slices. To upload large files, the gateway generates more slices, and causes the corresponding request fees.
    • Data retrieval fees: You have to pay for the retrieval of data from an OSS bucket. The amount of data transmitted over the Internet is included in the billing items of outbound traffic over the Internet. You can run the restore command to restore an archived object. After the object is restored, the data retrieval fees are charged based on the amount of restored data. Afterward, if you run the restore command again, no data retrieval fees are incurred.
      Note Data retrieval fees are only applicable to OSS objects of infrequent access and archive types.
  • Log Service

    If you have enabled Log Service for the CSG service, Log Service collects system logs from CSG, and stores them in the specified Logstore. Fees are charged for this process. For more information, see Pricing of Log Service.

  • KMS

    If you have enabled encryption for the OSS service, when you access OSS through CSG, you must call the Key Management Service (KMS) API operations to query and generate keys, and to encrypt and decrypt data stored in OSS with the keys. Fees are charged for these operations.