←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 5 Revision

Quick summary and key points for Unit 5

Market-Based Management of Clouds and Economic Pricing Mechanisms

Overview: A job due tomorrow can wait for cheaper capacity.

Why Market-Based Management?

  • In a traditional fixed-price cloud, providers charge a static rate (e.g., ₹5 per hour per CPU).
  • During nighttime or weekends, data center servers sit idle with 80% wasted capacity.
  • During peak business hours, thousands of users compete for limited high-speed servers.

Key Economic Models Used in Cloud Resource Management

  • Providers offer capacity and users specify budgets or deadlines.
  • 1. Posted Price Model Fixed static rate set by vendor; take it or leave it (Standard on-demand)
  • 2. Bargaining Model One-on-one negotiation between a large enterprise and cloud provider
  • 3. Auction Model (Spot) Users bid what they are willing to pay; highest bidders get servers
  • 4. Double Auction Model Multiple buyers and multiple sellers submit bids matched by an exchange
  • 1. English Auction (Ascending Bid): The provider starts with a low opening price.
  • 2. Dutch Auction (Descending Bid): The provider starts with a very high asking price and gradually lowers it every 10 seconds.
  • 3. Double Auction (Like the Stock Exchange): In a federated cloud market, many independent cloud providers submit the lowest price they are willing to sell computing power for (Ask).

View diagram · Market-Based Pricing Mechanisms

Real-World Cloud Example: AWS Spot Instances

  • Amazon Web Services (AWS) uses a market-based spot pricing algorithm:
  • When millions of servers in their Virginia data center sit idle at 2:00 AM, AWS lowers spot prices by up to 90% of the standard rate.
  • If daytime demand rises and regular paying customers arrive, spot instances are automatically reclaimed by AWS after giving a 2-minute…

💡 DAVV Exam Tip

  • Question (5 Marks): “What is Market-Based Management of Clouds?
    • Define Market-Based Management: Managing cloud resources using economic supply-and-demand and auction models.
    • Name and explain: Posted Price, English Auction, Dutch Auction, and Double Auction.

Federated Clouds and Inter-Cloud Architecture

Overview: Suppose one college cloud fills up during exams.

What is Cloud Federation?

  • Cloud Federation (also called Inter-Cloud) is the seamless interconnection and collaboration of multiple independent cloud providers…
  • Why Providers Form Federations Handle Massive Spikes: If AWS runs out of Mumbai capacity, it automatically delegates overflow traffic to a partner cloud.
  • Why Customers Want Federation Zero Vendor Lock-In: Move apps freely between AWS and Azure whenever pricing changes.

View diagram · Federated Inter-Cloud Architecture

Types of Cloud Federation

  • 1. Loose Federation (Voluntary Partnership): Clouds collaborate on an ad-hoc, temporary basis via standardized web APIs.
  • Each provider keeps 100% independent ownership of pricing, user databases, and infrastructure.
  • 2. Tight Federation (Unified Platform): Multiple cloud providers sign formal legal treaties and adopt a unified, shared identity management, billing, and scheduling platform.
  • Users see a single seamless cloud interface, completely unaware that their VMs are running across 3 different companies.

Major Challenges in Cloud Federation

  • Heterogeneity: AWS uses different APIs, VM formats (AMIs), and virtual networks than Microsoft Azure or OpenStack.
  • SLA Management: If a customer application slows down across a federated path, which provider pays the penalty?
  • Data Sovereignty & Legal Compliance: Government laws (like India’s DPDP Act) require citizens’ financial data to stay inside Indian territory.

💡 DAVV Exam Tip

  • Question (5 Marks): “What is Cloud Federation (Inter-Cloud)?
    • List 3 advantages: Infinite scalability, avoiding vendor lock-in, and global geographic reach.
    • List 3 challenges: API heterogeneity, SLA enforcement, and data sovereignty regulations.

The Cloud Federation Stack and Third-Party Cloud Integration

Overview: A broker compares providers for a college that needs extra machines.

Layers of the Cloud Federation Stack

  • The federation stack connects local resources with coordination and exchange services.
  • Application & Service Management Layer Cross-cloud workflow engines, multi-cloud deployment tools
  • Federation Brokerage & Negotiation Layer Matches buyer requests with seller bids, negotiates cross-cloud SLAs
  • Virtual Resource Management Layer Converts VM images (e.g., AWS AMI to Azure VHD), provisions cross-cloud storage
  • Physical Resource & Interconnect Layer High-speed dedicated fiber trunks (DirectConnect, ExpressRoute) between data centers

View diagram · The 4-Layer Cloud Federation Stack

Third-Party Services: Cloud Brokers and Aggregators

  • When an enterprise uses 3 or 4 different cloud providers at the same time, managing individual bills and accounts becomes a nightmare.
  • 1. Cloud Service Broker: Acts as a consultant or automated software agent that negotiates contracts, compares pricing between AWS and Azure, and picks the most…
  • Analogy: PolicyBazaar comparing 20 different car insurance policies to find you the cheapest and best coverage!
  • 2. Cloud Aggregator: Combines multiple separate cloud services into a single unified dashboard or bundle.
  • Example: A platform that packages AWS virtual servers + SendGrid email service + Stripe payment gateway + Twilio SMS into one turnkey…

💡 DAVV Exam Tip

  • Question (5 Marks): “Draw and explain the Cloud Federation Stack.
    • Draw the 4-layer stack linked diagram.

Cloud Case Studies: Amazon Web Services (AWS), Google App Engine, and Microsoft Azure

Overview: Running your own virtual machine leaves you responsible for its operating system updates.

Case Study 1: Amazon Web Services (AWS)

  • Launched by Amazon in 2006, AWS is the undisputed pioneer and global market leader in Infrastructure as a Service (IaaS).
  • Amazon EC2 (Compute) Elastic Compute Cloud: Resizable virtual servers launched in 60 seconds
  • Amazon S3 (Storage) Simple Storage Service: 99.999999999% (11 9s) durable object storage
  • Amazon RDS (Database) Relational Database Service: Automated backups for MySQL, PostgreSQL
  • Amazon VPC (Networking) Virtual Private Cloud: Isolated private virtual network inside AWS
  • Architectural Strengths of AWS: Global Footprint: Over 30 geographic regions and 100+ availability zones (including Mumbai and Hyderabad in India).
  • Massive Ecosystem: Over 200 distinct cloud services covering AI, IoT, Blockchain, and quantum computing.

View diagram · Core Building Blocks of AWS

Case Study 2: Google App Engine (GAE)

  • Launched by Google in 2008, Google App Engine is the classic textbook benchmark for Platform as a Service (PaaS).
  • How it Works: Instead of renting raw virtual computers (like AWS EC2), developers simply write web code in Python, Java, Go, PHP, or Node.js.
  • Developers upload their source code file to Google.
  • Auto-Scaling to Zero: If your website receives zero visitors at night, GAE scales down to 0 instances so you pay ₹0.

Case Study 3: Microsoft Azure

  • Launched in 2010, Microsoft Azure is the leading enterprise-focused cloud platform.
  • Architectural Strengths of Azure: Enterprise Integration: Deep native integration with existing Windows Server, Active Directory, Office 365, and Microsoft SQL Server setups.
  • Hybrid Cloud Leader: Through Azure Stack, enterprises can run the exact same Azure cloud software on their own private on-premise servers.
  • Key Services: Azure Virtual Machines, Azure Blob Storage, Azure Cosmos DB (globally distributed NoSQL), Azure App Services.

Master Comparison of the 3 Platforms

  • Primary Cloud Model: IaaS Pioneer (EC2, S3)
  • Parent Company: Amazon (Launched 2006)
  • Target Audience: Startups, large enterprises, DevOps
  • Core Computing Service: Amazon EC2
  • Core Storage Service: Amazon S3
  • Biggest Strength: Largest market share, most features

💡 DAVV Exam Tip

  • Question (10 Marks): “Write short notes on: (a) Amazon Web Services (b) Google App Engine (c) Microsoft Azure.”
    • Dedicate 1 section to each platform covering: Launch year, Primary service model (IaaS/PaaS), and 2 core services.
    • Always include the 3-column comparison table at the end to secure top marks!

Cloud Case Studies: Apache Hadoop and Aneka Cloud Application Platform

Overview: To count words in many files, Hadoop can count words in separate chunks and combine totals for each word.

Case Study 1: Apache Hadoop (Big Data Cloud Engine)

  • Apache Hadoop is an open-source software framework designed to store and process gigantic volumes of data (terabytes and petabytes) across…
  • 1. HDFS (Hadoop Distributed File System) Splits huge files into fixed 128MB chunks.
  • 2. MapReduce (Distributed Compute) Map Phase: Breaks a large computation into hundreds of small tasks executed where the data lives.

View diagram · The Two Foundational Pillars of Hadoop

Case Study 2: Aneka Cloud Application Platform

  • Developed by the Cloud Computing and Distributed Systems (CLOUDS) Laboratory at the University of Melbourne under Professor Rajkumar Buyya,…
  • Architecture of Aneka: Aneka operates as a service-oriented platform built on Microsoft .NET.
  • Aneka Container: A lightweight software runtime installed on every physical or virtual server in the cluster.
  • Fabric Services: Responsible for discovering machines, monitoring hardware, and managing dynamic resource allocation.
  • Execution Services: Schedules and runs tasks according to three supported programming models:
  • Task Model: Independent bag-of-tasks.
  • Thread Model: Multi-threaded distributed execution.
  • MapReduce Model: Large-scale distributed data processing.

Comparison: Hadoop vs. Aneka

  • Primary Purpose: Batch Big Data analytics and distributed storage
  • Underlying Tech: Java / Apache Open Source
  • Supported Models: MapReduce, Hive, Spark
  • Storage Engine: HDFS (Hadoop Distributed File System)
  • Commercial Use: Big data mining in Yahoo, Facebook, Netflix

💡 DAVV Exam Tip

  • Question (10 Marks): “Explain the architecture of Apache Hadoop and Aneka Cloud Platform with neat diagrams.”
    • For Hadoop: Draw the NameNode / DataNodes architecture and explain 3x replication and MapReduce.
    • For Aneka: Mention Prof.