Skip to content
Visual explainer 2h to learn 5 steps

Find your way around AWS infrastructure and the console

Explain Regions, Availability Zones and edge locations, tell regional from global services, and split responsibility with AWS.

By Invicly Tech, , in AWS Cloud Engineering. About 12 minutes to read.

Topic 1 of 38

In short

AWS runs its services in Regions, which are separate geographic areas, and each Region contains several Availability Zones made of one or more data centres with independent power and networking. Edge locations sit closer to users and serve CloudFront and Route 53 traffic. Knowing whether a service is global, regional or zonal, and which security jobs are yours rather than AWS's, tells you where your resources live and what you must protect.

Think of it like this: A Region is a city, its Availability Zones are separate districts with their own power stations, and edge locations are corner shops spread across the country.

Explained simply

AWS is not one giant computer in one place. It is many groups of data centres spread around the world. Each group is a Region, such as eu-west-1 in Ireland or us-east-1 in Northern Virginia. When you create something, you nearly always pick a Region for it, and your data stays there unless you move it.

Inside every Region there are several Availability Zones, usually called AZs. An AZ is one or more data centres with its own power, cooling and network links. AZs in a Region are kilometres apart but joined by fast private fibre. If one AZ has a fire or a power cut, the others keep running.

Edge locations are much smaller sites in many more cities. They do not run your servers. Instead they cache web content for CloudFront and answer DNS questions for Route 53, so users far from your Region still get quick responses.

Security is split between you and AWS. AWS looks after the buildings, the hardware and the software that runs the cloud. You look after what you build on top: who can sign in, what they can do, how your data is protected and how your servers are patched. This split is called the shared responsibility model.

In the console, the Region menu sits in the top right corner. Most pages only show resources for the Region chosen there. If something you made seems to have vanished, switch Region before you panic.

Press Play on a diagram to walk through it one step at a time.

LayersHow AWS infrastructure nests
  1. 1
    AWS global network

    Private backbone linking every Region and edge location.

  2. 2
    Region

    For example eu-west-1. Fully isolated from other Regions.

  3. 3
    Availability Zone

    For example eu-west-1a. Separate power, cooling and network.

  4. 4
    Data centre

    One or more buildings inside each AZ.

  5. 5
    Your resource

    An EC2 instance or EBS volume lives in exactly one AZ.

CompareWho secures what (shared responsibility)
AWS: security of the cloud
  • Buildings, hardware and power
  • Hypervisor and host operating system
  • Global network and backbone
  • Managed service internals
You: security in the cloud
  • IAM users, roles and policies
  • Data classification and encryption choices
  • Guest OS patches on EC2
  • Security groups and network rules
  • Application code and secrets
FlowA user request reaching the sample service
  1. 1
    User in another country

    Opens the upload page

  2. 2
    Route 53 at the edge

    Answers the DNS query nearby

  3. 3
    CloudFront edge location

    Serves cached static files

  4. 4
    AWS backbone

    Carries dynamic requests to the Region

  5. 5
    Region, two or more AZs

    API and workers handle the upload

In depth

Choosing a Region for the sample service

Four questions decide the Region. First, where are your users? Closer means lower latency. Second, are there rules about where data must live, for example customer records that must stay in the EU? Third, is every service you need available there? New features often arrive in large Regions such as us-east-1 first. Fourth, what does it cost? Prices differ by Region, sometimes by a noticeable amount.

For this course, pick one Region near you and use it for every lab. That keeps cleanup simple, because Tag Editor and most consoles work Region by Region. Some newer Regions are opt-in, which means an administrator must enable them before anyone can use them. A Region you never enabled is one an attacker cannot quietly use either.

  • Latency to users
  • Data residency rules
  • Service and feature availability
  • Price for the services you use
  • Stick to one Region for labs

Global, regional and zonal services

Every AWS resource has a scope. Global services are not tied to a Region: IAM roles, Organizations policies, Route 53 hosted zones and CloudFront distributions are examples. The console may show them as Global in the Region menu. Regional services keep their resources inside one Region and usually spread them across AZs for you: S3 buckets, SQS queues, Lambda functions and DynamoDB tables. Zonal resources live in exactly one AZ: EC2 instances, EBS volumes and VPC subnets.

Scope tells you who owns resilience. A regional service such as SQS already survives an AZ failure. A zonal resource does not, so if you run EC2 you must run instances in two or more AZs yourself. S3 bucket names are global (no two buckets anywhere can share one), but each bucket and its data still live in one Region.

MapWhere the sample service's parts live
File-processing service
  • Global
    • IAM roles and policies
    • Route 53 hosted zone
    • CloudFront distribution
  • Regional
    • S3 upload bucket
    • SQS queue
    • Lambda worker
    • DynamoDB results table
  • Zonal
    • EC2 instance
    • EBS volume
    • VPC subnet

How responsibility shifts with managed services

The shared responsibility line moves depending on the service. With EC2 you rent a virtual machine, so you patch the guest operating system, install software and configure the firewall in the instance. With a container on Fargate, AWS runs the servers underneath, and you are responsible for the container image and its contents. With Lambda, AWS also manages the runtime, so you look after your code, its dependencies and its configuration.

Some jobs never move to AWS. You always decide who has access through IAM, which data is stored and how it is classified, whether encryption keys are AWS managed or your own, and how network access is opened. Most real cloud incidents come from this customer side: a public bucket, an over-broad role or a leaked key.

CompareYour share by runtime type
EC2
  • Guest OS patches
  • Runtime and libraries
  • Your code
  • IAM, data, network rules
ECS on Fargate
  • Container image and its packages
  • Task definition settings
  • Your code
  • IAM, data, network rules
Lambda
  • Function code
  • Dependencies you bundle
  • Timeouts and memory settings
  • IAM, data, network rules

