CD6: Cloud foundations

Lesson 1 of 5 · reading 15–25 minutes; practice and project time is on the module page

Regions, zones and who's responsible for what

🎯You'll be able to

Choose a region and spread a service across zones, and explain which security tasks belong to the cloud provider and which belong to you.

🏠The everyday picture

A bank has branches in many cities (regions). In a big city it has several branches in different neighbourhoods (zones), so a power cut in one area doesn't close banking in the whole city. The bank guards the vault; you still have to keep your own PIN secret.

📘What it really is

📝A worked example

Input: map the RouteRani kit onto a cloud design in one region with two zones.

Expected output (a design, not a deployment):

Kit piece Cloud equivalent Spread
nginx load balancer managed load balancer (AWS ALB) across both zones
API copies (app_count) containers on a managed service (ECS on Fargate) at least one per zone
PostgreSQL container + volume managed database (Amazon RDS for PostgreSQL), Multi-AZ primary in one zone, standby in the other
Docker network private subnets in a VPC one per zone
random_password generated password in a secrets manager regional

🌍Where it's used

📝Case scenario

A ticketing company ran everything in one zone because "the region is reliable". A cooling failure took that zone's servers offline for several hours during a concert sale. Their competitor, with copies in three zones, saw a short slowdown. Afterwards the company ran at least two copies in different zones, with a database standby in another zone.

🖱️Try it

Open the region list for one provider's documentation and find two Indian regions and how many zones each has. Then fill in the table above for Google Cloud (load balancer, Cloud Run, Cloud SQL, VPC, Secret Manager). Success: every kit piece has a named service and a spread.

⚠️Common mistakes

🛠️For your project

In your capstone write-up, include a cloud design table like the one above for RouteRani, with zones and the reasons for your region.

✅Quick check

What's the difference between a region and a zone?

Show the answer

A region is a geographic area; zones are separate data centres within it.

Under the shared responsibility model, who controls access to your data?

Show the answer

You do, whatever service you use.

← BackCD6
ProLearners Assist