DEV Community

Fabian
Fabian

Posted on

Creating a Hetzner Cloud Server

Day 1 - Renting my first Hetzner Server

Today I created my first Hetzner server. I didn't know I am simply renting CPU, RAM and SSD... I spun up a Ubuntu VM on top.

Setting up a firewall

"a good firewall blocks everything"

Port 22 SSH (the remote control to my server on an unsecured network)

(will add later)
Port 80 HTTP (standard unencrypted network traffic)
Port 443 HTTPS (web traffic secure i.e the little lock icon in tab)
ICMP (let's me ping the server)

SSH

for default path we can find it using ssh cat ~/.ssh/id_ed25519.pub

I can ssh into my server using

ssh root@MY_SERVER

Main Lesson

before running software, I need to control access.

Next Steps

making sure everything is secure!

Top comments (0)