The enmterprise installer for ☁️ kloud.io
Please note that this tool is in beta. Feel free to contribute by filing issues and bugs here.
To install the kloud-installer binary you need to run install.sh or the following:
curl -o- https://raw.githubusercontent.com/kloudio/kloud-installer/master/install.sh | sudo shVerify installation worked
kloud-installer versionTo verify your installation worked, run the following:
kloud-installer versionYou can always use the --help to try to get more information.
➜ ./kloud-installer --help
A set of tools for Kloudio.
Usage:
kloud-installer [command]
Available Commands:
help Help about any command
install Install the whole kloud or just a piece of it
list list a resource
version Output the version
Flags:
-h, --help help for kloud-installer
Use "kloud-installer [command] --help" for more information about a command.To list the services that are included with this installer you can run the following:
➜ kloud-installer list services
db_migrations
frontend
backend
intg_jobs
jobs
integrations
destination_service
usage_analytics
crongjobsTo set up a new enterprise, run the following:
- Install the CORE services, including backend, clients, and the database on 1 instance.
sudo kloud-installer install core \
--license 'license-key' \
--database '{"host":"<rds-host>","port":5432,"dialect":"postgres","database":"kloudio","username":"kloudio","password":"<rsd-password>"}' \
--host 'http://<ec2-host>'- Install the other services on the second instances.
sudo kloud-installer install \
--license 'license-key' \
--database '{"host":"<rds-host>","port":5432,"dialect":"postgres","database":"kloudio","username":"kloudio","password":"<rsd-password>"}' \
--host 'http://<ec2-host>'Supply the cleanup=false flag to keep installation files around.
sudo kloud-installer install \
--cleanup=falseSupply the verbose=true and debug=true flag for more output.
sudo kloud-installer install \
--verbose=true \
--debug=true