0% found this document useful (0 votes)
17 views

Cloud Computing

The document discusses the evolution of cloud computing, detailing its transition from distributed systems to modern cloud services like IaaS, PaaS, and SaaS. It highlights key concepts such as on-demand provisioning, service-oriented architecture (SOA), and virtualization, emphasizing their roles in enhancing efficiency, scalability, and resource management. The conclusion underscores the significance of cloud computing in contemporary business operations, showcasing its adaptability and cost-effectiveness.

Uploaded by

Guruswaminathan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Cloud Computing

The document discusses the evolution of cloud computing, detailing its transition from distributed systems to modern cloud services like IaaS, PaaS, and SaaS. It highlights key concepts such as on-demand provisioning, service-oriented architecture (SOA), and virtualization, emphasizing their roles in enhancing efficiency, scalability, and resource management. The conclusion underscores the significance of cloud computing in contemporary business operations, showcasing its adaptability and cost-effectiveness.

Uploaded by

Guruswaminathan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

1.

Evolu%on of Cloud Compu%ng

Cloud Compu%ng

Cloud compu-ng is the services provided on the Internet to store a vast amount of data in one
place and can be used from anywhere and from any place. This minimizes the cost of the
physical installa-on of the data centers and servers.

Some examples of cloud compu-ng are:

• Dropbox: It is a one-stop solu-on for all the services like file storage, sharing, and
managing the system.

• Microso6 Azure: It provides a wide range of services like the backup of data and any
sudden recovery from any type of disaster.

Evolu%on of Cloud Compu%ng

Cloud Compu-ng has evolved from the Distributed system to the current technology. Cloud
compu-ng has been used by all types of businesses, of different sizes and fields.

1. Distributed Systems

In the networks, different systems are connected. When they target to send the message from
different independent systems which are physically located in various places but are connected
through the network. Some examples of distributed systems are Ethernet which is a LAN
technology, Telecommunica-on network, and parallel processing. The Basic func-ons of the
distributed systems are:

• Resource Sharing: The Resources like data, hardware, and soNware can be shared
between them.

• Open-to-all: The soNware is designed and can be shared.

• Fault Detec%on: The error or failure in the system is detected and can be corrected.

Apart from the func-ons, the main disadvantage is that all the plan has to be in the same
loca-on and this disadvantage is overcome by the following systems:

• Mainframe Compu-ng

• Cluster Compu-ng

• Grid Compu-ng
2. Mainframe Compu%ng

It was developed in the year 1951 and provides powerful features. Mainframe Compu-ng is s-ll
in existence due to its ability to deal with a large amount of data. For a company that needs to
access and share a vast amount of data then this compu-ng is preferred. Among the four types
of computers, mainframe computer performs very fast and lengthy computa-ons easily.

The type of services handled by them is bulk processing of data and exchanging large-sized
hardware. Apart from the performance, mainframe compu-ng is very expensive.

3. Cluster Compu%ng

In Cluster Compu-ng, the computers are connected to make it a single compu-ng. The tasks in
Cluster compu-ng are performed concurrently by each computer also known as the nodes
which are connected to the network. So the ac-vi-es performed by any single node are known
to all the nodes of the compu-ng which may increase the performance, transparency, and
processing speed.

To eliminate the cost, cluster compu-ng has come into existence. We can also resize the cluster
compu-ng by removing or adding the nodes.

4. Grid Compu%ng

It was introduced in the year 1990. As the compu-ng structure includes different computers or
nodes, in this case, the different nodes are placed in different geographical places but are
connected to the same network using the internet.

The other compu-ng methods seen so far, it has homogeneous nodes that are located in the
same place. But in this grid compu-ng, the nodes are placed in different organiza-ons. It
minimized the problems of cluster compu-ng but the distance between the nodes raised a new
problem.

5. Web 2.0

This compu-ng lets the users generate their content and collaborate with other people or share
the informa-on using social media, for example, Facebook, TwiUer, and Orkut. Web 2.0 is a
combina-on of the second-genera-on technology World Wide Web (WWW) along with the web
services and it is the compu-ng type that is used today.

6. Virtualiza%on

It came into existence 40 years back and it is becoming the current technique used in IT firms. It
employs a soNware layer over the hardware and using this it provides the customer with cloud-
based services.
7. U%lity Compu%ng

Based on the need of the user, u-lity compu-ng can be used. It provides the users, company,
clients or based on the business need the data storage can be taken for rent and used.

Conclusion

Cloud Compu-ng has emerged from the 1950s to the current year and companies are relying
completely on cloud compu-ng based on their specific needs. Before cloud compu-ng was not
accepted and used, later on looking at its features, people are inves-ng money to buy cloud
data storage.

2.On-Demand Provisioning in Cloud Computing


Introduction:

Cloud computing has transformed the way computing resources are managed and consumed.
Among its core features, on-demand provisioning stands out as a game-changer, allowing users
to instantly acquire and release computing resources without manual intervention. It eliminates
the need for overprovisioning and supports dynamic, flexible resource management.

What is On-Demand Provisioning?

On-demand provisioning is the ability to allocate computing resources such as virtual


machines, storage, networks, applications, and other services instantly when requested by the
user. These resources are drawn from a large pool of shared computing infrastructure maintained
by a cloud service provider (e.g., AWS, Azure, Google Cloud).

This is in contrast to traditional provisioning, where infrastructure is set up manually, often


with lead times of days or weeks.

How It Works:

• A user accesses a cloud management portal or API interface.


• They select the resource type, capacity, and region.
• The cloud provider provisions the requested resource within seconds.
• Once the task is completed, users can de-provision or stop the service.
• Billing is usage-based, meaning users are charged only for the resources used during the
active time.
This system is typically automated, scalable, and highly efficient.

Key Characteristics:

1. Self-Service: Users can request resources themselves without needing IT admin support.
2. Instant Availability: Resources are provisioned in real-time.
3. Elasticity: Automatically scales resources up or down based on demand.
4. Scalability: Supports workloads of any size by adding more resources as needed.
5. Pay-as-You-Go Pricing: Costs are incurred only for the time the resource is active.

Advantages of On-Demand Provisioning:

Benefit Description
Avoids upfront capital investment and overprovisioning; users pay only
Cost Efficiency
for what they use.
Time-Saving Resources are available within seconds, eliminating delays.
Operational Agility Responds quickly to changing business or user demands.
Developers and testers can instantly create environments, improving
Productivity Boost
workflows.
Resource
No wastage of unused capacity; improves utilization rates.
Optimization

Use Cases:

• Web Hosting: Automatically scales server resources during peak traffic.


• Data Analytics: Temporary provisioning of high-compute clusters for processing big
data.
• Software Development & Testing: Quickly set up isolated test environments.
• Disaster Recovery: Provision resources only when needed during a failure event.
• Startups and SMEs: Launch applications without investing in physical infrastructure.

Types of On-Demand Services:

1. Infrastructure as a Service (IaaS): e.g., Amazon EC2, Google Compute Engine.


2. Platform as a Service (PaaS): e.g., Heroku, Google App Engine.
3. Software as a Service (SaaS): e.g., Microsoft 365, Dropbox (users provision
accounts/services instantly).

On-Demand vs. Pre-Provisioning:

Feature Pre-Provisioning On-Demand Provisioning


Setup Time Slow, manual Fast, automatic
Cost High upfront Low, usage-based
Feature Pre-Provisioning On-Demand Provisioning
Resource Utilization Often underutilized Optimized
Flexibility Rigid Highly flexible
Scalability Manual scaling Auto-scaling

Challenges:

• Security: Instant provisioning might lead to unprotected resources if not properly


configured.
• Management Complexity: Managing multiple on-demand resources needs strong
monitoring.
• Billing Monitoring: Costs can spiral if usage is not monitored or capped.

Conclusion:

On-demand provisioning is a cornerstone of cloud computing that empowers users with instant
access to resources, enhancing agility, efficiency, and innovation. By removing the need for
complex and time-consuming setup procedures, it supports rapid digital transformation, making
it essential for businesses of all sizes in the digital era.

3.Service-Oriented Architecture (SOA) in Cloud Computing – Detailed Explanation

What is SOA?

Service-Oriented Architecture (SOA) is a software design pattern where application


components provide services to other components through a well-defined communication
protocol, typically over a network. Each service is self-contained, reusable, and performs a
specific task.

In SOA:

• A service is a discrete unit of business functionality.


• These services can be combined or orchestrated to perform complex business processes.

Core Principles of SOA

Principle Explanation
Loose Coupling Services operate independently; changes in one do not affect others.
Interoperability Services can interact across different platforms using open standards.
Reusability Services are designed to be reused across multiple applications or contexts.
Discoverability Services are published in registries for easy discovery and integration.
Principle Explanation
Composability Multiple services can be combined to create complex workflows or systems.

SOA Architecture Components

1. Service Provider
o Creates and offers services.
o Publishes service definitions in a service registry.
2. Service Consumer (Client)
o Requests services from the provider using a service contract.
3. Service Registry
o Acts as a lookup directory for service discovery.
o Helps consumers find available services.
4. Service Contract
o Defines the interface and rules for communication.

How SOA Enables Cloud Computing

SOA and cloud computing are closely related. In fact, cloud computing evolved by leveraging
the core principles of SOA.

How SOA fits into cloud computing:

SOA Feature Impact on Cloud Computing


Cloud users interact with services without knowing their internal
Service Abstraction
implementation.
Loose Coupling Cloud services can be independently developed and deployed.
Reusability Cloud providers reuse existing services to build scalable platforms.
Allows integration of services from multiple cloud vendors (multi-
Interoperability
cloud systems).
Standardized RESTful APIs and web services allow easy access to cloud
Interfaces functionalities.

Benefits of SOA in Cloud Computing

1. Scalability
o Services can be scaled independently in the cloud (horizontal or vertical scaling).
2. Agility & Flexibility
o Organizations can quickly adapt to business needs by reconfiguring services.
3. Cost Efficiency
o Services are reused and optimized, reducing development and operational costs.
4. Rapid Development & Deployment
o Modular services make it easier to develop, test, and deploy in the cloud.
5. Cross-platform Integration
o Easily integrates with third-party cloud services, APIs, and legacy systems.
6. Support for Automation & DevOps
o Services can be orchestrated using cloud automation tools, enabling CI/CD.

Real-World Example: E-Commerce in the Cloud

An online shopping application hosted in the cloud can be built using SOA components:

Service Name Functionality Hosted on


User Auth Service User login, registration AWS Cognito
Payment Service Handles payment processing Stripe API (Cloud SaaS)
Inventory Service Checks product availability Google Cloud Functions
Order Management Manages order lifecycle Azure App Service
Notification Service Sends email/SMS updates Twilio API (SaaS)

All these services communicate through APIs, are independently deployed, and can be scaled
as per demand — demonstrating a cloud-native SOA approach.

SOA vs Microservices in the Cloud

Feature SOA Microservices


Granularity Coarse-grained Fine-grained
Communication Typically SOAP Typically REST
Technology Stack Often platform-specific Polyglot (any language/tech)
Governance Centralized Decentralized
Service Deployment Often shared runtime Independent, containerized

➡ SOA is ideal for enterprise-scale integration, while microservices evolved as a lightweight,


cloud-native variant of SOA.

Challenges of SOA in Cloud

• Security Concerns – Services exposed over the internet need strong authentication and
encryption.
• Service Management – Monitoring, debugging, and managing many services can be
complex.
• Governance – Needs strict policies to control versioning, access, and lifecycle of
services.
• Performance Overhead – Network-based service communication may introduce
latency.
Conclusion

Service-Oriented Architecture is a foundational design model that enhances the capabilities of


