Agent configuration file

Cloudwatch agent configuration file is simple file in JSON format with Three sections agentmetrics, and logs. This can be created manually or by using wizard. after configuring AWS CLI with access and secret keys, user can execute amazon-cloudwatch-agent-config-wizard command with series of questions to generate JSON

AWS Budget VS Cloudwatch Billing alarm

AWS Budgets are four types Cost, Usage, Reservation and Saving plan. These can be set monthly quarterly and Annually. This budget is not limited an account . it can be combined with all linked account in combination with Organization Units.

Where as Billing alarm is very similar to any other alarm in Cloudwatch that will trigger when threshold reached. Also, Billing alarm is per account only

Custom metric Granularity

A custom metric can be one of the following:

  • Standard resolution, with data having one-minute granularity
  • High resolution, with data at a granularity of one second

By default, metrics are stored at 1-minute resolution in CloudWatch. You can define a metric as high-resolution by setting the StorageResolution parameter to 1 in the PutMetricData API request. If you do not set the optional StorageResolution parameter, then CloudWatch will default to storing the metrics at 1-minute resolution.

When you publish a high-resolution metric, CloudWatch stores it with a resolution of 1 second, and you can read and retrieve it with a period of 1 second, 5 seconds, 10 seconds, 30 seconds, or any multiple of 60 seconds.

Quick notes

Amazon CloudWatch launches cross-account cross-region dashboards

refer https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-cloudwatch-launches-cross-account-cross-region-dashboards/

you can aggregate statistics for your EC2 instances that have detailed monitoring enabled. Instances that use basic monitoring aren’t included. Therefore, you must enable detailed monitoring (at an additional charge), which provides data in 1-minute periods

 Amazon CloudWatch can’t aggregate data across Regions. Metrics are completely separate between Regions.