fog computing
fog computing
School of Computing
Department of Networking and Communications
Dr. N. Prasath
Associate Professor / NWC
Course Content
Unit 1 - Introduction
Fog Computing Basics, Fog and Edge Computing Completing the Cloud,
2
Fog Computing Basics
paradigm that extends cloud computing by bringing data storage, processing, and
applications closer to the devices and users in the network. It plays a critical role in
managing the massive amount of data generated by the Internet of Things (IoT),
3
Fog Computing Basics
Key Concepts of Fog Computing
Fog computing operates closer to the source of data, such as IoT devices, sensors,
or edge devices.
central cloud.
4
Fog Computing Basics
Decentralized Architecture
where data processing happens across multiple nodes, including gateways, routers,
and devices.
By keeping sensitive data closer to the source, fog computing can enhance data
5
Fog Computing Basics
Real-Time Data Processing
Interoperability
6
Fog Computing Basics
Key Components of Fog Computing
Fog Nodes
IoT Devices
Sensors, actuators, and other devices generate data that fog nodes process.
7
Fog Computing Basics
Cloud Layer
The central cloud serves as a backup and performs complex analytics, storage,
Network Connectivity
Communication between fog nodes, IoT devices, and the cloud happens
8
Fog Computing Basics
Advantages of Fog Computing
Reduced Latency
Bandwidth Efficiency
congestion
9
Fog Computing Basics
Enhanced Security
Sensitive data can remain local, reducing exposure to potential breaches during
transit.
Scalability
The distributed nature of fog computing allows it to scale efficiently with the
10
Fog Computing Basics
Energy Efficiency
11
Fog Computing Basics
Challenges of Fog Computing
Complexity
infrastructure.
Security Concerns
is challenging.
12
Fog Computing Basics
Resource Limitations
Fog nodes may have limited processing power and storage compared to cloud
data centers.
Standardization
13
Fog Computing Basics
Applications of Fog Computing
Smart Cities
Healthcare
Industrial IoT
14
Fog Computing Basics
Autonomous Vehicles
Agriculture
15
Fog Computing Basics
Fog Computing vs. Edge Computing
nodes like gateways and routers, offering more flexibility in data processing and
storage.
16
Fog Computing Basics
17
Fog Computing Basics
18
Fog and Edge Computing Completing the Cloud
scalability, reduced latency, and better support for IoT and real-time applications.
19
Fog and Edge Computing Completing the Cloud
Cloud Computing: Strengths and Challenges
Latency: Transmitting data to a distant cloud data center and back can introduce
Cost: Constant data transmission to the cloud can lead to higher costs.
20
Fog and Edge Computing Completing the Cloud
Bandwidth Bottlenecks: The increasing number of IoT devices generates massive
centralized locations.
complementary layers.
21
Fog and Edge Computing Completing the Cloud
Edge Computing: Bringing Computation to the Source
Definition: Edge computing processes data directly on the device or near the data
Key Characteristics
22
Fog and Edge Computing Completing the Cloud
Examples
23
Fog and Edge Computing Completing the Cloud
Fog Computing: Bridging the Edge and Cloud
Definition: Fog computing serves as an intermediary layer between the edge and
the cloud, extending processing and storage capabilities to network nodes like
24
Fog and Edge Computing Completing the Cloud
Key Characteristics
information.
Supports complex analytics and resource-intensive tasks that edge devices can't
handle.
25
Fog and Edge Computing Completing the Cloud
Examples
A gateway in a smart city aggregating data from multiple IoT sensors and
26
Fog and Edge Computing Completing the Cloud
How Fog and Edge Computing Complete the Cloud?
Distributed Processing
decision-making).
27
Fog and Edge Computing Completing the Cloud
Improved Latency
❖ Edge devices and fog nodes reduce latency by processing data closer to the
28
Fog and Edge Computing Completing the Cloud
Optimized Bandwidth Usage
❖ Edge computing eliminates the need for constant cloud communication for
localized tasks.
29
Fog and Edge Computing Completing the Cloud
Enhanced Scalability
❖ Cloud resources can focus on high-level analytics, while fog and edge handle
local needs.
30
Fog and Edge Computing Completing the Cloud
Increased Security and Privacy
Sensitive data can be processed locally on edge devices or fog nodes, reducing
localized processing.
31
Fog and Edge Computing Completing the Cloud
Unified Ecosystem: Practical Applications
Smart Cities
movement.
Fog: A local gateway aggregates data from multiple sensors to optimize city-wide
traffic flow.
32
Fog and Edge Computing Completing the Cloud
Healthcare
Edge: Wearable devices monitor heart rates and issue immediate alerts.
Fog: Hospital servers aggregate patient data from various devices for localized
analytics.
Cloud: Centralized systems store and analyze long-term health records for
predictive insights.
33
Fog and Edge Computing Completing the Cloud
Industrial IoT (IIoT)
Fog: Gateways aggregate data for analysis and send actionable insights to the
cloud.
34
Fog and Edge Computing Completing the Cloud
Conclusion
Fog and edge computing, working alongside the cloud, create a distributed,
efficient, and secure ecosystem for modern technology. By leveraging the strengths
of each layer edge for immediate actions, fog for intermediate processing, and
cloud for high-level tasks this combination ensures seamless support for the
demands of IoT, real-time applications, and big data analytics. Together, they
enable smarter, faster, and more reliable systems, paving the way for the next
35
Fog and Edge Computing Completing the Cloud
36
Fog and Edge Computing Completing the Cloud
37
Fog and Edge Computing Completing the Cloud
38
Hierarchy of Fog and Edge Computing
The hierarchy of fog and edge computing represents how data processing,
storage, and communication are distributed across various layers in a network. This
hierarchy bridges the gap between the cloud and the data sources (IoT devices),
39
Hierarchy of Fog and Edge Computing
Cloud Layer
Key Features
40
Hierarchy of Fog and Edge Computing
Examples: Data centers of AWS, Microsoft Azure, and Google Cloud.
Communication: Receives data from fog nodes for aggregation and provides
41
Hierarchy of Fog and Edge Computing
Fog Layer
Role: Intermediate layer between the cloud and edge, performing localized
Key Features
42
Hierarchy of Fog and Edge Computing
Handles moderately complex tasks like pre-processing, encryption, and local
analytics.
Examples
Communication: Interfaces with both the edge layer (upstream) and cloud layer
(downstream).
43
Hierarchy of Fog and Edge Computing
Edge Layer
Role: The closest layer to the data source, performing real-time processing and
decision-making.
Key Features
44
Hierarchy of Fog and Edge Computing
Examples
45
Hierarchy of Fog and Edge Computing
Data Source Layer (IoT Devices)
Role: The bottom-most layer that generates raw data for the entire hierarchy.
Key Features
Often lacks computational capabilities and depends on edge or fog for processing
46
Hierarchy of Fog and Edge Computing
Examples
47
Hierarchy of Fog and Edge Computing
Key Relationships and Workflows
Data Flow
Fog nodes aggregate and analyze data from multiple edge devices.
Processed data or insights are sent to the cloud for further analytics, storage, or
global decision-making.
48
Hierarchy of Fog and Edge Computing
Task Distribution
vehicles).
Fog Layer: Processes and aggregates regional data (e.g., smart city traffic
patterns).
49
Hierarchy of Fog and Edge Computing
Communication Hierarchy
Horizontal: Within layers for redundancy and load balancing (e.g., fog node to fog
node).
50
Hierarchy of Fog and Edge Computing
Benefits of a Hierarchical Approach
load.
connectivity issues.
51
Hierarchy of Fog and Edge Computing
The hierarchy of fog and edge computing creates a layered architecture where each
level complements the others, addressing the growing demands of IoT, real-time
applications, and big data. By integrating these layers with the cloud, organizations
52
Hierarchy of Fog and Edge Computing
53
Hierarchy of Fog and Edge Computing
54
Business Models of Fog Computing
closer to the edge of the network, reducing latency and enhancing real-time data
processing.
55
Business Models of Fog Computing
Infrastructure-as-a-Service (IaaS) Model
networking solutions.
Revenue Streams:
56
Business Models of Fog Computing
57
Business Models of Fog Computing
Platform-as-a-Service (PaaS) Model
Revenue Streams:
Examples: Software platforms like AWS IoT Greengrass and Microsoft Azure IoT
Edge.
58
Business Models of Fog Computing
Software-as-a-Service (SaaS) Model
provided on a subscription basis, targeting use cases such as smart cities, industrial
Revenue Streams
59
Business Models of Fog Computing
Fog Computing for Data Monetization
Revenue Streams
Examples: Retail companies analyzing customer behavior data locally and selling
60
Business Models of Fog Computing
Hybrid Cloud-Fog Solutions
Revenue Streams
61
Business Models of Fog Computing
Edge Analytics and AI Model
Revenue Streams
grids.
62
Business Models of Fog Computing
Managed Fog Services
Revenue Streams
63
Business Models of Fog Computing
Industry-Specific Fog Solutions
Revenue Streams
64
Business Models of Fog Computing
Hardware Sales Model
Revenue Streams
Examples: Providers of IoT sensors and gateways like HPE Edgeline and NVIDIA
Jetson.
65
Business Models of Fog Computing
Partnership and Ecosystem Model
Revenue Streams
developers.
66
Business Models of Fog Computing
Advantages of Fog Computing Business Models
Customization: Provides tailored solutions for diverse industries and use cases.
Cost Efficiency: Minimizes data transfer and processing costs by handling tasks
locally.
67
Business Models of Fog Computing
68
Business Models of Fog Computing
69
Opportunities and Challenges in Fog Computing
Fog computing presents significant potential across various domains, creating
new business opportunities and driving innovation. Below are some key
opportunities:
healthcare.
70
Opportunities and Challenges in Fog Computing
Expansion of IoT Applications
With IoT devices generating massive amounts of data, fog computing provides
cloud systems.
71
Opportunities and Challenges in Fog Computing
Enhanced Data Privacy and Security
72
Opportunities and Challenges in Fog Computing
Cost Optimization
By processing data at the edge, fog computing reduces bandwidth and cloud
optimize operations.
73
Opportunities and Challenges in Fog Computing
Integration with Emerging Technologies
74
Opportunities and Challenges in Fog Computing
Industry-Specific Customization
Example: Precision farming applications that process real-time sensor data for
75
Opportunities and Challenges in Fog Computing
Support for Edge-Centric Ecosystems
76
Opportunities and Challenges in Fog Computing
Challenges in Fog Computing
Complexity in Implementation
77
Opportunities and Challenges in Fog Computing
Interoperability Issues
integration.
78
Opportunities and Challenges in Fog Computing
Security Risks
data breaches.
79
Opportunities and Challenges in Fog Computing
Scalability Constraints
performance.
80
Opportunities and Challenges in Fog Computing
Power and Resource Limitations
Edge devices often have limited computational power, memory, and energy
resource-constrained environments.
81
Opportunities and Challenges in Fog Computing
High Initial Costs
benefits.
82
Opportunities and Challenges in Fog Computing
Data Management and Analytics
nodes.
83
Opportunities and Challenges in Fog Computing
Regulatory and Compliance Issues
transfer laws.
84
Opportunities and Challenges in Fog Computing
Limited Awareness and Expertise
Fog computing is still an emerging concept, and many businesses lack the
85
Opportunities and Challenges in Fog Computing
Balancing Opportunities and Challenges
86
Opportunities and Challenges in Fog Computing
❖ Security Enhancements: Focus on robust encryption, authentication, and
87
Opportunities and Challenges in Fog Computing
88
Opportunities and Challenges in Fog Computing
89
Opportunities and Challenges in Fog Computing
90
Opportunities and Challenges in Fog Computing
91
Fog Computing Communication Technologies
Fog computing relies on various communication technologies to enable
seamless interaction between devices, edge nodes, and the cloud. These
technologies ensure efficient data transfer, low latency, and reliable connectivity,
which are crucial for fog applications. Below is an overview of key communication
92
Fog Computing Communication Technologies
Wired Communication Technologies
Ethernet
Advantages
93
Fog Computing Communication Technologies
Optical Fiber
Description: Uses light to transmit data over long distances at high speeds.
Advantages
Applications
94
Fog Computing Communication Technologies
Wireless Communication Technologies
Wi-Fi
short-to-medium-range connectivity.
Advantages
95
Fog Computing Communication Technologies
Bluetooth and BLE (Bluetooth Low Energy)
power consumption.
Advantages
Applications
96
Fog Computing Communication Technologies
Zigbee
networks.
Advantages
Applications
97
Fog Computing Communication Technologies
LoRaWAN (Long Range Wide Area Network)
IoT communication.
Advantages
Applications
98
Fog Computing Communication Technologies
Cellular Networks (3G, 4G & 5G)
connectivity.
Advantages
99
Fog Computing Communication Technologies
Industrial IoT-Specific Technologies
Advantages
100
Fog Computing Communication Technologies
CoAP (Constrained Application Protocol)
networks.
Advantages
101
Fog Computing Communication Technologies
OPC UA (Open Platform Communications Unified Architecture)
Advantages:
Applications:
102
Fog Computing Communication Technologies
Short-Range Communication Technologies
centimeters.
103
Fog Computing Communication Technologies
RFID (Radio-Frequency Identification)
Description: Wireless technology using radio waves to identify and track objects.
Advantages:
No line-of-sight required
104
Fog Computing Communication Technologies
Satellite Communication
Applications:
105
Fog Computing Communication Technologies
Hybrid Communication Models
Example: A smart city deployment may use optical fiber for backhaul connectivity
106
Fog Computing Communication Technologies
Selection Criteria for Communication Technologies
like 5G or Ethernet.
107
Fog Computing Communication Technologies
Energy Efficiency: Battery-powered devices favor low-power options like BLE or
Zigbee.
Scalability: Systems like MQTT or LoRaWAN are preferred for large-scale IoT
deployments.
108