cloud computing. It promotes modularity, reusability, interoperability, and scalability — all
critical elements in modern cloud infrastructure.

By combining SOA with cloud computing, organizations can achieve greater agility, build
resilient applications, and respond quickly to business and technology changes. SOA is not
just a design concept — it's a strategic enabler of flexible, efficient, and innovative cloud
solutions.

4.Virtualization of CPU, Memory, and I/O Devices in Cloud Computing

Introduction to Virtualization in Cloud Computing

Virtualization is the core technology that enables cloud computing by abstracting physical
hardware resources and creating multiple virtual instances of computing elements like CPU,
memory, and I/O devices. It allows cloud providers to run multiple isolated environments
(virtual machines or containers) on a single physical machine.

1. CPU Virtualization

CPU virtualization involves creating virtual CPUs (vCPUs) that share the physical CPU's time
and resources. It enables multiple virtual machines (VMs) to run different operating systems on a
single physical server.

How it Works:

• Hypervisors (e.g., VMware, KVM, Xen) intercept CPU instructions and translate them
for execution on physical hardware.
• Each VM is assigned vCPUs by the hypervisor.
• Time-slicing is used to share physical CPU among multiple VMs.

Benefits:

• Efficient CPU utilization


• Isolation between VMs
• Load balancing of compute tasks
• Dynamic scaling (increase/decrease vCPUs)
Diagram:

+--------------------------+

| Virtual Machine (VM1) | <- vCPU

+--------------------------+

| Virtual Machine (VM2) | <- vCPU

+--------------------------+

| Hypervisor (VMM) |

+--------------------------+

| Physical CPU(s) |

+--------------------------+

2. Memory Virtualization

Memory virtualization abstracts physical memory and allows VMs to use virtual memory as if
it were physically available to them.

How it Works:

• The hypervisor maps guest virtual addresses to physical memory pages.


• It uses paging, swapping, and ballooning techniques to allocate and manage memory.
• Techniques like overcommitment allow more memory to be allocated to VMs than
physically exists, based on usage patterns.

Benefits:

• Better memory utilization across VMs


• Allows memory overcommitment to increase density
• Enables live migration of VMs without shutdown

Techniques Used:

• Shadow page tables


• Extended Page Tables (EPT)
• Memory ballooning

3. I/O Device Virtualization


I/O Virtualization abstracts hardware devices like network cards, storage controllers, USB
ports, etc., and provides virtual devices to VMs.

How it Works:

• The hypervisor emulates I/O devices (e.g., vNIC, vDisk).


• Device drivers in VMs communicate with virtual devices.
• The hypervisor translates and forwards I/O operations to physical devices.

Types of I/O Virtualization:

• Full Emulation: Complete software simulation of hardware.


• Paravirtualization: Guest OS is aware it's in a VM and interacts via special drivers.
• SR-IOV (Single Root I/O Virtualization): Allows VMs to directly access hardware
resources with minimal overhead.

Benefits:

• Shared access to network and storage


• Faster provisioning and scaling
• Efficient utilization of physical I/O devices

Benefits of Virtualization in Cloud Computing

Feature Benefit in Cloud


Resource Isolation Each VM/container operates independently and securely
Scalability Easily scale compute, memory, and I/O resources
Resource Optimization Better utilization of hardware through overcommitment
Fault Tolerance VMs can be migrated on failure; reduces downtime
Cost Reduction Fewer physical servers needed, reducing capital and OPEX
Multi-tenancy Multiple users share the same hardware securely

Use Case: Public Cloud (e.g., AWS EC2)

• CPU Virtualization: Assigns vCPUs based on instance type.


• Memory Virtualization: Dynamically allocates RAM to instances.
• I/O Virtualization: Uses Elastic Block Store (EBS) and virtual network interfaces.

Conclusion

Virtualization of CPU, memory, and I/O devices is a fundamental technology that powers cloud
computing. It enables multi-tenancy, isolation, flexibility, and scalability by allowing multiple
virtual machines to run on a single physical host with efficient and secure resource sharing.
Without virtualization, modern cloud computing would not be feasible or cost-effective.
Cloud Service Models Explained in Detail

