Account, Regions and Security
Regions and Availability Zones
- A Region is a place in the world with AWS data centres, such as
ap-south-1(Mumbai). - Each Region has several Availability Zones (AZs): separate data centres. If one fails, the others keep running.
- Pick the Region closest to your users for speed.
Choosing a Region affects speed (closer to users is faster), cost (prices differ by Region) and law (some data must stay in the country). For Indian users, the Mumbai (ap-south-1) and Hyderabad (ap-south-2) Regions keep data in India and give low delays. Availability Zones are about reliability: running in two or more AZs means a fire or power problem in one building doesn't take your app down.
Keep your account safe
- The root user (the email you signed up with) can do everything. Turn on MFA (a one-time code app) for it and do not use it every day.
- Create an IAM user or use IAM Identity Center for daily work.
- Never put access keys in code or upload them to GitHub.
Cloud accounts are a target because attackers can use them to run expensive servers or steal data. Most real-world cloud breaches come from simple mistakes: leaked passwords or keys, missing MFA, or files left public. The few minutes you spend securing the account on day one are the most important minutes in this course.
The shared responsibility model
AWS keeps the data centres and hardware safe ("security of the cloud"). You are responsible for your data, passwords, settings and who has access ("security in the cloud").
- Regions are places; Availability Zones are separate data centres inside them.
- Protect the root user with MFA and don't use it daily.
- Never put access keys in code.
- AWS secures the cloud; you secure what you put in it.
