If you want to choose to use VPS, then surely you have used Shared Host services and have a lot of experience in using the host, the necessary concepts, you also understand, so in this post I focus only on the new concept when you use VPS.
One difficulty for people who first learn VPS is that many concepts are cryptic and do not know how to use it effectively. If you are planning to use VPS, it will be very useful if you read through the information in this post.
1. What is VPS?
VPS stands for Virtual Private Server. A VPS is like a Shared Host, which will have multiple VPSs placed on the same physical server and created with a virtualization technology. How is it different from Shared Host at which point the price is higher and serves the larger web?
The reason is that for Shared Host, these host packages are shared resources identified from a physical server with very low resource permissions.
For example, I have a server with 6 cores/12 threads but will create 3 different VPSs with 2 cores/4 threads and in that VPS package I will create 50 Shared Hosts using shared resources from 2 cores/4 threads. That is, for 2 cores/4 threads, you will divide the Shared Host packages and the resources from this configuration will be shared by each other, the less resource users will share more resources with the user, but will not exceed the allowable level of 2 cores/4 threads.
For example, if your VPS has 2GB of RAM, two CPUs, you will be using all of these resources without being shared by other sites because each VPS is a standalone virtual server based on a physical server.
That is why when using VPS, your website will not be slow because of overload and will be better security.
2. Parameters to know when buying VPS
When buying any VPS from any provider, you will be given the following parameters and the price of VPS will depend on those parameters. These parameters are all part of the computer technology, so you can easily understand it because the IT people know it because the server itself is a computer, only it is much stronger.
In the computer, RAM is the main memory, if your VPS is more RAM, the better your data is, because when you use VPS, you will need RAM to handle problems such as processing of code. PHP with PHP software, database query processing with MySQL, small applications, support read and write data, etc, so this parameter is very important.
Currently, most VPS services will allow you to choose between 512MB and 16GB of RAM (If you see a VPS that has more than 16GB of RAM, then it’s the Cloud VPS) and depending on the amount of traffic to your website and the way. Optimize VPS, you will need more RAM or less.
For the needs of WordPress, you need at least 1GB of RAM to be comfortable, in some cases if you have a good understanding of VPS you can only use 512MB type and optimize for it to run well with about 5000 visitors per day and 100 users online at the same time.
However, there is a misunderstanding many people have when using the phenomenon that their VPS is occupied RAM so very worried. Sometimes this is very good. Because in Linux, the extra RAM will be used to cache the processes in the server and it will release itself when needed. When RAM is used more often will help the task of processing faster so you do not need to worry, CPU so high that should worry.
Although you do not use SWAP resources, I would like to explain if you have any questions.
SWAP – you can simply understand a virtual memory to save the old processing action if your RAM is overloaded, SWAP itself is a storage space on the hard drive. not a standalone memory.
However, you can still create your own swap on your VPS and I recommend that you create a swap for better server performance.
Disk or simply a hard drive, this storage space will be used to save the operating system installation files and the website source code files that you store on it.
Disk is now divided into two types:
- HDD (Hard Disk Drive): The most common type of disk drive that you have used on your computer.
- SSD (Solid State Drive): An SSD is a hard drive for storing data, but it will have a much faster data access speed than a HDD, which can be as much as 300 times, which I did not take from the theory that I had tested. to try on. HDD has a speed of about 80MB/s, but the SSD speed is over 400MB/s and in some cases it will be in GB.
VPS-based SSDs are more expensive than hard drives. And yet, not all companies use SSDs as SSDs have many different types and technologies, such as the use of hybrid SSDs. or use SSD as cache (SSD Caching).
2.4. CPU Core
CPU Core means the processor core of the CPU. A dedicated server has a certain number of cores and it will be divided into VPSs. Often the higher the number of cores, the better the processing power.
In VPS packages, on average you will be choosing from 1 core to 6 cores.
These two words have the same mean bandwidth. What is the bandwidth when buying a host you already know but I would also like to say that bandwidth means the traffic that you are allowed to transmit data.
For example, if you have a 1GB file on your VPS, you will lose 1GB of bandwidth per download, similar to other files such as images, CSS, JS, etc.
IP (Internet Protocol): If the full explanation of the concept is too long. Here I summarize the number of IP addresses that you are providing. The IP address ranges will be selected by the provider randomly for you.
Usually, if you choose to buy more IP, the IP ranges will have the same class A and B. For example: 192.168.1.1 / 192.168.1.2 / 192.168.1.3.
There are 6 basic parameters you need to know when purchasing a VPS, where the SWAP parameter may be a few vendors will not show up outside the price list, and have IP parameter you will be selecting the number to buy. at the order page.
2.7. cPanel, DirectAdmin or Parallels Plesk?
Although these three are not really necessary for you if you use VPS for personal use, I will explain to you what you should choose.
All three are Webserver Control Panel for VPS or Dedicated Server. Their main function is to support you configure the webserver, create small host packages or even serve you the sale of the host.
All three WebServer Control Panels are paid, and if you choose it when you rent a VPS, you will have to pay extra, ranging from $8 to $15 per month. But there are lots of free control panels out there, but you do not need to know them yet, just to understand what the Webserver Control Panel is.
What is cPanel?
cPanel is the best and most popular WebBoard Control Panel. If you have used Shared Hosts then you probably already know the cPanel X administration 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.
What is Parallels Plesk?
It’s the same as cPanel and DirectAdmin, but otherwise it supports both Windows VPS and Linux VPS.
There are three types of control panels that you will often encounter in optional service additions when purchasing VPS.
2.8. CentOS, Ubuntu, Debian, Windows Server, etc,
When buying VPS, vendors will ask you 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)
- Windows Server (Windows)
In that case, if you use WordPress in particular or run PHP website in general, then choose the type of Linux operating system. You can choose CentOS or Ubuntu OS as these are two multi-user operating systems, you will find many tutorial articles.
3. Managed VPS and Unmanaged VPS
When hiring a VPS, you need to understand the VPS provider you intend to hire as Unmanaged VPS or Managed VPS to avoid future misunderstandings and accidentally dump them.
Also, when you look at the price of VPS services there are places where prices are very high, but there are also places where prices are very low, the main reason is Managed VPS or Unmanaged VPS.
3.1. What is Managed VPS?
Managed VPS is the type of service that provides VPS to customers with administrative service. Administration service includes installing/consulting everything about VPS clients need, as well as optimizing performance and security for VPS.
Often Managed VPSs are expensive, because managing VPS is not easy, and it’s good for people who do not have much VPS management skills but need to use VPS.
There are also some vendors that do not charge VPS admin fees on the external display but will have a VPS administration option when ordering.
3.2. What is Unmanaged VPS?
Unmanaged VPS means the type of VPS service that does not include VPS management for the customer, but the vendor only ensures that your VPS is free from downtime or other causes that result from the primary server.
With this service, all tasks such as installation of webserver, configuration, installation of software, security, etc, must be done by yourself. And you’re responsible for your settings.
Unmanaged VPS is pretty cheap, sometimes twice as cheap as Managed VPS services, but you should only use it if you have knowledge of VPS or at least understand it.
Some famous Unmanaged VPS service providers:
4. KVM and OpenVZ
This may not distinguish you from some VPS providers, but some are split into two separate VPS packages, so what is KVM and what is OpenVZ? Does it affect your website? Let’s find out.
The technical theory of these two technologies should not be listed here because it is not really necessary to find out now, but I just talked about its use efficiency only.
4.1. What is KVM VPS?
KVM is the total virtualization system and virtual servers created by this virtualization system will be hardware-based virtualization, meaning that the parameters you allocate are the physical resources available on the total server. KVM VPS are not interchangeable, so the price of KVM VPS will be higher than OpenVZ.
With KVM you will have the advantage of using many of its unique features such as VNC support, self-resetting of RAM and hard drive, full kernel editing, and more.
In addition to KVM, some vendors use a full virtualization system like Xen, Hyper-V, VMWare, etc.
4.2. What is OpenVZ VPS?
This is not a virtualization system but rather a virtual machine (or VE/Virtual Enviroment) to make copies of an operating system broken down into containers, but it still has enough features. Essential as a virtual server.
For example, you have 1GB of RAM and 2 cores, but when used, your VPS will not use up the amount of resources that will support CPU resources for other VPS packages on the same server.
However, a major difference of OpenVZ is sharing resources. For example, you have 1GB of RAM and 2 cores, but when used, your VPS will not use up the amount of resources that will support CPU resources for other VPS packages on the same server.
In comparison, KVM will be faster and better than OpenVZ but OpenVZ is better than KVM and will easily upgrade resources without restarting VPS. In addition to OpenVZ, there is another virtualization system like LXC (Linux Container).
5. Where to buy VPS?
You can buy any vendor’s VPS to learn this series because the VPS usage is the same. If you want to buy on my offer then I would recommend some very good VPS providers and also affordable prices.
The above is the basic knowledge that new people should know before choosing to hire VPS. The knowledge needed more but now I see only with what I listed above can help you understand the nature of VPS.