What Is Cloud Computing and AWS? Regions, Availability Zones, Edge Locations and the Shared Responsibility Model
What Is Cloud Computing?
Cloud computing means renting computing power, storage and software over the internet instead of buying and running your own servers. You pay for what you use, like electricity: you do not build a power station, you switch on a light and get a bill.
| Traditional data center | Cloud (AWS) |
| Buy servers months before you need them | Create a server in minutes |
| Big upfront cost (capital expense) | Pay as you go (operating expense) |
| Guess capacity, often too much or too little | Scale up and down with demand |
| You maintain hardware, power, cooling, buildings | AWS maintains them |
| One or two locations | Dozens of locations worldwide in minutes |
Six Benefits of the Cloud
- Trade upfront cost for variable cost: pay only for what you use
- Economies of scale: AWS buys at huge volume, so unit prices are lower
- Stop guessing capacity: scale to the real demand
- Speed and agility: new resources in minutes, not weeks
- Stop spending on data centers: focus on your product
- Go global in minutes: deploy near your customers
Service Models: IaaS, PaaS, SaaS
| Model | You manage | AWS example |
| IaaS (Infrastructure as a Service) | Operating system, runtime, app, data | Amazon EC2, EBS, VPC |
| PaaS (Platform as a Service) | App and data; platform is managed | Elastic Beanstalk, RDS, Lambda |
| SaaS (Software as a Service) | Only how you use the software | Amazon WorkMail, Amazon Chime, Amazon Connect |
What Is AWS?
Amazon Web Services (AWS) is the largest cloud platform. It offers 200+ services across compute, storage, databases, networking, analytics, machine learning, security and more. You use them through the console (web page), the AWS CLI (commands) or SDKs and APIs (code).
AWS Global Infrastructure
text
AWS Cloud
└─ Region (a geographic area, for example Mumbai ap-south-1)
├─ Availability Zone A (one or more data centers) ap-south-1a
├─ Availability Zone B ap-south-1b
└─ Availability Zone C ap-south-1c
Edge locations (hundreds, in many cities): CloudFront, Route 53 caching
Local Zones / Wavelength / Outposts: put AWS closer to users or inside your own building
| Piece | Meaning | Why it matters |
| Region | A separate geographic area with a name like us-east-1 or ap-south-1. Regions are isolated from each other | Data stays in a Region unless you move it. Law, latency and price depend on the Region |
| Availability Zone (AZ) | One or more data centers with separate power, cooling and network, inside a Region. AZs are connected by fast, low-latency links | Use 2 or more AZs so one failure does not stop your app |
| Edge location | A small site used by CloudFront, Route 53, and others to serve content close to users | Lower latency worldwide |
| Local Zone | An extension of a Region placed in a big city | Single-digit millisecond latency for local users |
| AWS Outposts | AWS hardware in your own data center | Hybrid workloads that must stay on premises |
Remember: A Region has at least three AZs in most cases. An AZ is not one building: it can be several data centers.
How to Choose a Region
| Factor | Question to ask |
| Compliance and law | Must data stay in a country or area? (for example data residency rules) |
| Latency | Where are most users? Choose the closest Region |
| Service availability | Is every service and feature you need offered in that Region? New services often launch first in a few Regions |
| Price | Prices differ by Region. For example, us-east-1 is often cheaper than others |
Shared Responsibility Model
Security in the cloud is shared. AWS secures the cloud itself. You secure what you put in it.
| AWS is responsible for | You are responsible for |
| Security OF the cloud: buildings, hardware, network, hypervisor, managed service software | Security IN the cloud: your data, identity and access (IAM), operating system on EC2, firewall rules, encryption choices, application code |
| Service | AWS manages | You manage |
| EC2 (IaaS) | Hardware, hypervisor | Guest OS patches, firewall (security groups), apps, data |
| RDS (managed) | Hardware, OS, database software patches, backups engine | Data, users and permissions, network access, parameter choices |
| S3 (managed storage) | Infrastructure, durability | Bucket policies, public access settings, encryption choice, data |
| Lambda (serverless) | Servers, OS, runtime patches | Function code, permissions (IAM role), data |
Common exam trap: Patching the operating system on EC2 is your job. Patching the database engine on RDS is AWS's job (you choose the maintenance window).
Ways to Use AWS
| Way | Best for |
| AWS Management Console | Learning, one-off tasks, looking at resources |
| AWS CLI | Scripts and automation from a terminal |
| SDKs (Python boto3, JavaScript, Java ...) | Calling AWS from application code |
| Infrastructure as Code (CloudFormation, CDK, Terraform) | Repeatable, reviewed environments |
| AWS CloudShell | A ready browser terminal with the CLI already logged in |
Practice Tasks
- List the Regions and AZs close to your location and write down their codes
- Explain in two sentences why one AZ is not enough for a production app
- Explain who patches the OS for EC2, RDS and Lambda
- Pick a Region for a company with users in India and a rule to keep data in India, and justify it
Conclusion
AWS is built from Regions (isolated areas), Availability Zones (separate data center groups inside a Region) and edge locations (close to users). You choose a Region by law, latency, service availability and price. Security is shared: AWS secures the cloud, you secure what you put in it.
Quick Summary: cloud benefits; IaaS/PaaS/SaaS; Region vs AZ vs edge; choose Region by 4 factors; shared responsibility by service.