VPS virtual machine

VPS virtualization technology: VPS is basically a virtual machine, which is built on a certain virtualization technology. At present, the most used virtualization technologies are Xen, OpenVZ, Hyper-V, vmware. The following is a rough talk about the useful parts of vps. For more information, please refer to the extended reading "xen, kvm, vmware, hyper-v" Comparison of other virtualization technologies”.
Among them, Hyper-V is Microsoft's own virtualization technology, which can only run on windows, that is, when you buy a vps of windows system, it is likely to be Hyper-V. Some smaller host companies in vmware will use it, and they all run windows or linux. Friends who have used virtual machines should know it.
The price of foreign VPS hosts is cheap and the traffic is large. The optional configuration of memory and CPU may not be very high, but the traffic flow is above TB level. If a VPS with such a large traffic is simply used for website construction, it is basically impossible to use up. of. In order to take full advantage of the large traffic of the VPS host, we can use the VPS as a cloud storage download station.
Generally speaking, the speed of low-cost and cheap VPS connection is not very good in China, but if the website traffic is particularly large, we can use multiple VPS hosts to build a CDN network or server mirroring, which is very helpful to reduce the pressure on the origin server, and at the same time Building a website synchronization mirror is very beneficial to ensure data security and prevent the downtime of the host station to reduce losses.
Small memory VPS here generally refers to 64MB or 128MB VPS. Such small memory VPS is common in some emerging foreign VPS vendors. In order to attract customers to minimize the price, of course, the direct consequence of this is server resources. Seriously oversold. It can be said that "you get what you pay for", cheap VPS is definitely built on the basis of sacrificing performance.
Therefore, we must think carefully before using a VPS host with small memory and high traffic, and remember to make data backups.

1. One of the uses of VPS with small memory and high traffic: cloud storage
1. Recently, there has been a wave of "scramble" closures in major domestic online disks. Looking around, only Baidu online disk and Tencent are left in the online disk. Weiyun and 360 Cloud Disk are gone, but who can guarantee that these three companies will not sacrifice user data for profit?
2. VPS hosts with small memory and large traffic can be used for file storage and backup. Of course, in view of the security and stability of VPS, it is recommended to store those files that are not very important but can be downloaded publicly, so as to give full play to the large traffic of VPS The advantages. Using multcloud, we can also transfer VPS files to major network disks or quickly transfer network disk files to VPS.


2. The second use of VPS with small memory and large traffic: CDN acceleration It can reduce the traffic pressure of the main site, and secondly, it can speed up the download speed of files. In view of the fact that the lines of VPS hosts with small memory and large traffic are not very good, using foreign VPS to accelerate domestic websites does not have much effect.
2. The easiest way to turn a VPS host into a CDN acceleration server is to use Nginx's reverse Dai management, or use software work for reverse binding domain names or mirroring.

3. The third use of VPS with small memory and large traffic: load balancing
1. It is better to make full use of VPS with small memory and large traffic if it is idle. Nginx itself is a reverse management server. Using Nginx cache configuration, we can combine multiple VPS The host is built into a load balancing system: a VPS host is responsible for requesting requests, a VPS is responsible for downloading, and a VPS is responsible for database queries...
2. Use Rsysnc to synchronize data updates on multiple VPS hosts. If the VPS is down, it will immediately switch to the alternate VPS host to ensure that there is no problem with website access.

4. The fourth use of VPS with small memory and large traffic: application service
1. In fact, the best use of VPS with small memory and large traffic is V$P#N and S*S services. In fact, there are still VPS utilization methods mentioned above. A certain degree of difficulty, suitable for professional operation. And the use of VPS host to build an "application service" online tutorials are flying all over the sky, one-click automatic installation tools and installation packages are springing up everywhere.
2. L2 and PP were popular in the past, and later there was an OpenV-P%N, but now that SS is launched, everyone likes this tool. It is not only fast, but also easy to build and use. There are fewer problems. As more and more people use it now, some VPS hosting providers such as Bricklayer VPS directly integrate the one-click installation of the S server in the background.
3. Since the S service is open source and free, many developers have developed a self-service account opening and management system platform based on the S service. With this platform, there are many more merchants selling "accounts" on the Internet. If you have enough VPS hosts in your hand, you can try it out, after all, it’s okay to recover the cost and make a little money.

5. The fifth use of VPS with small memory and large traffic: local DNS and RSS server
1. Using the DNS server we usually use to surf the Internet will not only be often forced to insert advertisements, but will also lead to abnormal access to some websites. Using Dnsmasq, you can build a website that belongs to Own your own local DNS server, enjoy cleaner, pollution-free, smarter and faster DNS resolution services without advertising interference.
2. In addition, because there is no profit to be made, and RSS has always been a niche product, the RSS online reader is basically "abandoned" now. Instead of struggling to find a free and stable online RSS reader, it is better to build an RSS server with a VPS host. Tiny Tiny RSS can help us achieve this goal.

6. Summary of the use of VPS with
small memory and high traffic 1. The biggest disadvantage of VPS with small memory and large traffic is the small memory, which causes many website building programs to fail to run normally. For example, Wordpress consumes more host resources, so VPS with small memory is used for It is definitely not suitable to come to build a website. However, we can use the characteristics of large traffic to build service applications and load balancing.
2. Be careful when purchasing a small memory VPS host. Some VPS hosts that pay a few dollars a year should be very oversold, and their performance must be seriously degraded. In addition, VPS hosting companies are everywhere now, but there are only a few reliable ones. When buying cheap VPS hosting, you must remember to back up your data to avoid unnecessary losses caused by VPS running away.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324795299&siteId=291194637