Back to tutorials

VPS Contabo step by step: from order to first login

In 8 steps, with a simple explanation for each step.

You have chosen a Contabo VPS for your site or your management system. This guide takes you from the order to the first login, one step at a time.

If you are still comparing options, read first how to choose a VPS.

Before you start

  • A payment method

    You need a card or a PayPal account to order the server.

  • About 20 minutes

    The time to follow all 8 steps, at your own pace.

  • A computer

    With the Terminal: Windows, Mac or Linux is fine.

The path in 8 steps

The path in 8 steps: order, key, first login, update, your user, firewall, automatic updates, backups 1 2 3 4 5 6 7 8 Order Key Firstlogin Update Youruser Firewall Automaticupdates Backup

The steps

  1. Order the VPS at Contabo.

    What it does and why: the VPS is the server, a computer that is always on and keeps your site online. You order it only once.

    Go to contabo.com. Choose the Cloud VPS plan, a location in the European Union and the Ubuntu 24.04 LTS system.

  2. Create the access key.

    What it does and why: the key is like a door with a secure lock. It lets you enter the server without using a password that is easy to steal.

    On your computer, open the terminal and run this command. Then upload the key to my.contabo.com, in the "Secrets" section, before you confirm the order.

    ssh-keygen -t ed25519
  3. Log in for the first time.

    What it does and why: this command opens the connection with your server. It is the first real contact.

    Replace YOUR-IP with the address you find in the panel and in the activation email.

    ssh root@YOUR-IP
  4. Update the system.

    What it does and why: the server comes with old versions of programs. This step brings them to the latest version.

    The command updates the list of packages and installs the available updates.

    apt update && apt upgrade -y
  5. Create your user.

    What it does and why: working always as root is risky. Your own user is safer for everyday work.

    Use your own user for everyday work, not root. Replace yourname with the name you prefer.

    adduser yourname
    usermod -aG sudo yourname
  6. Turn on the firewall.

    What it does and why: the firewall is the guard at the entrance. It lets through only what is needed: your connection and the site.

    First open SSH access, so you don't lock yourself out. Then turn on the firewall and open the site's ports.

    ufw allow OpenSSH
    ufw enable
    ufw allow 80,443/tcp
  7. Turn on automatic updates.

    What it does and why: the server keeps itself updated with security patches on its own. You don't have to remember it every time.

    This way the server gets security patches even when you forget about it.

    apt install unattended-upgrades -y
  8. Turn on backups.

    What it does and why: a backup is a safety copy. If something goes wrong, you can go back.

    In the Contabo panel you find "Auto Backup". Before every important change, also take a snapshot.

Stuck?

No problem: we can set up and manage the VPS for you.

Get in touch

Affiliate link: if you buy, we receive a commission. Your price does not change.

Let's talk about your business.

Tell us about your day: with a tailor-made proposal, we'll show you how we can make it lighter.

Tell us about your business