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

  • 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
  • In Azure we can setup alerts
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%