MultiCloud Classroom notes 06/Dec/2026

Cloud watch alaram

  1. SNS -> Topic -> configure user -> sub
  2. cloud watch need enable and alaram rule

create sns

-> topic -> same region where you instance running -> standard name: cpu-alerts -> create subscription -> open mail confirm

create sns from portal

sns

subscription

subscription

confirm subscription by open email confirm link

30

create vm with iam role having access ssm and cloud watch

-> vm -> iam role -> enable cloudwatch -> install stress tool

sudo apt update && sudo apt install stress htop -y 

nproc   # print no of process

stress --cpu "$(nproc)" --timeout 600 # run ten min

create alaram

  1. select metric –> ec2 –> perinstance –> search for instance by instance id –> select CPUUtilization

a1

  1. condition set config >= 70

a2

  1. select actions which required like notification, trigger lambda, instance action (stop, terimate…etc)…etc

a3

  1. provide name and desc and tags

a4

a5

  1. review and create alaram.

run below increase cpu

sudo apt install stress-ng -y
stress-ng --cpu 0 --cpu-load 80 --timeout 5m --metrics-brief

final validation increase stress and check your email

mail

Leave a comment

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube