All Products
Search
Document Center

Function Compute:FAQ about billing

Last Updated:Nov 14, 2024

When you use Function Compute, you may encounter billing issues, such as overdue payments, unexpected fees, and resource plans. This topic provides answers to some commonly asked questions about billing of Function Compute, you can refer to this topic for troubleshooting.

How do I release Function Compute instances or shut down Function Compute?

Running instances of Function Compute cannot be directly deleted. If you want to release instances or shut down Function Compute, you can delete functions and services.

Important
  • When the system detects that a function is deleted, the system reclaims all running instances of the function. Proceed with caution when you delete a function.

  • If you use provisioned instances, you must release all the provisioned instances in auto scaling rules before you delete a function. For more information, see Configure provisioned instances and auto scaling rules.

  • Delete a function

    In the Function Compute console, click the desired service, find the function that you want to delete, and then choose More > Delete in the Actions column. In the message that appears, click Delete {functionName}.

    image

    image

  • Delete a service

    In the Function Compute console, find the service that you want to delete and choose More > Delete in the Actions column. In the message that appears, click Delete {serviceName}. Before you delete a service, make sure that the service has no functions, provisioned function instances, versions, aliases, or triggers. Otherwise, the service fails to be deleted.

    image

    image

Can I switch between elastic instances and GPU-accelerated instances?

No, you cannot switch between elastic instances and GPU-accelerated instances.

When does a resource plan expire?

The validity period of resource plans in Function Compute is 1 year. After you purchase a resource plan, the plan expires at 00:00:00 a year later from the purchase date. For example, you purchase a resource plan at 15:00:00 on August 14, 2022. The plan expires at 00:00:00 on August 15, 2023. The life span of the subscription is 365 days and 9 hours.

You can log on to the Function Compute console and view the expiration time of your resource plans in the Resource Plan section on the right side of the Overview page.

Can I use my resource plan to offset fees across regions?

Yes, you can use your resource plan to offset fees across regions. However, you can offset only fees that are generated in regions on the China site (aliyun.com). You cannot offset fees that are generated in regions across the China and the International sites (alibabacloud.com). For example, if you purchase a resource plan in the China (Hangzhou) region on the China site, you cannot use the plan to offset fees that are generated in the China (Hangzhou) region on the International site.

Can I unsubscribe from Function Compute if I have an overdue payment and no longer want to use the service? How do I settle overdue payments?

If you no longer want to use Function Compute, you can delete services and functions. For more information, see How do I release Function Compute instances or shut down Function Compute?

You can log on to Expenses and Costs and view Current Amount on the Account Overview page. If the value is less than 0, your account has an overdue payment. You can click Pay Now to settle the overdue payment.

Why does billing continue after I stop services in Function Compute?

Bills of Function Compute are generated on an hourly basis. For example, you invoked a function in the period between 13:00 and 14:00, and you stopped the service at 14:00. In this case, bills for the preceding period are generated around 15:00. Bills that you receive summarize the resources that you consumed one hour before the point in time when the bills are generated.

You can also view the billing details to check whether bills are generated by other Alibaba Cloud services that are associated with Function Compute. If bills are generated by other Alibaba Cloud services, check whether the instances or resources are still needed. If you no longer need the instances or resources, you can delete them in the corresponding consoles.

Why are fees still generated even when my functions are not processing requests?

If billing continues when your functions are not processing requests, check whether provisioned instances are configured. The billing of provisioned instances starts from the time when Function Compute allocates the instances and ends when you release the instances. If you no longer use provisioned instances, delete the instances at your earliest opportunity. For more information, see Configure provisioned instances and auto scaling rules.

You can also check whether instances of other Alibaba Cloud services within your account generate fees. You can log on to Expenses and Costs to view the bill details and check whether bills of other Alibaba Cloud services exist. For more information, see View bills.

Why am I still charged after I purchase a resources plan?

You are charged on a pay-as-you-go basis if quotas in your resource plans are exhausted or expired. For more information about how to view the remaining quota of a resource plan, see Manage resource plans.

Can Function Compute automatically renew resource plans? If yes, can I disable auto-renewal for resource plans?

No, auto-renewal of resource plans is not supported. You can purchase new Function Compute resource plans if existing resource plans expire.

Can I unsubscribe from notifications of Function Compute?

Yes, you can unsubscribe from notifications of Function Compute by managing recipients of notifications. Log on to the Alibaba Cloud portal and click Console in the upper-right corner. In the Alibaba Cloud Management Console, click the avatar to go to the account center. In the left-side navigation pane of the account center, click Address and Contact to add or remove recipients as prompted. This way, notifications will be sent to new recipients or no recipients.

Am I charged after I purchase a free trial plan?

Function Compute provides a free trial plan for users who activate Function Compute for the first time. You are charged on a pay-as-you-go basis if the trial quota is exhausted or expired. For more information, see Billing overview.

How do I view overdue payments and why do overdue payments occur?

Overdue payments may occur if your resource usage exceeds the free quota in the trial plan or you do not purchase resource plans for other Alibaba Cloud services that you use.

If your account has an overdue payment, log on to Expenses and Costs to view the details. For more information, see View overdue payments. You can view the billing details to check the fees of billable items. For more information, see View bills.

What resource usage items are involved in the running of GPU-accelerated instances?

If you configure GPU-accelerated instances for a function, the following resource usage items are involved during function executions: the number of function invocations, active vCPU usage, idle vCPU usage, memory usage, disk usage, active GPU usage, idle GPU usage, and outbound Internet traffic (if Internet access is involved). For more information, see Billing overview.

CPU resources are also required for GPU-accelerated instances. The following table shows the specifications of GPU-accelerated instances.

Instance type

Full GPU size (GB)

Computing power of full GPU card (TFLOPS)

Available specifications

On-demand mode

Regular provisioned mode

Idle provisioned mode

FP16

FP32

vGPU memory (MB)

vGPU computing power (card)

vCPU

Memory size (MB)

fc.gpu.tesla.1

16

65

8

Valid values: 1024 to 16384 (1 GB to 16 GB)

Note: The value must be a multiple of 1,024.

The value is calculated based on the following formula: vGPU computing power = vGPU memory (GB)/16. For example, if you set the vGPU memory to 5 GB, the maximum vGPU computing power is 5/16 memory cards.

The computing power is automatically allocated by Function Compute and does not need to be manually allocated.

Valid values: 0.05 to the value of [vGPU memory (GB)/2].

Note: The value must be a multiple of 0.05. For more information, see GPU specifications.

Valid values: 128 to the value of [vGPU memory (GB) x 2,048].

Note: The value must be a multiple of 64. For more information, see GPU specifications.

Y

Y

Y

fc.gpu.ada.1

48

119

60

49152 (48 GB)

Note: Only 48 GB GPU memory is supported.

By default, computer power of full GPU cards is allocated.

Note: The computing power is automatically allocated by Function Compute and does not need to be manually allocated.

Valid value: 8.

Note: Only 8 vCPUs are supported.

Valid value: 65536.

Note: Only 64 GB memory is supported.

N

Y

Y