1. Infrastructure as a Service (IaaS)

Detailed Overview:

IaaS provides raw computing infrastructure on demand over the internet. It replaces the
traditional on-premise infrastructure, like physical servers and data centers, with virtual
machines, storage, and networking resources managed by the cloud provider.

Real-world Analogy:

Think of IaaS like renting a piece of land. You get the land (infrastructure), but you must build
your own house (OS, apps, etc.) on it.

Common Features:

• Dynamic scaling of compute power and storage


• Pay-as-you-go model
• Complete control of virtualized hardware
• High availability and disaster recovery options

Real-world Example:

A company launching a global e-commerce site may use AWS EC2 instances to host different
microservices, choosing CPU/RAM configurations, network rules, and storage volumes as per
demand.

Benefits:

• Full control over resources


• Cost-efficient (no need to buy physical servers)
• Highly scalable and reliable

Challenges:

• Requires skilled IT team for setup and maintenance


• Security and compliance need to be managed by the user

2.Platform as a Service (PaaS)

Detailed Overview:

PaaS delivers a pre-configured environment for application development, testing, and


deployment. Developers don’t worry about managing the OS, servers, or storage—they only
focus on writing and deploying code.
Real-world Analogy:

PaaS is like renting a fully furnished apartment. You don’t build anything—you just move in and
start using it.

Common Features:

• Integrated development environments (IDEs)


• Automated deployment and scaling
• Database and storage support
• Built-in security and monitoring tools

Real-world Example:

A developer building a mobile app can use Google App Engine to deploy the app without
managing the backend infrastructure. It scales automatically based on the number of users.

Benefits:

• Speeds up application development


• Developers focus only on business logic
• Built-in scalability and security features

Challenges:

• Limited customization compared to IaaS


• Vendor lock-in due to platform dependency

3. Software as a Service (SaaS)

Detailed Overview:

SaaS provides ready-to-use software applications over the internet. Users access applications
via web browsers without worrying about installation, maintenance, or infrastructure.

Real-world Analogy:

SaaS is like using public transport. You get from point A to B without worrying about the
engine, fuel, or maintenance.

Common Features:

• Multi-tenancy (multiple users on the same platform)


• Access from any device with internet
• Subscription or usage-based pricing
• Frequent updates and patches
Real-world Example:

A business uses Microsoft Office 365 for email, document collaboration, and spreadsheets—all
accessible via the web without installing anything on their PCs.

Benefits:

• No installation or infrastructure cost


• Fast deployment and easy collaboration
• Regular feature updates and security patches

Challenges:

• Data privacy concerns (data stored on vendor’s cloud)


• Less control over software behavior and customization

Visual Comparison of IaaS, PaaS, and SaaS Responsibilities

Component On-Premise IaaS PaaS SaaS


Applications ✅ ✅ ✅ ❌
Data ✅ ✅ ✅ ❌
Runtime ✅ ✅ ❌ ❌
Middleware ✅ ✅ ❌ ❌
OS ✅ ✅ ❌ ❌
Virtualization ✅ ❌ ❌ ❌
Servers ✅ ❌ ❌ ❌
Storage & Networking ✅ ❌ ❌ ❌

✅ = Managed by User | ❌ = Managed by Provider

Which One to Choose?

Scenario Ideal Model


Hosting a custom web server with full control IaaS
Developing a new mobile/web app with quick deployment PaaS
Using email or document management tools for a business SaaS

Conclusion

Cloud computing offers flexibility through IaaS, PaaS, and SaaS:


• IaaS offers control and flexibility over hardware resources.
• PaaS simplifies development and deployment for developers.
• SaaS delivers complete applications for end-users.

Each model suits different needs depending on control, customization, scalability, and cost
requirements. Understanding these models helps in choosing the right architecture for efficient
cloud adoption.

You might also like