
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
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
- Once logged in and on the Cloud Dashboard, press New project.
- Give it an appropriate name, e.g. Websites
3. Press Create a Server
- Location: Choose a location for your server, either one that’s close to you or central to your userbase.
- Image: Choose an image, I’d recommend to select Ubuntu
- Type: Choose a CPU that fits your use case, I personaly use Shared vCPU → x86 → CX22/CPX11
- 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”
- Make sure you have Git insalled
git --version
- 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
- 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.
- Description: Any IPv4 Any IPv6, Protocol: TCP, Port: 22
- Description: Any IPv4 Any IPv6, Protocol: TCP, Port: 80
- 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