Skip to main content
A Virtual Private Server (VPS) is a virtualised server that runs on shared physical hardware, giving you dedicated resources — vCPUs, RAM, and storage — without the cost of a full bare metal machine. You manage the OS and everything above it; OVHcloud manages the underlying infrastructure.

Common use cases

  • Hosting websites, APIs, or small web applications
  • Development and staging environments
  • Running self-hosted tools (n8n, Nextcloud, WordPress, game servers)
  • Learning server administration with a low-cost, isolated environment
For workloads that need dedicated hardware, RAID control, or very high I/O, consider a dedicated server instead.

First-time setup

1

Check your delivery email

After your VPS is provisioned, OVHcloud sends you an email with the IPv4 address, the OS-specific username, and a secure link to retrieve your temporary password. Save these before continuing.
2

Connect to your VPS

Use the username that matches the OS you selected (for example, debian, ubuntu, or rocky):
ssh ubuntu@YOUR_VPS_IP
On first login, you are prompted to change the temporary password. The session closes automatically after you set it — reconnect with the new password.
3

Enable the root account (optional)

The root account is disabled by default. For most tasks, use sudo:
sudo command
To enable root if your workflow requires it:
sudo passwd root
4

Secure your VPS

Apply basic security hardening before exposing any services — see the Security section below for step-by-step instructions.
5

Point a domain name (optional)

Edit your domain’s DNS zone to add an A record pointing to your VPS IPv4 address. Then install an SSL certificate to serve traffic over HTTPS.

Backup options

VPS data is not backed up automatically. Choose one or more of the following strategies.

Snapshots

Take a point-in-time image of your VPS to restore quickly after a bad update or misconfiguration.

Automated backups

Schedule daily backups with multiple restore points managed by OVHcloud.

Additional disk

Attach a separate persistent disk for backups or static data that survives reinstalls.

Backup storage (FTP)

Use a remote FTP/NFS storage space to store backups outside your VPS.

Snapshots

A snapshot captures the full state of your VPS disk at a point in time. Enable the snapshot option in the Control Panel, then take a snapshot before risky changes. You can restore to a snapshot at any time from the Home tab of your VPS.
Snapshots are not a substitute for regular backups. A snapshot stored on the same infrastructure does not protect against hardware failure.

Automated backups

The automated backup option creates a daily backup with a retention window (typically 7 restore points). Enable it from the Backup tab in your VPS Control Panel page.

Additional disk

An additional disk is a separate block storage volume attached to your VPS. It persists independently of the VPS — data on it survives a VPS reinstall. To order one, go to your VPS in the Control Panel > Additional disk > Order an additional disk. After the disk is attached, partition and format it:
sudo fdisk /dev/sdb
Create a filesystem:
sudo mkfs.ext4 /dev/sdb1
Mount it:
sudo mkdir -p /mnt/data
sudo mount /dev/sdb1 /mnt/data
To mount automatically on reboot, add an entry to /etc/fstab:
echo '/dev/sdb1 /mnt/data ext4 defaults 0 2' | sudo tee -a /etc/fstab

Network configuration

IPv6

Each VPS is delivered with both an IPv4 and an IPv6 address. IPv6 is configured by default on most recent Linux distributions. If it is not, retrieve your IPv6 address and gateway from the Home tab > IP section in the Control Panel. Configure IPv6 on Ubuntu (using Netplan):
network:
  version: 2
  ethernets:
    eth0:
      addresses:
        - 2001:xxxx:xxxx:xxxx::1/128
      routes:
        - to: default
          via: 2001:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:zzzz
Apply:
sudo netplan apply

Additional IPs and IP aliasing

You can assign additional IP addresses to your VPS using IP aliasing. This is useful when hosting multiple services that each need their own IP. Configure additional IPs via the Control Panel, then add them to the network interface:
sudo ip addr add ADDITIONAL_IP/32 dev eth0
To make this persistent, add the address to your Netplan configuration or the appropriate network configuration file for your distribution.

Reverse DNS

Set a reverse DNS (PTR) record for your VPS IP from Bare Metal Cloud > IP in the Control Panel. Click next to your IP and select Modify the reverse DNS. Enter your fully qualified domain name.

Upgrading VPS resources

You can add vCPUs, memory, or storage without redeploying your VPS:
  1. Go to your VPS in the Control Panel > Home tab > Your configuration.
  2. Click the resource you want to upgrade (vCores, memory, or storage).
  3. Select the new capacity and confirm the order.
Your IP address does not change after an upgrade. Existing data is preserved. After a storage upgrade, you may need to expand your partitions manually.
After a storage upgrade, repartition the disk:
sudo growpart /dev/sda 1
sudo resize2fs /dev/sda1

Security

You are responsible for the security of your VPS. OVHcloud has no administrative access to your server and cannot apply security measures on your behalf.

Update the system

sudo apt update && sudo apt upgrade
Run this regularly. Security patches from distribution maintainers often address critical vulnerabilities.

Set up SSH key authentication

SSH keys are more secure than passwords and significantly reduce the risk of brute-force attacks. Generate a key pair on your local machine:
ssh-keygen -t ed25519 -C "[email protected]"
Copy the public key to your VPS:
ssh-copy-id -i ~/.ssh/id_ed25519.pub ubuntu@YOUR_VPS_IP
Once key authentication works, you can disable password authentication in /etc/ssh/sshd_config:
PasswordAuthentication no

Change the default SSH port

The default port 22 is scanned by automated bots. Switch to a high port (49152–65535):
sudo nano /etc/ssh/sshd_config
Port 49152
Restart SSH:
sudo systemctl restart sshd
Connect using the new port:
ssh ubuntu@YOUR_VPS_IP -p 49152

Install Fail2ban

sudo apt install fail2ban
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
sudo nano /etc/fail2ban/jail.local
Enable SSH protection:
[sshd]
enabled = true
port = 49152
maxretry = 3
findtime = 5m
bantime = 30m
sudo service fail2ban restart

Install an SSL certificate

For websites hosted on your VPS, use Let’s Encrypt (Certbot) to get a free SSL certificate:
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d yourdomain.com
Certbot auto-renews the certificate before it expires.

Troubleshooting

Rescue mode

Rescue mode boots your VPS into a temporary OS managed by OVHcloud. Use it to fix configuration errors, reset passwords, or check the filesystem when the VPS is unresponsive. To activate rescue mode:
  1. Go to your VPS in the Control Panel > Home tab.
  2. Click next to Boot and select Reboot in rescue mode.
  3. Confirm the action. You will receive an email with temporary SSH credentials.
Connect to rescue mode: Mount your VPS system partition to access your files:
lsblk
mount /dev/sdb1 /mnt/
To write changes:
chroot /mnt/
When done, reboot back to normal mode from the Control Panel.

Filesystem check

Run a filesystem check on an unmounted partition in rescue mode:
lsblk
umount /dev/sdb1   # unmount if needed
fsck -fy /dev/sdb1

KVM console

The KVM console gives you direct access to your VPS display — useful when SSH is unreachable or during Windows setup. Open it from the Home tab > > KVM in the Control Panel.

Install WordPress with Docker

Deploy WordPress using Docker and Docker Compose on a fresh VPS.

Install Nextcloud

Set up a self-hosted cloud storage solution using Docker and Traefik.

Install N8N

Deploy the N8N automation platform on your VPS with persistent storage.

Host a game server

Create a Minecraft or Palworld server for your community.

Deploy with GitHub Actions

Automate deployments to your VPS on every push to your repository.

Install CloudPanel

Manage multiple websites from a lightweight control panel built for developers.

Build docs developers (and LLMs) love