Cloudron Server Deployment Overview¶
Prerequisites¶
To ensure a successful application deployment, the following conditions must be met:
-
Operating System: Ubuntu.
-
Access Rights:
rootuser 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:
-
Downloading the installation script from
https://cloudron.io/cloudron-setup. -
Cleaning the system of existing versions of
docker,nginx, andnodejs(removal of packages and their configurations). -
Executing the main installation script via
/tmp/cloudron-setup. -
System reboot to complete kernel and service configuration.
-
Installation of the
docker composeplugin versionv2.24.0into 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, anddockerto 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).