There are many ways to make your VPS as secure as possible. You might want to apply only the most important measures, and it might work. However, it is better to take all the possible precautions.
The most important step to make your VPS secure is to disable root logins. When a hacker notices that a root login option is available, he/she can try a brute force attack to break in. However, if you change the login, it will be much more difficult to break into through the security system of your VPS.
When a hacker doesn’t know where the SSH port is, it will be harder to connect to it. Therefore, change the SSH port.
Don’t forget to update all the components of the server. Remove all the ports and services that you don’t use.
Do you have Ipv6? If yes, skip this tip. If no, disable the Ipv6. It is convenient to some extent, but few people use it. If you aren’t one of them, disable it.
GnuPG encryption or another similar solution is a must. It is used to encrypt all the data that are transmitted by your server. Hackers often track such kind of data, and encryption prevents it.
A firewall should be configured without exception. It filters the unwanted traffic and adds an important security level to your Moldova VPS.