Skip to contentcloudvix
cloudvix

Your files on someone else's cloud? Keep them on your own server.

Your own Nextcloud on a Cloud Server

Your files, calendar and contacts on a server that is yours. From €0.0134 an hour.

Topaz · €0.0134 / hour · at most €8.99 / month per server · excl. VAT

Room for your files

Your files live on the server's NVMe disk. Topaz has 40 GB; the bars show the disk of every plan.

40GB NVMe

PlanNVMe disk
Quartz20 GB
Topaz40 GB
Garnet80 GB
Sapphire160 GB

Which plan for Nextcloud

For Nextcloud the disk matters most: your files share the 40 GB NVMe disk of Topaz with the system, Docker images and the database. Memory is rarely the limit for a few users. If you expect more files, start with a larger plan from the price list, whose disk is larger.

The plan for this task

Topaz

  • 2 vCPU
  • 4 GB RAM
  • 40 GB NVMe
  • 2 TB traffic

Topaz · €0.0134 / hour · at most €8.99 / month per server

All plans and prices

Install Nextcloud in five steps

You need the server's IP address and the root login from your dashboard. The commands follow the Docker and Nextcloud image documentation; check their pages if something has changed.

  1. Step 1: Log in over SSH

    Replace SERVER_IP with the address from your dashboard and log in as root with your SSH key or the root password.

    Step 1: Log in over SSH
    ssh root@SERVER_IP

  2. Step 2: Install Docker

    The install script of the Docker project sets up Docker Engine and the Compose plugin on Ubuntu 24.04.

    Step 2: Install Docker
    curl -fsSL https://get.docker.com | sh

  3. Step 3: Create a folder and the database passwords

    Both passwords are generated on the server and saved in a .env file next to the Compose file, so they are never typed or pasted anywhere.

    Step 3: Create a folder and the database passwords
    mkdir -p ~/nextcloud && cd ~/nextcloud
    printf 'DB_PASSWORD=%s\nDB_ROOT_PASSWORD=%s\n' "$(openssl rand -hex 16)" "$(openssl rand -hex 16)" > .env

  4. Step 4: Write the Compose file

    Two containers: MariaDB and Nextcloud. Both keep their data in volumes. Nextcloud answers on port 8080.

    Step 4: Write the Compose file
    cat > compose.yaml <<'EOF'
    services:
      db:
        image: mariadb:11
        restart: always
        command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
        environment:
          MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
          MYSQL_DATABASE: nextcloud
          MYSQL_USER: nextcloud
          MYSQL_PASSWORD: ${DB_PASSWORD}
        volumes:
          - db:/var/lib/mysql
      app:
        image: nextcloud
        restart: always
        depends_on:
          - db
        ports:
          - "8080:80"
        environment:
          MYSQL_HOST: db
          MYSQL_DATABASE: nextcloud
          MYSQL_USER: nextcloud
          MYSQL_PASSWORD: ${DB_PASSWORD}
        volumes:
          - nextcloud:/var/www/html
    volumes:
      db:
      nextcloud:
    EOF

  5. Step 5: Start Nextcloud

    Compose downloads the images and starts both containers. Open http://SERVER_IP:8080, wait until the page loads and create the admin account.

    Step 5: Start Nextcloud
    docker compose up -d

Nextcloud runs on your server and you look after it: installing, updating, backups and security of Nextcloud are yours. Cloudvix provides the Cloud Server with root access, not a managed Nextcloud service.

Create the server for Nextcloud

Choose Topaz and Ubuntu 24.04 in the order form. A new server is usually ready in a few minutes.

Plan
Topaz · 2 vCPU · 4 GB RAM · 40 GB NVMe
System
Ubuntu 24.04
Location
Frankfurt
Price
Topaz · €0.0134 / hour · at most €8.99 / month per server
Create a server for Nextcloud

The order form opens with the plan selected; pick the system from its list there. Prices exclude VAT.

Questions and answers

How much space do I have for files?

Your files live on the server's NVMe disk: 40 GB on Topaz, shared with the system, Docker images and the database. The disk size is that of the plan; larger plans have more.

Can I use a domain and HTTPS?

Yes, and for the apps you should. Point a domain at the server, put a reverse proxy with certificates such as Caddy in front of Nextcloud and add the domain to trusted_domains with the occ command from the Nextcloud documentation.

How do I back up Nextcloud?

Put Nextcloud into maintenance mode, copy the two Docker volumes (database and files) and keep the copy away from the server. Backups are yours to set up.

Can I use the desktop and phone apps?

Yes. The Nextcloud apps connect to your server's address; use a domain with HTTPS for them.

Is this managed Nextcloud hosting?

No. It is your own server: you install, update and secure Nextcloud yourself. Cloudvix provides the Cloud Server with root access.

Your own Nextcloud on a Cloud Server

Topaz · €0.0134 / hour · at most €8.99 / month per server

Create a server for Nextcloud