Monitoring single instances
-
Create a EC2 instance
- Ubuntu 18.04 AMI
- Windows 2016 Server AMI
-
Inbuilt graphs are rendered by AWS once the instance is created.
-
Now navigate to Cloudwatch Service and Click on Metrics
Creating a Graph for Monitoring CPU, DISK and Network on Linux Instance
- Navigate to Per-Instance Metrics, Select the Ubuntu Machine with following Metrics
- CPU Utilization
- Disk WriteOps
- Disk ReadOps
- Network PacketsIn
- Network PacketsOut
- Change the graph type to Number
- Add this graph to Dashboard
Creating a Graph for Monitoring CPU, DISK and Network on Windows Instance
- Navigate to Per-Instance Metrics, Select the Windows Machine with following Metrics
- CPU Utilization
- Disk WriteOps
- Disk ReadOps
- Network PacketsIn
- Network PacketsOut
- Change the graph type to Number
- Add this graph to Dashboard
Creating an Area Graph Comparing CPU Utilization of Windows and Ubuntu Instances
- Navigate to Per-Instance Metrics, Select the Ubuntu Machine and Windows Machine with following Metric
- CPU Utilization
- Change the graph type to Stacked
- Add this graph to Dashboard
Exercise
- Create a Line Graph Comparing Network Packets In for Windows and Ubuntu Instances
- Create a Number Comparing Network Package Out for Windows and Ubuntu Instances.