Open Source Terraform modules to monitor AWS

Michael Wittig – 10 Mar 2020 (updated 08 Jul 2020)

Setting up monitoring on AWS is hard. AWS provides countless features and sources of events. Overlooking the important settings is easy. Monitoring Jump Starts help our customers to monitor all the relevant sources of their AWS infrastructure. Sources are CloudWatch Alarms, EventBridge Rules, or more service-specific features such as RDS Event Notifications.

Monitoring Jump Starts

So far, we used CloudFormation templates to deploy the Jump Starts. Today, I’m happy to announce that we start to support Terraform as well. Each Jump Start is a Terraform module published to the Terraform registry.

Ask marbot to help you with your monitoring setup, and you get all the details in your Slack window. In a Slack channel where marbot belongs to send a message like this:

@marbot set up EC2 monitoring for me

marbot responds with a wizard to configure AWS monitoring:

Monitoring Jump Start in Slack

The following monitoring goals are supported at the moment:

You can use Terraform modules like this:

  1. Create a new directory
  2. Within the new directory, create a file with the following content:

    provider "aws" {}

    module "marbot-monitoring-basic" {
    source = "marbot-io/marbot-monitoring-basic/aws"
    version = "0.2.0" # we recommend to pin the version

    endpoint_id = "xyzu" # to get this value, select a Slack channel where marbot belongs to and send a message like this: "@marbot show me my endpoint id"
    budget_threshold = 10 # in USD (optional)
  3. Run the following commands:

    terraform init
    terraform apply

The modules are open source (Apache 2.0) and hosted on GitHub.

Michael Wittig

Michael Wittig

Consultant focusing on Amazon Web Services (AWS). Entrepreneur building Author of Amazon Web Services in Action, Rapid Docker on AWS, and

You can contact me via Email, Twitter, and LinkedIn.

Published on and updated on

marbot teaser

Chatbot for AWS Monitoring

Configure monitoring for Amazon Web Services: CloudWatch, EC2, RDS, EB, Lambda, and more. Receive and manage alerts via Slack. Solve incidents as a team.

Add to Slack
Microsoft Teams
Add to Teams