Learning Objectives

By the end of this chapter, you will be able to:

  • Define cloud computing and its five characteristics.
  • Compare IaaS, PaaS, and SaaS by who manages what.
  • Compare public, private, hybrid, and community deployment.
  • Explain virtualization and the hypervisor role for cloud and green goals.
  • Choose a deployment for a Nepali firm with cost, control, and continuity in mind.

Detail: AI impact, data science and ML, big data and blockchain, social media and digital marketing, cybersecurity, IoT.

Cloud is a business model. Rent computing over the internet by the hour or month. Virtualization is the engineering trick that makes cloud work. One physical host runs many virtual machines. Green computing is the responsibility lens. Use less energy and produce less electronic waste while you run what you need.

Cloud without virtualization wastes hardware. Virtualization without cloud thinking wastes opportunity. Green without either wastes power. The three belong in one decision.

flowchart TB
  V[Virtualization: hypervisor splits one host into many VMs]
  V --> C[Cloud: pool VMs and sell as IaaS PaaS SaaS]
  V --> G[Green: fewer hosts higher use less energy less waste]
  C --> E[Elastic scale and OpEx billing]

Cloud computing: what it is and why managers choose it

Cloud computing is on demand delivery of servers, storage, databases, networking, and software over the internet with pay as you go metering and broad network access.

Finance language clarifies the choice.

  • CapEx is owning a data center. Buy racks, cooling, and servers before the first customer.
  • OpEx is renting from a provider. Pay monthly and scale with orders.

Cloud shifts spend from fixed CapEx to variable OpEx. The shift helps a seasonal retailer and hurts a firm that leaves rented capacity idle without monitoring.

Five characteristics that define cloud

  • On demand self service. Add storage or a VM without calling a vendor.
  • Broad network access. Reach the service from any device with internet.
  • Resource pooling. Many tenants share the provider data center.
  • Rapid elasticity. Add ten servers for a Dashain sale and remove them on the 17th.
  • Measured service. Meter shows use. Bill shows use.

Grouped framework 1: service models

Rent at different layers of the stack.

Layer You manage Provider manages Analogy Example
IaaS Infrastructure as a Service OS, middleware, app, data Physical hosts, network, storage Rent a kitchen and cook yourself AWS EC2, Azure VMs, DigitalOcean droplet
PaaS Platform as a Service App code and data Runtime, OS, hosts, patching Rent a kitchen with stove supplied Heroku, Google App Engine, Azure App Service
SaaS Software as a Service Data and user accounts Everything else Eat at the restaurant Google Workspace, Microsoft 365, Canva, Zoom

Memory aid: IaaS equals rent the hardware, PaaS equals rent the platform, SaaS equals rent the software.

Service model Control over stack Speed to start Ops burden Best when
IaaS High Medium High Custom stack, legacy OS, need to install own DB
PaaS Medium Fast Low for infra Developers need to ship without managing OS
SaaS Low Immediate Lowest Need email, docs, or accounting without running it

A team that controls the stack pays with operations. A team that rents the result pays with flexibility.

Grouped framework 2: deployment models

Where the cloud lives and who shares it.

Deployment Who shares it Where data can live Strength Risk
Public Multi tenant with provider Provider regions Scale and low entry cost Internet dependence, data residency questions
Private One organization Own or hosted cage Control and compliance Higher cost, owns capacity planning
Hybrid Mix of private and public Sensitive stays private, burst goes public Balance of control and scale Complexity of network and identity
Community Organizations with common need Shared for the group Common policy, shared cost Fewer vendors, negotiation overhead

When to choose what. A Nepali commercial bank keeps core ledger on private and bursts its campaign site on public. A government cluster such as the Government Integrated Data Center hosts ministries on private like logic with common controls, close to community in spirit. A startup with no regulator pressure starts public.

Virtualization: the engine

Virtualization creates virtual versions of hardware. One physical server behaves as many.

The hypervisor is the software layer that divides CPU, memory, and storage among virtual machines (VMs), each with its own OS. Type 1 hypervisors run on bare metal (VMware ESXi, Hyper V). Type 2 run atop an OS (VirtualBox). Cloud providers run Type 1 at scale.

Why it matters for management:

  • Server consolidation. A typical bare host used to idle at 10 to 15 percent. Ten such hosts packed as VMs on two hosts lift use to 70 percent.
  • Rapid provisioning. A new server arrives as a copy in minutes, not weeks of purchase orders.
  • Recovery. A VM is a file. Copy it to another district and restart.
  • Green gain. Fewer powered hosts mean fewer watts and fewer coolers.
flowchart TB
  subgraph Host[One physical host]
    HV[Hypervisor]
    HV --> VM1[VM1 Windows: accounts]
    HV --> VM2[VM2 Linux: website]
    HV --> VM3[VM3 Linux: email archive]
  end

