Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Latest commit

 

History

History

digitalocean

Provision Humio on DigitalOcean

Requirements

Getting started

Start by exporting your DigitelOcean access token, as the following environment variables, i.e.

export DIGITALOCEAN_TOKEN=EXAMPLEKEY
export DO_API_TOKEN=${DIGITALOCEAN_TOKEN}

Initialise the workspace

terraform init

Verify that the Terraform is able to communicate with DigitalOcean

terraform validate
terraform refresh

Spinning up a new environment

The default configuration will spin up three nodes, all with

  • Zookeeper
  • Kafka
  • Humio

To set up the environment run the following command

terraform apply

Verify the configuration and type yes into the console. After a while (usually around 5 minutes) you will have 8 Droplets available in DigitalOcean running Humio.

Provisioning Humio

First, make sure you have the required Ansible Galaxy roles installed

ansible-galaxy install --role-file=requirements.yml

Finally, the cluster can be provisioned with the site.yml playbook

ansible-playbook site.yml

Once the cluster is up and running, the Humio web interface should be available on through the load balancer.