Code Monkey home page Code Monkey logo

eec's Introduction

MiCADO EEC

The MiCADO Execution Engine Client (EEC) for the EMGWAM component in CloudiFacturing, Co-Versatile and DIGITbrain.

Enables the deployment and execution of applications and services using the MiCADO cloud orchestration framework.

Usage

The MiCADO EEC implements a RESTful API according to v1.4.0 of the EMGWAM Execution Engine Client API. Please refer to the specification for more detail.

Deployment

The MiCADO EEC is shipped as a Docker container and makes heavy use of the MiCADO Client Library. It is deployed behind traefik and secured with SSL. Client certificate verification can be optionally enabled.

Host Specification & Requirements

Minimum specs.

  • 2 vCPUs | 4GB RAM | 20GB Disk | Ubuntu 20.04
  • FQDN that resolves to the instance public IP

Install Docker and Docker-Compose.

Clone this repository into a directory of your choice

git clone https://github.com/micado-scale/eec project_name_eec
cd project_name_eec

Initial preparation of the host

Create the following default directories on the host. You can change these by modifying the volumes sections in docker-compose.yml.

  • /etc/micado (Configuration dir for the MiCADO Client Library)
  • /etc/eec (Configuration dir for the MiCADO EEC)
  • /etc/traefik/dynamic (Configuration dir for traefik)

Preparing the configuration

If you did not use the default directories above, make sure to use the new names in the steps below

Create a credentials file at /etc/micado/credentials-cloud-api.yml and fill in your OpenStack or CloudBroker credentials. Sample credentials file are available in the Ansible-micado repository.

Copy openstack_micado_spec.yml or cloudbroker_micado_spec.yml to /etc/eec/micado_spec.yaml and populate it with the relevant cloud IDs and names that describe your desired MiCADO node on your desired cloud. This should be an instance meeting the recommended requirements with an appropriate firewall configuration.

Copy traefik.toml to /etc/traefik/traefik.toml and replace [email protected] with a valid email address.

Copy force-https.toml to /etc/traefik/dynamic/force-https.toml

Create an empty file in which Traefik can store retrieved HTTPS certificates. Set restrictive rw------- permissions for the created file.

touch /etc/traefik/acme.json
chmod 600 /etc/traefik/acme.json

Generating SSL certificates

Edit docker-compose.yml and replace example.com with your domain. Also modify the ENV variables MICADO_CLOUD_LAUNCHER and MICADO_SPEC if necessary.

Run docker-compose up -d and the deployment is complete.

Integration

Provide an EMGWAM administrator with your domain name and details.

eec's People

Contributors

jaydesl avatar resmiarjun 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.