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. ...

December 26, 2025 · 3 min · Ren Nishino

DOP-C02 notes

Aurora AWS-managed relational database (MySQL/PostgreSQL compatible) with cloud-native architecture. Storage and compute are separated. Aurora Cluster (Single Region) One primary instance (read/write) + optional read replicas sharing the same storage. Writer Endpoint Reader Endpoint │ │ ▼ ▼ ┌──────────────┐ ┌──────────────┬──────────────┐ │ Primary │ │ Replica 1 │ Replica 2 │ │ (Writer) │ │ (Reader) │ (Reader) │ └──────┬───────┘ └──────┬───────┴──────┬───────┘ │ │ │ └─────────────┬───────────────┴──────────────┘ ▼ ┌────────────────────────────────────────┐ │ Shared Cluster Storage │ │ (6 copies across 3 AZs) │ │ Auto-grows up to 128 TB │ └────────────────────────────────────────┘ All instances share same storage (no replication lag for storage) Replicas can be promoted to primary if primary fails (~30 seconds failover) Up to 15 read replicas Single region only Aurora Storage One logical storage automatically replicated across 3 AZs (6 copies total, 2 per AZ). ...

December 26, 2025 · 33 min · Ren Nishino

AWS CodePipeline Basics

What is AWS CodePipeline? AWS CodePipeline is a continuous integration and continuous delivery (CI/CD) service that automates the build, test, and deploy phases of your release process. Key Concepts Pipeline A workflow that describes how code changes go through release process. Consists of multiple stages executed sequentially. Stage A logical unit in pipeline (e.g., Source, Build, Test, Deploy). Each stage contains one or more actions. Action A task performed on artifacts (e.g., download from GitHub, compile code, deploy to EC2). Actions within same stage run in parallel. ...

December 4, 2025 · 5 min · Ren Nishino