Cloudron is a self-hosting solution that streamlines the installation and management of applications on a server. In addition, the platform enables end-to-end deployment of apps, task automation, automatic backups, and updates making server administration easy.
In this article, youâll install Cloudron on a Ubuntu 20.04 server and launch apps like WordPress, Next Cloud, Rocket Chat, Gitlab, Open VPN, among many others.
Deploy a fresh Ubuntu 20.04 server on Vultr
An active domain name pointed to the Server (A record)
SSH and Login to the server
Update the server
By default, API Access is disabled on Vultr but can be enabled with a click.
First, log in to your Vultr account and navigate to Account
. Then, click API. Enable the API and add your Serverâs IP Address under Access Control
.
Download the Cloudron setup script using wget
.
# wget https://cloudron.io/cloudron-setup
Make the script executable.
# chmod +x ./cloudron-setup
Install Cloudron by running the script.
# bash cloudron-setup
The installation script will take between 5-7 minutes to complete. Once ready, you will be prompted to reboot the server, enter Y
to restart.
##############################################
Cloudron Setup (latest)
##############################################
Follow setup logs in a second terminal with:
$ tail -f /var/log/cloudron-setup.log
Join us at https://forum.cloudron.io for any questions.
=> Updating apt and installing script dependencies
=> Checking version
=> Downloading version 7.0.4 ...
=> Installing base dependencies and downloading docker images (this takes some time) ...
=> Installing version 7.0.4 (this takes some time) ...
=> Waiting for cloudron to be ready (this takes some time) ....
With Cloudron successfully installed on your server, itâs time to configure the platform on your server.
In a Web Browser, visit your Serverâs IP Address or linked domain name and accept the self-signed certificate by adding a browser exception.
http://YOUR_SERVER_IP_ADDRESS OR http://example.com
Note: Use these steps to proceed past the security warning.
The Cloudron domain setup dashboard will be displayed. Enter your domain name (non-subdomain).
Under DNS Provider
, select Vultr
from the drop-down list.
You will be required to enter the Vultr API Token
created on Step 1 of this article. Then, click Next
to proceed with the setup process and get an SSL certificate for the domain.
Now, set up an Administrator account by entering the Full Name
, Email
, Username
, and Password
for the account. Then, click Create Admin
to proceed.
Cloudron will create a my.yourdomain
subdomain, and automatically redirect you to the main web dashboard. This means the platform is ready to use. You can deploy Apps, set up DNS, create databases, add users, automate backups, among other features.
From the main Cloudron dashboard, click App Store
to create a free cloudron.io
account that will be used to manage subscriptions and billing on your server.
With the free plan, youâll be able to set up 2 Apps on Cloudron. Set up some by clicking App Store.
Select a new App and click Install. In this article, we will install WordPress.
You will be prompted for the URL location of your new app.
Leave the entry empty to use your main domain name, or enter a subdomain you want the new app to be installed.
To install a second App, for example, OpenVPN, repeat the process but change the URL location to avoid data loss.
Cloudron supports automatic backups. By default, backups are stored to the same disc as the server instance, and this is not recommended. Instead, you can link a Vultr Object Storage bucket
to store your Cloudron backup files.
To create a Vultr Object Storage bucket, go to the products page on your Vultr dashboard, and then navigate to objects.
Click Add Object Storage
to select a region and give it a custom label.
Click Manage Object Storage
, then copy the Secret key
and Access key
.
Navigate to Buckets
, click Create Bucket
, and assign it a name.
Head back to the Cloudron web dashboard, click your user account (in the top right corner), and select backups
from the drop-down list.
Under backups, navigate to location
and click Configure
.
Choose Vultr Object Storage
from the storage provider list.
Enter the object storage bucket name
.
Select region
, enter the access key
and secret key
copied earlier, and click save.
Finally, navigate to Schedule and Retention
and click Configure
.
Set a backup frequency in Days
, and how often you plan to retain backups, then save your configuration.
All Cloudron backups will be automatically uploaded to your Vultr Object storage with .tgz
file formats.
In this article, you installed Cloudron on a Ubuntu 20.04 server. You can install applications on the platform, create databases, add domains, set up certificates, and get automatic updates for all services without the need to fix errors and maintain services manually.