ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
By default, the clearml-server is served over port 8080 without encryption.
In order to increase the security of the web UI, this process below will secure the web server portal via HTTPS SSL using the open source NGINX server, and Letsencrypt certificates via the Certbot package.
step 1 - install NGINX server
I used Ubuntu 18.04 Linux as my OS, so these details are for that, differences may occur for other versions or operating systems.
In order to encrypt connections using HTTPS with SSL, we need to make certificates. There are many ways to do this but the easiest is using the LetsEncrypt service, and using the Certbot package to generate them.
By default, the clearml-server is served over port 8080 without encryption.
In order to increase the security of the web UI, this process below will secure the web server portal via HTTPS SSL using the open source NGINX server, and Letsencrypt certificates via the Certbot package.
step 1 - install NGINX server
I used Ubuntu 18.04 Linux as my OS, so these details are for that, differences may occur for other versions or operating systems.
To install:
For a detailed guide, see: https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04
Step 2 - install and run Cerbot
In order to encrypt connections using HTTPS with SSL, we need to make certificates. There are many ways to do this but the easiest is using the LetsEncrypt service, and using the Certbot package to generate them.
First step is to install Cerbot. Instructions can be found here: https://certbot.eff.org/lets-encrypt/ubuntubionic-apache.html
Once installed, run the following command and follow the onscreen prompts:
sudo certbot —nginx
step 3 - create new NGINX defaults file
Replace the following NGINX defaults file with the following, located here
/etc/nginx/sites-available
Be sure to replace the path to your LetsEncrypt certificates and the domain of the clearml-server.