Deploy with Ubuntu VPS (Part 1) How to create your own VPS?

Tram Ho

1. Opening

  • The essence of life is a constant daily effort. Everyone tries to make their version of today better than yesterday. In my work too, I am a backend web developer myself, I think just knowing the code is not enough, to increase our self-worth, I think we need to know more than that. For example, you need to learn more knowledge to become a fullstack developer , to be able to build and deploy your website to the server yourself. So I recently attended a course on deploying projects on VPS and today I want to share with you how to create your own VPS . Ok let’s start

2. Choose a VPS provider

Currently there are many VPS providers that provide you with reliable uptime, fast speed and abundant resources ( RAM , storage, bandwidth etc.) at a reasonable price. Some of the good VPS providers today can be mentioned as:

In this article, I will guide you to create a VPS on Vultr .

1. What is Vultr?

  • With over 200,000 customers from 150 countries globally, Vultr is known as a cloud server platform with flexible storage. This advanced cloud platform aims to provide cloud infrastructure and hosting services to enterprises and developers. With 17 data centers, Vultr simplifies the cloud environment for developers around the world.
  • One-click deployment, 100% SSD, fully automated, and dedicated to wow users. Similar to the competition with reasonable prices and a friendly administration system. Vultr is considered as one of the best service providers of Cloud Server services. Certainly, it can be a reliable choice for small scale projects with small scale and limited budget.

2. Create VPS on Vultr

  • First you need to create an account on Vultr . Currently, Vultr has a program to give away $ 150 when new registration, you can refer here
  • This is the VPS registration screen on Vultr image.png
  • First you need to select Server . There are many types of servers here for you to choose with different purposes. If you just use it for the simple purpose of self-study or build a simple website that doesn’t have too many users, I recommend that you go with the cheapest package and play.
  • Next we need to choose a CPU & Storage Technology provider. image.pngThere are 2 vendors here, Intel and AMD . Details you can see as description
  • Server Location image.pngVultr provides us with many servers located in different countries, which is very convenient for fast and stable server access. Because I am in Vietnam, I recommend that you choose servers near Vietnam such as Japan, Korea, Singapore…
  • Server Image image.pngNext we need to choose the operating system for the server . Vultr provides us with many operating systems such as Debian , window , ubuntu … You can choose the operating system that suits your needs. Here I choose the operating system ubuntu 20.04
  • Server size image.pngDepending on the size of the project, you should choose the appropriate server . If it is simply for learning purposes, choosing the 25 GB NVme package is enough
  • Auto Backup image.pngThis is a nice feature of Vultr that allows you to recover lost images by backing up a new version from the saved image .
  • Extra Features image.pngYou can choose to add some features according to your needs. For your needs, choose to add Enable IPv6
  • SSH KeysYou need to generate ssh key on local , then generate ssh key on Vultr by . Enter the name you want to create and copy the content of the local public key file ( into the box.

image.png image.png

  • FirewallThe default will be no Firewall . However, you can configure your own firewall . As below, I have created some options for Firewall : SSH , TCP image.png
  • Server Host name & LabelYou can put your domain in (if you already have one). It is not possible to add any domain . This part I think is not very important, so you can not enter it.


  • Just Deploy . After the deployment is complete, the following will appear: image.png
  • You can see the details of the VPS you just created. Here displays quite a lot of information such as Username , Password , server location, lost CPU , amount to pay … image.pngTo check, you can ssh in to see if you can login

The display is like this as success. image.png

3. Notes

If you don’t need to use the server , please stop to avoid being charged

4. Conclusion

  • Above, I just showed you how to create VPS on Vultr . The article is very simple but I hope it will help you. In the next article, I will guide you, how to deploy a complete Laravel project on VPS . We look forward to receiving your support. Thank you for reading my post
Share the news now

Source : Viblo