Cloud Computing · Lesson 4

Understanding the AWS Environment

AWS Regions, Availability Zones, subnets, high availability, edge services, extension zones, and shared responsibility.

  • aws-regions
  • availability-zones
  • networking
  • high-availability
  • cloudfront
  • shared-responsibility

Lesson purpose

Location changes latency, resilience, data residency, service availability, cost, and operational responsibility. This lesson uses uCertify Lesson 4, sections 4.1–4.7, and the Lesson 4 Modern deck to build a placement model from Regions to Availability Zones to subnets and the edge. It also makes the shared-responsibility boundary practical: AWS secures the infrastructure it operates, while customers secure and operate what they configure.

Learning objectives

  • Describe the hierarchy of Regions, Availability Zones, edge locations, and extension zones.
  • Choose a Region using compliance, latency, service availability, cost, and continuity.
  • Explain regional versus global scope and troubleshoot a wrong-Region symptom.
  • Place subnets with nonoverlapping CIDR ranges across multiple AZs.
  • Remove single points of failure with load balancing, Auto Scaling, and multi-AZ design.
  • Explain CloudFront caching, edge services, Outposts, Local Zones, and Wavelength.
  • Apply the shared-responsibility model, health dashboards, and the AWS Acceptable Use Policy.

1. AWS locations form a hierarchy

A Region is a separate geographic area containing multiple Availability Zones. An Availability Zone (AZ) is an isolated location made of one or more data centers with independent facilities, power, and connectivity. An edge location is a point of presence that brings selected services closer to users. Extension zones include Outposts, Local Zones, and Wavelength, each moving selected AWS capabilities closer to a particular facility, metro area, or telecommunications edge.

Use the hierarchy to answer two questions: where is the workload authoritative, and where should user traffic be served? More locations do not automatically create more resilience; the application must replicate, route, and recover intentionally.

2. Choose a Region as a business decision

Evaluate compliance and data residency, latency to users and connected systems, service and feature availability, cost, and continuity or disaster-recovery strategy. Established Regions may be enabled by default; opt-in Regions require an administrator to enable them. IAM policies, Organizations service control policies, and service-specific settings can still prevent use after a Region is enabled. Avoid memorizing a Region count because AWS changes the inventory.

Most resources are regional: EC2, RDS, VPCs, and many service resources stay in the selected Region and do not automatically appear or fail over elsewhere. Global control surfaces such as IAM, Route 53, and CloudFront can still depend on regional resources. Always confirm the Region in the console selector, CLI or SDK configuration, endpoint, and infrastructure code.

3. AZ names, AZ IDs, subnets, and CIDR

Each Region has at least three AZs connected by redundant, low-latency, high-bandwidth networking. Treat an AZ as a failure domain. Account-facing names such as us-east-1a are not guaranteed to map to the same physical AZ across different accounts; stable AZ IDs such as use1-az1 are the safer coordination reference when multiple accounts must align placement.

A subnet belongs to exactly one AZ. Its CIDR range defines the available private IP space. For example, 10.0.0.0/16 can be a broad VPC range and 10.0.1.0/24 a smaller subnet inside it. Connected networks need nonoverlapping ranges, and a plan should leave room for additional AZs, public/private tiers, and environments. A public subnet has a route to an internet gateway and appropriate public addressing; a private subnet has no direct internet route and may use controlled translation or service endpoints.

For the subnet lab, choose one Region and two different AZs, create nonoverlapping public and private CIDRs, associate each subnet with exactly one AZ, and record the subnet IDs, AZ names, AZ IDs, and route behavior.

4. Resilience and high availability

A single point of failure can be one instance, one AZ, one database endpoint, one storage path, or one network dependency. High availability removes that dependency by maintaining independent capacity and providing a healthy route to it. A useful process is request → balance → multi-AZ → recover: traffic reaches the service, a load balancer sends it to healthy targets, capacity spans failure domains, and automation replaces failed capacity.

A load balancer and Auto Scaling solve different problems. The load balancer distributes requests and uses health checks to stop sending new requests to unhealthy targets. Auto Scaling maintains desired capacity by adding, removing, or replacing instances. Neither one automatically makes a stateful application safe; data replication, session handling, backups, and a recovery plan still matter.

5. Edge locations and CloudFront

The edge shortens the content path. A user requests an object; an edge location returns a cached copy if present; a regional edge cache can retain less-popular objects; the origin provides the authoritative object on a miss. CloudFront caching balances speed and freshness through the cache key (headers, cookies, and query strings), time to live, and invalidation. Protect the origin with access controls and edge security rather than assuming a cached object replaces origin protection.

Other services use the edge network for different jobs: CloudFront accelerates content and applications; Route 53 provides DNS and routing policies; AWS Shield helps counter DDoS; AWS WAF filters web requests; and Lambda@Edge customizes CloudFront behavior. Caching is not automatically beneficial for content that changes constantly or is requested only once; ask students to justify the freshness and cost trade-off.

6. Extending AWS toward users and facilities

AWS Outposts places AWS-installed and AWS-maintained infrastructure in an on-premises data center or colocation facility for low latency, local processing, data residency, or a consistent hybrid experience. AWS Local Zones place selected services near a city or metro area for latency-sensitive workloads such as live media and real-time gaming. AWS Wavelength places compute and storage inside telecommunications providers’ 5G networks for mobile, AR/VR, and edge machine-learning applications. These options extend placement; they do not turn every AWS service into a local service.

7. Shared responsibility, health, and acceptable use

AWS secures the cloud: buildings, physical servers, power, networking, host systems, virtualization, and the infrastructure of managed services. Customers secure what is in the cloud: data, identities, configurations, applications, and the guest operating system where applicable. The boundary is a sliding scale. For EC2, the customer patches and operates the guest OS. For RDS, AWS manages more of the database platform, while the customer still owns data, access, and configuration. For Elastic Beanstalk, the platform hides more runtime administration but not application responsibility. Use the rule “if you can edit it, you own it” as a planning prompt.

When troubleshooting, check the AWS Service Health Dashboard early for Region-specific events, then verify account, Region, resource identifier, routes, health checks, and recent changes. The AWS Acceptable Use Policy prohibits illegal, harmful, abusive, insecure, or offensive activity. Even testing your own resources can require explicit authorization. Protect credentials, report suspected abuse through the proper channel, and keep local incident response active.

Classroom application

Give groups a small web application and require a Region choice, a two-AZ subnet layout, a CIDR plan, an HA path, a CloudFront decision, and a shared-responsibility checklist. Have them identify one remaining SPOF and one action that would confirm whether a missing resource is merely in the wrong Region.

Common misconceptions

  • A Region is one data center. A Region contains multiple AZs and independent failure domains.
  • us-east-1a is the same physical place for every account. Use AZ IDs when cross-account alignment matters.
  • A subnet spans multiple AZs. Every subnet belongs to exactly one AZ.
  • Load balancing replaces Auto Scaling. One routes traffic; the other maintains capacity.
  • CloudFront is a backup copy. It is a cache; the origin remains authoritative.
  • AWS manages everything in a managed service. Customers still own data, identity, configuration, and application behavior.

Lesson summary

AWS placement is a set of deliberate decisions: Region for business constraints, AZ for failure isolation, subnet and CIDR for network structure, edge for user proximity, and extension zones for special latency or residency needs. High availability requires redundant capacity plus healthy routing and recovery. Shared responsibility and service health checks tell the customer what to secure and what to investigate. These four lessons together form the foundation for deeper AWS service and architecture work.