Implemented the AWS Cloudwatch functionality for all the instances in EC2