EC2 CloudWatch Metrics - Why Some Require Agent
Physical Server in AWS Datacenter A physical server has limited resources. Multiple VMs (EC2 instances) share them. ┌──────────────────────────────────────────────────────────────────────┐ │ Physical Server │ │ │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ CPU │ │ Memory │ │ Disk │ │ Network │ │ │ │ 64 cores │ │ 512 GB │ │ 10 TB │ │ 100 Gbps │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ │ │ │ Hypervisor divides these among VMs │ │ │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ EC2 (VM1) │ │ EC2 (VM2) │ │ EC2 (VM3) │ │ EC2 (VM4) │ │ │ │ 2 vCPU │ │ 4 vCPU │ │ 8 vCPU │ │ 2 vCPU │ │ │ │ 8 GB RAM │ │ 16 GB RAM │ │ 32 GB RAM │ │ 8 GB RAM │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ │ │ └──────────────────────────────────────────────────────────────────────┘ How Resources Are Shared CPU: Time Sharing (Hypervisor Controls) Physical cores are shared by time slicing. Hypervisor decides who runs when. ...
