Using CloudWatch Metrics, graph the number of Workload Security IPS rules applied to hosts.
- Install the required libraries:
pip install -r requirements.txt
- Start a Grafana container:
docker run -d -p 3000:3000 --name grafana grafana/grafana
-
Create an IAM policy for Grafana.
-
Log into Grafana's UI. Set CloudWatch up as a Data Source.
-
Create a graph with the following settings:
- In "Display" --> "Stacking and null value", set "Null value" to "connected"
For a completely serverless solution, the script can be run as a scheduled Lambda and Grafana can be run in Fargate.
- Blog: oznetnerd.com
- Email: will@oznetnerd.com


