Provides a Chef environment cookbook for provisioning Kako nodes.
To begin, make sure that you have an SNS Topic and associated keys for an IAM user / role which is able to Publish to this topic. cloud-config.yaml
and / or deploy-local.sh
will need to be updated with these values - replacing the current X
, Y
, and Z
values respectively - prior to launch!
See the Kako documentation - linked below - for more information.
If for some reason you want to install 41h on the machine that you have checked the repository out onto, perform the following:
- Run
deploy-local.sh
from this directory. - Wait.
To deploy a new Kako node into Digital Ocean (via the API), perform the following:
- Run
pip install -r requirements.txt
from this directory. - Run
python2.7 deploy-digitalocean.py --api-token <DO_API_TOKEN>
from this directory. - Wait.
To deploy a local virtual machine via Vagrant, perform the following:
- First up, ensure the following dependencies are installed and configured:
- Vagrant
- https://www.vagrantup.com/
- No configuration required (if using the VirtualBox driver).
- VirtualBox
- https://www.virtualbox.org/wiki/Downloads
- Ensure Intel VT or AMD-V is configured on the system.
- Change the virtual machine default directory (optional).
- Run
vagrant up
from this directory. - Wait.
- Login using
vagrant ssh
. - When done, run
vagrant destroy
to tear-down the machine once again.
Tip! If running under Windows, a command-line compatible SSH client is required to be in the user's path, or things will fail. 'Git Bash' from https://git-scm.com/downloads works well for this, just make sure that all commands are run inside of 'Git Bash' instead of PowerShell or CMD.
Raise a GitHub issue, or fix it and raise a PR :)
See the kako project documentation at the following URL: