BeginnerFundamentals

AWS Fundamentals

Start from zero: what AWS is, how Regions and Availability Zones are organized, and how to use AWS Console and CLI for daily work.

What Is It? (ELI5)

AWS is a giant online data center you rent. Instead of buying your own servers, you click a few buttons and get servers, storage, and networking in minutes.

Why Do We Need It?

How It Works (Technical)

Global Infrastructure

  • Region: Geographic area like us-east-1.
  • Availability Zone (AZ): Isolated data center group inside a region.
  • Best practice: Run critical workloads across multiple AZs for resilience.
ConceptAWSAzure Equivalent
Geographic unitRegionRegion
Data center isolationAvailability ZoneAvailability Zone
Management portalAWS ConsoleAzure Portal
CLI toolAWS CLIAzure CLI

Visual Representation

Region (us-east-1)
├─ AZ-a: app server 1
├─ AZ-b: app server 2
└─ AZ-c: database replica

If one AZ fails, others continue serving traffic.

Hands-on

# Configure CLI profile
aws configure

# List configured region and identity
aws configure list
aws sts get-caller-identity

# List EC2 instances in current region
aws ec2 describe-instances --query "Reservations[].Instances[].InstanceId" --output table

Debugging Scenario

Problem

Command fails with Unable to locate credentials.

Interview Questions

Beginner: What is the difference between Region and AZ?
A Region is a geographic location; AZ is an isolated location inside that region.
Intermediate: Why deploy across multiple AZs?
To reduce single point of failure and improve uptime.
Scenario: Your app is slow for users in Asia but hosted in one US region. What would you change?
Deploy workload closer to users and add CDN or multi-region strategy.

Real-world Usage

A startup launches MVP in one region, then adds another region and CloudFront as traffic grows globally.

Summary