Aller au contenu

Cloudron Server Deployment Overview

Prerequisites

To ensure a successful application deployment, the following conditions must be met:

  • Operating System: Ubuntu.

  • Access Rights: root user with superuser privileges.

  • Network Settings: A public IP address and configured DNS records.

FQDN of the final panel on hostkey.in domain

The application uses two subdomains. Configuration follows this template:

Parameter Value
Prefix cloudron
Domain hostkey.in
Full Template cloudron{Server_ID_from_Invapi}.hostkey.in

Additionally, a subdomain with the my prefix is used to access the management panel:

  • Template: my.cloudron{Server_ID_from_Invapi}.hostkey.in

Application Installation Process

Installation is performed using the official Cloudron deployment script. The process includes the following stages:

  1. Downloading the installation script from https://cloudron.io/cloudron-setup.

  2. Cleaning the system of existing versions of docker, nginx, and nodejs (removal of packages and their configurations).

  3. Executing the main installation script via /tmp/cloudron-setup.

  4. System reboot to complete kernel and service configuration.

  5. Installation of the docker compose plugin version v2.24.0 into the system (/usr/local/lib/docker/cli-plugins/docker-compose).

Access Rights and Security

The following security measures are applied during the installation process:

  • Removal of standard system services nginx, nodejs, and docker to prevent conflicts with Cloudron components.

  • Configuration of automatic SSL certificate acquisition via Certbot.

  • Port access restriction (standard ports 80 and 443).

Proxy Servers

To ensure the web interface operates over the secure HTTPS protocol, the following are used:

  • Certbot: automatic certificate issuance and renewal.

  • Nginx: acts as a reverse proxy to handle incoming traffic on ports 80 and 443.

Certificates are issued for both domain names simultaneously: the primary one (cloudron{ID}.hostkey.in) and the technical management subdomain (my.cloudron{ID}.hostkey.in).