hetzner logo
Text copied to clipboard

Configure Cheap VPS on Hetzner


This guide walks you through the complete process of setting up a low-cost VPS on Hetzner—from creating an account, selecting the most affordable plan, deploying your virtual server, to securely connecting via SSH and installing essential tools. Whether you’re a developer testing side projects or someone looking for a budget-friendly server solution, this post covers all the key steps to get your Hetzner VPS up and running smoothly.


1. Navigate to Hetzner

Link to Hetzner

You need to provid some form of ID for the to be able to verify you.


2. Login to Cloud and Create a New Project

  1. Once logged in and on the Cloud Dashboard, press New project.
  2. Give it an appropriate name, e.g. Websites

3. Press Create a Server

  1. Location: Choose a location for your server, either one that’s close to you or central to your userbase.
  2. Image: Choose an image, I’d recommend to select Ubuntu
  3. Type: Choose a CPU that fits your use case, I personaly use Shared vCPU → x86 → CX22/CPX11
  4. Networking: Make sure Public IPv4 is selected, add Public IPv6 as well

4. Generate SSH Key

You’d like to avoid “receive the root password via email”

  1. Make sure you have Git insalled
git --version
  1. Run, to generate you SSH key
ssh-keygen

Tip: Update your Git with Git update if this doesn’t create a id_ed25519 file

Run and copy the output

cat ~/.ssh/id_ed25519.pub
  1. Then, in Hetzet press Add SSH key and paste the ouput you copied.

5. Volumes, Backups, Placement groups, Lables and Cloud config

Leave them as is unless you know what you are doing or if your specific use cases requires e.g. backups, turn it on. However this is an additional cost to the server price.

If you want to create e.g. a Cloud config you can find info about it here


6. Create your Firewall

You’ll need to set up 3 rules.

  1. Description: Any IPv4 Any IPv6, Protocol: TCP, Port: 22
  2. Description: Any IPv4 Any IPv6, Protocol: TCP, Port: 80
  3. Description: Any IPv4 Any IPv6, Protocol: TCP, Port: 443

7. Order the server

Press Create & Buy now


Congrats!! You Have Succesfully Created an Account and Created a VPS that’s Running in the Cloud using Hetzner

// Miyarima

Text copied to clipboard