CC Unit 2
CC Unit 2
Unit - 2
Cloud Computing: Applications & Paradigms
1 . Challenges,
2 . Existing and new application opportunities,
3 . Architectural styles of cloud applications,
4 . Workflows coordination of multiple activities,
5 . Coordination based on a state machine model -the Zoo Keeper,
6 . The Map Reduce programming model,
7 . Apache Hadoop.
Applications:
1 . Healthcare
2 . Energy systems
3. Transportation
4 . Manufacturing
5. Education
6. Government
7 .Mobile communication
8 .Application development.
1. Introduction
Cloud computing offers on-demand access to computing resources over the internet. Its
applications refer to the various use cases and industries where cloud technologies are
applied, while paradigms refer to the architectural and service models that define how cloud
services are delivered.
1
CSE(AI)-Final Year -Cloud Computing
C. Education
D. Scientific Research
E. Entertainment & Media
F. Government Services
G. Internet of Things (IoT)
2
CSE(AI)-Final Year -Cloud Computing
A . Business Applications
Definition:
Business applications in cloud computing refer to software programs and tools used by
businesses that are hosted on cloud platforms and delivered via the internet. These
applications help organizations manage various operations such as customer relations,
finance, human resources, marketing, collaboration, and analytics without maintaining
physical infrastructure.
Here is a detailed explanation of Cloud Computing – Business Applications with examples
and structure suitable for academic use:
3
CSE(AI)-Final Year -Cloud Computing
4
CSE(AI)-Final Year -Cloud Computing
Feature Benefit
6. Real-World Examples
Airbnb Uses Amazon EC2 and S3 for hosting and image storage
5
CSE(AI)-Final Year -Cloud Computing
Electronic Health
Epic, Cerner, Allscripts Store and manage patient records
Records
Medical Imaging Storage Ambra Health, GE Cloud Store and analyze X-rays, MRIs, etc.
C . Education
Cloud computing applications in education are cloud-based platforms, tools, and services
that support teaching, learning, administration, and collaboration. These applications allow
students, teachers, and educational institutions to access learning materials, manage
courses, communicate, and store data through the internet.
Cloud computing has revolutionized education by making learning more flexible,
collaborative, and accessible. Whether it's through online classes, digital libraries, or virtual
labs, cloud applications empower educational institutions to offer better learning
experiences with minimal infrastructure costs.
Key Features:
• Anywhere, anytime access to resources
• Remote learning and online exams
• Collaborative tools for projects and teaching
• Cost-effective and scalable infrastructure
6
CSE(AI)-Final Year -Cloud Computing
Email &
Gmail, Outlook, Slack Institutional communication
Communication
7
CSE(AI)-Final Year -Cloud Computing
8
CSE(AI)-Final Year -Cloud Computing
9
CSE(AI)-Final Year -Cloud Computing
10
CSE(AI)-Final Year -Cloud Computing
Benefits:
• On-demand Content Delivery – Stream instantly with low latency.
• Massive Storage – Store high-quality HD/4K/8K content efficiently.
• Scalability – Serve millions of users without service interruption.
• Security – DRM (Digital Rights Management) and encryption protect
content.
• Collaboration – Editors, animators, and developers can work together
remotely.
Real-World Examples:
• Netflix uses AWS to deliver high-quality video to over 200 million users.
• Spotify runs on Google Cloud Platform to stream music and analyze user
data.
• Disney+ Hotstar used cloud autoscaling during IPL to handle millions of
viewers.
11
CSE(AI)-Final Year -Cloud Computing
Key Features:
• Centralized digital portals
• Real-time data processing
• Secure data storage and sharing
• Scalable infrastructure for high user traffic
• Disaster recovery and business continuity
Applications:
Smart City
Traffic, pollution, and energy monitoring via cloud
Management
Healthcare & Welfare Cloud systems for public health records & subsidies
Benefits:
• Reduced infrastructure and IT maintenance costs
• Improved access to services across rural and urban regions
• Enhanced security and compliance with regulations
• Faster and more efficient service delivery
G. Internet of Things (IoT) in Cloud Computing
Definition:
12
CSE(AI)-Final Year -Cloud Computing
Benefits:
• Centralized data storage and visualization
• Real-time monitoring and alerts
• Remote management of devices
• Secure and scalable infrastructure
• Enables AI/ML-based predictive analysis
13
CSE(AI)-Final Year -Cloud Computing
14
CSE(AI)-Final Year -Cloud Computing
15
CSE(AI)-Final Year -Cloud Computing
16
CSE(AI)-Final Year -Cloud Computing
Government departments or
Community Shared among organizations
banking sectors sharing a
Cloud with similar interests.
common cloud
Summary Table:
17
CSE(AI)-Final Year -Cloud Computing
18
CSE(AI)-Final Year -Cloud Computing
4. Vendor Lock-in
• Migrating from one cloud provider to another is often complex and costly.
• Different providers use different APIs, architectures, and formats.
Example: If a business builds apps using AWS-specific services, moving to Azure later could
involve major rework.
19
CSE(AI)-Final Year -Cloud Computing
Security & Privacy Risk of unauthorized access, data leakage All (Public Cloud most)
Compliance Government,
Legal restrictions on data storage and usage
Challenges Healthcare
Limited
Lack of control in PaaS/SaaS models PaaS, SaaS
Customization
20
CSE(AI)-Final Year -Cloud Computing
1. Processing Pipelines
These are data-intensive and sometimes compute-intensive applications that process large
volumes of data in stages (pipelines). They are widely used in many cloud-based systems.
Types of Processing Pipelines:
21
CSE(AI)-Final Year -Cloud Computing
3. Web Applications
Web-based cloud applications are dynamic, event-driven, and seasonal. The cloud allows
them to be temporarily deployed, scaled, and removed as needed.
Examples of Web-based Cloud Applications:
Type Description
Seasonal Applications Tax reporting portals (e.g., April 15 deadline in the U.S.).
Marketing/Promotional
Short-term websites that promote products or sales.
Campaigns
Emerging Application
Description
Area
22
CSE(AI)-Final Year -Cloud Computing
Web Applications Event sites, seasonal portals, promotional pages Time-based scaling
23
CSE(AI)-Final Year -Cloud Computing
1. Frontend
Frontend of the cloud architecture refers to the client side of cloud computing system.
Means it contains all the user interfaces and applications which are used by the client to
access the cloud computing services/resources. For example, use of a web browser to access
the cloud platform.
2. Backend
Backend refers to the cloud itself which is used by the service provider. It contains the
resources as well as manages the resources and provides security mechanisms. Along with
this, it includes huge storage, virtual applications, virtual machines, traffic control
mechanisms, deployment models, etc.
Components of Cloud Computing Architecture
Following are the components of Cloud Computing Architecture
1. Client Infrastructure: Client Infrastructure is a part of the frontend component. It
contains the applications and user interfaces which are required to access the cloud
platform. In other words, it provides a GUI( Graphical User Interface ) to interact with
the cloud.
2. Application : Application is a part of backend component that refers to a software or
platform to which client accesses. Means it provides the service in backend as per
the client requirement.
3. Service: Service in backend refers to the major three types of cloud based services
like SaaS, PaaS and IaaS. Also manages which type of service the user accesses.
4. Runtime Cloud: Runtime cloud in backend provides the execution and Runtime
platform/environment to the Virtual machine.
5. Storage: Storage in backend provides flexible and scalable storage service and
management of stored data.
6. Infrastructure: Cloud Infrastructure in backend refers to the hardware and software
components of cloud like it includes servers, storage, network devices, virtualization
software etc.
7. Management: Management in backend refers to management of backend
components like application, service, runtime cloud, storage, infrastructure, and
other security mechanisms etc.
8. Security: Security in backend refers to implementation of different security
mechanisms in the backend for secure cloud resources, systems, files, and
infrastructure to end-users.
9. Internet: Internet connection acts as the medium or a bridge between frontend and
backend and establishes the interaction and communication between frontend and
backend.
24
CSE(AI)-Final Year -Cloud Computing
10. Database: Database in backend refers to provide database for storing structured
data, such as SQL and NOSQL databases. Example of Databases services include
Amazon RDS, Microsoft Azure SQL database and Google CLoud SQL.
11. Networking: Networking in backend services that provide networking infrastructure
for application in the cloud, such as load balancing, DNS and virtual private
networks.
12. Analytics: Analytics in backend service that provides analytics capabilities for data in
the cloud, such as warehousing, business intelligence and machine learning.
Cloud Computing Architecture Example
The following applications uses cloud computing architecture :
1. Online Learning App (GeeksforGeeks Classroom)
Students are using GeeksforGeeks application for watching tutorials for learning purpose,
they solve different coding problems and take quizzes also for testing their skills. They can
use this anywhere by using their mobile phones, tablets or personal laptop. For storing
videos and study materials Geeksforgeeks are using cloud services like Amazon S3. It also
uses AWS Lambda to run small backend tasks like checking quiz answers or updating
progress. For managing users and logins securely, services like AWS IAM (Identity and Access
Management) are used. All of this helps the application work smoothly, keeps your data
safe, and makes sure your learning experience is always available and fast.
2. Online Store (E-Commerce Website)
Everyone is using online websites like Amazon or Flipkart for online shopping. It uses cloud
computing to run its website and manage orders. When you browse and buy products,
you’re using the front end. In the background, cloud services keep track of what’s in your
cart, handle payments, and update stock. Developers use platforms like AWS Elastic
Beanstalk to run the website easily. The product photos are saved in cloud storage like
Amazon S3, and customer details are stored in databases. Cloud tools also watch over the
site to keep it secure and running fast.
3. Mobile App Backend (Food Delivery App)
Think of a food delivery app like Zomato or Swiggy. You use the app to order food, and
everything works smoothly just because of cloud computing. The app you see on your phone
is the front layer. When you order something, cloud services handle the process in the
background like telling the restaurant, tracking your order, and handling payments. Platforms
like Firebase help with storing user info and sending notifications. The servers that run the
app live in cloud data centers like Google Cloud or AWS, and all your data is kept safe using
secure login systems.
Benefits of Cloud Computing Architecture
The following are the benefits of cloud computing architecture:
25
CSE(AI)-Final Year -Cloud Computing
26
CSE(AI)-Final Year -Cloud Computing
27
CSE(AI)-Final Year -Cloud Computing
28
CSE(AI)-Final Year -Cloud Computing
Summary Table:
Architecture Common
Uses Communication State
Style Protocols
Object-level
CORBA Enterprise apps Optional TCP
interaction
29
CSE(AI)-Final Year -Cloud Computing
30
CSE(AI)-Final Year -Cloud Computing
Task Types
• Primitive Task: Cannot be broken down further
• Composite Task: A structure of multiple tasks with a defined execution order,
inheriting properties from both workflows and tasks
• Routing Task: Connects two tasks; controls flow between predecessor and successor
tasks
Routing Tasks: Types & Execution
• Fork Routing Task: Triggers multiple successor tasks
o All successors enabled
o Conditional enabling based on evaluated expressions
o Mutually exclusive conditions (only one enabled)
o Random selection (k out of n successors)
• Join Routing Task: Waits for predecessor tasks to finish
o All predecessors must complete
o k out of n predecessors required
o Iterative execution (loop between fork and join)
Process Description / Workflow Schema
A workflow schema defines tasks and their execution order. It includes one start and one
end symbol. Provided in Workflow Definition Language (WFDL), it supports:
• Conditional logic (choice)
• Concurrency
• Fork and join constructs
• Iterative execution
Workflow Lifecycle
1. Creation: Defining tasks and goals
2. Definition: Formalizing structure and attributes
3. Verification: Ensuring logical and syntactic correctness
4. Enactment: Executing the workflow using an engine
31
CSE(AI)-Final Year -Cloud Computing
32
CSE(AI)-Final Year -Cloud Computing
Key Components
Component Description
Scheduler Allocates resources and sets the execution time for each activity.
Orchestrator Ensures activities are executed in the correct order and monitors status.
Types of Activities
1. Data Collection
o From sensors, user input, APIs, etc.
2. Data Processing
o Analyze, transform, or clean data (e.g., using Spark, Hadoop).
3. Storage Operations
o Upload/download data to/from cloud storage (e.g., S3, Blob).
4. Application Services
o Run code on cloud (e.g., AWS Lambda, Azure Functions).
5. Communication
o Activities involving API calls, messaging, or notifications.
6. User Interaction
o Deliver output through web/mobile UI or dashboards.
Step Activity
2 Inventory check
3 Payment processing
33
CSE(AI)-Final Year -Cloud Computing
Step Activity
6 Schedule delivery
Each step involves one or more cloud services (e.g., databases, compute, messaging, etc.).
Benefits of Handling Multiple Activities in the Cloud
• Scalability: Handle high volumes of simultaneous tasks
• Automation: Seamless execution of dependent activities
• Cost Efficiency: Pay-as-you-go pricing for each activity
• Reliability: Tasks can be retried or redirected on failure
• Speed: Parallel execution of independent tasks
Cloud Tools for Managing Activities
Tool/Service Role
Challenges
• Synchronization between tasks
• Fault tolerance and error handling
• Data consistency across multiple services
• Security of each individual activity
34
CSE(AI)-Final Year -Cloud Computing
1. Introduction
In cloud computing, coordination among distributed components is crucial to ensure
reliability, availability, and synchronization. Apache ZooKeeper is a centralized service used
to maintain configuration information, naming, synchronization, and group services across
a large cluster.
One of the primary coordination models that ZooKeeper implements is the State Machine
Model.
35
CSE(AI)-Final Year -Cloud Computing
4. ZooKeeper Components
Component Description
Session Connection between client and server with timeout and ephemeral nodes
Service Description
Configuration
Store and update configuration settings dynamically
Management
Locking and Prevent multiple clients from modifying the same resource
Synchronization simultaneously
Group Membership Track and manage the list of available nodes in a group
36
CSE(AI)-Final Year -Cloud Computing
Guarantee Description
Sequential Consistency All operations are seen in the order they were issued
Single System Image All clients see the same view of the system
37
CSE(AI)-Final Year -Cloud Computing
10. Conclusion
ZooKeeper simplifies coordination in distributed systems through a state machine model
that guarantees consistency, reliability, and fault tolerance. It's widely used in cloud
computing environments for service orchestration, failover management, and resource
coordination.
38
CSE(AI)-Final Year -Cloud Computing
What is MapReduce?
MapReduce is a framework that allows developers to write programs that can process
massive amounts of data in parallel across a distributed cluster of computers.
It consists of two main functions:
1. Map function
Takes a set of input data and converts it into a set of key-value pairs.
2. Reduce function
Merges all intermediate values associated with the same key to produce the final
output.
Why MapReduce in Cloud Computing?
Cloud computing provides scalable resources on demand, making it a perfect environment
for MapReduce. It enables:
• Parallel data processing
• High fault tolerance
• Scalability across multiple nodes
• Efficient use of resources
39
CSE(AI)-Final Year -Cloud Computing
Map Function:
map(String key, String value):
for each word in value:
emit(word, 1)
Reduce Function:
reduce(String key, Iterator values):
sum = 0
for each value in values:
sum += value
emit(key, sum)
Input:
Line1: Cloud computing is scalable
Line2: Cloud computing is powerful
Output:
cloud: 2
computing: 2
is: 2
scalable: 1
powerful: 1
Advantages of MapReduce in Cloud:
• Scalability: Easily processes petabytes of data across many machines.
• Fault Tolerance: Automatically handles node failures.
• Simplicity: Developers only write map and reduce functions.
• Cost Efficiency: Makes use of commodity hardware in the cloud.
40
CSE(AI)-Final Year -Cloud Computing
Use Cases:
• Log analysis
• Indexing for search engines
• Data mining
• Machine learning preprocessing
• ETL (Extract, Transform, Load) tasks
Popular Implementations:
• Hadoop MapReduce
• Amazon EMR (Elastic MapReduce)
• Apache Spark (more advanced)
41
CSE(AI)-Final Year -Cloud Computing
42
CSE(AI)-Final Year -Cloud Computing
Feature Description
Cost Efficiency Reduces the cost of hardware; cloud offers pay-as-you-go pricing.
High
Cloud infrastructure and Hadoop replication ensure uptime.
Availability
43
CSE(AI)-Final Year -Cloud Computing
Challenges
Challenge Description
Management
Cluster setup and tuning still require expertise.
Complexity
44
CSE(AI)-Final Year -Cloud Computing
1. Healthcare
• Description: Cloud computing enables secure storage, sharing, and analysis of
medical records and imaging data.
• Applications:
o Electronic Health Records (EHR) accessible from anywhere.
o Telemedicine platforms for remote consultation.
o AI-based diagnostics using cloud-hosted models.
o Wearable health devices syncing data to the cloud.
o Collaborative research using shared datasets.
2. Energy Systems
• Description: Cloud platforms help monitor, control, and optimize energy production
and consumption.
• Applications:
o Smart grid management and real-time energy monitoring.
o Renewable energy forecasting using cloud-based analytics.
o Energy consumption analytics for smart homes and industries.
o Cloud-enabled IoT systems for controlling power usage.
45
CSE(AI)-Final Year -Cloud Computing
3. Transportation
• Description: Cloud computing enhances real-time tracking, routing, and logistics
planning.
• Applications:
o GPS and traffic management systems powered by the cloud.
o Fleet and logistics management with cloud-based dashboards.
o Autonomous vehicle data processing and model training.
o Integration with ride-sharing apps and services.
4. Manufacturing
• Description: Cloud aids in automation, production management, and predictive
maintenance.
• Applications:
o Smart factories with cloud-based IoT integration.
o Real-time monitoring of machines and production lines.
o Digital twins (virtual models) of products and equipment.
o Supply chain optimization using cloud analytics.
5. Education
• Description: Cloud platforms enable online learning, resource sharing, and
collaboration.
• Applications:
o Virtual classrooms and Learning Management Systems (LMS).
o Cloud-hosted academic content and resources.
o Student performance analytics using cloud tools.
o Online exams, assignments, and grading automation.
6. Government
• Description: Cloud enables better public service delivery and data transparency.
• Applications:
o E-Governance platforms for citizens to access services online.
o Cloud storage for large-scale government data and documents.
46
CSE(AI)-Final Year -Cloud Computing
7. Mobile Communication
• Description: Cloud enhances mobile experiences through app hosting and data
synchronization.
• Applications:
o Cloud backup and restore for smartphones.
o Cloud-hosted apps and services (e.g., Gmail, Google Photos).
o Real-time messaging, file sharing, and streaming via cloud.
o Mobile cloud gaming and virtual desktops.
8. Application Development
• Description: Developers use cloud platforms for building, testing, and deploying
applications.
• Applications:
o Platform as a Service (PaaS) environments like Google App Engine, AWS
Elastic Beanstalk.
o Continuous Integration/Continuous Deployment (CI/CD) pipelines.
o Container orchestration using Kubernetes on the cloud.
o API hosting, monitoring, and scalability solutions.
47
CSE(AI)-Final Year -Cloud Computing
10-Mark Questions:
1. Discuss the major challenges faced in designing and implementing cloud computing
solutions.
2. Explain the emerging opportunities for cloud computing in various domains with
suitable examples.
3. Discuss in detail the architectural styles of cloud applications and their significance.
4. What is workflow coordination in cloud computing? Explain with a suitable
diagram and example.
5. Explain the coordination of cloud activities using ZooKeeper and its benefits in
distributed environments.
6. Describe the MapReduce programming model. Explain its working with an example
(map and reduce phases).
7. Explain the architecture of Apache Hadoop. What are its components and their
roles?
8. Write a detailed note on the applications of cloud computing in various fields like
healthcare, education, manufacturing, and government.
9. Discuss the role of cloud computing in application development. How does it help
developers and organizations?
10. Compare and contrast traditional application architectures with cloud-based
application architectures.
48