Provides a Chef environment cookbook for provisioning Ogawa nodes.
Out of the box ElasticSearch and Kibana is configured to bind to all interfaces, however, no firewall permits are configured to mitigate accidental "whoops, my ElasticSearch instance is open to the internet" situations. In order to access these services please either use SSH port forwarding or reconfigure the firewall as needed with the understanding that opening ES or Kibana to the internet is a bad idea :)
To begin, make sure that you have an SQS Queue and associated keys for an IAM user / role which is able to DeleteMessage
, GetQueueUrl
, and ReceiveMessage
on this queue. 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 Ogawa 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 Ogawa 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 Ogawa project documentation at the following URL: