Custom monitoring for an EC2 instance