lesson
Cloud Fundamentals
Compute, storage, networking, and IAM across AWS and GCP.
Cloud Fundamentals
The Three Pillars
Every cloud provider organises services around three pillars:
Compute
Run code without managing physical servers.| Service | AWS | GCP | When to use |
|---|---|---|---|
| VMs | EC2 | Compute Engine | Full OS control, legacy apps |
| Containers | ECS / EKS | GKE / Cloud Run | Microservices, K8s workloads |
| Serverless | Lambda | Cloud Functions | Event-driven, short tasks |
| App hosting | App Runner | App Engine | Simple web apps |
Storage
| Type | AWS | GCP | Use case |
|---|---|---|---|
| Object | S3 | Cloud Storage | Files, backups, data lake |
| Block | EBS | Persistent Disk | VM disks |
| File | EFS | Filestore | Shared filesystems |
Networking
IAM (Identity & Access Management)
The #1 interview topic for cloud roles.
Principle of least privilege: give only the permissions needed, nothing more.
User → Role → Policy → ResourceStorageAdmin)AWS IAM policy example:
{
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject"],
"Resource": "arn:aws:s3:::my-bucket/*"
}Interview Key Points
Sign in to use the AI study buddy on this lesson.