You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use our CLI to create any type of server environments or a scalable and high available container service on top of major public or private cloud providers.
Description
CloudHero CLI is a open-source application written in python and it is build on top of CloudHero API
It will setup a Docker node or if you add it to multiple nodes a Docker cluster.
glusterfs
GlusterFS Scalable Network Filesystem
haproxy
HAProxy
memcached
The Memcached Server
mongodb
The MongoDB Server
mysql
The MYSQL Server
nginx
The nginx web server
php
PHP with the minimal standar modules
php.gd
PHP with default and GD module
php.mysql
PHP with default and MYSQL module
php.apcu
PHP with default and APCU module
redis
The Redis Server
CloudHero always installs official and stable packages, either provided by the distro or by the makers of the software. The best practices are taken into account so you could always take over your infrastructure whenever you want to.
Don't take our word for it! The formulas for installing packages are [avaiable for study and improvement](https://github.com/cloud-hero/saltstack-formulas).
Scale
This option allows you to horizontally scale any running node, both up and down.
####### UP
$./hero node scale up -e env_id --name node_to_scale --count number_of_nodes
Parameters
Description
env_id
The environment that you created to run servers into. Use $./hero environment ls to obtain the id.
name
Specify the name of the node which you would like to scale. Use $./hero node ls to obtain the name. Eg. --name web1
count
Here you just tell CloudHero how many nodes you want to add. Eg. --count 4
####### DOWN
$./hero node scale down -e env_id --name node_to_scale --count number_of_nodes
Parameters
Description
env_id
The environment that you created to run servers into. Use $./hero environment ls to obtain the id.
name
Specify the name of the node which you would like to scale. Use $./hero node ls to obtain the name. Eg. --name web1
count
Here you just tell CloudHero how many nodes you want to remove. Eg. --count 4
Delete
$./hero node rm node_id
Option
Description
node_id
The node that you choose to delete. Use $./hero node ls to obtain the id
SSH
This option allows you to connect securely using SSH to your nodes
$./hero ssh node_name
Option
Description
node_name
The node that you choose to connect using SSH. Use $./hero node ls to obtain the name.
Docker
You connect to any Docker Swarm cluster provisioned with CloudHero CLI or API
$./hero docker env_id
EXPORT DOCKER_HOST=tcp://ip_of_swarm_node:4000
# Run this command to configure your shell:# eval "$(hero docker my-env)"
Option
Description
env_id
The environment where the Docker Swarm cluster is running. Use $./hero environment ls to obtain the id.
About
Everything You Need to Get Started Using CloudHero Platform