In this lab we set up the EdgeX fog architecture on the Up2 board. We will be following this tutorial on the EdgeX Foundry page with a few modifications. Follow the setup setps below to get started.
We will be connecting to the Up2 board over SSH. For a refresher on how to do this refer to this lab: Connect to the Up2 Board
Install the Postman App on your laptop by downloading it here: https://www.getpostman.com/download?platform=linux64. We will be using Postman to sent HTTP requests to EdgeX.
- SSH onto the Up2 Board
- Follow these instructions to install Docker onto the Up2 board. Remember: The SUDO password is "intel123"
- Install Docker Compose by running the following commands:
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
Continue with the EdgeX tutorial
- When installing EdgeX use the following command get the .yml file:
wget https://raw.githubusercontent.com/edgexfoundry/developer-scripts/master/compose-files/docker-compose.yml
- When sending HTTP requests use the IP address of your Up2 Board (10.42.0.xxx) NOT localhost.