Prerequisites for Bootstrapping

How do you go about installing Cloudify?



Overview

Cloudify can be installed using different methods.

Since it is based on a set of premade Docker images, it can be deployed using shell scripts, configuration management tools, cloud specific orchestration tools (CloudFormation, Heat, etc..) or Cloudify’s CLI tool which provides a smooth experience for getting a fully working, CLI-manageable Cloudify Management Environment.

Cloudify has a set of prerequisites, from both an infrastructure and an OS point of view.

Not to worry though, Cloudify’s CLI along with Cloudify’s manager-blueprints will create the environment for you on your chosen cloud while allowing you to configure it as you see fit.

Prerequisites

Manager Environment

Host Machine

Minimal Requirements

A Cloudify manager must run on a 64-bit machine and requires at the very least 2GB of RAM, 1 CPU and 5GB of free space.

Note

These are the minimal requirements for Cloudify to run. You will have to provision larger machines to actually utilize Cloudify. We do not recommend running Cloudify with even one application on a minimally provisioned machine.

The recommended requirements can vary based on the following:

  • Number of deployments you’re going to run.
  • Amount of concurrent logs and events you’re going to send from your hosts.
  • Amount of concurrent metrics you’re going to send from your hosts.

As a general recommendation for the average system, Cloudify would require at least 8GB of RAM and 4 CPU Cores. Disk space requirements varies according to the amount of logs, events and metrics sent as Cloudify doesn’t currently clean or rotate them.

Network

The Manager listens on the following ports:

  • port 80 - REST API and UI. This port should be accessible when SSL is not enabled.
  • port 443 - REST API and UI. This port should be accessible when SSL is enabled.
  • port 8101 - REST API. This port is used for internal access and as such should only be accessible from Agent VMs.
  • port 22 - During Bootstrapping, manager components are installed and configured via SSH. It is used during Manager Recovery as well.
  • port 5672 - RabbitMQ. This port should be accessible from agent VMs.
  • port 53229 - File server. This port should be accessible from agent VMs.

OS Distributions

Management Server

Cloudify’s Docker implementation was tested on Ubuntu 14.04 and Centos 7.0 and is based on the phusion/baseimage Docker Image (Ubuntu 14.04).

Note

If the host machine Docker is running on is based on Ubuntu 14.04, we will attempt to install Docker for you (if it isn’t already installed. This requires an internet connection). For any other distribution (and release), you’ll have to verify that Docker is installed prior to bootstrapping.

Hosts

Please see here for the supported distributions.

Agents are provided for these OS distributions, but using the Cloudify Agent Packager, you can create you own agents for your distribution.

Docker

As Cloudify’s management environment runs above Docker containers, Docker 1.3+ is required.

What’s Next

Next, you should bootstrap a Cloudify management environment on the cloud provider of your choice.