Code Monkey home page Code Monkey logo

distribsys-serverlessedge-lab's Introduction

HOW TO

Prerequisites

In order to deploy to the right cloud_controller we need some information of the user. This information should be provided in the inventory.py. The user should add an additional elif statement with the respective username and IP informations.

Furthermore the user has to edit the configurations files for continuum (cloud_conf.cfg and edge_conf.cfg). The changes need to be made to the following keys:

  • base_path
  • middleIP

Deploying the project

cd ./DistribSys-ServerlessEdge-Lab/deployment/

Due to the automation provided by pyinfra setting up the monitoring and running various tests is as easy as:

pyinfra inventory.py deploy.py

Open Grafana on your localhost

To view the dashboards locally in your browser you need to forward port 3000 from the cloud_controller to your localhost.

We found the easiest way to do this is by configuring proxy jumping from your host to the respective node on the dss cluster.

You can find an example ssh-config and command down below which forwards port 3000 from node4 on the dss cluster directly to your local host.

Host dss-cluster
        Hostname <DSS_CLUSTER_HOSTNAME>
        User <DSS_CLUSTER_USERNAME>
        IdentityFile <PATH_TO_PRIVATE_KEY_DSS_CLUSTER>
        PreferredAuthentications publickey

Host dss-node
        Hostname <DSS_NODE_HOSTNAME>
        User <DSS_NODE_USERNAME>
        ProxyJump dss-cluster
        IdentityFile <PATH_TO_PRIVATE_KEY_DSS_NODE>
        PreferredAuthentications publickey
ssh -L 3000:<CLOUD_CONTROLLER_IP>:3000 -J dss-cluster dss-node

distribsys-serverlessedge-lab's People

Contributors

davidfreina avatar wagnerbot avatar selfoluap avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.