Cloudwatch

Posted on Posted in AWS

Cloudwatch – enables you to monitor AWS resources and applications you run in real time, Sends notification

How it works:

Concepts:

  • Namespaces- container of cloudwatch
  • Metrics – represents time ordered set of data points published to cloudwatch
    • Metrics can’t be deleted, automatically expire after 15 months 
    • Time stamps
    • Metrics retention
      • period 60 seconds – available for 15 days
      • period of 300 seconds – 63 days
      • period of 3600 seconds – 455 days
      • Amazon CloudWatch stores metrics for terminated Amazon EC2 instances or deleted Elastic Load Balancers for 2 weeks.
  • Dimension – key value that identifies metric
    • Comibination of dimension are considered seperate metric
  • Statistics
    • Minimum
    • Maximum
    • Sum
    • Average
    • Sample count – count of data points
    • pNN.NN – value of specified percentile
  • Units – unit of measure – Bytes, seconds, counts, percent

Common Available metrics:

  • RDS
    • CPU
    • Connections
    • Memory
    • Read/Write Throughput/latency
  • EC2
    • CPU
    • Disk
    • Network
    • Autoscaling size, instances
  • S3
    • Bucket size
    • number of objects
    • requests/put/delete/get
  • SQS
    • Number of message
    • message size
    • delayed messages

Memory Utilization requires a custom Cloudwatch metric

CloudWatch CANNOT see the following:

  • web server visible metrics such as number failed transaction requests -Too detailed for EC2 – Amazon don’t even want to know whether you have or haven’t even installed a web server.
  • operating system visible metrics such as memory utilization –
    Too detailed for EC2 – Amazon don’t want to interact with your operating system.

Limits:

Actions 5/alarm. This limit cannot be changed.
Alarms 10/month/customer for free. 5000 per region per account.

Leave a Reply