WordPress knowledge sharing

How does the micro engine applet select the server configuration?

How to select server configuration for micro engine applet This kind of business environment has high requirements for servers. Because it is necessary to build a php environment, WeChat engine architecture, and small programs to connect to the WeChat official account, it is difficult for an ordinary cloud server with one core, one gigabyte of memory, and one megabyte of bandwidth to run smoothly. Next, Weieis Blog will describe in detail what kind of server is selected for this business to run smoothly.

1、 Public account's message about WeChat engine server configuration

A few days ago, I saw @ Xin Wanxiang leave a message on the public account of Weieis Blog as follows: Hello, I want to get a public account of a small county. The server will build a local aggregation platform for WeChat. What kind of cloud server is suitable? Thank you. Sorry for the interruption. Only when he saw the public account message, he couldn't reply after the timeout, so he got it back on the blog. If an applet uses a micro engine to build a local aggregation platform, the micro engine itself consumes system resources. In addition, if the local aggregation platform is added, there will be a large number of online users. It is not allowed to use a server with too low configuration, otherwise it will not run smoothly and the user experience will be poor.

2、 Official requirements of Microengine for server configuration

Microengine is built in the php environment. We can use the pagoda panel The lnmp and other panels can build this environment. The applet runs in the micro engine architecture. The official WeChat engine said about the server selection:

The process of setting up WeChat engine: select server - purchase domain name - domain name filing - domain name resolution - install the operating environment of WeChat engine - use WeChat engine

ECS instance: 2-core 4G memory 5M bandwidth system disk 40G ECS. If your personal budget is insufficient, you can also start with a 1-core CPU, 2G memory, and 3M bandwidth. This will not run as smoothly as the previous configuration.
System image: centos7.4 64 bit
Filing: If the domain name has not been filed with Alibaba Cloud, the remaining time of the server for filing should not be less than 3 months, that is, the duration of your purchase should not be less than 3 months.

Old Wei's friends who play WeChat engine+public account+applet all use a 2-core 4G memory 5M bandwidth computing network enhanced configuration, which is the standard configuration for this business. If the traffic rises later, the configuration needs to be upgraded. Give you a reference configuration Alibaba Cloud Enterprise Performance ECS See the configuration of 2-core CPU, 4G memory and 5M bandwidth here. If the configuration is lower than this, the business will be stuck during operation. This is the practical experience of friends around me. I hope it can help you.

Articles related to the installation of WeChat engine:

How does Microengine choose ECS configuration?

One click deployment and installation of micro engine on pagoda panel

Process record of WDCP panel installation micro engine

3、 ECS recommendation for running WeChat engine+applet

1. Alibaba Cloud's 2-core 4G 5M ECS is an exclusive server with a relatively high price, and it is suitable to use it to run the micro engine applet architecture.

2-core 4G ECS
40G efficient cloud disk
2-core 8G ECS
40G efficient cloud disk
4-core 8G ECS
40G efficient cloud disk
4-core 16G ECS 40G efficient cloud disk
Computing Network Enhanced Instance Generic Network Enhanced Instance Computing Network Enhanced Instance Generic Network Enhanced Instance
Maximum network packet receiving and sending 2.5 million PPS The largest network receives and contracts 4.5 million PPS Maximum network packet receiving and sending 2.5 million PPS The largest network receives and contracts 4.5 million PPS
Maximum intranet bandwidth 6Gbps Maximum intranet bandwidth 10Gbps Maximum intranet bandwidth 6Gbps Maximum intranet bandwidth 10Gbps
720 yuan/year, 2088 yuan saved 1050 yuan/year, 2826 yuan saved 1390 yuan/year, 3782 yuan saved 2390 yuan/year, 4918 yuan saved
Buy Now Buy Now Buy Now Buy Now

2. As a strong competitor of domestic cloud services, Tencent ECS also provides an exclusive 2-core 4G 5M instance.

Because I participated in the Tencent Cloud Trifold Event( Click me directly )The price is cheaper than Alibaba Cloud. This configuration only costs 1869 yuan/year, and can be used in Guangzhou, Shanghai and Beijing. Chongqing is cheaper.

Like( one )
Article name: How to select server configuration for micro engine applet
Article link: https://www.vpsss.net/14228.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.