Skip to content

dutterbutter/gran-canarias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Module for Monitoring using Prometheus, Alertmanager and Grafana

This Terraform module makes it easy to setup Prometheus, Alertmanager and Grafana on AWS.

Usage

In order to get the module you will have to (re)initialize Terraform:

terraform init

Now you can deploy to AWS:

terraform apply

This will create the necessary EC2 instances, the S3 bucket which is used for configuration, the necessary IAM configuration as well as the security groups.

Configuration

This Terraform module uses a S3 bucket to store the configuration for Prometheus, Alertmanager and Grafana.

To use your own configuration you have to apply the following folder structure:

- config
  - alertmanager
    - alertmanager.yml
  - grafana
    - provisioning
      - dashboards
          dashboard.yml
      - datasources
          datasource.yml
    - grafana.ini
  - prometheus
    - prometheus.yml
    - rules.yml

Sync your configuration to your S3 bucket and redeploy the module to get Prometheus, Alertmanager and Grafana to use your latest configuration.

aws s3 sync config s3://my-monitoring-config

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages