Part 1 of 6

    Introduction & Installation

    Set up Coolify on your RamNode VPS and get your self-hosted PaaS running in 15 minutes. Git deployments, automatic SSL, and one-click databases await.

    Ubuntu 22.04+
    Docker
    Let's Encrypt

    If you've ever been frustrated by Heroku's pricing, Vercel's limitations, or the complexity of Kubernetes, Coolify might be exactly what you need. It's an open-source, self-hosted platform that gives you the deployment experience of a managed PaaS—but on your own infrastructure, with your own rules.

    In this series, we'll walk through setting up Coolify on RamNode and using it to deploy everything from simple static sites to complex multi-container applications.

    1

    What is Coolify?

    Coolify is an open-source alternative to platforms like Heroku, Vercel, and Netlify. It runs on your own server and provides:

    • Git-based deployments — Push to GitHub/GitLab, and your app deploys automatically
    • One-click databases — Spin up PostgreSQL, MySQL, Redis, or MongoDB in seconds
    • Automatic SSL — Let's Encrypt certificates with zero configuration
    • Docker Compose support — Deploy any self-hosted app from a compose file
    • Multi-server management — Control multiple VPS instances from one dashboard

    The key difference from managed platforms? You own your infrastructure. No surprise bills, no vendor lock-in, and complete control over your data.

    2

    Why Self-Host Your PaaS?

    Cost predictability. A $16/month VPS can run dozens of small apps that would cost hundreds on managed platforms. You pay for compute, not per-app or per-seat pricing.

    No artificial limits. Deploy as many preview environments as you want. Run background jobs without paying extra. Keep your build minutes.

    Privacy and compliance. Your code and data never touch third-party infrastructure. Essential for projects with strict data residency requirements.

    Learning opportunity. Understanding what happens beneath the abstraction makes you a better developer—and makes debugging production issues far less mysterious.

    3

    Choosing the Right RamNode Plan

    Coolify needs resources to run its management interface, build containers, and orchestrate deployments. Here's what we recommend:

    Use CasePlanSpecsWhy
    Testing/learningStandard 2GB2GB RAM, 1 vCPUMinimum for Coolify + 1-2 small apps
    Solo developerStandard 4GB4GB RAM, 2 vCPUComfortable for 5-10 apps with databases
    Small teamStandard 8GB8GB RAM, 4 vCPURoom for CI builds, staging environments
    ProductionPremium 8GB+8GB+ RAM, dedicated CPUConsistent performance under load

    Recommendation: The Standard 4GB plan ($16/month) hits the sweet spot for most developers. Choose a region close to your users—RamNode offers locations in NYC, Atlanta, LA, Seattle, and the Netherlands.

    4

    Prerequisites

    • A RamNode VPS running Ubuntu 22.04 or 24.04 (recommended)
    • A domain name with DNS access (for SSL and accessing your dashboard)
    • SSH access to your server
    • About 15 minutes
    5

    Initial Server Setup

    SSH into your fresh VPS and prepare the system:

    Connect and update
    ssh root@your-server-ip
    
    # Update the system and install basic dependencies
    apt update && apt upgrade -y
    apt install -y curl git

    Configure a Firewall (Recommended)

    Coolify needs a few ports open. Set up UFW:

    Configure UFW firewall
    ufw allow 22/tcp    # SSH
    ufw allow 80/tcp    # HTTP
    ufw allow 443/tcp   # HTTPS
    ufw allow 8000/tcp  # Coolify dashboard (temporary)
    ufw enable
    6

    Install Coolify

    Coolify provides a one-liner installer that handles Docker and all dependencies:

    Install Coolify
    curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash

    This script will:

    1. Install Docker and Docker Compose if not present
    2. Pull the Coolify containers
    3. Set up the internal network
    4. Start the Coolify services

    The installation takes 2-5 minutes. When complete, you'll see:

    Installation complete
    Coolify installed successfully!
    Please visit http://your-server-ip:8000 to get started.
    7

    Initial Dashboard Setup

    Open your browser and navigate to http://your-server-ip:8000. You'll be greeted with the registration screen.

    Create Your Admin Account

    Fill in your details to create the first (admin) user. This account has full control over Coolify—choose a strong password.

    Configure Instance Settings

    After logging in, head to Settings in the sidebar. Key settings to configure:

    • Instance URL: Set this to your domain (e.g., https://coolify.yourdomain.com). This is important for webhooks and SSL.
    • Wildcard Domain: If you want automatic subdomains for your apps (e.g., myapp.yourdomain.com), configure a wildcard domain here.
    8

    Point Your Domain to Coolify

    For production use, access Coolify via a proper domain with SSL.

    DNS Configuration

    Add an A record pointing to your server:

    DNS A Record
    Type: A
    Name: coolify (or your preferred subdomain)
    Value: your-server-ip
    TTL: 300

    If you plan to use wildcard subdomains for your apps:

    Wildcard DNS Record
    Type: A
    Name: *.apps (or your preferred wildcard)
    Value: your-server-ip
    TTL: 300

    Enable SSL for the Dashboard

    Back in Coolify's settings:

    1. Set your Instance URL to https://coolify.yourdomain.com
    2. Coolify will automatically provision a Let's Encrypt certificate
    3. Once complete, access your dashboard via HTTPS

    You can now close port 8000 on your firewall:

    Close temporary port
    ufw delete allow 8000/tcp
    9

    Verify Your Installation

    Let's make sure everything is working. In the Coolify dashboard:

    1. Go to Servers in the sidebar
    2. Click on localhost
    3. You should see green status indicators for Docker and the server connection

    Run a quick health check from SSH:

    Check running containers
    docker ps

    You should see several Coolify containers running:

    Expected output
    coolify
    coolify-proxy
    coolify-db
    coolify-redis

    Understanding Servers and Destinations

    Coolify uses two concepts that might seem confusing at first:

    • Servers are the physical or virtual machines where your apps run. Your current VPS is automatically added as the "localhost" server.
    • Destinations are Docker networks on those servers where containers are deployed. Coolify creates a default destination for you.

    For a single-server setup, you don't need to change anything. The localhost server with its default destination is ready to deploy apps.

    10

    Quick Troubleshooting

    Can't access the dashboard?

    • Verify the server is running: systemctl status coolify
    • Check firewall rules: ufw status
    • Ensure Docker is running: systemctl status docker

    SSL not working?

    • Confirm DNS is propagated: dig coolify.yourdomain.com
    • Check Coolify logs: docker logs coolify
    • Verify ports 80 and 443 are open

    Installation failed?

    • Check system requirements (Ubuntu 22.04+, 2GB+ RAM)
    • Review the install log in /data/coolify/logs/
    • Try running the installer again—it's idempotent

    What's Next

    You now have a fully functional Coolify instance running on RamNode. Your self-hosted PaaS is ready to deploy applications.

    In Part 2, we'll deploy your first application—connecting a GitHub repository, configuring environment variables, setting up custom domains, and watching the magic of automatic deployments.