Skip to content

darkarnium/om-env-ogawa

Repository files navigation

om-env-ogawa

Provides a Chef environment cookbook for provisioning Ogawa nodes.

🔥 Kibana and ElasticSearch Access 🔥

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 :)

Getting Started

AWS Keys and SQS ARNs

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.

This Machine

If for some reason you want to install 41h on the machine that you have checked the repository out onto, perform the following:

  1. Run deploy-local.sh from this directory.
  2. Wait.

Digital Ocean

To deploy a new Ogawa node into Digital Ocean (via the API), perform the following:

  1. Run pip install -r requirements.txt from this directory.
  2. Run python2.7 deploy-digitalocean.py --api-token <DO_API_TOKEN> from this directory.
  3. Wait.

Vagrant

To deploy a local virtual machine via Vagrant, perform the following:

  1. First up, ensure the following dependencies are installed and configured:
  1. Run vagrant up from this directory.
  2. Wait.
  3. Login using vagrant ssh.
  4. 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.

Problems?

Raise a GitHub issue, or fix it and raise a PR :)

Additional Reading

See the Ogawa project documentation at the following URL: