Docsity

Chapter_7_Cloud_Computing_and_Distributed_Systems, Lecture notes of Computer Fundamentals

Toggle sidebar
bg1
CH AP TE R 07 • A PP LIE D COM PUT IN G
Cloud Computing & Distributed Systems
Topic: Service Models, Virtualization, Scaling & CAP Theorem
1. Cloud Service Models (Shared Responsibility)
Cloud computing delivers on-demand compute, storage, and networking over the internet using metered billing. The provider and
customer split management duties based on the service tier:
Model Provider Manages Customer Manages Typical Use Case
IaaS Servers, storage, hypervisor, physical
network
Operating system, runtime, app code,
data
Custom virtual servers & network
labs
PaaS Hardware, OS patches, runtime
environment Application code and configuration Rapid web app & API deployment
SaaS Full application stack and infrastructure User accounts and application data Email suites, CRM, cloud docs
2. Virtual Machines vs. Containers
Virtual Machines (VMs): A hypervisor emulates physical hardware so each VM runs its own full guest OS. Provides strong
isolation but consumes higher RAM and boot time.
Containers: Package application code and dependencies together while sharing the host OS kernel . Containers start in
milliseconds and maximize server density.
3. Elasticity & Load Balancing
Vertical scaling adds CPU or RAM to a single machine, hitting hardware limits quickly. Horizontal scaling adds extra
identical nodes behind a Load Balancer, which distributes incoming traffic and routes around unhealthy servers.
CAP Theorem Principle
When a network partition (P) splits distributed nodes, a database must choose between strict Consistency (C) (blocking
stale reads) or high Availability (A) (serving every request even if data is temporarily out of sync).
•
•
Users
Load Balancer
App Node 01
App Node 02
App Node 03

Partial preview of the text

Download Chapter_7_Cloud_Computing_and_Distributed_Systems and more Lecture notes Computer Fundamentals in PDF only on Docsity!

CH AP T ER 07 • AP PLIED COMPUTING

Cloud Computing & Distributed Systems

Topic: Service Models, Virtualization, Scaling & CAP Theorem

1. Cloud Service Models (Shared Responsibility)

Cloud computing delivers on-demand compute, storage, and networking over the internet using metered billing. The provider and customer split management duties based on the service tier:

Model Provider Manages Customer Manages Typical Use Case

IaaS Servers, storage, hypervisor, physicalnetwork Operating system, runtime, app code,data Custom virtual servers & networklabs

PaaS Hardware, OS patches, runtimeenvironment Application code and configuration Rapid web app & API deployment

SaaS Full application stack and infrastructure User accounts and application data Email suites, CRM, cloud docs

2. Virtual Machines vs. Containers

Virtual Machines (VMs): A hypervisor emulates physical hardware so each VM runs its own full guest OS. Provides strong isolation but consumes higher RAM and boot time. Containers: Package application code and dependencies together while sharing the host OS kernel. Containers start in milliseconds and maximize server density.

3. Elasticity & Load Balancing

Vertical scaling adds CPU or RAM to a single machine, hitting hardware limits quickly. Horizontal scaling adds extra identical nodes behind a Load Balancer , which distributes incoming traffic and routes around unhealthy servers.

CAP Theorem Principle When a network partition ( P ) splits distributed nodes, a database must choose between strict Consistency (C) (blocking stale reads) or high Availability (A) (serving every request even if data is temporarily out of sync).

Users Load Balancer

App Node 01 App Node 02 App Node 03