Installs and configures Cube
- Node.js
- MongoDB
- UFW
- Tested on Ubuntu 11.10.
Include default recipe in your run list.
Cube listens on ports 1080 (collector) and 1081 (evaluator) without any security. As such this cookbook installs the Uncomplicated Firewall cookbook locking down all ports except SSH. To white list IP addresses create a data bag named "firewall" and upload an item like the following:
{
"id": "cube",
"rules": [
{ "collector-datacenter":
{ "port": "1080",
"source": "192.168.1.1/24" }},
{ "evaluator-datacenter":
{ "port": "1081",
"source": "192.168.1.1/24" }}
]
}