All Products
Search
Document Center

Function Compute (2.0):FAQ about billing

Last Updated:Dec 29, 2023

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 in Function Compute, you can refer to this topic for troubleshooting.

How do I release Function Compute instances or disable services in Function Compute?

If you want to disable services in Function Compute, you can delete the services and functions in the services. For more information about how to delete services and functions, see Manage services and Manage functions.

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 manually release provisioned instances of a function before you delete the function. For more information, see Configure provisioned instances and auto scaling rules.

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?

Function Compute provides resource plans for yearly subscriptions. The validity period of each type of resource plan is 12 months. After you purchase a resource plan, the plan expires a year later from the purchase date at 00:00:00. For example, a one-year resource plan is purchased at 15:00:00 on August 14, 2022. The plan expires at 00:00:00 on August 15, 2023. The lifecycle of the subscription is 365 days and 9 hours.

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

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 for resources that are consumed 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 disable services in Function Compute?

To view the balance of your account and check whether you have overdue payments, log on to the User Center homepage and view your account balance in the Available Credit section. If the balance is less than 0, your account has an overdue payment. You can click Add Funds 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 for execution from 13:00 to 14:00, and you stopped the service to which the function belongs at 14:00. In this case, you may receive bills at 15:00. The bills that you receive summarize the resources that you consumed one hour before the point in time when the bills are generated.

In addition, we recommend that you 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 of the cloud services are in use. You can delete the instances or resources in the console based on your business requirements.

Why are fees continuously generated even when my function is not processing a request?

If billing continues when your function no longer processes requests, check whether provisioned instances are configured for your function. For provisioned instances, the billing starts from the time when Function Compute starts provisioned instances to the time when you release the instances. If you no longer use the provisioned instances, delete the instances at the earliest opportunity. For more information, see Configure provisioned instances and auto scaling rules.

In addition, you must check whether the instances of other Alibaba Cloud services generate fees within your account. You can log on to the User Center homepage to view the bills and check whether bills for other cloud services. For more information, see View bills.

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

If the quota in the resource plan is not enough to offset the fees for your actual resource usage, excess resources are billed on a pay-as-you-go basis. For more information about how to view the remaining quota of a resource plan, see Manage resource plans.

Function Compute resource plans cannot be used to offset fees of disk usage. You are charged on a pay-as-you-go basis if the disk size is more than 512 MB.

Can I switch between different types of resource plans?

No, you cannot switch between different types of resource plans. Each resource plan can be used to offset fees only of a specific billable item.

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

No, auto-renewal is not supported for resource plans. You can only purchase new Function Compute resource plans when existing resource plans expire, and auto-renewal is not supported.

Can I modify the recipient that receives text messages or emails containing subscription notifications?

Yes. To change the recipient, you can 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. Then, add or remove recipients as prompted.

Am I charged after I purchase a free trial plan?

Function Compute provides free trial quotas for new users of Function Compute. You are charged for resource usage that is not covered by the free trial quota, such as outbound Internet data transfers, disk usage (exceeding 512 MB), and excess resource usage. For more information, see Trial quota.

The free trial quotas are valid for three months. If you do not purchase other resource plans after the validity period ends, you are charged for all resources based on a pay-as-you-go basis.

After I purchase a trial plan, my account has overdue payments. How do I view the overdue payments, and why do I have overdue payments?

After you purchase trial plans, you are charged for the resources if the trial quota is exceeded. In addition, if you do not purchase resource plans for other Alibaba Cloud services that you use, your account may have overdue payments. If the actual resource usage exceeds the free trial quota, you are charged for the excess resources, including outbound Internet data transfers, disk usage (exceeding 512 MB), and other billable items that you use.

If your account has overdue payments, log on to the User Center homepage to view the overdue payments. For more information, see View overdue payments. You can view the billing details to check the fees of each billable item. For more information, see View bills.

Which billable items are involved when I use GPU-accelerated instances?

If you configured GPU-accelerated instances, the following resources are billed when you run functions: vCPU usage, memory usage, GPU usage, and disk usage. Function invocations are also billed. If Internet access is required, you are charged for outbound Internet data transfers. For more information, see Billing overview.

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

image.png