Published on

What is Hetzner? Why Developers Choose It for Hosting in 2026

Hetzner is a German-based cloud service provider that offers high-performance servers, cloud hosting, and storage solutions at prices significantly lower than competitors like AWS or Google Cloud. You can deploy a powerful virtual private server (VPS) in under 60 seconds for as little as €4.50 per month, making it a top choice for developers who need reliable hardware without a complex billing structure. By utilizing their own energy-efficient data centers in Europe and North America, they provide a 99.9% uptime guarantee for modern web applications.

Hetzner stands out because it balances raw power with extreme cost-efficiency. While major providers often add hidden fees for data transfer (the cost of moving information from the server to the user), Hetzner includes generous bandwidth limits that are difficult for beginners to exceed. This predictability helps new developers manage their budgets without worrying about a viral project causing a massive, unexpected bill.

The hardware itself is another major draw for technical users. They use high-end components like NVMe SSDs (Non-Volatile Memory Express Solid State Drives - storage that is much faster than traditional hard drives) and the latest AMD EPYC processors. This means your website or application will load faster for users, which is a critical factor for both user experience and search engine rankings.

Finally, their control panel, known as the Cloud Console, is famously simple. Unlike the cluttered interfaces of larger cloud providers, Hetzner focuses on a clean design that lets you launch a server with just a few clicks. This simplicity reduces the "fear of breaking things" that many beginners feel when they first start working with cloud infrastructure.

Prerequisites

Before you begin setting up your first server, you should have a few things ready to ensure a smooth process. You will need a valid form of identification for account verification, as Hetzner has strict security checks to prevent fraud. You should also have a basic understanding of how to use a terminal (a text-based interface used to give commands to a computer) on your local machine.

  • A registered Hetzner account (requires email and ID verification).
  • A credit card or PayPal account for the initial deposit.
  • An SSH Key (Secure Shell Key - a secure way to log into your server without a password).
  • A terminal emulator like Warp, iTerm2, or the built-in Windows Terminal.

How do you choose the right server type?

When you first open the console, you will see two main options: Cloud Servers and Dedicated Root Servers. Cloud Servers are virtualized (a single physical computer split into many smaller "virtual" ones), which makes them perfect for beginners because they are flexible and cheap. Dedicated Root Servers give you an entire physical machine all to yourself, which is usually overkill for someone just starting out.

For your first project, we suggest starting with the "CX" or "CPX" line of cloud servers. These use shared CPU resources, which is more than enough for a personal blog, a small Discord bot, or a portfolio site. As your project grows, you can scale (increase the power of your server) with a simple reboot rather than migrating all your data to a new machine.

Don't worry about picking the "perfect" size right away. One of the best features of cloud hosting is that you can start small and add more RAM (Random Access Memory - the server's short-term memory) or CPU power later. It is normal to start with the smallest plan and only upgrade when you notice your application slowing down under heavy traffic.

Step 1: Creating your first Cloud Project

Projects are like folders that help you organize your servers, firewalls, and networks. This keeps your development work separate from your live websites.

  1. Log into the Hetzner Cloud Console.
  2. Click the "New Project" button in the top right corner.
  3. Give your project a name, such as "My-First-App," and click "Add Project."

What you should see: A clean dashboard with your new project name listed, ready for you to add resources.

Step 2: Adding an SSH Key for security

Using a password to log into a server is risky because hackers can use automated scripts to guess them. An SSH Key is a pair of long strings of characters that act like a digital lock and key, ensuring only your computer can access the server.

  1. Open your computer's terminal and type ssh-keygen -t ed25519.
  2. Press Enter through the prompts to save the file in the default location.
  3. Copy the contents of the public key file (usually found at ~/.ssh/id_ed25519.pub).
  4. In the Hetzner Console, go to "Security" > "SSH Keys" and click "Add SSH Key."
  5. Paste your key into the box and give it a name like "My-Laptop."

What you should see: Your key listed in the Security tab, which means you can now use it to deploy servers securely.

Step 3: Launching your server instance

Now you are ready to create the actual server, often called an "instance" or a "node."

  1. Inside your project, click "Add Server."
  2. Select a location close to your users (e.g., Falkenstein for Europe or Ashburn for North America).
  3. Choose Ubuntu 26.04 LTS as your Operating System (LTS stands for Long Term Support, meaning it will receive security updates for years).
  4. Select the "CX22" server type (or the current entry-level equivalent).
  5. Scroll down to "SSH Keys" and check the box for the key you added in Step 2.
  6. Click "Create & Buy Now."

What you should see: A progress bar will appear, and within about 30 to 60 seconds, you will see a green "Running" status next to your server's IP address.

Step 4: Connecting to your server for the first time

Now that the server is live, you need to "enter" it to start installing software.

  1. Copy the IP address (a series of numbers like 123.45.67.89) from the Hetzner dashboard.
  2. In your terminal, type ssh root@YOUR_IP_ADDRESS (replace the placeholder with your actual IP).
  3. Type "yes" when asked if you trust the new connection.
  4. You are now logged in as the "root" user (the administrator with total control).

What you should see: The command prompt will change to something like root@ubuntu-2gb-fsn1-1:~#, indicating you are now controlling the remote server.

How does Hetzner compare to AWS or DigitalOcean?

Hetzner is often favored because they don't charge for features that should be standard. For example, many providers charge extra for high-speed local networking between your servers, but Hetzner includes this for free. They also provide a "Snapshot" feature (a backup of your server at a specific moment) that is very affordable, allowing you to save your progress before making big changes.

While AWS (Amazon Web Services) has hundreds of complex services for enterprise companies, it is often too much for a solopreneur. DigitalOcean is a popular alternative, but Hetzner typically offers double the hardware specs (CPU and RAM) for the same price point. We have found that for most developers, the combination of German engineering and lower prices makes Hetzner the most logical starting point.

The main trade-off is that Hetzner has fewer data center locations globally compared to the giants. However, for users in Europe and North America, the latency (the delay before a transfer of data begins) is excellent. If your audience is primarily in these regions, you likely won't notice a difference in speed compared to more expensive providers.

Common Gotchas and Troubleshooting

One common mistake beginners make is forgetting to set up a Firewall (a security barrier that controls incoming and outgoing traffic). By default, a new server might have all ports open, which is like leaving your front door unlocked. You should use the Hetzner Cloud Firewall feature to only allow traffic on port 22 (for SSH) and ports 80/443 (for web traffic).

Another issue is the "Identity Verification" step. If your account isn't approved immediately, don't worry. Hetzner manually reviews many new accounts to keep their network clean from spammers. If they ask for a photo of your ID, it is a standard procedure to ensure you are a real person.

Lastly, remember that Cloud Servers are billed by the hour. If you create a server and delete it after two hours, you only pay for those two hours. However, if you "Power Off" the server but do not "Delete" it, you are still charged because the hardware resources are still reserved for you. Always delete the server entirely if you are finished with your experiment.

Next Steps

Now that you have a running server, you can start deploying real applications. You might want to learn how to install Nginx (a popular web server software) to host a website or Docker (a tool to run applications in isolated "containers") to manage your software more easily. You should also look into setting up a non-root user for better security, so you aren't always logged in with full administrative powers.

For more detailed guides, visit the official Hetzner documentation.


Read the Hetzner Documentation