Regions, endpoints, ARNs and service scope

Beginner · 6 min

Where an AWS resource lives: partitions, Regions, Availability Zones, the endpoint you call, how ARNs name things, and which services are global.

Digital Cloud Training · 6 min

Regions, endpoints, ARNs and service scope

The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.

Taught by Digital Cloud TrainingReport a problem with this video
Not started
Set this lesson's status

What you'll learn

  • A Region is a separate geographic deployment of AWS. Most resources exist in exactly one Region, and a list call in another Region does not see them.
  • A Region has at least three Availability Zones. A zone name such as eu-west-1a can map to a different physical zone in another account, while the zone ID (euw1-az1) is the same for everyone.
  • An endpoint is the URL your request goes to, usually service.region.amazonaws.com. A wrong Region in your configuration means asking the wrong place, not getting an error that says so.
  • An ARN is arn:partition:service:region:account:resource. Global services leave the Region empty, and some formats leave out the account too.
  • Partitions (aws, aws-cn, aws-us-gov, aws-eusc) are hard walls. Accounts, credentials and IAM do not cross them.
  • Global services such as IAM, Route 53 and CloudFront work everywhere, but their control planes sit in one Region, so keep them out of your recovery path.

Every resource has an address

The first AWS mystery most people hit goes like this. You create a server, come back an hour later, and it has vanished. Nothing was deleted. You are looking in a different Region.

AWS is not one big computer. It is many separate deployments of the same services, and every API call goes to one of them. Once you know how a resource is located and named, a whole class of confusion disappears. If regions and failure domains are new to you, read that lesson for the reasoning. This one is about how AWS names and addresses them.

Partitions, Regions, zones

From the outside in:

  • A partition is a group of Regions that share one identity system. aws holds the commercial Regions. aws-cn (China), aws-us-gov (GovCloud) and aws-eusc (the European Sovereign Cloud) are separate. An account belongs to one partition, and its credentials mean nothing in another.
  • A Region such as eu-west-1 is a geographic deployment with its own copy of most services. As of November 2026, AWS lists 39 Regions.
  • An Availability Zone is one or more data centres with separate power and networking. Each Region has at least three.

Regions launched after 20 March 2019 are opt-in: disabled until you enable them for the account. Older ones are on by default and cannot be turned off.

Zone names carry a trap. In several older Regions, including us-east-1 and eu-west-1, accounts created before November 2025 have their own mapping of names to physical zones. Your eu-west-1a may be someone else’s eu-west-1c. The zone ID is the stable name:

$ aws ec2 describe-availability-zones --query "AvailabilityZones[].{Name:ZoneName,ID:ZoneId}" --output table
+-----------+--------------+
|  euw1-az3 |  eu-west-1a  |
|  euw1-az1 |  eu-west-1b  |
|  euw1-az2 |  eu-west-1c  |
+-----------+--------------+

Use IDs whenever two accounts must agree on a location.

Endpoints: where the request actually goes

Each service listens on URLs called endpoints. The SDKs and CLI build the URL from the service name and your configured Region. These were resolved by the Python SDK (botocore 1.42.97) without sending anything:

Client and Region asked for URL it would call Scope
ec2, eu-west-1 ec2.eu-west-1.amazonaws.com Regional
sts, eu-west-1 sts.eu-west-1.amazonaws.com Regional
iam, eu-west-1 iam.amazonaws.com global
route53, eu-west-1 route53.amazonaws.com global
organizations, eu-west-1 organizations.us-east-1.amazonaws.com global
ec2, eusc-de-east-1 ec2.eusc-de-east-1.amazonaws.eu another partition

IAM ignored the Region you asked for. There is one IAM per partition. Note also that the domain is not always amazonaws.com, so don’t hard-code it. Variants exist for FIPS (ec2-fips.us-east-1.amazonaws.com) and dual-stack IPv4/IPv6 (ec2.us-east-1.api.aws).

ARNs: the full name

An Amazon Resource Name identifies one resource unambiguously. IAM policies are written in terms of them, so you will read thousands.

arn : partition : service : region    : account      : resource
arn : aws       : dynamodb: eu-west-1 : 123456789012 : table/orders
arn : aws       : sns     : eu-west-1 : 123456789012 : orders
arn : aws       : iam     :           : 123456789012 : user/eng/ana
arn : aws       : s3      :           :              : my-bucket/reports/q3.csv

The last part varies by service: type/id, type:id, or just an id. IAM names can carry a path (/eng/), which lets a policy match a whole team with a wildcard. Empty fields are meaningful. Don’t guess a format; the Service Authorization Reference lists it for every resource type.

What “global” really means

Most services are Regional, and some resources are zonal: a subnet or an EBS volume lives in one zone. A few services are global, including IAM, Organizations, Route 53 and CloudFront.

Global does not mean “everywhere at once”. AWS splits these services into a control plane, where you create and change things, and a data plane, which does the daily work. In the aws partition the IAM, Route 53 and CloudFront control planes are in us-east-1. Their data planes are spread out. So signing in with an existing role keeps working if that Region is impaired, while creating a new role may not. Think of a bank: the cash machines are everywhere, but new cards are printed in one building.

Choosing a Region

Four questions usually decide it. Where are your users, for latency? Where may the data legally sit? Does the Region offer the services and instance types you need? What does it cost there? Prices differ between Regions, and new features rarely arrive everywhere on the same day.

About the video

The embed is Digital Cloud Training’s six-minute overview of AWS global infrastructure, August 2022. Its chapters cover Regions and Availability Zones, what is inside a Region, ways of extending the infrastructure (Local Zones and similar), use cases and edge locations. Its infrastructure counts are from 2022, so use the current AWS page instead. It does not cover endpoints, ARNs or partitions; the text above does. I judged it from chapters and description, since transcripts couldn’t be fetched. Adrian Cantrill’s video in deeper separates public-endpoint services from ones inside your private network.

What was run: the endpoint table comes from botocore’s offline resolver. The zone table is output from moto, a local AWS emulator, so it shows the shape of the response, not any real account’s mapping. The ARN formats, Region counts, opt-in rules and control-plane locations are from AWS documentation, checked in November 2026.

Where this fits

Before you can call any endpoint you need an account. Next: creating an account and securing the root user.

Check yourself

  1. 01You created a DynamoDB table and aws dynamodb list-tables returns an empty list. The credentials are right. What do you check first?

    The Region. Tables are Regional, so a command resolving to a different Region from the one you created the table in asks a different endpoint, which correctly reports that it has no tables.

  2. 02Two accounts both put a server in us-east-1a to avoid cross-zone traffic. Why might that fail to work?

    In some older Regions, accounts created before November 2025 have zone names mapped independently, so the same name can be a different physical zone. Compare zone IDs such as use1-az1 instead.

  3. 03What do the two empty fields in arn:aws:iam::123456789012:user/eng/ana and arn:aws:s3:::my-bucket tell you?

    IAM is not Regional, so its Region field is empty. An S3 bucket ARN of this form omits both Region and account, because bucket names in the general namespace are unique across the partition.

  4. 04Your failover plan creates a new IAM role during an outage. What is the risk?

    Creating a role is a change through the IAM control plane, which in the aws partition is in us-east-1. Create roles in advance so recovery only needs the data plane, which runs in every Region.

Go deeper

Notes

Private to you

Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark