π Install EdgeHit Controller
πͺ Installation Step
Note
All the following procedure is based on Production Environement. You need to read the previous section on how to tweak the settings to match Testing Environment
-
Set Environment Variables & Secrets
Make sure these variables are set correctly in your environment before proceeding with the installation. You can refer to the command below:
export DASH_SERVER_DOMAIN='<domain name of target installation server>' export REGISTRY_PASSWORD='<SECRET>'
-
CURL& Run the Installation Script
-
Once the installation is done. You can access the Web Dashboard at Domain Name of Target Machine.
- Installation info and administrative tools will be stored in
/usr/local/edgehit/EdgeHit-Controller/the directory content will be similiar as below:
EdgeHit-Controller/ βββ.env βββinstall-info.txt βββcompose.yml βββbin/ β βββ bash Scripts β βββ more bash Scripts βββinstall-EdgeHit.sh βββinstall-prometheus.sh β.....-
.envcontain secret value that is mounted to docker container runtime -
install-info.txtcontain info such as web dashboard URL and default password -
bin/directory contain bash script for administative action such as update and backup actions. -
install-EdgeHit.shis the script generated during EdgeHit Controller installation. It is meant to be run on a remote server to install Load Proxy with predefined secret and server role -
install-prometheus.shis the script generated during EdgeHit Controller installation. It is meant to be run on a remote server to install Prometheus Server with predefined prometheus job and target with defined HTTP AUTH key.
- Installation info and administrative tools will be stored in
-
Copy the generated Script for installing other component
After the installation, EdgeHit Controller will Generate Script to install Load Proxy and Prometheus in the default directory. Copy the script out for future use case.
On Local Terminalscp root@<EdgeHit-Controller>:/usr/local/edgehit/EdgeHit-Controller/install-prometheus.sh /path/to/local/destination scp root@<EdgeHit-Controller>:/usr/local/edgehit/EdgeHit-Controller/install-EdgeHit.sh /path/to/local/destinationNote
it is strongly suggested to use the generated script in EdgeHit Controller to install managed Load Proxy as it predefine some secret value such as Redis Server TLS Certificate and password.