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
We prepared for you the minimum required IAM policy for CloudHero.
In that example you can see that CloudHero is only allowed to work in Irland and it only needs just a few permissions.
Parameter
Description
access_key
A valid AWS EC2 access key
secret_key
A valid AWS EC2 secret key
name
Give your cloud provider a uniq name
Delete
$ hero provider rm provider_id
Option
Description
provider_id
The cloud provider that you choose to delete. Use $ hero provider ls to obtain the id
List
$ hero provider ls
Environment
An environment is a group of servers (nodes). You can give them any name, but we usualy call them production, staging, development.
Add
$ hero env add -p provider_id -l location -n name
Parameter
Description
provider_id
The cloud provider that you choose to spin up the nodes. Use $ hero provider ls to obtain the id
location
The location where you want to spin up your servers. See below available locations.
name
Name your environment.(eg. Production or Staging)
Cloud Providers Locations
Digital Ocean
Amazon EC2
Code - Name
Code - Name
ams2 - Amsterdam 2
us-east-1 - US East (N. Virginia)
ams3 - Amsterdam 3
us-west-2 - US West (Oregon)
fra1 - Frankfurt 1
us-west-1 - US West (N. California)
lon1 - London 1
eu-west-1 - EU (Ireland)
nyc1 - New York 1
eu-central-1 - EU (Frankfurt)
nyc2 - New York 2
ap-southeast-1 - Asia Pacific (Singapore)
nyc3 - New York 3
ap-northeast-1 - Asia Pacific (Tokyo)
sfo1 - San Francisco 1
ap-southeast-2 - Asia Pacific (Sydney)
sgp1 - Singapore 1
ap-northeast-2 - Asia Pacific (Seoul)
tor1 - Toronto 1
sa-east-1 - South America (São Paulo)
Delete
$ hero env rm env_id
Option
Description
env_id
The environment that you choose to delete. Use $ hero env ls to obtain the id
List
$ hero env ls
Node
Nodes are servers which CloudHero will provision, install packages on and configure automatically for you.
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.
The Tidelift Subscription provides access to a continuously curated stream of human-researched and maintainer-verified data on open source packages and their licenses, releases, vulnerabilities, and development practices.