If you have chosen to use VPS, then surely you have used through Shared Host services and have a lot of experience in using hosts, so the necessary concepts you should have understood should in this article I just practice Focus on new concepts when you use VPS.
One difficulty for first-time users of VPS is that many specialized concepts are confusing and do not know how to use it effectively. If you are intending to use VPS, it will be very helpful if you read through the information in this article.
I. What is VPS?
VPS stands for Virtual Private Server (Private Virtual Server). A VPS is like a Shared Host, that is, there will be many VPSs placed on the same physical server and created by virtualization technology. So how is it different from Shared Host at a higher price that can serve a larger web?
The reason is that for Shared Host, those host packages are shared resources identified from a physical server with very low permissions.
For example, I have a server with 6 cores / 12 threads but will create 3 different VPS with 2 cores / 4 threads and in that VPS package, I will create 50 Shared Host packages using the same resources from 2 cores / 4 threads. This means that with 2 cores / 4 threads, you will divide for the Shared Host packages and the resources from this configuration will be shared with each other, the fewer people spend the more money for users but not too much processing for permission of 2 cores / 4 threads.
As for VPS, it is different, each VPS has completely separate RAM parameters and you can use the entire allocated resources. For example, VPS you have 2GB of RAM, 2 CPUs, you will completely use up these resources without being shared by other websites because each VPS is an independent virtual server system based on a physical server.
That is why when using VPS, your website will not be slow because of overloading and will better security.
II. Specifications to know when buying VPS
When purchasing VPS anywhere, you can choose the following parameters and the price of VPS will depend on that parameter. These parameters are all of the computer engineerings, so you can easily understand because probably IT people know both because the server itself is a computer, only it is more buffalo.
In computers, RAM is the main memory type, if the VPS you have more RAM, the ability to access data as possible because when using VPS, you will need RAM so that it handles issues like handling PHP scripts. with PHP software, handling database import and export queries with MySQL, small applications that come with, support for data reading and writing, etc., so this parameter is very important.
Currently, most VPS services will allow you to choose the RAM level from 512MB to 16GB (if you see any VPS more than 16GB of RAM, it is Cloud VPS) and depending on the amount of access to your website as well as the dark VPS optimizers, you will need more RAM or less.
For the needs of WordPress, you need at least 1GB of RAM to be able to use it comfortably, in some cases if you already know the VPS, you can use the 512MB type and optimize for it, you can run well with the amount of Access about 5000 / day and 100 users online at the same time.
However, there is a misunderstanding many people make when using their VPS occupied RAM is often very worried, this is sometimes very good again. Because in Linux, the residual RAM will be used to cache processes in the server and it will free itself when needed. RAM is often used to help process tasks faster so you do not need to worry, the new CPU is afraid.
Although most of you do not use resources of SWAP but I would like to explain if you have questions.
The SWAP you understand is a virtual memory to save old actions if your RAM is overloaded, SWAP itself is storage space on the hard drive rather than a set. memory independent
However, you can still create your own swap on your VPS, and I recommend that you create a swap for the server to have better performance.
The disk is also known as a hard disk drive (hard drive), this storage space will be used to save the installation files of the operating system and the files of the website source code you save on it.
Current drives are divided into 2 types:
- HDD (Hard Disk Drive): The most common type of drive that you have long used on that computer.
- SSD (Solid State Drive): SSD or you can also hear translated into Vietnamese as a semiconductor hard drive, which is a type of hard drive to store data but it will have faster data access speed than the type of HDD up to. 300 times, this one does not have to take from the theory that I have tested, the HDD has access speed of only about 80MB / s but the SSD has sped up to over 400MB / s and in some cases, it will be in GB
SSDs with SSDs will cost more than HDDs. And however, not all companies use hard drives that are entirely SSD because SSDs also have many different types and technologies of use, for example, people can use hybrid SSDs (Hybrid SSD). or use SSD as a cache (SSD Caching).
2.4) CPU Core
CPU Core means the processor core of the CPU. A Dedicated Server has a certain number of core and it will be divided for the VPS. Usually the higher the core number, the better the ability to process data.
In VPS packages, on average you will be selected from type 1 core to 6 cores.
2.5) Bandwidth / Transfer
These two words have the same meaning as bandwidth. What is the bandwidth, then when buying a host, you probably already know it but I would say that bandwidth means the traffic that you are allowed to transmit data?
For example, if you have a file with a capacity of 1GB on VPS, then for every 1 person you download, you will lose 1GB of bandwidth, similar to other file types such as images, CSS, JS, ….
IP (Internet Protocol) to explain the concept is too long. Here I will summarize the number of IP addresses that your friend will give you. The range of IP addresses will be randomly selected by the provider for you.
Normally, if you choose to buy many different IPs, those IP ranges will have the same class A and B. For example:
Those are the 6 basic parameters that you need to know when buying a VPS, in which SWAP parameters may not be available to some suppliers outside the price list, and with IP you will be able to choose the number to buy at the site. order.
2.7) cPanel or DirectAdmin?
Although all three of these will not really be necessary for you if you use VPS for personal use, I will still explain clearly so you have to know what you should choose.
All three are a Webserver Control Panel for VPS or Dedicated Server. Its main function is to help you configure the web server, create small host packages or can even serve you host sales.
All 3 Webserver Control Panel above are paid types and if you choose it when renting VPS then you will have to pay additional fees, prices range from $ 2 to $ 15 per month. but besides that there are many free control panels but think you do not need to know it yet, you just need to know what the Webserver Control Panel is.
What is cPanel?
cPanel is the best and most popular Web server Control Panel at the moment. If you have used the Shared Host packages, you probably already know through the cPanel X admin panel, which is a function of the cPanel Control Panel.
What is DirectAdmin?
The function is similar to cPanel but less functional and less common, in return, this control panel is cheaper than cPanel.
2.8) CentOS, Ubuntu, Debian.
When buying a VPS they will ask which operating system you want to use, this is an important issue that you should also understand.
Most VPS services will support the following types of operating systems:
- CentOS (Linux)
- Ubuntu (Linux)
- Debian (Linux)
- Fedora (Linux)
In particular, if you use WordPress in particular or run PHP websites in general, then choose the type of Linux operating system . You can choose CentOS or Ubuntu because these are two multi-user operating systems, you will find many tutorial articles.
III. Managed VPS and Unmanaged VPS
When conducting a VPS lease, you need to understand the VPS provider you plan to hire as Unmanaged VPS or Managed VPS to avoid misunderstandings later and inadvertently blame them.
In addition, when you see the price of VPS services, there are places with very high prices, but there are also places with very low prices, the main reason is managed VPS or unmanaged VPS.
3.1) What is Managed VPS?
Managed VPS is a type of service that provides VPS to customers with an administration service. Administration services here include installing/consulting everything about VPS that customers need, as well as optimizing the performance and security for VPS.
Often Managed VPSs are quite expensive because VPS management is not easy, suitable for those who do not have much VPS management skills but need to use VPS.
There are also some providers who do not charge the VPS administration price in the price frame displayed outside but there will be a VPS administration service option when making an order.
Some typical Managed VPS providers:
3.2) What is Unmanaged VPS?
Unmanaged VPS means that the type of VPS service does not include administering VPS for customers, but they only make sure your VPS does not suffer downtime or other causes from the main server.
With this service, all jobs such as web server installation, configuration, software installation, security, … must be done by you. And you are also responsible for your own settings.
Unmanaged VPS will be quite cheap, sometimes twice as cheap as Managed VPS services but you should only use it if you already have knowledge of VPS or at least understand it. If you follow the Basic VPS learning series, you should use Unmanaged VPS to freely do what you like. If you didn’t buy Managed VPS, you probably didn’t read this series: D.
Some typical Unmanaged VPS providers:
- DigitalOcean (Cloud VPS)
- Linode (Cloud VPS)
- Contabo VPS ( Only datacenter in Germany but cheap and high configuration)
IV. KVM and OpenVZ
This may not you see them split up in some VPS providers, but some are split into 2 separate VPS packages together, so what is KVM and what is OpenVZ? Does it affect your website or not? Let’s find out with me.
Regarding the technical theory of these two technologies, so I do not mention here because it is not really necessary for you to learn right now, but I just talked about its performance.
4.1) What is KVM VPS?
KVM is a full virtualization system and the virtual servers created by this virtualization system will be virtualized based on hardware, meaning that the parameters you provide are all physical resources available on the total server. The KVM VPS is not dependent on each other, so the KVM VPS price will be higher than OpenVZ.
With KVM, you will have the advantage of using many of its own unique features such as VNC support, manually reset RAM and hard drive, full kernel editing rights, …
In addition to KVM, some other vendors use full virtualization systems similar to Xen, Hyper-V, VMWare, …
4.2) What is OpenVZ VPS?
This is not a virtualization system, but virtual machines (or rather, virtual environments – VE / Virtual Environment) to make copies of an operating system into containers, but it still has all the features. Need as a virtual server. For example, you have 1GB of RAM and 2 cores but when used, your VPS will not use up this amount of resources but will complement CPU resources for other VPS packages on the same server.
However, one big difference between OpenVZ is sharing resources. For example, you have 1GB of RAM and 2 cores but when used, your VPS will not use up this amount of resources but will complement CPU resources for other VPS packages on the same server.
In terms of comparison, KVM will be faster and better than OpenVZ but OpenVZ has a better price than KVM and easily upgrade resources without restarting VPS. In addition to OpenVZ, there is another virtualization system like it is LXC (Linux Container).
V. Prepare to buy VPS?
Just like buying a host, when buying a VPS, you need to prepare some things as follows:
- Visa/ Master Card or PayPal
- 2-sided scans of ID card and 2-sided scans of the card you use to pay. In case they need more photos of payment bills, just take a paper that says your address with red carpentry is oke, but this is rare.
VI. Where to buy VPS for good?
You can buy any VPS anywhere to learn this series because the way to use VPS is the same. If you want to buy on your offer then I would like to recommend some very good international VPS providers that are also affordable.
The providers I said in the below are Unmanaged VPS because if you use VPS to learn this series, please buy 1 Unmanaged VPS for it cheap and you can also manually reinstall the operating system.
- Lowest price: $ 5 / month.
- Number of datacenter : 6 (4 US, 1 UK, 1 Japan).
- Reinstall the operating system yourself: Yes
- Refund: No.
Linode is a good choice for beginners to use VPS because it is easy to register and has good quality, has a server in Japan so you can choose it to use in order to have good access speed in Vietnam. Male. Compared to the famous DigitalOcean, Linode has the same price but VPS at Linode will have a higher number of CPUs in the mid-range packages. In addition, Linode also comes with bundled services such as Load Balancing so you can easily deploy the load streaming system easily without much setup.
DigitalOcean (Unmanaged – Cloud VPS)
- Lowest price: $ 5 / month
- Number of the datacenter: 5 (2 USA, 1 Singapore, 1 Netherlands, 1 UK)
- Managed Services: None
- Reinstall the operating system yourself: Yes
- Refund: No.
Cloud Hosting is just a computer network technology, VPS nature is still VPS so you do not need to consider your Cloud VPS notes. Cloud VPS at DigitalOcean is also quite cheap, only $ 5 / month for 512MB RAM package and support Singapore server.
In addition, an advantage of Cloud VPS service is that you are free to create as many VPSs as you like, just need the money available in your account and it will proceed minus every day. When not used anymore, Destroy it away and you do not waste money anymore. The form of payment is to deposit credits into your account.
However, there is a drawback at DigitalOcean you need to know that they maintain server systems very often, so sometimes your VPS will not be able to.
VULTR (Unmanaged – Cloud VPS)
- Lowest price: $ 2.5 / month
- Number of the datacenter: 16
- Reinstall the operating system yourself: Yes
As a Cloud VPS recommended by many WordPress experts such as Yoast, W3 Edge, StudioPress, … The highlight of VULTR.COM is the number of data centers so you can choose a datacenter closest to you to improve speed.
Above is what newcomers should know before hiring a VPS, the necessary information may be more than this but currently, I see only with what I mentioned above is understandable. VPS nature is like then.