Demo site auto-deployed with Ansible and Travis CI.
Switch branches/tags
Nothing to show
Clone or download
Latest commit d5bc866 Oct 19, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github add stale Jun 23, 2018
.travis no need to traverse Sep 21, 2018
files HTTPS for applications Aug 12, 2018
group_vars/all remove influxdb Oct 19, 2018
roles Update requirements.yml May 1, 2018
.gitattributes site with logo Jan 27, 2018
.gitignore Update .gitignore Apr 5, 2018
.travis.yml cleaner TLD - move to .travis Sep 21, 2018
LICENSE Change license to Apache May 16, 2018 fix two typos in the content, so it is copy/paste proof Oct 12, 2018
ansible.cfg init Dec 7, 2017
extras.yml remove influxdb Oct 19, 2018
hosts remove influxdb Oct 19, 2018
site.yml name all plays Mar 31, 2018

Cloud Alchemy demo monitoring site

Build Status License IRC

This repository provides an integration testing suite for our ansible roles as well as a demo site for grafana, prometheus, alertmanager and node_exporter (possibly more in the future). Site is provisioned with ansible running every day and on almost all commits to master branch. Everything is fully automated with travis ci pipeline. If you want to check ansible-playbook output, go to last build or visit ARA Records Ansible page.

Have a look at the configuration file group_vars/all/vars.


All applications should be running on their default ports.

App name Address Status Uptime
node_exporter Uptime Robot status Uptime Robot status
snmp_exporter Uptime Robot status Uptime Robot status
blackbox_exporter Uptime Robot status Uptime Robot status
prometheus Uptime Robot status Uptime Robot status
alertmanager Uptime Robot status Uptime Robot status
grafana Uptime Robot status Uptime Robot status

Important notice

This repository consists of two playbooks:

  • site.yml - which deploys basic prometheus/grafana stack without additional http proxies and with software listening on default ports
  • extras.yml - adds influxdb as a long-term storage and deploys caddy http proxy. This will allow HTTPS connections to services like prometheus

Such setup causes that mose of services can be accessed in two ways. As an example, prometheus can be accessed via:

  • - default way
  • - workaround which in backgroud communicates with prometheus via insecure, "default" channel mentioned above

This workaround was needed to solve issue #13 and still provide a playbook which could be used by everyone site.yml.

Run yourself

You can easily run such setup yourself without much knowledge how any part of this works. You just need to do two things:

Change ansible inventory

First of all you need to configure your inventory, ours is located in hosts file. Here you set up your target hosts by changing value of ansible_host variable. Also here you can exclude parts of this demo site, so if you don't need our website, you just remove this part:


Accordingly you can exclude grafana, prometheus, or influxdb.

Change passwords

For security measures we encrypted some of our passwords, but it is easy to use yours! You can do it by replacing a file located at group_vars/all/vault with following content:

vault_grafana_password: <<INSERT_YOUR_GRAFANA_PASSWORD>>
vault_influxdb_password: <<INSERT_YOUR_INFLUXDB_PASSWORD>>

You need to specify both even if you don't use grafana nor influxdb. You can look over group_vars/all/vault to find why.

Run as usual Ansible playbook

# Download roles
ansible-galaxy install -r roles/requirements.yml

# Run playbook
ansible-playbook site.yml
# or when using vault encrypted variables
ansible-playbook --vault-id @prompt site.yml