Unit 1
Unit 1
Chapter 1
DEFINITION
Cloud computing is the use of the internet to store, manage, and process data, instead of
doing everything on your own computer or local server.
When we create or upload a file on Google Drive, it is not stored on your personal
computer.
Instead, the file is saved on Google’s servers (which are part of the cloud).
We can open your file from any device, at any time, just by logging in with our
Google account.
Meaning: You can access computing resources (like storage, servers, etc.) whenever
you need, without human help.
Example: You can create a new storage bucket in Google Cloud Storage by yourself
anytime you need it.
Meaning: Cloud services are available over the internet and accessible from any
device.
Example: You can open your Gmail from your phone, laptop, or tablet from
anywhere.
3. Resource Pooling
Meaning: Cloud providers share resources (like servers, networks) among many users
using a multi-tenant model.
Example: In Dropbox, multiple users share the same server resources, but each has
separate, private storage.
4. Rapid Elasticity
Meaning: Cloud systems automatically control and optimize resource use and charge
only for what you consume.
Example: In Amazon Web Services (AWS), you pay only for how many hours you
use a virtual server (EC2 instance).
6. Scalability
Meaning: You can easily increase or decrease resources based on your needs.
Example: A company using Microsoft Azure can add more storage when launching a
new product.
Meaning: Cloud systems are built to be highly available and reliable, with backups
and failover systems.
Example: Google Cloud Platform ensures your data is safe and accessible even if one
server fails.
CLOUD MODELS
1)SERVICE MODELS
Definition:
IaaS provides basic IT infrastructure services such as virtual machines, storage, and
networking resources on a pay-as-you-go basis. It gives users full control over the operating
system and applications.
Examples:
Benefits of IaaS:
Characteristics of IaaS:
Provides virtual servers, storage, and networking
You install and manage the OS and apps
You take care of security and updates
Ideal for IT professionals who need a custom setup
IT companies
Startups
Large businesses that need to run their own systems
Simple idea:
“I need a computer, but I don’t want to buy it. I’ll rent one online!”
You get a virtual computer from a cloud company. You install what you want — Windows,
Linux, apps, games, anything.
Example:
Like getting raw ingredients to cook your own meal. You choose the recipe, cook it, and eat
it.
✅ Real Examples:
Amazon EC2
Google Compute Engine
Microsoft Azure VMs
Definition:
PaaS provides a platform and environment for developers to build, test, and deploy
applications without worrying about the underlying infrastructure.
Examples:
Benefits of PaaS:
Characteristics of PaaS:
Developers
Software companies
Startups building apps quickly
Simple idea:
“I just want to write my app. I don’t want to worry about setting up a computer!”
You get a ready-made environment to build apps. The cloud handles all the setup, and you
focus only on writing code.
Example:
Like getting a ready-made pizza base. You just add toppings and bake it. Easy!
✅ Real Examples:
Examples:
Gmail
Microsoft Office 365
Zoom
Dropbox
Benefits of SaaS:
Characteristics of SaaS:
Everyone!
Students, teachers, professionals, businesses, and even governments.
Why they use it:
Simple idea:
You use ready-made apps directly in your browser or phone — like email, video calls, file
storage, etc.
Example:
Like ordering a fully cooked pizza. You just open the box and eat!
✅ Real Examples:
Gmail (email)
Zoom (video calling)
Google Docs (online documents)
Dropbox (cloud storage)
Everyone! Students, teachers, professionals — anyone who just wants to use software.
2)DEPLOYMENT MODELS
NIST also defines four deployment model as follows:
1. Public Cloud
Definition:
A public cloud is a cloud environment available to everyone over the internet. It is owned and
managed by third-party companies like Google, Microsoft, or Amazon.
Examples:
Benefits:
Easily scalable
Characteristics:
Drawbacks:
2. Private Cloud
Definition:
A private cloud is a cloud environment used only by one organization. It can be managed internally or
by a third-party, but is not shared with others.
Examples:
Benefits:
Characteristics:
Drawbacks:
3. Hybrid Cloud
Definition:
A hybrid cloud combines public and private clouds. It allows data and apps to move between them for
better flexibility and control.
Examples:
A hospital uses private cloud for patient records and public cloud for appointment booking.
Benefits:
Characteristics:
Drawbacks:
4. Community Cloud
Definition:
A community cloud is shared by several organizations with common goals or regulations (like
security or compliance needs).
Examples:
Government agencies sharing a cloud
Benefits:
Characteristics:
Drawbacks:
Limited scalability
Comparison Table
Public Cloud Available to anyone AWS, Google Cheap, scalable, Less secure, shared
via the internet Cloud easy to access with others
Private Cloud Used by one Bank data center Secure, private, Expensive, needs
organization only customizable expert management
Hybrid Cloud Mix of public and Hospital Flexible, balances Complex to manage
private cloud (records + security + cost
booking)
Community Shared by similar Govt. agencies, Shared cost, secure Hard to scale, costly
Cloud organizations universities for common needs for small users
You get a platform to build and deploy apps — no need to manage the hardware.
Microsoft Azure App Services Easily run and scale web apps
1. Healthcare Sector
Cloud computing helps doctors and hospitals store, share, and access Electronic Health
Records (EHR) securely. It allows remote consultations through telemedicine, especially
helpful during pandemics. Cloud-based AI models assist in early disease detection like cancer
or diabetes. It also enables real-time patient monitoring through wearable health devices
connected to the cloud. Researchers can use cloud platforms to run large-scale health data
analysis and trials.
Advantages:
Disadvantages:
Example:
Apollo Hospitals use cloud to store patient history and lab reports.
2. Energy Systems
Cloud computing supports the operation of smart grids by collecting real-time data from
meters, sensors, and power stations. It helps track energy usage patterns, monitor electricity
demand, and optimize the supply from renewable sources like solar and wind. Energy
companies can use cloud platforms for predictive maintenance, reducing outages and
increasing system reliability. It also enables remote monitoring and control of entire energy
plants.
Advantages:
Disadvantages:
Tata Power uses cloud to monitor and manage power distribution systems.
3. Transportation Systems
Cloud computing plays a vital role in real-time vehicle tracking, route optimization, and smart traffic
management. Cloud-based apps like Uber, Ola, and Google Maps provide real-time updates and
estimated arrival times using cloud-hosted data. It enables logistics companies to track fleets, reduce
fuel costs, and improve delivery speed. Cities can implement cloud-based systems for intelligent
transportation, traffic lights, and toll collection.
Advantages:
Disadvantages:
Example:
Uber and Ola use cloud to connect drivers and customers, track rides, and calculate routes.
4. Manufacturing Industry
In manufacturing, cloud computing powers smart factories, where machines and systems are
connected via the Internet of Things (IoT) and cloud platforms. This enables real-time monitoring of
machinery, predictive maintenance, and automated decision-making. Manufacturers can use cloud to
track inventory levels, production status, and supply chains efficiently. It helps reduce downtime,
increase productivity, and maintain quality standards without manual supervision.
Advantages:
Disadvantages:
Example:
Advantages:
Increases transparency
Easy access to services for citizens
Saves time and paperwork
Disadvantages:
Example:
6. Education Sector
Cloud computing has transformed education by enabling online learning platforms, virtual
classrooms, and digital collaboration tools. Students and teachers can access learning
materials, submit assignments, and join classes from any device. Cloud platforms like Google
Workspace and Microsoft Teams support live lectures, group projects, and exam
management. Institutions can also manage student records and attendance using cloud
databases.
Advantages:
Disadvantages:
Example:
7. Mobile Communication
Cloud computing is essential for mobile apps and services. It enables real-time syncing of
data like contacts, messages, and app settings. Users can store photos and videos in the cloud,
freeing up phone space. Apps like WhatsApp and Instagram use cloud to back up chats and
media. Cloud also powers mobile games, media streaming, and push notifications, giving
users a seamless and personalized experience across devices.
Advantages:
Disadvantages:
Example:
WhatsApp backs up chats and media to Google Drive/iCloud using cloud storage.
CHAPTER-2
Virtualization is the core technology behind cloud computing. It allows a single physical
machine (called the host) to run multiple virtual machines (VMs). Each VM operates like a
real computer with its own operating system (OS), called the guest OS.
🔹 1. Hypervisor
Definition:
A hypervisor is a special software or firmware layer that sits between the hardware and
virtual machines. It manages and allocates hardware resources (like CPU, memory,
storage) to each VM.
Types:
Example:
In a cloud server, the hypervisor allows running 10 different VMs, each with different OS
(Windows, Linux).
Definition:
A guest OS is the operating system that runs inside a virtual machine, controlled by the
hypervisor. It behaves just like it would on a physical computer.
Example:
You can run Ubuntu (guest OS) inside a virtual machine hosted on a Windows PC.
🔹 3. Full Virtualization
Definition:
Full virtualization is a method where the guest OS runs unchanged and unaware that it's in
a virtual environment. The hypervisor emulates the entire hardware environment.
Features:
Example:
VMware Workstation provides full virtualization, allowing any OS to run normally.
🔹 4. Paravirtualization
Definition:
In paravirtualization, the guest OS is aware that it’s running in a virtualized environment.
The OS is modified to communicate with the hypervisor directly, improving performance.
Features:
Example:
Xen hypervisor supports paravirtualization where Linux kernels are modified to work faster
in virtual environments.
Definition:
Hardware virtualization uses CPU features (like Intel VT-x or AMD-V) to support
virtualization directly at the hardware level. The hypervisor gets help from hardware to
manage VMs efficiently.
Features:
Example:
Modern cloud data centers use hardware-assisted virtualization to run high-performance
VMs.
2)LOAD BALANCING
What is Load Balancing?
Load balancing is a technique used in cloud computing and web systems to distribute
incoming network traffic across multiple servers to:
A Load Balancer acts like a traffic controller, directing requests to the most suitable server
using algorithms and session management techniques.
Definition:
Scalability is the ability of a cloud system to grow or shrink its resources based on demand
— but usually in a planned and manual way.
Types of Scalability
Definition:
Elasticity is the ability of a cloud system to automatically increase or decrease resources in
real time based on workload demands.
Key Idea:
Resources are added when needed and removed when not needed.
4) DEPLOYMENT
Deployment in Cloud Computing
Deployment in cloud computing means putting an application or service into the cloud so that
users can access it online. This process includes three main steps: deployment design,
performance evaluation, and deployment refinement.
Deployment design stage, we plan how to run the application in the cloud. This includes
choosing the type of cloud (public, private, or hybrid), deciding whether to use infrastructure,
platform, or software as a service (IaaS, PaaS, SaaS), and selecting the right architecture like
microservices or containers. We also plan the needed resources such as servers, storage, and
network settings.
Performance evaluation, where we check how well the system works. We test it under
different loads and measure things like response time, CPU and memory usage, and overall
speed. This helps us find any problems or slow parts in the system.
Deployment refinement, we make improvements based on the test results. This may include
adding more servers automatically, using load balancers, reducing costs, or improving the
code. The goal is to make the system faster, more reliable, and cost-effective.
These three steps help ensure that cloud-based applications run smoothly and serve users
efficiently.
5) REPLICATION
Replication in cloud computing means creating and maintaining copies of data or
applications across multiple servers or locations. The main purpose is to ensure high
availability, disaster recovery, and data consistency, even if one part of the system fails.
Replication can happen at different layers in the system, including storage, network, or host
(software) level.
Types of Replication
1. Array-Based Replication
Definition:
Replication that happens at the storage array (hardware) level, usually managed by the
storage system itself.
Key Features:
Example:
A SAN device replicates all data to another SAN in a different location.
Use Case:
Disaster recovery in critical systems (e.g., banking or healthcare).
2. Network-Based Replication
Definition:
Replication managed at the network level, often using dedicated appliances or software-
defined networks (SDN).
Key Features:
Example:
A network appliance intercepts and replicates data packets to another server or cloud region.
Use Case:
Cloud data protection, remote site replication.
3. Host-Based Replication
Definition:
Replication done using software installed on the servers (hosts) that manage the data.
Key Features:
Example:
A backup software on a virtual machine replicates files to another cloud region.
Use Case:
Cloud backups, database replication, virtual machine failover.
Summary Table
Type of
Where it Happens Controlled By Use Cases
Replication
Types of Monitoring
Here are the main types of cloud monitoring, based on what they observe:
1. Infrastructure Monitoring
Watches cloud hardware resources like CPU, memory, disk, and network.
Tracks app performance like load time, errors, and response time.
3. Network Monitoring
4. Database Monitoring
5. Security Monitoring
🔷 What is SDN?
Software-Defined Networking (SDN) is a network architecture that separates the control plane (which
decides where traffic is sent) from the data plane (which actually forwards traffic).
This separation allows you to control the entire network from a central software-based controller
instead of configuring each device (like routers or switches) individually.
Traditional Networks:
Each device (router, switch, etc.) has its own built-in control logic.
You must configure each device manually or using complex scripts.
Problem:
It’s hard to manage and update networks with multiple devices and vendors.
SDN Solution:
SDN replaces complex hardware with simpler devices (called "dumb switches") and moves
intelligence to a central SDN controller.
Now, you don’t need smart hardware — the controller handles all decisions.
2. 📈 Management Overhead
Traditional Networks:
SDN Solution:
With SDN, you manage everything through a central dashboard or controller software.
You can push updates and changes across the entire network instantly.
This reduces human error and saves time.
3. 🚫 Limited Scalability
Traditional Networks:
Difficult to handle dynamic changes in large-scale environments like data centers or clouds.
SDN Solution:
The SDN controller has a global view of the network.
It can automatically scale the network by detecting new devices or applications and adjusting routing
or policies without manual effort.
SDN offers open APIs (like RESTful APIs) for developers or network admins to interact with the
network.
Example: Automatically block traffic from a suspicious IP address detected by a security app.
Benefits:
Avoids vendor lock-in (you don’t need to buy all equipment from one company).
📌 Real-World Example
Assigns IPs
Routes traffic
📝 Summary Table