AWS Builder Center

Demystifying AWS Infrastructure: How Compute, Networking, and Persistent Storage Work Under the Hood

A deep dive into the foundational building blocks of AWS cloud infrastructure—exploring how Amazon EC2, Amazon EBS, and VPC networking map to modern enterprise server racks and data centers.

Introduction

When engineers interact with the AWS Cloud via the Management Console, AWS CLI, or Infrastructure as Code (Terraform, AWS CDK), cloud resources can feel abstract. An Amazon EC2 instance spins up in seconds, block volumes attach at the click of a button, and subnets route packets effortlessly across global availability zones.
Behind this layer of virtualization sits an orchestration engine running across high-density server racks, custom silicon, high-speed fiber interconnects, and distributed storage appliances. Understanding how these virtual constructs map to underlying hardware principles allows backend engineers to design more reliable, high-throughput, and cost-efficient cloud workloads.



1. Compute Virtualization: The Nitro System & EC2

At the center of modern compute nodes is the AWS Nitro System. Historically, cloud hypervisors shared CPU, network, and storage processing directly with the host operating system, causing occasional resource contention (often referred to as the "noisy neighbor" problem).
The Nitro architecture solves this by offloading key operational tasks to specialized hardware:
  • Nitro Cards for VPC: Dedicated hardware cards handle Virtual Private Cloud (VPC) network encapsulation and ingress/egress firewall evaluation at hardware wire speed.
  • Nitro Cards for EBS: Dedicated accelerators handle local NVMe controller emulation, transparent encryption, and secure network traffic bound for Elastic Block Store volumes.
  • Nitro Security Chip: Continuously monitors and validates system firmware, ensuring hardware-level root-of-trust security.
By shifting storage and network overhead off the primary CPU cores, nearly 100% of the physical compute and RAM on host blades are allocated directly to user workloads.



2. Storage Boundaries: Instance Store vs. Amazon EBS

A frequent decision point when architecting backends on EC2 is choosing the right persistent storage tier:
Feature
EC2 Instance Store (Ephemeral)
Amazon EBS (Persistent Block Store)
Physical Location
Solid-state NVMe drives physically installed inside the host server blade
Dedicated multi-tenant storage arrays connected over redundant fiber networks
Durability
Ephemeral; data is wiped if the instance stops, terminates, or undergoes hardware failover
Persistent; independent lifecycle from the host instance
Snapshotting
Manual archiving to external storage required
Native point-in-time incremental snapshots pushed directly to Amazon S3
Ideal Workloads
In-memory caching buffers, temporary scratchpads, high-churn queue brokers
Production databases (PostgreSQL, MySQL), primary OS boot disks, persistent volumes
For databases and critical backend services, Amazon EBS (such as General Purpose  gp3  or Provisioned IOPS  io2 ) provides predictable performance while isolating your storage state from compute failures.



3. Network Isolation: VPC, Security Groups, and Subnets

To safeguard server infrastructure, networking must follow the principle of least privilege:
[ Public Client / Gateway ]
│
▼ (Port 443 / HTTPS)
┌──────────────────────────────────────────────┐
│ AWS VPC (Virtual Private Cloud) │
│ │
│ ┌────────────────────────────────────────┐ │
│ │ Public Subnet (Load Balancer / EIP) │ │
│ └───────────────────┬────────────────────┘ │
│ │ Forward │
│ ┌───────────────────▼────────────────────┐ │
│ │ Private Subnet │ │
│ │ ┌────────────────────────────────┐ │ │
│ │ │ Security Group (Port 8080/443) │ │ │
│ │ │ [ EC2 Application Node ] │ │ │
│ │ └────────────────────────────────┘ │ │
│ └────────────────────────────────────────┘ │
└──────────────────────────────────────────────┘
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article