Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • G getting-started
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mowgli
  • getting-started
  • Wiki
  • Deploy Workload API

Deploy Workload API · Changes

Page history
Update Deploy Workload API authored Mar 02, 2020 by Daniel Seybold's avatar Daniel Seybold
Hide whitespace changes
Inline Side-by-side
Deploy-Workload-API.md
View page @ 58de8873
...@@ -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
Clone repository
  • Add Certificates
  • Availability Evaluation
  • Deploy Workload API
  • Execute Evaluation Scenario
  • Get VM Templates
  • Performance Evaluation
  • Scalability Evaluation
  • Troubleshooting
  • Home