... | @@ -14,18 +14,14 @@ In order to achieve comparable results to the ones presented in the paper a VM w |
... | @@ -14,18 +14,14 @@ In order to achieve comparable results to the ones presented in the paper a VM w |
|
**Task 1:** Go to your Cloud provider and create a VM of the aforementioned configuration.
|
|
**Task 1:** Go to your Cloud provider and create a VM of the aforementioned configuration.
|
|
**Task 2:** As the Workload-API needs to publicly expose port `8181`, add a security group rule to the VM for port `8181` that allows in-going traffic.
|
|
**Task 2:** As the Workload-API needs to publicly expose port `8181`, add a security group rule to the VM for port `8181` that allows in-going traffic.
|
|
**Task 3:** Assign public IP to the VM. We denote this IP in the following as *WORKLOAD_API_IP*.
|
|
**Task 3:** Assign public IP to the VM. We denote this IP in the following as *WORKLOAD_API_IP*.
|
|
**Task 4:** Log into the VM, and install Docker and Docker-Compose.
|
|
**Task 4:** Log into the VM, and install Docker
|
|
**Task 4a:** Docker can be installed as described in: https://docs.docker.com/install/linux/docker-ce/ubuntu/.
|
|
**Task 4a:** Docker can be installed as described in: https://docs.docker.com/install/linux/docker-ce/ubuntu/.
|
|
**Task 4b:** Docker can be installed as described in: https://docs.docker.com/compose/install/.
|
|
|
|
Before starting the Workload-API the Mowgli framework needs to be installed.
|
|
|
|
|
|
|
|
#### Start Workload-API
|
|
#### Start Workload-API
|
|
|
|
|
|
Now, as we have the Mowgli Framework setup and running, we can start the Workload-API.
|
|
|
|
|
|
|
|
**Task 1:** Log into the host, where the Workload-API is installed.
|
|
**Task 1:** Log into the host, where the Workload-API is installed.
|
|
**Task 2:** Set the publicly available IP of the current workload-API host in the environment variable ```PUBLIC_IP```, e.g. by ```export PUBLIC_IP=x.x.x.x```.
|
|
**Task 2:** Set the publicly available IP of the current workload-API host in the environment variable ```PUBLIC_IP```, e.g. by ```export PUBLIC_IP=x.x.x.x```.
|
|
|
|
|
|
**Task 3:** Set the IP of the host, where the Mowgli framework is installed in the environment variable ```INFLUXDB_URL```, e.g. by ```export INFLUX_DB=x.x.x.x```.
|
|
**Task 3:** Set the IP and port of the InfluxDB where the Mowgli framework is installed as the environment variable ```INFLUXDB_URL```, e.g. by ```export INFLUX_DB=x.x.x.x```.
|
|
|
|
|
|
**Task 4:** Now run the Workload-API (provided as Docker container) with the following command ```docker run -d -p 8181:8181 -e PUBLIC_IP=X.X.X.X -e INFLUXDB_URL=X.X.X.X:8086 -v /tmp:/opt/results -v /tmp:/var/log omi-registry.e-technik.uni-ulm.de/mowgli/workload-api:latest` |
|
**Task 4:** Now run the Workload-API (provided as Docker container) with the following command ```docker run -d -p 8181:8181 -e PUBLIC_IP=X.X.X.X -e INFLUXDB_URL=X.X.X.X:8086 -v /tmp:/opt/results -v /tmp:/var/log omi-registry.e-technik.uni-ulm.de/mowgli/workload-api:latest``` |
|
\ No newline at end of file |
|
\ No newline at end of file |