Types beyond servers:

  • Desktop virtualization. Central host, thin client on the desk.
  • Storage virtualization. Many disks seen as one pool.
  • Network virtualization. Software creates isolated networks on shared cables.

Green computing: run well, waste less

Green computing means designing, using, and retiring IT to lower energy and e waste impact.

In dispersed data centers, power and cooling dominate operating cost. A single percentage of utilization is a budget line.

Grouped practices:

Group Practice Why it helps
Reduce Power management, sleep modes, double sided printing, cloud right sizing Less energy and paper per transaction
Replace Efficient hardware with ENERGY STAR like rating, LED, low watt CPUs Same work with fewer kilowatt hours
Reuse Virtualization, server consolidation, extend life with RAM and SSD upgrade Fewer boxes for same workload
Retire Authorized e waste collection, safe battery handling Hazardous waste kept out of rivers and fields

Nepal has two realities. Most electricity is from hydropower, so local compute is relatively cleaner than diesel heavy grids. Meanwhile, e waste from phones, batteries, and old labs often flows to informal handling. Green gain in Nepal therefore comes from both using fewer hosts and routing retired gear to proper recyclers.

Self-check

Nepal worked example: a Pokhara college that consolidates five servers (NPR, BS 2081)

A private college in Pokhara runs five towers on 2081-09-18: website, student records, library, mail relay, and accounts. Each draws 280 W on average, 24 hours. Electricity at NPR 12 per kWh. Annual energy per box = 0.28 kW x 24 x 365 = 2,452.8 kWh. Five boxes = 12,264 kWh. Cost = 12,264 x 12 = NPR 147,168 per year before cooling and UPS loss.

The IT head proposes:

  • One modern host at NPR 285,000 with 64 GB RAM and SSD
  • Hypervisor and five VMs, one per service
  • Move student mail to Google Workspace SaaS at NPR 1,800 per user per year for 30 staff, NPR 54,000 per year
  • Two old towers retained as cold backup, three towers retired to an authorized recycler at NPR 2,500 credit each

New draw: one host at 420 W plus cooling overhead at 15 percent, 0.483 kW effective. Annual energy = 0.483 x 24 x 365 = 4,231.1 kWh. Cost = 4,231 x 12 = NPR 50,772 per year. Saving on power alone = 147,168 - 50,772 = NPR 96,396 per year. Add lower room cooling and fewer spare parts, but add NPR 54,000 SaaS for mail. Net infrastructure saving before host amortisation = 96,396 - 54,000 = NPR 42,396 per year plus recycling credit NPR 7,500.

The host pays back in about three years on energy alone, faster when the college avoids buying three replacement towers at NPR 85,000 each during the next intake. Backups simplify too. A VM snapshot copies in minutes and restores on the remaining host if one fails during Dashain admission.

Example 1: In a cooperative or bank branch, Group 2 deployment decides risk. Ask: on 2081-09-20 can we keep member ledger and collateral files on private while running bonus calculation as a burst PaaS job on public, with no customer PII leaving private. If any PII moves, the audit fails even if cost falls.

Example 2: In a retail and delivery operation, Group 1 service model decides speed. Ask: can we hire a SaaS inventory and billing tool that the store staff learn in one day, and rent a single IaaS VM for the customer tracker, so peak week can add a second VM for five days and release it. Counting billable hours beats counting servers.

Summary

Cloud turns infrastructure into metered rent. Its models answer who manages what and who shares where. Virtualization creates that rentability by slicing hosts into VMs under a hypervisor. Green thinking then converts fewer, busier hosts and proper retirement into lower bills and less waste. The choice is not cloud versus on premises. The choice is which layer to rent, where trust requires private, and how to size what remains.

Key Takeaways

  • IaaS rents hardware, PaaS rents a platform, SaaS rents the software. Control and ops burden trade off.
  • Public scales cheap, private controls, hybrid splits both, community shares policy.
  • OpEx flexibility helps seasonal demand but needs metering discipline.
  • Hypervisor is the enabler. Consolidation lifts use from teens to seventies percent.
  • Reduce, replace, reuse, and retire make green computing operational, not a slogan.

Discussion Questions

  1. When does OpEx flexibility cost more than owning, and how would you detect it.
  2. Why is heavy pooling a privacy question as well as a cost gain.
  3. How does virtualization let a three person IT team maintain five services without five boxes.

Exercises

Short answer

  1. List five characteristics of cloud and define IaaS, PaaS, and SaaS with one example each.
  2. Define hypervisor and state two benefits of virtualization.
  3. List four green practices grouped as reduce, replace, reuse, retire.

Long answer

  1. Compare IaaS, PaaS, and SaaS with a who manages what table and recommend one for a Nepali startup team of four developers. Justify with cost and ops.
  2. A Pokhara college on 2081-09-18 consolidates five towers at 280 W each into one host at 420 W. Compute energy and cost saving at NPR 12 per kWh, include a hybrid argument for mail on SaaS, and propose an e waste plan.