Engineering, Operations & Cloud Security


A Million Eyes to watch your website.

Some time back I took on a science project.

I was learning Terraform and Ansible and had just joined a monitoring/observability company.

Could I build offsite website monitoring and have a “million eyes” checking my websites?

The Code

You can follow along:

The Design

Since t3.small instances are cheap, the plan was:

  • spawn a VPC & subnet in multiple AWS regions
  • (reuse the same subnet since we only care about the EIP)
  • permit my computer to ssh in
  • spawn t3.small instances with the latest Ubuntu AMI in each region
  • using Ansible, configure the host with http_response plugins

The example code reports to Wavefront (largely because I worked there when I first hacked on this).

Write a Comment