Back to all templates
Rancher logo

Rancher

Infrastructure4096MB+ RAM

Kubernetes management platform

kubernetesmanagementmulti-cluster

Deploy Rancher in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Rancher

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
DIY Deployment

Self-Host Rancher with Docker

Take the DIY route and deploy Rancher on your own server using Docker.

1

Remote into Your Server

Initiate a secure shell connection to your server using the command below.

terminal
# Connect to your VPS
ssh root@your-server-ip

# Or with a specific SSH key
ssh -i ~/.ssh/your-key root@your-server-ip

First time? Docker required! Install it with: curl -fsSL https://get.docker.com | sh

2

Create the App Directory

Organize your deployment by creating a dedicated project folder.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/rancher
cd ~/apps/rancher
3

Write Your docker-compose.yml

Create a new docker-compose.yml file and paste this configuration:

docker-compose.yml
services:
  rancher:
    image: rancher/rancher:latest
    ports:
      - "443:443"
      - "80:80"
    volumes:
      - rancher_data:/var/lib/rancher
    privileged: true
    restart: unless-stopped

volumes:
  rancher_data:
Configurable Options
PORTHTTPS port(default: 443)
HTTP_PORTHTTP port(default: 80)
4

Launch the Containers

Start the services and tail the logs to verify startup.

terminal
# Spin up containers
docker compose up -d

# Verify deployment
docker compose ps

# Check logs for errors
docker compose logs -f
5

Open Firewall Ports

Open the required port in your firewall to allow access.

terminal
# Allow the application port through firewall
sudo ufw allow 443/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:443
Skip the Terminal

Want the easy way? Try Server Compass.

Forget SSH and YAML files. Deploy Rancher visually with Server Compass in just a few clicks.

  • Visual config editor
  • Instant deployment
  • Automatic HTTPS
  • Smooth updates
  • Live monitoring
  • Quick rollbacks
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying Rancher with Server Compass, complete these steps to finish setup

1

Get bootstrap password from logs

2

Set admin password

3

Add Kubernetes clusters

Need help? Check out our documentation for detailed guides.

Rancher FAQ

Common questions about self-hosting Rancher

How do I deploy Rancher with Server Compass?

Simply download Server Compass, connect to your VPS, and select Rancher from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Rancher?

Rancher requires a minimum of 4096MB RAM. We recommend a VPS with at least 8192MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Rancher data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Rancher backup and restore procedures.

How do I update Rancher to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Rancher image will be pulled and deployed with zero downtime.

Is Rancher free to self-host?

Rancher is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Rancher?

Download Server Compass and deploy Rancher to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass