Introduction
WeChat Cloud Hosting https://cloud.weixin.qq.com is a full hosting service for back-end projects launched by the WeChat team and Tencent Cloud. For scenarios where the front-end and back-end separation architecture is adopted for the development of WeChat ecological applications, cloud hosting can be free of operation and maintenance and server management, from code management to CI/CD pipeline deployment and release, providing full-link, low-cost, enterprise-level cloud native solutions Program.
Since its WeChat Cloud Hosting has attracted the attention of many small partners, and also received some questions:
- Under the pay-as-you-go mode, will the resource consumption of cloud hosting be 161010e88b5cd9 faster than ?
- cloud hosting really save than traditional server 161010e88b5d16?
- A unit like "nuclear*hour" is so unfamiliar, how can understand 161010e88b5d46 faster than
- I haven't started using it yet. How to estimate the approximate cost of using cloud hosting for the project? Specifically, how much can I
- ……
No, science popularization is coming! The following will use several typical applet scenarios , and compare the prevailing prices of cloud servers on the market with WeChat cloud hosting to make you feel how cloud hosting stands out in price "No need to pre-purchase underlying resources, automatic elastic scaling , The resource cost can be further reduced to 0” when there is no access to the product capability advantage.
In addition to the affordable price, for the first WeChat cloud hosting environment created this year, the system will give a free one-month credit for developers to use, and there is no burden to open the trial!
WeChat Cloud Hosting Billing Unit
Unlike servers that need to estimate the scale of resource usage and purchase in advance, WeChat Cloud Hosting adopts a pay-as-you-go billing model. To put it simply, the billing unit of cloud hosting is 161010e88b5e43, which subdivides the total usage of cloud servers/databases purchased annually and monthly, and then uses it to accurately charge by volume .
Take the cloud server as an example: to purchase a 1 core 2GB cloud server with a validity period of one month is actually to purchase a month's 720 core hours of CPU and 1440 GB hours of memory resources. Within a month, no matter how much your cloud server is actually used or how long it actually runs, you have paid for the entire amount of resources.
where:
1 core = 1 core 24 hours 30 days = 720 cores * hours
2GB = 2GB 24 hours 30 days = 1440 GB * hour
Core*hour: indicates the amount of resources consumed by a 1-core CPU for 1 hour of continuous operation, or the amount of resources consumed by a 2-core CPU for 0.5 hours of continuous operation.
GB*hour: indicates the amount of resources consumed by 1GB of memory for one hour of continuous operation, or the amount of resources consumed by 2GB of memory for 0.5 hours of continuous operation.
Actual scenario billing simulation
Next, let's take the small programs of spike activities and daily tools as examples, and compare the prices of WeChat cloud hosting with the general prices of cloud servers/lightweight servers on the market.
Note: Due to space issues, the following evaluation only shows the actual consumption value, and the price is the published price, without considering discounts, special activities, resource packs, coupons, etc. It can be understood as the theoretical highest price. For the actual amount of consumption and the costs of the detailed calculation formula, here go to cloud hosting billing document viewing.
Tool Mini Program (Pure Computing)
1. Typical application
- Pull public information summary rankings (such as hot news rankings, movie rankings, weather inquiries, etc.);
- Conversion tools (unit conversion, exchange rate conversion, etc.).
2. Business characteristics
- No database is required (data comes from calling public interface query or real-time calculation, no need for permanent storage);
- No burst of concentrated high traffic;
- Almost no one uses it in the early morning (0:00~8:00);
- Does not require service to be highly available.
Cloud Hosting Resource Usage 161010e88b6354
4. Comparison of cost estimates
Note: The cost estimate is based on the regular price, and does not consider discounts, special events, resource packs, coupons, etc.
According to the above analysis, for the common small program scenario with almost no traffic in idle time, the WeChat cloud hosting comparable server saves about 40% or more of .
Activity Mini Program (computing + database)
1. Typical application
Activities such as spike kills, lotteries, real-time interactions, etc. carried out during the specified time period.
2. Business characteristics
- There are few or no visits during the inactive period;
- The sudden concentrated high traffic at the beginning of the event gradually decreased as the event progressed, and the number of participants in the later stage of the event was small;
- If it is a one-time event, the resources need to be released in time after the end.
- The service availability requirements are high, and server downtime cannot be accepted.
cloud hosting resources 161010e88b66fd
- Suppose an event is held every day in a month, and each event lasts 4 hours from 20:00 to 24:00. Among them, the first hour is the peak, and the last three hours are flat.
- In fact, the amount of data stored in the database is accumulatively increasing, and the fee is charged according to the real-time storage. In order to make the calculation simple and convenient, the data volume is a uniform value, and the actual consumption will be smaller.
- WeChat Cloud Hosting has its own high availability capabilities, so there is no need to prepare additional redundant resources.
4. Comparison of cost estimates
According to the above analysis, the WeChat cloud hosting fee for self-configuring the server for the operation activity scenario with unstable access traffic, which saves a large amount of resource costs for the enterprise.
More than the above two scenarios, WeChat cloud hosting can also help multiple categories of applications to effectively reduce the cost of cloud resource consumption, bringing enterprises a free operation and maintenance, low-cost solutions, and achieving real cost reduction and efficiency increase.
Hot Questions FAQ
following questions are all real questions from WeChat cloud hosting exchange group users:
Q: Elastic expansion is very convenient, but the dosage is not "transparent", I feel confused?
A: WeChat Cloud Hosting provides detailed monitoring data, which can grasp the actual usage and expansion of resources in real time. Compared with cloud servers, you still need to use real-time monitoring of cloud servers to confirm how many of the server resources you buy out on a monthly basis are actually being used and how many are actually redundant and wasteful. In terms of actual actual usage, the transparency of cloud hosting and cloud servers is the same.
161010e88b6908 Q: If the elastic scaling continues to expand, will the cost be significantly higher than expected, leading to "wake up and a
A: This is actually a question of controlling the upper limit of expenses.
(1) The upper limit of the number of instances for each version is 50. If the upper limit is exceeded, no further expansion will be made, that is, the upper limit of daily cost is fully controllable. If the cost budget is tight, you can also manually lower the maximum number of instances of the version.
(2) WeChat Cloud Hosting will soon provide quota monitoring function. When the usage of any resource such as CPU/memory/database computing/database storage exceeds the threshold you set, an alarm message will be sent, so stay tuned. At that time, you can choose to freeze the service immediately to stop new expenses. Online business will also be interrupted at this time, please evaluate carefully.
Q: Under what circumstances will the service shrink to 0 (no cost will be incurred)?
A: The minimum number of instances of the version under the service is 0, and when the current service has no access for half an hour, the scaling down to 0 will be triggered.
WeChat cloud hosting preferential support
30% discount
For all users of WeChat cloud hosting, until December 31, 2021, they will enjoy a 30% discount under the pay-as-you-go mode.
million yuan corporate incentive plan
WeChat Cloud Hosting launched Enterprise Incentive Program , 10,000 yuan subsidy, expert migration service, Tencent Cloud official traffic exposure, etc., to help enterprises enjoy the ultimate experience brought by cloud native at a lower cost. Recognize the QR code below to register!
Low-cost resource pack (coming soon)
For individual developers and new enterprise users, WeChat Cloud Hosting will launch resource packs with different gradients to further reduce product costs.
Regarding WeChat Cloud Hosting, if you have any questions or suggestions during the use process, welcome to the WeChat Open Community WeChat Cloud Hosting area to discuss together.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。