Skip to content

krakenh2020/EduPilotDeploymentAnsible

Repository files navigation

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published