All Products
Search
Document Center

Function Compute (Subscription)

Last Updated: Dec 31, 2019

Function Compute (subscription)

Function Compute supports subscription. You can purchase a resource consumption plan for a certain duration in advance. Within its lifecycle, the resource consumption plan is deducted by second for the resources consumed by the execution of a function. By subscribing to Function Compute, you can spend less money on the same resources, substantially reducing your costs.

What is a resource consumption plan?

  • Purpose: A resource consumption plan is deducted by second within its lifecycle when a Function Compute instance consumes resources during the execution of the function.
  • Unit: CU. 1 CU is equal to 1 GB of memory, which means that a resource consumption plan of 1 CU can match the 1 GB*s of resources consumed in each second.
  • Type: constant. If the resource consumption plan is not upgraded within its lifecycle, the resource consumption plan is deducted for resources consumed in each second in a constant manner, and not in a decreasing manner. The nature of the resource consumption plan is similar to bandwidth, but not to a data transfer plan.
  • Regional restriction: Your resource consumption plan can only be used in the region that is specified when you purchase the resource consumption plan.
  • Matching objects: A resource consumption plan can match both resources purchased with subscription and pay-as-you-go resources.

For example, the following figure shows a new order page for Function Compute (subscription). If you have purchased 3 CUs for one month in the China (Shenzhen) region, 3 GBs resources can be consumed in each second within one month. If the resources actually consumed by your instance in one second do not exceed 3 GBs, you do not need to pay again for the resources consumed in this second. Otherwise, you need to pay for the part of resources that exceeds 3 GB*s. If the resource consumption plan is not fully used in one second, it will not be accrued to the next second.1

Features

Order ID: An order is generated when a request for a new order, renewal, or upgrade is initiated. Each order has a globally unique ID.

Instance ID: An instance ID is generated for each new order. This ID is used in all subsequent operations, such as renewal and upgrade, for the order, and is a unique ID that is used in the entire lifecycle of the new order.

Pricing

Unit Price
1 CU*month 12.16USD

Purchase restrictions

Limit on the number of CUs in a resource consumption plan: Function Compute has no limit on the number of CUs in a resource consumption plan. Currently, the only limit is on the maximum number of CUs that can be purchased for a single order, which is 5,000 CUs. If you need more than 5,000 CUs, you can place multiple orders to increase the total number of CUs in the resource consumption plan for a single region. If you feel it is inconvenient to manage multiple orders, contact us by submitting a ticket and we will adjust the upper limit on the number of CUs in the resource consumption plan for a single order based on your requirements.

FAQ

  • When will my resource consumption plan take effect?

    There is a slight delay after you successfully pay for the resource consumption plan and before the resource consumption plan takes effect, of about 1 to 15 minutes. The effective lifecycle starts counting when the resource consumption plan takes effect, but not when you successfully pay for the resource consumption plan.

  • How can I identify whether the resource package takes effect after I purchase a resource consumption plan?

    After purchasing the resource consumption plan, you can log on to the Function Compute console and click Resource Center in the left-side navigation pane. On the Resource Center page, view the Purchased Resources list, which displays active instances. If you do not know whether the resources that you subscribed to have taken effect, contact us and we will check this for you. If the resource consumption plan does not take effect for up to 4 hours due to system reasons, we will refund the full amount. After receiving the refund, you can make another purchase.

  • If I purchase a resource package of one month or one year, when will the resource package expire?

    • Subscription by months: The system will count the lifecycle by natural months. If you purchase resources of one month, the expiration time will be 00:00 on the day following the day of the month when you purchased the resources, in the next month.
      • Example 1: If you place an order of one month at 15:00 on August 14, the expiration time will be 00:00 on September 15 and the lifecycle is 31 days and 9 hours.
      • Example 2: If you place an order of two months at 15:00 on August 14, the expiration time will be 00:00 on October 15 and the lifecycle is 61 days and 9 hours.
      • Example 3: If you place an order of one month at 15:00 on January 29, January 30, or January 31, the expiration time will be 00:00 on March 1.
    • Subscription by years: If you purchase resources of one year, the expiration time will be 00:00 on the day following the day of the year when you purchased the resources, in the next year.
      • Example: If you place an order at 15:00 on August 14, 2019, the expiration time will be 00:00 on August 15, 2020 and the lifecycle is 366 days and 9 hours.
  • Can I renew a resource consumption plan after expiration?

    You can manually renew the resource consumption plan within seven days after expiration. After seven days have passed, you can no longer renew the resource consumption plan. (Note: We recommend that you renew instances before they expire, because we cannot assure that renewal will be successful after expiration.)

  • Is cross-region deduction supported?

    No.

  • Can I use a resource consumption plan in an overlapped manner?

    Yes.

  • What can I do if I want a refund when using Function Compute (subscription)?

    Function Compute (subscription) does not support features such as the refund of your balance, no-reason refund within five days, and the return of renewal fees. For more information, submit a ticket for consultation.