Code Monkey home page Code Monkey logo

edupilotdeploymentansible's Introduction

KRAKEN Education Pilot - Demo Deployment (Ansible)

Deployment of all server components needed to operate the demonstrator of an university credential exporter.

Part of the H2020 Project KRAKEN and the Verifiable Credentials for Student Mobility project funded by TU Graz as a technologically enhanced administration (TEA) marketplace project.


For local test/evaluation deployments we recommend our Docker Deployment instead.


Deployment

  • Adapt inventory (in hosts) and SSH config (ssh/config) to your setup
  • Adapt variables in host_vars/kraken/main.yml to your deployment

Playbooks

Use ansible-playbook to apply the following playbooks:

  • play_ping.yml: Test connection to server(s)
  • play_infra.yml: Setup certbot and nginx
  • play_agents.yml: Setup two aries agents (for university and student) and nginx reverse-proxies for the inbound connections
    • Uses the ansible role in roles/aries_agent
    • Agents' inbound available at host configured via agent_student_domain
  • play_api.yml: Setup university API and nginx reverse-proxy for it
    • API available at host configured via api_domain
  • play_frontend.yml: Setup university frontend (connector) and nginx reverye proxy for it
    • Frontend available at host configured via frontend_domain

Services

Exposed Services

Several components are only reachable from localhost (on the ports configured in host_vars/kraken/main.yml). Only the following services are exposed to the internet (their hostname depend on the nginx_zone variable):

  • University connector: "kraken-edu.{{ nginx_zone }}"
  • University API: "kraken-edu-api.{{ nginx_zone }}"
  • University Aries Agent: (with TLS)
    • API: not exposed
    • Inbound: "kraken-edu-university.{{ nginx_zone }}"
    • Webhook: not exposed
  • Student Aries Agent: (no TLS)
    • API: not exposed
    • Inbound: "kraken-edu-student.{{ nginx_zone }}"
    • Webhook: not exposed

To test mobile wallet of student:

... you need to run a aries agent for the student and use it's hostname (see Docker Deployment) or adapt the deployment to expose the student agent's API (running on port configured in agent_student_port_api).

edupilotdeploymentansible's People

Contributors

stefanmore 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.