Surely, it is useful (and sometimes crucial) to have a dedicated VPS server. The 24/7 availability requires the seamless functioning of the equipment and a safe IP address. At home, it is sometimes quite difficult to provide both of these conditions. And given that the cost of renting a simple virtual server is comparable to the cost of issuing a dedicated IP address by a typical Internet provider, to rent a server
may well justify the costs. But how to choose a server to rent?
Well, the main advantage of dedicated servers is that you can customize the components that would provide the best performance for a specific project. And in order to pick them up, you need to find out what exactly the server will be used for.
Should I rent a server?
The main thing to understand is what equipment requirements your project has. Developing web applications, to rent server space for website
, backing up data and storing company documents - each task may have some specific needs. Do you need a high-frequency processor or a lot of RAM? Let's figure it out.
The processor is characterized mainly by two parameters: frequency and number of cores. In some tasks, it is the high frequency that is important, while their number does not play a big role. And in those processes that support multithreading and parallelization of computations, on the contrary, it is worth using a multi-core CPU with a lower frequency.
In those tasks where a larger number of cores are useful - for example, for virtualization or video encoding - you should pay attention to servers with multi-core Xeon Gold and Xeon Silver processors. And for hosting large databases, processors with a higher frequency will be an option, but probably with a smaller number of cores: Intel Xeon E-series, for instance. If the server uses licensed software (for example, Windows OS) with a core rating, usually a processor with the minimum number of cores, but the highest clock speed of each core is selected.
If your project does not require a powerful processor, you can choose more budget options from previous generations - for example, Intel Xeon E3 or E5 series.
So, the processor cache is in the first position, RAM in the second, disk drives in the third. Their cost is distributed in approximately the same way - the closer to the processor, the more expensive. But recently, prices for RAM have become more affordable. Therefore, the more memory you have on your server, the better - this way applications can store most of the data closer to the processor and run faster.
ISPs typically offer 1G (1Gbps) and 10G (10Gbps) Ethernet ports. Two 1G ports are usually built into all servers, and 10G must be installed separately. The ports can be used to connect to the Internet and organize a local area network. In the first case, 1G bandwidth will suffice, and for a local network it is better to choose a higher-speed 10G port.
Generally speaking, the term "disk" is outdated, since only a part of modern recording devices are based on magnetic disks HDD, and SSDs are microcircuits. When choosing a disk subsystem, you should pay attention to three parameters: access time, capacity, and price. They are closely related, and a compromise must be thoughtfully sought. For example, SATA drives are inexpensive, offer large volumes (up to tens of TB), but have high access times. SSDs, on the other hand, offer shorter access times, but are more expensive per GB. It makes sense to use a pair of small SSDs for storing databases and a boot partition, and for a large amount of static content or backups, it is better to choose SATA.
It is also important to take care of data safety: for this it is better to choose server configurations with SSD in RAID arrays. If one or more drives fail, depending on the RAID level, you can still access the data.
RAID arrays combine multiple disk devices into a single unit to increase fault tolerance and read / write speed. It is worth choosing a server with RAID1 or RAID10 arrays. Remember that you can build a pair of SSDs RAID1 for the system and a RAID1 of SATA for static storage.
Obviously, money is also an important factor. And Dedicated server is usually the most expensive service of hosting providers. You should estimate the costs of the server and see if it can recoup them. If you make the right choice, it will certainly be worth your investment.
How to make sure that the data center is reliable?
When you have decided on the choice of configuration, an equally important question arises - choose a hosting provider and make sure that its data center meets all the necessary security requirements. After all, the reliability of the infrastructure, and therefore your server, will depend on this.
- Data protection. Are there any means of protection against hacker attacks and unauthorized access to data even in the event of a server failure?
- DDoS protection. Are there ready-made tools?
- Backups. Is there actually a regular backup?
So you decided to rent a server...
Choosing a server is a complex and thoughtful process, as a result of which you will receive an important resource for solving corporate and private problems. Do not skimp on trifles and choose a provider with whom you will be calm and safe. Based on your requirements and real needs, plan and calculate options.
Personally, we use a dedicated server provided by Deltahost (deltahost.com) to host our python.engineering and to perform some other activities: the combination of price, agility and customer service appeared to be the best available at the market.
Dedicated servers and VPS/VDS are an advanced technology that makes it possible to quickly and relatively inexpensively deploy computing power for any task. It saves time, effort, and nerves. Work technologically!