MultiCloud Classroom notes 20/Nov/2024

Sending Alerts

Usecase-1: AWS

  • Send alerts via email when average CPU utilization for last 5 minutes
    • is greater than 80 %
    • is less than 40%
  • CloudWatch is a monitoring service in AWS
  • For screenshots or guided creation watch classroom recording
  • Monitoring for ec2
    Preview
    Preview
  • AWS CloudWatch by default starts collecting some metrics such as
    • CPU Utilization
  • AWS Cloudwatch can create Alarms which will have 3 states
    • insufficient data
    • alarm (condition is met)
    • ok (condition is not met)
  • AWS Cloudwatch Alarm can be linked with actions. Generally for ec2 instances we have some of the predefined actions such as start, stop, restart instance but in any alarm we can hook it to do custom actions
    • Define custom action as lambda function and call it (we will be learning lambda as part of our python content)

Usecase-2 Azure

  • Send alerts via email when average CPU utilization for last 5 minutes
    • is greater than 80 %
    • is less than 40%
  • Azure Monitor is a service for monitoring in Azure
    Preview
  • In Azure we can setup alerts
    Preview

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Social Media Integration by Acurax Wordpress Developers

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