Sub topic 2
What AWS secures: facilities, hardware, network, and the virtualization layer
This chapter covers the "security of the cloud" half of the shared responsibility model. It assumes you know the core AWS services (EC2, S3, IAM), the difference between Regions and Availability Zones, and basic security ideas such as encryption and least privilege. You should also be able to read a short AWS CLI command.
By the end you will be able to list what AWS operates and protects, explain why you cannot inspect or change those layers, and know where to find evidence that AWS does its part.
The boundary in one sentence
AWS is responsible for protecting the infrastructure that runs every AWS service. That infrastructure includes the hardware, software, networking, and facilities. AWS calls this security of the cloud. Whatever you put on top of that infrastructure is your side of the line, which AWS calls security in the cloud.
A useful test: if the customer cannot reach it, change it, or see it in the console or API, it almost certainly belongs to AWS. You cannot walk into a data center, replace a failed disk, or patch the hypervisor on a host. AWS does those things for you.
The layers AWS owns
The layers run from the physical building up to the software that separates one customer from another.
Global infrastructure
AWS builds and runs the Regions, Availability Zones, and edge locations. An Availability Zone is one or more discrete data centers with independent power, cooling, and networking, and AZs in a Region are connected by low-latency links. AWS decides where to build, how far apart AZs sit, and how they are isolated from each other.
This matters for your design work. AWS gives you the isolation. You still have to use it by deploying across more than one AZ. A single-AZ workload loses availability when that AZ fails, and that is a customer design choice, not an AWS failure.
Facilities
AWS owns the physical security of its data centers. That includes the following:
- Perimeter controls such as fencing, security staff, and surveillance.
- Controlled entry, with multi-factor authentication for access to data center floors and access limited to approved staff with a business need.
- Environmental protection: fire detection and suppression, redundant power with backup generators, and climate control.
- Logging and review of physical access.
Customers do not get to tour these sites for an audit. Instead, independent auditors inspect them, and you read the resulting reports. The section on evidence below explains how.
Hardware
AWS buys, installs, maintains, and replaces the servers, storage devices, and network gear. That covers firmware, hardware failures, and capacity planning. It also covers the end of the hardware's life. When a storage device reaches the end of its life, AWS follows media sanitization practices based on NIST 800-88 guidance. Devices that cannot be sanitized are physically destroyed. You do not manage disposal of the physical drives that held your data, and this is one reason you can rely on encrypting your own data as an additional layer, not as a replacement.
Network infrastructure
AWS operates the global network backbone, the routers and switches inside and between facilities, and the connections to the internet and to edge locations. AWS also protects the network itself. Examples are:
- Baseline protection against common network-level attacks such as volumetric DDoS floods, provided to every customer through AWS Shield Standard.
- Network-level protections that stop one tenant from spoofing another tenant's addresses or reading traffic meant for someone else. For example, an instance cannot place its network interface in a mode that captures packets addressed to other instances, even if both instances belong to the same account.
- Physical-layer protection of traffic carried between AWS facilities.
AWS does not decide which of your ports are open, which CIDR ranges can reach your instances, or whether your application traffic uses TLS. Security groups, network ACLs, route tables, and TLS settings are yours. The next chapters on network configuration cover them.
The virtualization layer
Multiple customers share physical hardware, so AWS must keep their workloads apart. AWS owns the hypervisor and the isolation it enforces between instances. Modern EC2 instance types run on the Nitro System, which moves virtualization, networking, and storage functions onto dedicated hardware and a minimal hypervisor. AWS documents that the Nitro System has no technical mechanism for AWS operators to access the memory of a running EC2 instance, which narrows what AWS staff can see of your workload.
Older instance generations run on the Xen-based hypervisor. You can check which one an instance type uses with the CLI:
aws ec2 describe-instance-types \
--instance-types t2.micro m5.large \
--query "InstanceTypes[].[InstanceType,Hypervisor]" \
--output tableThe output lists t2.micro with xen and m5.large with nitro. You cannot patch or configure the hypervisor either way. The command only shows what AWS runs for you.
Managed software that AWS owns
The boundary moves up the stack for managed services. For a service such as Amazon RDS or Amazon DynamoDB, AWS also operates the host operating system, and for some services the database engine software. The chapter on service categories covers this shift in detail. For now, remember the rule: for every layer that AWS operates, AWS patches it, monitors it, and recovers it. That layer is not your task, and you cannot configure it.
The table below summarizes the point for physical and infrastructure layers. Each row names who does the work.
| Layer | Who secures it | What you can do |
|---|---|---|
| Data center buildings, power, cooling | AWS | Read audit reports |
| Servers, storage devices, firmware | AWS | Choose instance types and Regions |
| Disposal of retired media | AWS | Encrypt your data so retired media hold only ciphertext |
| Global network backbone | AWS | Choose how traffic is routed to your resources |
| Hypervisor and tenant isolation | AWS | Choose Nitro-based instance types, or dedicated options if policy requires them |
| Guest OS on an EC2 instance | Customer | Patch, harden, monitor |
The last row shows where the line falls for EC2. The hypervisor is AWS's job, and the operating system running on top of it is yours.
What AWS does not do for you
Misunderstanding the boundary is the usual source of incidents. AWS securing its layers does not mean any of the following:
- AWS has encrypted your data. You choose whether to turn on encryption, and which keys protect it.
- AWS has restricted access to your resources. IAM policies, bucket policies, and security groups are your configuration.
- AWS patches your guest operating system on EC2. You do.
- AWS makes your application resilient. Multi-AZ design, backups, and recovery plans are yours.
Isolation does not mean absence of choice
Some customers have requirements beyond shared hardware. AWS offers options within its side of the model, but you opt into them:
- Dedicated Instances and Dedicated Hosts put your instances on hardware that is not shared with other accounts, or on a host you can identify. You use them when a licensing rule or a compliance requirement demands it.
- AWS Nitro Enclaves carve an isolated compute environment out of an EC2 instance for processing highly sensitive data.
- Region selection lets you keep data in a chosen geography. AWS does not move your content out of the Region you select unless you do it or a service you configure does it.
These choices change who shares the hardware. They do not move the line of responsibility. AWS still operates the physical layer, and you still operate everything inside the instance.
How you know AWS is doing its part
You cannot inspect the data center, so you rely on independent evidence. AWS participates in third-party audit programs and publishes the results. The reports include SOC 1, SOC 2, and SOC 3 reports, ISO/IEC 27001 certification, and PCI DSS attestation, among others. Many are available to you through AWS Artifact, a self-service portal in the console where you download reports and accept agreements. A later chapter covers Artifact in detail.
The practical use is this. When your auditor asks how physical access to the servers is controlled, you do not answer yourself. You provide the relevant AWS report and point to the controls that AWS owns. You then document only your own controls. This is the idea of inherited controls: controls you get automatically by using AWS, such as physical and environmental protection.
Failure modes and edge cases
- Region or AZ outage. AWS is responsible for restoring the infrastructure. You are responsible for having designed so that your workload survives it. An outage in one AZ is an availability event for single-AZ designs, and AWS is not at fault for that design.
- Underlying host retirement. AWS can schedule retirement of the host under a stopped or failing instance. AWS handles the hardware. You handle the instance's recovery, for example with Auto Scaling or an automatic recovery configuration.
- Penetration testing. Because the infrastructure is shared, you may test only your own resources, and only in ways allowed by the AWS penetration testing policy. Attacking the shared layers is prohibited, and the policy lists services where you may test without prior approval.
- Legacy instance types. The Xen versus Nitro difference is AWS's concern to operate, but it affects which isolation and encryption features you can use. Check the instance type when a requirement mentions them.
Summary of the AWS side
AWS secures the global infrastructure, the facilities, the hardware, the network backbone, and the virtualization layer, and it supplies independent audit evidence that it does so. You consume that security as a given, and you spend your own effort on what sits above it.
Exercise
A reviewer asks you to prove that unauthorized people cannot enter the data center where your EC2 instances run, and also to prove that the instances' operating systems are patched. Which request goes to AWS evidence and which stays with you, and where do you get the AWS evidence?
Show answer
Physical access control to the data center is AWS's responsibility (security of the cloud), so you answer it with AWS's independent audit reports, such as SOC 2 and ISO/IEC 27001, downloaded from AWS Artifact. Guest operating system patching on EC2 is your responsibility (security in the cloud), so you must provide your own patching records and processes.
Exercise
Your team moves a workload to a Nitro-based instance type and says "AWS now handles our isolation, so we no longer need to think about network exposure." What is wrong with this statement?
Show answer
AWS does own the hypervisor and the isolation between tenants, and Nitro strengthens it. But network exposure is set by your security groups, network ACLs, route tables, and public IP choices. These are customer configuration, so you must still design and review them.