Skip to main content

Renting a VM/server from Hetzner for use with Blink

Introduction#

Hetzner is a cloud provider from Germany offering hosting services from Germany and Finland. It is cheaper than DigitalOcean and less confusing than AWS. It also has direct connections to FICIX (Finland's Internet Exchange Point).

Creating a VPS on Hetzner#

First, you have to sign up. Go to hetzner.com, click Login in the top right corner and select Cloud.

After signing up, open the default project created for you by Hetzner and click on Add server.

add server

You will be presented with a few options for regions and Linux distributions. Select the closest region to you to make sure you have the least latency and pick your preferred distro.

select region and distro

Now you can select a server tier. Don't worry about underestimating or overestimating your needs because you will be able to resize your server at any time.

select tier

After that, you will need to generate an SSH key to authenticate with your server. Open Blink and run config, select Keys, click the plus button and click Create SSH key.

create ssh key

And give it a name...

create ssh key options

After that, copy the public part of the key and go back to the server creation page...

copy ssh key

Then, check the Backups box if you want your server to have backups if you mess up sometime in the future, add the SSH key and select it. Give it a cool name and click Create and Buy Now.

add ssh key

Hetzner will begin provisioning your server - that shouldn't take more than a few minutes. When your server is created, you will see a notification.

server created

Connecting to your VPS with Blink#

Now that your VPS is created, you can connect to it with Blink. Run config, tap Hosts and tap the plus button. Fill in your server IP and select the SSH key created above. By default, Hetzner will create a user called root on your server.

create host

And finally, you can click save and connect to your server with the ssh command.

ssh [host]

finally connected