Virtual Private Server setup
Articles,  Blog

Virtual Private Server setup

In this video, you will learn how to set up
a Virtual private server with Linux Operating system. But before we start with the actual setup, let me make a short introduction for those who are not familiar with Virtual private
servers. You can skip it by scrolling to this place
in the video player. Virtual private server or VPS is a virtual
machine that is usually located in a cloud. Basically, it is a system you can assess remotely
from anywhere any time. There are many use cases for such systems: The most popular one is hosting a website
or web application. In this case, you have
Guaranteed performance because you get your own dedicated CPU, RAM, storage, bandwidth; Better security because your virtual machine is an isolated
environment and unlike in shared hosting what happens to your neighbor will not affect you; you also get complete server control because you have root access to your server. Create a Private Cloud to sync your documents,
contacts, calendars, emails, passwords. Unlike with third-party services such as Dropbox,
Google, iCloud, you have full control over the privacy of
your data. You can also use VPS as a private VPN to encrypt
your wireless connection VPS can also be convenient for developing
and testing your code. You can use it for Analytics and Data analyses If you are a gamer, you can host a game on
a VPS. Basically, VPS can do anything what Linux
can do but unlike a desktop Linux machine, VPS is more convenient because it can be on
24/7 and it is accessible from any system through the internet. Let’s start with the Virtual private server
setup. I will use UpCloud as a VPS provider. It is currently the best on the market. UpCloud provides World’s fastest Cloud Servers. You can see, for example, the performance
comparison between UpCloud and Amazon Web Service. UpCloud is better in all regards. This is also supported by VPS benchmark results. This is UpCloud in terms of CPU performance. You can check other metrics here too, but
it is always better to check everything yourself. You can register an UpCloud account with a
promo code alu25 to test UpCloud. With this promo code, you will get $25 credits and a 7 days trial period instead of default
3 days. If you upgrade your account by depositing
at least $10, all trial period limitations will be lifted and you will have full access
without time or other limitations. They also offer a 30-day money-back-guarantee
for your first deposit in case you don’t want to continue using UpCloud
for any reason and
would like to get your money back. So, you will see that a promo code is applied. You fill in your username, password, and email. On the next page, you need to provide more
information about yourself. You also need to fill in your credit card
information. But you won’t be charged anything and you
can delete the credit card information after you sign in. This is used only for identification verification and to prevent abusers, spammers and other
malicious activity After you sign in you will see $25 on your
account and your trial mode will be active be for
7 days. If you deposit $10 to your account, you can
do that with your credit card, PayPal, or a bank transfer, you will remove all trial
mode restrictions as I did Next, you click on Deploy Server. You will be given a choice of server locations. You can choose one which is the closest to
your location, but pay attention to the price because servers located in Helsinki will be
more expensive. Next, you choose a plan depending on the amount
of resources you need. For a test purpose, you can go with the cheapest. You can also allocate more storage if you
need but it will be for an additional cost. Here, you can a selection of most frequently
used Operating Systems. I think Debian and Ubuntu are good choices. I will proceed with Debian Stretch. But you can also install other Linux disros
from the CDROM tab. Optionals: I recommend to keep them at default. UpCloud also encourages you to set up an SSH
key for authentication. This is highly recommended for better security and if you know how to use SSH keys provide
your ssh key here. Otherwise, skip it for now, I will cover how
to use SSH keys in a separate video. In the last section, you can change the hostname, this is the name you see what you log in to
the server. The description is the name you will see in
your UpCloud account. Finally, click Deploy. It will take less than a minute to deploy
a server. So, you can already asses the speed of UpCloud
servers that deploy in seconds rather than in minutes When your server is ready, you will receive
an email with an IP address of your server, username, and password. You use this information to log in to your
virtual private server. In the terminal type, ssh root and your IP
address. and password. Congratulation, you have your own private
server. You can start testing it. But probably it will be wise to first of all
update it. Since it is Debian, we use the standard apt
update and apt upgrade commands. Of course, it is subjective, but the update
speed seems to be really fast. so this also proves the high performance of
Upcloud servers You can check the system information. It is Debian with the kernel 4.9 There is 1 Gb of RAM and 1 CPU. Also, during your first login, I highly encourage
you to change your root password: You need to use the command:
passwd Enter your new password twice. You password has been changed successfully. Just do not forget it 🙂 There are a few other necessary security measures such as create a regular user and do not work as root all the time, install and configure a firewall and add SSH keys. But it will cover these topics in the next
videos so subscribe, activate the bell notification and you won’t miss them. For now, your virtual private server with
minimal configuration is set up. Don’t forget the promo code alu25 to get
additional $25 I would like to thank UpCloud for supporting
this video and Thank you for watching.


Leave a Reply

Your email address will not be published. Required fields are marked *