EC2 – Finding boot information
- Instance screenshot


- Get System Log will show the logs during boot

Azure VM – Finding boot information
-
Boot Diagnostics
- In Azure VMs by default in many popular vm images agent is present.
- This agent will help us (admin) to connect to vm without ssh credentials

- Agent also lets you reset passwords and create new privileged users.

Monitoring the Virtual machine
- Both AWS and Azure by default show certain critical information about your vm/ec2 instance at no extra cost.
-
Azure

-
AWS

- Lets install a tool called as stress
sudo apt update && sudo apt install stress
- Now create a script
#!/bin/bash
while true; do
stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 60s -v
sleep 30s
done
- Watch classroom recording for steps & visuals
- Lets try monitoring CPU Utilization in AWS
- Lets try monitoring CPU Utilization in Azure
