- Published on
Hetzner Guide: How to Choose the Best Server for Your Needs
Hetzner is a German-based cloud service provider that offers high-performance computing resources, including dedicated servers and cloud instances, at some of the lowest price points in the industry. By using their ARM-based or Intel/AMD cloud servers, you can launch a production-ready web application in under 60 seconds for less than $5 per month. Choosing the best server involves matching your specific project requirements—like CPU power for AI tasks or RAM for databases—to their tiered cloud or dedicated hardware options.
Why should you consider Hetzner for your projects?
Hetzner stands out because it offers a rare balance of high-end hardware and budget-friendly pricing. Many developers move their projects here when they realize they are paying a premium for "brand name" cloud providers without using their complex extra features.
The platform provides a simple interface that does not overwhelm you with hundreds of unnecessary products. You get exactly what you need: fast storage, reliable processors, and plenty of bandwidth (the amount of data transferred to and from your server).
We have found that Hetzner’s European and North American data centers provide excellent speeds for global users. Their focus on efficiency allows them to pass savings directly to you, making it an ideal choice for solopreneurs.
What are the different types of servers available?
Before you click "buy," you need to understand the three main categories of servers Hetzner offers. Each serves a different purpose depending on how much traffic or processing power your app requires.
- Cloud Servers: These are virtual machines (a software-based computer that runs on physical hardware) that share resources with other users. They are flexible, can be resized instantly, and are billed by the hour.
- Dedicated Servers: These are physical machines where 100% of the hardware belongs to you. You don't share the CPU (Central Processing Unit) or RAM (Random Access Memory) with anyone else, which is perfect for high-traffic sites.
- Server Auction: This is a unique marketplace where you can bid on older dedicated hardware at a massive discount. It is a great way to get powerful specs if you don't mind using slightly older CPU models.
How do you manage costs effectively?
Hetzner uses a transparent billing system that prevents "bill shock" at the end of the month. You only pay for the resources you actually use, and they provide clear limits on data usage.
Most cloud plans include 20TB of traffic, which is more than enough for almost any beginner project. If you go over this limit, the extra costs are clearly defined in their pricing table.
You can also set up "Projects" in your dashboard to group servers together. This helps you track exactly how much each specific experiment or client site is costing you in real-time.
What do you need before getting started?
Setting up a server requires a few items to ensure your account is verified and your connection is secure. Don't worry if you don't have everything ready yet; you can gather these in just a few minutes.
- Identification: Hetzner often requires a photo ID or a small credit card verification to prevent fraud.
- A Credit Card or PayPal: You will need a valid payment method to activate your account.
- A Terminal: This is a program on your computer (like Command Prompt on Windows or Terminal on Mac) used to type commands to your server.
- SSH Key: A digital "key" used to log into your server securely without a password.
Step 1: How to generate an SSH key?
Security is the most important part of setting up a new server. Instead of using a password that can be guessed, you should use an SSH Key (Secure Shell Key).
Open your terminal and type the following command:
# This creates a new security key using the Ed25519 algorithm
ssh-keygen -t ed25519 -C "[email protected]"
After running this, the terminal will ask where to save the key. Just press "Enter" to use the default location. You now have a private key on your computer and a public key that you will give to Hetzner.
Step 2: How to create your first Cloud Console project?
Once your account is verified, you will see the Cloud Console. This is your main dashboard for managing all your virtual computers.
- Click the "New Project" button and give it a name like "My First App."
- Inside the project, click "Add Server."
- Select a location closest to your target audience (e.g., Ashburn for US users or Falkenstein for European users).
- Choose an Image (the Operating System), such as Ubuntu 24.04, which is very beginner-friendly.
Step 3: How to choose the right hardware specs?
For beginners, we recommend starting with the "Shared vCPU" ARM64 or Intel plans. These are incredibly cheap and can handle thousands of visitors if your code is efficient.
- CAX11 (ARM64): Great for Python scripts or small web apps using frameworks like Next.js 15.
- CX22 (Intel/AMD): A solid choice if your software specifically requires x86 architecture.
- Dedicated vCPU: Choose this only if you are running heavy tasks like video encoding or complex AI model training.
What you should see: After selecting your plan, the "Monthly Price" will be displayed at the bottom, usually starting around €4.00 to €5.00.
Step 4: How to configure the firewall for safety?
A Firewall is a digital barrier that decides which traffic is allowed to enter your server. By default, you should block everything except the essentials.
In the Hetzner Cloud Console, navigate to "Firewalls" and create a new one with these rules:
- Allow SSH (Port 22): So you can log in.
- Allow HTTP (Port 80): So people can see your website.
- Allow HTTPS (Port 443): For secure, encrypted website traffic.
Apply this firewall to your server during the creation process. This simple step protects you from most common automated attacks.
How do you connect to your new server?
Once the server status turns green and says "Running," it is time to log in. You will use the IP address (a unique string of numbers like 123.45.67.89) provided in the dashboard.
Open your terminal and type:
# Replace the numbers with your actual server IP address
ssh [email protected]
If you set up your SSH key correctly, you will be logged in immediately without a password. You are now inside your server and ready to install software like Docker or Node.js to run your applications.
Common Gotchas and Troubleshooting
It is normal to feel a bit lost the first time you see a black terminal screen. Here are a few things that might trip you up:
- Account Verification: If your account isn't approved instantly, don't worry. A human usually reviews it within 24 hours to keep the network safe.
- Connection Timed Out: This usually means your Firewall is blocking Port 22. Double-check your Firewall settings in the console.
- ARM vs. X86: If you choose an ARM server (CAX series), make sure the software you want to install supports "arm64." Most modern tools like Docker and Python 3.12+ work perfectly on ARM.
Next Steps
Now that your server is running, the possibilities are endless. You might want to learn how to set up a "Reverse Proxy" (a tool that directs web traffic to your app) or how to deploy a database.
You should try installing a simple web server or exploring how to automate your deployments using tools like GitHub Actions. Taking small steps will help you build confidence as a technical solopreneur.
For more detailed guides, visit the official Hetzner documentation.