Core Elements of a Cloud SLA
Core Elements of a Cloud SLA
1. Service CommitmentsUptime %, Throughput, Latency
➔
2. Continuous MonitoringAutomated metric tracking
➔
3. Breach NotificationAlerts if SLA threshold broken
➔
4. Financial CreditsBill discounts for downtime
Explanation
- An SLA sets measurable targets such as availability and response time.
- It also defines how to measure them and what happens if the target is missed.
Main Cloud Pricing Models
Main Cloud Pricing Models
1. On-Demand (Pay-As-You-Go)
Highest flexibility; pay per hour/second with no long-term commitment
2. Reserved Instances
Commit to 1 or 3 years in advance; get huge discounts (up to 70%)
3. Spot / Preemptible Instances
Bid for unused cloud capacity at 80-90% discount; can be reclaimed anytime
4. Subscription / Tiered Pricing
Fixed monthly flat fee per user (popular in SaaS like Canva or Office 365)
Explanation
- On-demand capacity charges for use without a long commitment.
- Reserved capacity trades commitment for a rate advantage, while spot capacity can be interrupted.
CAP during a network partition
CAP during a network partition
C - Consistency
A read behaves as though all operations took place in a single up-to-date order
A - Availability
Every request to a working node eventually receives a non-error response
P - Partition Tolerance
System continues to work even if network cables between servers break
Explanation
- When a network partition separates replicas, an operation cannot always guarantee both availability and strong consistency.
- A design may delay a reply or return a value that has not yet reached every replica.
The 5 Core Actors of NIST Cloud Reference Architecture
The 5 Core Actors of NIST Cloud Reference Architecture
1. Cloud Consumer
The person or organization that uses cloud services
2. Cloud Provider
The company that builds and sells cloud services (AWS, Azure)
3. Cloud Auditor
Independent party verifying security, privacy, and compliance
4. Cloud Broker
Middleman managing relationships across multiple cloud vendors
5. Cloud Carrier
Telecom/network provider delivering data connectivity (Jio, Airtel)
Explanation
- The consumer uses the provider's service and the carrier connects them.
- A broker helps arrange services and an auditor assesses them independently.
The Four Functional Layers of Cloud Architecture
The Four Functional Layers of Cloud Architecture
Layer 4Application Layer (SaaS)
Web apps accessed directly by end-users (Gmail, Canva, Netflix)
Layer 3Platform Layer (PaaS)
Programming runtimes (Java/Python/Node.js) & database engines
Layer 2Infrastructure / Virtualization Layer (IaaS)
Hypervisors dividing physical CPU, RAM & disks into virtual machines
Layer 1Physical Resource Layer
Physical data center buildings, server racks, cables & power supplies
Explanation
- Hardware supplies capacity and virtualisation divides it.
- Platform services support the applications that users see.
The Architectural Layers of Cloud Computing
+-----------------------------------------------------------+ | 4. Application Layer (SaaS: Gmail, Salesforce, Office365) | +-----------------------------------------------------------+ | 3. Platform Layer (PaaS: Java/Python runtimes, Databases) | +-----------------------------------------------------------+ | 2. Infrastructure Layer (IaaS: VMs, Block Storage, VPC) | +-----------------------------------------------------------+ | 1. Physical Resource Layer (Data centers, Servers, Cables)| +-----------------------------------------------------------+
Explanation
- Read from the physical resources up towards the application.
- Each layer uses services supplied by the layer below it.
Compute Cloud Architecture
Compute Cloud Architecture
Web Traffic / Users
➔
Load Balancer (HAProxy/ELB)
➔
Auto-Scaling VM Cluster (Node 1, 2, 3...)
Explanation
- A request for a machine reaches a controller that selects a host.
- Virtualisation allocates the CPU and memory needed to run the instance.
Three Types of Cloud Storage Architecture
Three Types of Cloud Storage Architecture
1. Block Storage
Raw disk volumes mounted directly to VMs (like an internal hard drive)
2. File Storage (NAS)
Shared network folders accessible by multiple servers (NFS / SMB)
3. Object Storage
Files stored with unique IDs & metadata; accessed via HTTP URLs (AWS S3)
Explanation
- Block storage exposes addressable blocks and file storage exposes named files.
- Object storage retrieves an object and its metadata by key.