AWS Classroom Series – 22/Jun/2021

Monitoring AWS Services Using CloudWatch and SNS

  • CloudWatch is a monitoring service used to monitor resources and applications running on AWS.

  • Cloud Watch monitors resources by publishing metrics

  • To get the complete list of services that publish Cloud Watch Metrics Refer Here

  • Refer Here for the EC2 specific metrics

  • Lab Setup:

    • Create an EC2 instance (t2.micro)
    • Create an RDS instance (db.t2.micro)
  • Navigate to the monitoring section in EC2 instance Preview Preview

  • Find out the metrics published by cloud watch for rds Refer Here for the metrics

  • Querying metrics for Service using CLI

 aws cloudwatch list-metrics --namespace AWS/RDS --query "Metrics[*]. MetricName" --output table

 aws cloudwatch list-metrics --namespace AWS/EC2 --query "Metrics[*]. MetricName" --output table

 aws cloudwatch list-metrics --namespace AWS/DynamoDB --query "Metrics[*]. MetricName" --output table
  • Navigate to AWS CloudWatch

  • Create a dashboard to show the

    • CPU Utilization
    • Database Connections
    • Network packets in all ec2 instances Preview
  • Terms

    • Metric
    • Dimension

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube