Skip to content

Cloudify CLI

Vlastimil Holer edited this page Jul 22, 2018 · 14 revisions

For any deployment type, you need to have a working Cloudify CLI (cfy). This tool can directly deploy and un-deploy standalone static virtual environment or interact with the Cloudify Manager, which takes care of the deployment itself.

Install as package

The easiest way how to install Cloudify CLI (cfy) is with the package for you operating system:

Check the tool is installed properly:

cfy --version

Install into Python virtualenv

Prerequisites

Make sure the minimal set of bootstrap dependency packages is installed:

RHEL/CentOS 7.x

yum install -y epel-release
yum update 
yum install -y git make gcc sudo wget python-pip

Debian/Ubuntu family

sudo apt update 
sudo apt install git make gcc sudo wget python-pip

make

Gromacs blueprint comes with the Makefile to simplify the deployment process. The automated way of bootstraping the Cloudify CLI evironment is the make target bootstrap-cfy:

make bootstrap-cfy

If it fails for whatever reason, try the manual procedure:

RHEL/CentOS 7.x

yum install -y python-virtualenv
wget -O get-cloudify.py 'http://repository.cloudifysource.org/org/cloudify3/get-cloudify.py'
python get-cloudify.py -e ~/cfy --version 18.2.28

Debian/Ubuntu family

apt-get install -y python-virtualenv python-pip
wget -O get-cloudify.py 'http://repository.cloudifysource.org/org/cloudify3/get-cloudify.py'
python get-cloudify.py -e ~/cfy --version 18.2.28

Check

The cfy tool should be installed into the Python environment inside the ~/cfy. You have to first activate this environment by sourcing the file ~/cfy/bin/active. Then you can check the tool is working.

source ~/cfy/bin/activate
cfy --version

The tool is properly installed if you get a non-error output.