The server is a real physical device running in the computer room, with independent hard disk, memory, CPU, operating system, etc. Virtual machine is a virtual part of a group of cluster servers, which is similar to a number of independent servers. Each machine in the cluster will have a mirror backup of virtual machine.
Both individuals and enterprises need to consider the cost when building website servers. Different industries, different types and different sizes of websites need to rent different server configurations. In the early stage, there is no traffic, so long as you rent a virtual host or virtual machine, the cost is relatively low, and it is estimated that it will be tens of yuan a month. Many webmasters begin to learn how to build websites from virtual hosts. But if you want to build a large game station or download station, you need high-performance and high configuration physical machine, the price ranges from several hundred yuan to several thousand yuan.
[alicloud] get coupons for the latest activities and share them with new and old users
What’s the difference between cloud server and physical server
1、 Cloud server (virtual machine)
The cloud server is a group of cluster servers virtual out a number of parts similar to independent servers, each server in the cluster has a mirror of the cloud server. Figuratively speaking, the cluster server is like a large public parking lot, and the use of cloud server is sold to you for the right to park. The price of virtual machine is relatively cheap, ranging from tens to hundreds of yuan in a month, and from hundreds to thousands of yuan annually.
2、 Independent server (physical machine)
As the name suggests, it has all the software and hardware resources of the whole server, and can distribute and implement a variety of network function services by itself. Independent server is more like a private garage, with strong specificity and independent possession.
The price of an independent server is relatively high. The monthly payment for cheaper servers ranges from a few hundred yuan to a thousand yuan, while that for high configuration servers ranges from a few thousand yuan to ten thousand yuan. There are many factors that affect the price of an independent server
1. Computer room selected by website server
机房的选择很多，像是电信机房、移动机房、联通机房，三线 bgp 机房等，单线路服务器价格便宜些，年付大概三五千左右，bgp 价格要稍微贵些，年付 4 千到万元不等。不过如果业务打算发展全国地区的话建议选择三线 BGP 机房，覆盖国内三大运营商，可以保证全国大多数地区的快速访问。不同机房采用的网络设备也不一样。就比如说交换机，质量好的和质量差的，其价格也是千差万别的，但是好的性能就能远远地甩开差的设备的性能。这一点上如果你选择的机房比较好，要价比较贵，就没有受骗当冤大头一说。
There are many computer rooms to choose from, such as telecom computer room, mobile computer room, Unicom computer room, three line BGP computer room, etc. the price of single line server is cheaper, and the annual payment is about thirty to five thousand yuan, while the BGP price is slightly more expensive, ranging from forty to ten thousand yuan. However, if the business plans to develop in the whole country, it is recommended to choose the three line BGP machine room to cover the three major domestic operators, which can ensure the rapid access to most areas of the country. Different computer rooms use different network equipment. For example, the price of switches with good quality and poor quality is also very different, but good performance can throw away the performance of poor equipment. At this point, if you choose a better computer room and ask for a more expensive price, you will not be cheated to be a big head.
2. Hardware configuration of website server
我们买手机和电脑的时候都会考虑到硬件配置的问题，其实服务器租用和这些产品是一样的，配置的高低/性能的好坏决定了服务器租用价格的高低，租用只是硬件由 IDC 服务商提供，正规的 IDC 提供正品行货、新机，其次是负责质保，机器出现问题客户不用再找这个找那个，防止客户买到水货或者售后没有保障去找他理赔等等。
When we buy mobile phones and computers, we always consider the hardware configuration. In fact, server leasing is the same as these products. The level of configuration / performance determines the price of server leasing. Only the hardware is provided by IDC service providers. Regular IDC provides genuine goods and new machines, followed by quality assurance, If there is a problem with the machine, the customer doesn’t have to look for this or that again to prevent the customer from buying parallel products or having no after-sales guarantee to go to him to settle the claim, etc.
3. Web server bandwidth
The size and mode of server bandwidth directly affect the server price. For live broadcast, video, download and material websites running bandwidth, the demand for server bandwidth is far greater than other requirements for servers, and the price of servers is mainly reflected in the cost of server bandwidth. At the same time, shared bandwidth is much cheaper than exclusive bandwidth. However, the shared bandwidth is commonly used by many people, which often leads to the instability of the website. Therefore, in order to make the website more stable and smooth, it is recommended to use exclusive bandwidth.
How much is the server rental? In fact, the rental price is not fixed. There are many factors that affect the server rental price. When enterprises or individuals choose to rent an independent server, they must select and configure it according to the needs of their own website.
Cloud server (cloud host) uses cloud computing technology to integrate hardware and software resources, uses virtualization technology, and is based on server cluster. It can be flexibly expanded, and users can buy it on demand. But the resources of the server are generally fixed, not easy to upgrade or expand, easy to waste resources, and the cost is higher than that of the virtual machine.
当云服务器中一台机器出现硬件故障，系统会自动访问其他机器上的镜像备份，提高了主机的稳定性。它拥有与服务器一样的功能与使用方法，有独立 IP 和带宽。用户可根据需要安装各种操作系统以及配置各种网站运行环境。而传统服务器出现故障后，没有可自动跳转的功能实现，网站会出现打不开的情况，直到服务器的故障维修好了之后，才可以继续正常使用。无论是从性能还是稳定运行来对比，云服务器都远强于传统服务器。但云主机也有其不足之处，容易遭到网络攻击
When a machine in the cloud server has a hardware failure, the system will automatically access the image backup on other machines, which improves the stability of the host. It has the same function and usage as the server, with independent IP and bandwidth. Users can install various operating systems and configure various website operating environments according to their needs. However, when the traditional server fails, there is no automatic jump function, and the website will not open until the server is repaired. Whether in terms of performance or stable operation, the cloud server is far better than the traditional server. But the virtual machine also has its shortcomings, vulnerable to network attacks
1. Cost input
The cost of traditional server is higher, so the price of host renting or hosting is more expensive, at least 1000 yuan per year. For individuals and small and medium-sized teams, the use of cloud server will be more flexible and affordable; Large enterprises generally choose to purchase servers for long-term use.
2. Redundancy and backup
In the traditional data center, it is easy to deploy because it can control the location of the server and use all the physical hardware. Server hosting and renting require users to make their own local backup and remote backup, and redundancy requires users to invest more and have higher technical level.
The redundant storage of virtual machine needs a lot of capital investment. But redundant storage is not always needed in real time for users. Virtual machine automatic backup and redundancy, according to the practical experience, users still need to backup in different places.
3. Ease of use and expansion
易用性方面，云主机更有优势。云主机基于虚拟化技术，方便用户升级，用户可直接在线自助升级，弹性较大。传统服务器一般由 IDC 公司提供固定型号的产品选择，升级空间不大，迁移也相对麻烦。
In terms of ease of use, virtual machine has more advantages. The virtual machine is based on virtualization technology, which is convenient for users to upgrade, and users can upgrade online directly, with great flexibility. The traditional server is generally provided by IDC company with a fixed model of product selection, so the upgrade space is not large, and the migration is relatively troublesome.
4. Performance and network
在整体测试中，云主机与服务器同等配置下，云主机 CPU 性能不如独立服务器，但突发使用下，云主机弹性较大，且可以按需分配。另外，服务器托管区域的网络一般比云主机区域较有优势。
In the overall test, under the same configuration of the virtual machine and the server, the performance of the virtual machine CPU is not as good as that of the independent server, but under the sudden use, the virtual machine is more flexible and can be allocated on demand. In addition, the network of server hosting area is generally better than that of virtual machine area.