Finding your way in the console

The top bar has the three controls you will use most. The search box finds services, features and documentation pages. The Region menu changes which regional resources you see. The account menu on the right shows the account ID and the identity you are signed in as, which matters once you have several accounts and roles.

Useful habits: pin the services you use often to the favourites bar; check the Region and account before every create; and open AWS CloudShell from the top bar when you want a browser terminal that already has the AWS CLI and your current credentials. CloudShell is available in many but not all Regions, and its home directory keeps a small amount of persistent storage per Region.

  • Search: services and docs
  • Region menu: regional scope
  • Account menu: account ID and identity
  • CloudShell: a CLI with no local setup

Learn it in 5 short steps

About 25m each. Track them with a timer in your plan.

  1. 1
    Explain Regions and Availability Zones~25m
  2. 2
    Place edge locations~25m
  3. 3
    Tell regional, zonal and global services apart~25m
  4. 4
    Split the shared responsibility model~25m
  5. 5
    Switch Region in the console~25m

Key points

  • Pick a Region first: it decides latency, price, available services and where your data is stored.
  • Spread production across at least two Availability Zones so one data centre problem does not take you down.
  • IAM, Organizations and Route 53 are global; most services, such as SQS, Lambda and DynamoDB, are regional; EC2 instances and EBS volumes are zonal.
  • The console shows regional resources only for the Region selected in the top bar, so a missing resource is often just in another Region.
  • The more managed the service, the less you patch, but identity, data and configuration always stay your job.

Key terms

Tap a card to flip it. 0/6 known

Examples

bash
# Regions enabled for this account
aws ec2 describe-regions --query "Regions[].RegionName" --output text

# Availability Zones in one Region
aws ec2 describe-availability-zones --region eu-west-1 \
  --query "AvailabilityZones[].[ZoneName,ZoneId]" --output table

AZ names such as eu-west-1a can map to different physical zones in different accounts; the zone ID (euw1-az1) is the stable identifier.

Checking where you are before creating anything

You sit down to start a lab. Step 1: look at the top bar and confirm the account ID matches your sandbox. Step 2: confirm the Region is the one you chose for the course. Step 3: from CloudShell or your terminal, run the commands below. The first shows the Region your CLI defaults to, the second lists Regions enabled for the account, and the third shows AZ names with their stable zone IDs. If the CLI Region differs from the console Region, fix that now so console and CLI work show the same resources.

bash
aws configure get region
aws ec2 describe-regions --query "Regions[].RegionName" --output text
aws ec2 describe-availability-zones \
  --query "AvailabilityZones[].[ZoneName,ZoneId,State]" --output table

Sorting the sample service's duties under shared responsibility

Take the sample service: uploads to S3, a queue, a Lambda worker and a DynamoDB table. Step 1: list what AWS handles: the physical servers, disks, network, and the software running S3, SQS, Lambda and DynamoDB. Step 2: list your duties: blocking public access on the bucket, choosing encryption, writing a least-privilege role for the worker, keeping function dependencies patched, and deciding how long files are kept. Step 3: notice that nothing in your list is about hardware. Every item is configuration, identity or data, which is exactly where you will spend your effort in this course.

Quick reference

  • Region = isolated geographic area; AZ = one or more data centres inside it
  • Edge locations serve CloudFront and Route 53, not your servers
  • Global: IAM, Organizations, Route 53, CloudFront
  • Regional: S3 buckets, SQS, Lambda, DynamoDB. Zonal: EC2 instances, EBS volumes, subnets
  • Use AZ IDs (euw1-az1), not AZ names, to match zones across accounts
  • AWS secures the cloud; you secure identity, data, configuration and code in it
  • Missing resource? Check the Region menu first

Common mistakes

  • Creating resources in the console's default Region by accident and then not finding them, or forgetting to clean them up.
  • Assuming AWS patches the operating system on your EC2 instances. It does not; that is your side of the model.
  • Comparing AZ names across accounts. Use AZ IDs when two accounts must land in the same physical zone.

Quick quiz

Pick an answer to see if you're right and why.

Question 1

1Which of these resources is zonal?

Question 2

2What do edge locations mainly do?

Question 3

3Under the shared responsibility model, who patches the operating system on an EC2 instance?

Question 4

4Two accounts must place subnets in the same physical zone. What should they compare?

0/4 answered

Practice exercises

Try each one yourself first. Use the hint if you get stuck, then compare with the solution.

  1. Exercise 1easy

    List the Availability Zones in your chosen Region with their zone IDs, and note how many there are.

  2. Exercise 2medium

    Classify each part of the sample service (S3 bucket, SQS queue, Lambda function, DynamoDB table, IAM role, CloudFront distribution, EC2 bastion) as global, regional or zonal, and say which ones you must make multi-AZ yourself.

  3. Exercise 3hard

    Write a one-page Region choice note for the sample service: users mostly in the UK and Germany, files contain personal data that must stay in the EU, and you need Lambda, SQS, DynamoDB and S3.

Check yourself

Answer in your head, reveal, then be honest with yourself.

Feel confident about this topic?

Frequently asked questions

How many Availability Zones does a Region have?
AWS designs Regions with at least three AZs, and some have more. Check the current list with aws ec2 describe-availability-zones or the AWS Regions page, because new zones are added over time.
Is us-east-1 special?
It is the oldest and largest Region, and some global services, such as billing data and certificates used by CloudFront, are managed from there. It is not the right choice by default; pick the Region that fits your users and rules.
Does choosing a Region guarantee my data never leaves it?
AWS does not move your content out of the Region you chose unless you configure it, for example with cross-Region replication. Global services such as IAM store their own configuration data globally, so keep personal data out of names and tags.

Go deeper

ShareXLinkedInWhatsApp