ministryofjustice/modernisation-platform

Monitor IP usage through custom lambda function

Opened this issue · 2 comments

User Story

As a Modernisation Platform Engineer
I want to implement a Lambda function that monitors IP address use
So that I can send alerts

Value / Purpose

Originally investigated through #8024 , no AWS-native solutions were appropriate. The closest we could get would be to monitor the number of NAU units in use in a VPC, but as different resources consume different quantities of NAU units this would not easy map across to free IP address space.

A lambda function can publish metrics to CloudWatch which we can then use to trigger alarms and from there notifications.

Useful Contacts

No response

Additional Information

Definition of Done

  • Write lambda
  • Implement lambda
  • Observe results published to custom cloudwatch metric

David to split into 2 or 3 tickets

Story split done! Updated this issue and raised #8436.