Pay-as-you-go
Small program cloud development already provides pay-as-you-go capabilities.
In the pay-per-view model, the system will provide a certain amount of free each month for developers to use, more than the free amount of resource consumption will be deducted according to the corresponding model price.
When using pay-as-you-go features, please note:
-
Once the small program is turned on pay-as-you-go, you will no longer be able to switch to a prepaid payment method, please be careful;
-
Vouchers requested through the small program management background and WeChat developer tool cloud console cannot be used for pay-per-view mode;
-
At the same time, in pay-as-you-go mode, the underlying alert feature no longer applies, but developers can still use the custom alert feature.
Specific alarm function can be used by reference to the document "small program cloud development alert";
-
You need to download the latest version of the developer tool to open it.
Cost calculation
The monthly free amount and regular price information for the pay-as-you-go amount are as follows:
Parameters
|
Price
|
Free amount
|
Storage space
|
0.0043 yuan/GB/day
|
5GB
|
Store the number of downloads
|
0.01 yuan per 10,000 times
|
1.5 million times/month
|
Store the number of uploads
|
0.01 yuan per 10,000 times
|
600,000 times/month
|
CDN back-source traffic
|
0.15 yuan/GB
|
5GB/month
|
CDN traffic
|
0.18 yuan/GB
|
5GB/month
|
Cloud function resource usage
|
0.00011108 yuan/GBs
|
40,000 GBs/month
|
Out-of-network traffic from the cloud function
|
0.8 yuan/GB
|
1GB/month
|
Database capacity
|
0.07 yuan/GB
|
2GB
|
The number of database read operations
|
0.015 yuan/10,000 times
|
50,000 times / day
|
Database write operation
|
0.05 yuan / 10,000 times
|
30,000 times / day
|
The monthly free quota and the annual offer information for the optional expansion feature are as follows:
parameter
|
price
|
Free quota
|
Static resource capacity
|
0.0042 yuan / GB / day
|
1GB / day before the opening
|
Static resource traffic
|
0.15 yuan / 10,000 times
|
5GB two months after opening
|
Please note that the applet ยท Cloud Development Resource needs to follow the following system parameters restrictions in quantitative mode:
-
Database capacity: 2TB
-
Cloud function (single operation) running memory 1: 256m
-
Cloud function and number 2: 1000
-
Database simultaneous connection 3: 1000
-
Small program end request frequency limit: 1 million times / minute
In the amount payment mode, the system will perform resource consumption and settlement every day.Developers can log in to the Tencent Cloud Fee Center for recharge or view billing information.
Note:
-
Cloud function (single run) Run memory: The maximum available memory is 256MB at the time of operation.Run memory information displayed in the cloud function running log, for the actual use of memory.The actual memory may be lower than the maximum available memory, pressing the memory, 256MB calculation.
-
Cloud function and number: The concurrent number of cloud functions refers to the number of execution of the function code at any specified time.For the current SCF function, each published event request will execute once.Therefore, the number of events (ie, requested) issued by these triggers will affect the number of functions.Developers use the following formula to estimate the total number of components of concurrency.The request amount * function execution time (in seconds), for example, considering a function of processing a store event, assumes that the function is 0.2 seconds (ie 200 milliseconds), and 300 requests to functions are released per second.This will also produce 300 * 0.2 = 60 functions instances.
-
Database simultaneous connection: Database request concurrency, such as thirty database operation requests, twenty will execute at the same time, the remaining ten returns beyond the concurrent error; a database request (regardless of the small program, or the cloud functionLaboked) will consume a connection; each cloud environment has a simultaneous connection limit, independent count.If the database query is 10ms 10ms, then a connection can support 100QPS (1000 ms / 10ms = 100), and 20 connections can support 2000QPS.
Arrears and stop service
When the account balance is buckled, the system will notify the applet administrator and synchronize the public account of the WeChat public account to the small program cloud monitoring alarm group, prompting developers to recharge as soon as possible.
From the account balance, the small program, cloud development resources can continue to be used within 12 hours, and the system will automatically isolate resources and stop deduction after 12 hours.
After entering the resource isolation period, the system will notify the applet administrator through the WeChat public platform public account and synchronize the information to the small program cloud monitoring alarm group.at the same time:
-
Within 7 x 24 hours, if the top-up to balance is greater than 0, billing will continue and users can continue to use the services provided by The Small Program Cloud Development.
-
The Service cannot be used within 7 x 24 hours if the account balance has not been recharged to greater than 0.
-
After 7 x 24 hours, if the account balance is not recharged to greater than 0, the metered billing environment will be recycled.
The data in the environment will then be purged and unrecoverable.
After entering the resource isolation period:
-
Storage, databases, and CDN resources are not available.
-
For cloud functions: Existing functions cannot be triggered. T
he timed trigger pauses and stops the trigger function.
For synchronous calls, the function will report an error and cannot execute.