←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Revision

Cloud Computing · Unit 2 Revision

Quick summary and key points for Unit 2

Service Management in Cloud Computing and SLAs

Overview: A promise of 99.9% monthly availability allows about 43 minutes of downtime in a 30-day month.

What is Service Management?

  • When you order internet from Jio Fiber or Airtel, they promise you a certain speed (e.g., 100 Mbps) and promise that the internet will work 24/7…

What is an SLA (Service Level Agreement)?

  • A Service Level Agreement (SLA) is a formal legal contract signed between the Cloud Service Provider (e.g., AWS, Microsoft) and the…
  • The Promised Level of Service: What performance, speed, and uptime the provider promises.
  • Metrics & Measurements: How uptime, downtime, and response times will be measured.
  • Penalties & Service Credits: If the cloud goes down more than promised, how much refund or discount the customer will receive.

View diagram · Core Elements of a Cloud SLA

Understanding “Uptime” and the “Rule of Nines”

  • In exams, questions often ask about **99.9% vs.
  • 99%: Two Nines
  • 99.9%: Three Nines
  • 99.99%: Four Nines
  • 99.999%: Five Nines (Gold Standard)
  • 💡 Real-Life Context: Critical services like UPI payment gateways (PhonePe, Google Pay) or hospital ICU systems demand **99.999%…

Key Components of Cloud Service Management

  • Service Level Management: Creating, monitoring, and enforcing SLAs.
  • Availability Management: Ensuring servers, databases, and networks are online when needed.
  • Capacity & Performance Management: Making sure there is enough CPU, RAM, and disk space for traffic spikes.
  • Incident & Problem Management: Detecting server crashes quickly, restarting VMs, and finding the root cause of bugs.
  • Billing and Cost Management: Tracking exact hourly usage so customers can see where their money is being spent.

💡 DAVV Exam Tip

  • Question (5 Marks): “What is an SLA in Cloud Computing?
    • Give the simple definition: Legal agreement between cloud vendor and customer defining promised service levels and penalties.
    • Mention key SLA metrics: Uptime percentage, Latency (delay), Throughput (data speed), and Mean Time to Recover (MTTR).
    • Draw the “Rule of Nines” table.

Cloud Metering, Billing, and Pricing Models

Overview: A machine priced at ₹4 per hour costs ₹20 for five billed hours.

What is Cloud Metering?

  • Just like your home electricity meter counts the kilowatt-hours of power you use, a cloud provider runs automated background software that…
  • What Does the Cloud Meter Track?: Compute Time: Number of hours or seconds a virtual server (VM) is switched on.
  • Storage Used: Amount of disk space (GB or TB) occupied per month.
  • Data Transfer (Bandwidth): Amount of data sent out of the cloud to the internet (Data Egress).
  • Requests Count: Number of API calls or database read/write queries made.

Cloud Pricing Models

  • Cloud providers offer multiple ways to buy computing power depending on your budget and workload:
  • 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)
  • On-Demand: Start and stop a server anytime.
  • Reserved: Sign a contract to use a server for 1 year or 3 years continuously.
  • Spot: Rent empty, unused server capacity at dirt-cheap rates.

View diagram · Main Cloud Pricing Models

Factors Influencing Cloud Costs

  • Server Configuration (Instance Size): A server with 64GB RAM and 16 CPU cores costs more than 1GB RAM and 1 core.
  • Geographical Region: Running a server in Mumbai or Singapore may have slightly different pricing than US-East (Virginia) due to local electricity…
  • Data Egress (Outbound Data): Uploading data into the cloud is usually free (Ingress), but downloading data out to users costs money per GB.

💡 DAVV Exam Tip

  • Exam Question: “Explain the various pricing and metering models in Cloud Computing.”
    • Explain the difference between On-Demand, Reserved, and Spot pricing using the comparison table above.

Data Management in Cloud Computing: Storage, Replication, and CAP Theorem

Overview: Two copies of a fee receipt can keep the portal running if one disk fails.

What is Cloud Data Management?

  • In traditional systems, all company data is stored on one big hard disk inside a single database server in the office room.

Key Challenges of Cloud Data

  • Massive Scale (Big Data): Billions of gigabytes generated every day by apps like Instagram, YouTube, and UPI.
  • High Availability: Data must be readable even if one entire data center catches fire or loses internet.
  • Data Consistency: If you transfer ₹500 via Google Pay, your balance must update immediately on all banking servers so you cannot spend the…

Data Replication (Why Copy Data?)

  • Replication means creating identical copies of your data and storing them on multiple servers or in different geographical locations.
  • Benefits of Replication: Fault Tolerance: If Server A crashes, Server B immediately handles user requests without anyone noticing.
  • Low Latency (Fast Speed): A user in India downloads files from a Mumbai data center copy, while a user in London downloads from a Frankfurt copy.

Consistency and availability during a partition

  • A partition occurs when two working parts of a network can no longer exchange messages.
  • 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
  • CP Systems (Consistency + Partition Tolerance): If the network breaks, the system rejects requests rather than showing old data (e.g., Banking apps, ATM transactions).
  • AP Systems (Availability + Partition Tolerance): The system stays online and serves data, but some users might see slightly delayed updates for a few seconds (e.g.,…

View diagram · CAP during a network partition

ACID vs. BASE Model

  • Meaning: Atomicity, Consistency, Isolation, Durability
  • Consistency: Strict immediate consistency
  • Scalability: Vertical (buy bigger, more expensive servers)
  • Best For: Banking, finance, flight bookings

💡 DAVV Exam Tip

  • Question (10 Marks): “Explain the CAP Theorem and discuss how data management is handled in cloud systems.”
    • Clearly state: “You can only choose 2 out of 3: Consistency, Availability, Partition Tolerance.”
    • Explain why Partition Tolerance (P) is compulsory in cloud networks.
    • Compare ACID vs.

NIST Cloud Reference Model and Architectural Layers

Overview: Follow a student’s request for a marksheet.

What is a Reference Model?

  • A Reference Model is a standard blueprint or conceptual diagram that explains how all the pieces of a cloud system fit together, who the key…

The 5 Major Actors in the NIST Cloud Model

  • The consumer uses the provider’s service and the carrier connects them.
  • 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)
  • Understanding the 5 Actors with a Simple Example: Imagine booking a flight ticket:
  • Cloud Consumer: You (the passenger who buys the ticket and takes the flight).

