Skip to main content
AWS Global Infrastructure

Module Overview

Estimated Time: 2-3 hours | Difficulty: Beginner | Prerequisites: None
This module covers the foundational concepts that underpin all AWS services. Everything else in this course builds on these ideas. A senior engineer who truly understands regions, availability zones, and pricing models will make better architecture decisions than someone who memorizes every service name but does not understand the underlying infrastructure. Understanding these concepts is essential for designing reliable, cost-effective architectures. What You’ll Learn:
  • AWS global infrastructure and how to choose regions
  • Availability Zones and designing for high availability
  • AWS pricing models and cost optimization strategies
  • The shared responsibility model for security
  • Account structure and AWS Organizations

AWS Global Infrastructure

AWS operates the world’s largest cloud infrastructure, designed for high availability, fault tolerance, and low latency.

Regions

A Region is a geographical area containing multiple data centers. Each region is completely independent and isolated from other regions.

How to Choose a Region

Latency

Choose the region closest to your users for lowest latency

Compliance

Data residency laws may require specific regions (GDPR, HIPAA)

Service Availability

Not all services are available in all regions—check first

Pricing

Prices vary by region (us-east-1 is often cheapest)
Pro Tip: us-east-1 (N. Virginia) is the oldest and largest AWS region. New services launch here first, but it’s also the most crowded. Consider us-east-2 (Ohio) for similar pricing with less congestion.

Availability Zones (AZs)

Each region has multiple Availability Zones (typically 3-6). Each AZ is one or more discrete data centers with redundant power, networking, and connectivity.

Designing for High Availability

Critical Design Principle: Always deploy production workloads across at least 2 AZs. A single AZ has ~99.9% availability; Multi-AZ achieves ~99.99%.

Edge Locations

Edge Locations are AWS data centers designed to deliver content to end users with low latency. There are 400+ edge locations worldwide. Services using Edge Locations:
  • CloudFront (CDN) - Cache static and dynamic content
  • Route 53 (DNS) - Low-latency DNS resolution
  • AWS Global Accelerator - Optimized routing
  • Lambda@Edge - Run code at edge locations

AWS Pricing Models

Understanding pricing is crucial for cost optimization — often 40-70% of cloud spend can be optimized. The biggest savings come not from clever discounting but from turning off resources you are not using and right-sizing instances that are over-provisioned. A senior engineer would say: “The cheapest instance is the one you don’t run.”

Pricing Model Comparison

On-Demand Pricing

Pay by the second (minimum 60 seconds) with no commitments.

Reserved Instances

Commit to 1 or 3 years for significant discounts.

Spot Instances

Use unused EC2 capacity for up to 90% off. Instances can be reclaimed with a 2-minute warning. The mental model: spot instances are like standby airline tickets — you get a massive discount because you are willing to be bumped if the flight fills up. The key to using spot successfully is designing for interruption: run stateless workloads, spread across multiple instance types and AZs, and save checkpoints frequently.
Spot Best Practice: Use Spot Fleet with multiple instance types and AZs to maximize availability and minimize interruptions.

Savings Plans

Flexible alternative to Reserved Instances. Commit to a consistent amount of usage ($/hour) for 1 or 3 years.

Shared Responsibility Model

AWS security is a shared responsibility between AWS and the customer. This is the single most important security concept in cloud computing — misunderstanding it is behind the majority of cloud security breaches. The analogy: AWS provides a secure building (locks on the doors, security guards, fire suppression), but if you leave your apartment door wide open, that is your problem, not the building’s. AWS secures the infrastructure; you secure what you put on it.

Responsibility by Service Type


AWS Account Structure

Root Account Security

Never use the root account for daily operations! The root account has unrestricted access to everything.

AWS Organizations

Manage multiple AWS accounts centrally with consolidated billing and policy governance.

Common Abbreviations Reference


🎯 Interview Questions

Answer: A Region is a geographical area (e.g., us-east-1) containing multiple isolated data center clusters called Availability Zones. AZs are physically separated but connected by low-latency fiber. Regions are completely isolated from each other.Key Points:
  • Region = Geographic area (e.g., N. Virginia, Ireland)
  • AZ = One or more data centers within a region
  • AZs are connected via private fiber (< 2ms latency)
  • Regions are isolated for fault tolerance
Answer:Spot Instances (up to 90% off):
  • Fault-tolerant, stateless workloads
  • Batch processing, CI/CD, data analysis
  • Can be interrupted with 2-minute notice
Reserved Instances (up to 72% off):
  • Steady-state, predictable workloads
  • Production databases, core application servers
  • Commitment of 1 or 3 years
Decision Framework: If your workload can handle interruption, use Spot. If it needs guaranteed capacity, use Reserved.
Answer: AWS is responsible for security of the cloud (hardware, facilities, managed services infrastructure). Customers are responsible for security in the cloud (data, applications, IAM, network configuration).Example for EC2:
  • AWS: Hypervisor, physical security, network infrastructure
  • Customer: OS patching, firewall rules, IAM, encryption, application security
Example for Lambda:
  • AWS: Runtime, OS, scaling, infrastructure
  • Customer: Code security, IAM permissions, data encryption
Answer:
  1. Multi-AZ Deployment: Run instances in at least 2-3 AZs
  2. Load Balancing: Use ALB/NLB to distribute traffic
  3. Auto Scaling: Automatically add/remove instances based on demand
  4. Database HA: RDS Multi-AZ or Aurora with read replicas
  5. Stateless Design: Store session data in ElastiCache, not on instances
  6. Health Checks: Route 53 health checks for DNS failover
  7. Data Replication: S3 cross-region replication for DR
This achieves 99.99% availability (52 minutes downtime/year).
Answer: ARN (Amazon Resource Name) is a unique identifier for any AWS resource. Format:
Examples:
  • arn:aws:s3:::my-bucket (S3 bucket)
  • arn:aws:ec2:us-east-1:123456789012:instance/i-1234567890abcdef0
Importance:
  • Required in IAM policies to specify resources
  • Used in CloudFormation/Terraform for cross-references
  • Essential for resource-level permissions

🧪 Hands-On Lab: Secure Account Setup

Objective: Set up your AWS account following security best practices.
1

Enable MFA on Root Account

  1. Sign in as root user
  2. Go to IAM → Security credentials
  3. Enable virtual MFA or hardware MFA
2

Create IAM Admin User

  1. Create IAM user with AdministratorAccess policy
  2. Enable MFA for this user
  3. Use this user for all future operations
3

Set Up Billing Alerts

  1. Go to Billing → Budgets
  2. Create a budget for $10 (or your limit)
  3. Set email alerts at 50%, 80%, 100%
4

Enable CloudTrail

  1. Go to CloudTrail
  2. Create a trail in all regions
  3. Store logs in S3 with encryption
5

Create Account Alias

  1. Go to IAM → Dashboard
  2. Create a custom alias for easier sign-in
  3. Bookmark the new sign-in URL
Checkpoint: You should now have a secure AWS account with MFA, CloudTrail logging, and billing alerts. Never use the root account again except for the few tasks that require it.

Next Module

Compute Services

Learn about EC2, Lambda, ECS, EKS, and Auto Scaling