In this article, the following aspects of using Prometheus and Grafana will be demonstrated:


  1. One Grafana server presenting data from multiple Prometheus resources.
  2. Each dashboard would show only selected Prometheus datasources (not all configured datasources are relevant to all of the dashboards)
  3. Present only the relevant data from each datasource according to the dashboard content. (For example in case the dashboard panel present one storage mount which has a different mount requirements per server).
  4. Useful dashboards for your needs:
    - Host / VM Resources ( CPU, RAM, Storage and I/O, Network).
    - Docker Containers (Use of resources per container).


If the default `docker ps` bothers you, here is a tiny script that can easily help customise its output.

Select your preferred arguments and the order they appear


./ -aiIcCRpsSNLli:mn

Git project:

Available arguments:


Jenkins can be used to create maintain and destroy multiple AWS infrastructures environments using Terraform code.

  1. Jenkins is run with the following parameters:
  • AWS region
  • Environment name
  • Action (Plan /Apply / Destroy)
  • Profile (AWS credentials to be used)
  • Email

2. Jenkins fetch the Terraform code from the git repository.

3. Jenkins create, maintain or destroy the environment from the parameter using the Terraform code according to the action required.

In this post, we will demonstrate how multiple Terraform lifecycle infrastructures can be easily and dynamically managed and maintained per environment with Jenkins.


Terraform introduces infrastructure as code and provides…

Natan Bensoussan

DevOPs engineer at Tikal Knowledge (Fullstack as a Service)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store