set up a sever equiped with a monitoring solution Grafana + Prometheus + Cadvisor for monitoring the server infrastructure and the deployed containers on it.
Spin up a production server using Vagrant and Docker for the automation of setting up the infrastructure and Ansible for the provisioning of the infrastructure.
the sever is equiped with a monitoring solution based on Grafana + Prometheus + Cadvisor for monitoring the production infrastructure and the running containers deployed on it.
For more informations about how to create Grafana Dashboards with prometheus and cadvisor https://logz.io/blog/prometheus-monitoring/
Python 3.5
Ansible 2.2 or higher
Vagrant 1.7 or higher
Virtualbox 5.1
All the necessary ansible roles that are used for the server configuration are indicated in the requirements.yml file.
I have developed the ansible roles responsible for the required monitoring goals, precisely Grafana role and Prometheus role .
the vagrantfile describes the configuration of the virtual machines to set up .
to use vagrantafile you have to do the following :
Vagrantfile
$ ansible-galaxy install -r requirements.yml
then you can simply setup the server by typing vagrant up
.