• How to install EC3

    How to install EC3

    For the shake of completeness, we include in this section how to install EC3, but you can find the most recent version of this documentation in the official documentation of EC3. Also, you can directly deploy a docker container containing the EC3 CLI. More information can be found here. Finally, the docker image is available in Docker Hub.


    The program ec3 requires Python 2.6+, PLYPyYAMLRequestsjsonschema and an IM server, which is used to launch the virtual machines.

    PyYAML is usually available in distribution repositories (python-yaml in Debian; PyYAML in Red Hat; and PyYAML in pip).

    PLY is usually available in distribution repositories (python-ply and ply in pip).

    Requests is usually available in distribution repositories (python-requests and requests in pip).

    jsonschema is usually available in distribution repositories (python-jsonschema and jsonschema in pip).

    By default ec3 uses our public IM server in appsgrycap.i3m.upv.esOptionally you can deploy a local IM server following the instructions of the `IM manual`_.

    Also sshpass command is required to provide the user with ssh access to the cluster.


    First you need to install pip tool. To install them in Debian and Ubuntu based distributions, do:

    sudo apt update sudo apt install python-pip

    In Red Hat based distributions (RHEL, CentOS, Amazon Linux, Oracle Linux, Fedora, etc.), do:

    sudo yum install epel-release sudo yum install which python-pip

    Then you only have to call the install command of the pip tool with the ec3-cli package:

    sudo pip install ec3-cli

    You can also download the last ec3 version from this git repository:

    git clone https://github.com/grycap/ec3

    Then you can install it calling the pip tool with the current ec3 directory:

    sudo pip install ./ec3