View diagram · The 5 Core Actors of NIST Cloud Reference Architecture

The Architectural Layers of Cloud Computing

  • Cloud architecture is organized into four distinct layers from bottom to top:
  • Physical Resource Layer: The actual hardware—server racks, CPUs, power supplies, fiber-optic cables, and data center cooling.
  • Infrastructure Layer (IaaS): Virtualization software (Hypervisors) dividing physical hardware into virtual machines, virtual networks, and storage…
  • Platform Layer (PaaS): Operating systems, programming runtimes (Node.js, Java JVM), middleware, and managed database software.
  • Application Layer (SaaS): The top-level software interfaces that end-users see and interact with in their web browsers.

View diagram · The Architectural Layers of Cloud Computing

💡 DAVV Exam Tip

  • Question (10 Marks): “Draw and explain the NIST Cloud Computing Reference Architecture.
    • Name all 5 actors: Consumer, Provider, Auditor, Broker, Carrier.
    • Draw the 4-layer architecture diagram (Physical -> Infrastructure -> Platform -> Application).

Layers and Types of Clouds Architecture

Overview: Start at the hardware layer with one physical server.

The Four Fundamental Architectural Layers

  • Hardware supplies capacity and virtualisation divides it.
  • Application Layer (SaaS) Web apps accessed directly by end-users (Gmail, Canva, Netflix)
  • Platform Layer (PaaS) Programming runtimes (Java/Python/Node.js) & database engines
  • Infrastructure / Virtualization Layer (IaaS) Hypervisors dividing physical CPU, RAM & disks into virtual machines
  • Physical Resource Layer Physical data center buildings, server racks, cables & power supplies

View diagram · The Four Functional Layers of Cloud Architecture

Detailed Breakdown of the 4 Layers

  • 1. Physical Layer (Tier 1): The actual physical hardware you can touch: metal server racks, high-speed multi-core CPUs, hard disks, power supplies, diesel generators,…
  • Includes high-speed optical fiber cables connecting server racks.
  • 2. Infrastructure / Virtualization Layer (Tier 2): Uses Hypervisors (like VMware ESXi or KVM) to slice physical servers into multiple virtual machines (VMs).
  • Uses Software-Defined Networking (SDN) to create virtual routers and firewalls without touching physical cables.
  • 3. Platform Layer (Tier 3): Provides the operating systems, programming runtimes (Python, Java JVM, PHP), and database servers (MySQL, MongoDB) so developers can run…
  • Handles automated scheduling and auto-scaling.
  • 4. Application Layer (Tier 4): The top-level software interfaces that students and everyday users interact with in their web browsers or smartphones (e.g., Google Docs,…

Types of Clouds by Architectural Purpose

  • Enterprise Private Clouds: Built inside a company’s own office or private data center for maximum privacy (e.g., Bank data centers).
  • Hyper-Scale Public Clouds: Massive public clouds operating millions of servers across continents (AWS, Microsoft Azure, Google Cloud).
  • High-Performance Computing (HPC) Clouds: Supercomputing clusters designed for heavy scientific calculations, weather forecasting, and AI training.
  • Edge Clouds / Fog Computing: Small micro-data centers placed close to 5G mobile towers and factories to process data in milliseconds for autonomous cars…

💡 DAVV Exam Tip

  • Question (10 Marks): “Explain the 4 functional architectural layers of Cloud Computing with a diagram.
    • Draw the 4-tier stack diagram (Physical -> Infrastructure -> Platform -> Application).
    • Explain each layer with simple bullet points and real-world examples.
    • Mention Enterprise, Hyperscale, and Edge clouds in the classification section.

Architectural Design of Compute and Storage Clouds

Overview: Suppose a virtual machine fails during a file upload.

Architectural Design of Compute Clouds

  • A Compute Cloud takes thousands of physical multi-core servers and turns them into an elastic pool of virtual processing power.
  • Key Components of Compute Architecture: Load Balancer: A smart traffic controller that distributes incoming user requests evenly across multiple backend virtual machines so no…
  • Hypervisor & VM Scheduler: Decides which physical server has enough free CPU and RAM to launch a new virtual machine.
  • Auto-Scaling Engine: Monitors CPU utilization.

View diagram · Compute Cloud Architecture

Architectural Design of Storage Clouds

  • Cloud storage is completely different from a regular computer’s hard drive.
  • 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)
  • How Data is Managed: Fixed raw blocks (no file system until formatted)
  • Access Method: Direct SCSI / Fibre Channel bus connection
  • Performance: Ultra-fast; lowest latency
  • Max Capacity: Gigabytes to Terabytes

View diagram · Three Types of Cloud Storage Architecture

💡 DAVV Exam Tip

  • Question (10 Marks): “Explain the architectural design of Compute and Storage Clouds.
    • Draw the Compute Cloud flow diagram: Users -> Load Balancer -> VM Cluster.
    • Write the 3 storage types with the comparison table.
    • Mention AWS S3 as the prime example of Object Storage—examiners reward real cloud service names.