Unit 5 Cloud
Unit 5 Cloud
Cloud Computing is the delivery of computing services such as servers, storage, databases,
networking, software, analytics, intelligence, and more, over the Cloud (Internet).
But if we choose Cloud Computing, a cloud vendor is responsible for the hardware purchase
and maintenance. They also provide a wide variety of software and platform as a service. We
can take any required services on rent. The cloud computing services will be charged based on
usage.
The cloud environment provides an easily accessible online portal that makes handy for the
user to manage the compute, storage, network, and application resources. Some cloud service
providers are in the following figure.
Advantages of cloud computing
o Cost: It reduces the huge capital costs of buying hardware and software.
o Speed: Resources can be accessed in minutes, typically within a few clicks.
o Scalability: We can increase or decrease the requirement of resources according to the
business requirements.
o Productivity: While using cloud computing, we put less operational effort. We do not
need to apply patching, as well as no need to maintain hardware and software. So, in
this way, the IT team can be more productive and focus on achieving business goals.
o Reliability: Backup and recovery of data are less expensive and very fast for business
continuity.
o Security: Many cloud vendors offer a broad set of policies, technologies, and controls
that strengthen our data security.
It is a pay-as-you-go service.
By using cloud computing services and paying for what we use, we can avoid the complexity
of owning and maintaining infrastructure.
Cloud computing service providers can benefit from significant economies of scale by
providing similar services to customers.
Although these tools are resource-constrained compared to cloud servers, the geological spread
and decentralized nature help provide reliable services with coverage over a wide area. Fog is
the physical location of computing devices much closer to users than cloud servers.
Table of differences between cloud computing and fog computing is given below:
Delay Cloud computing has higher Fog computing has low latency
latency than fog computing
Data Integration Multiple data sources can be Multiple Data sources and
integrated. devices can be integrated.
Number of Server Nodes Cloud computing has Few Fog computing has a Large
numbers server nodes. number of server nodes.
Geographical Distribution It is centralized. It is decentralized and
distributed.
Location of service Services provided within the Services are provided at the
Internet. edge of the local network.
Working environment Specific data center building Outdoor (streets, base stations,
with air conditioning systems etc.) or indoor (houses, cafes,
etc.)
Dependence on the quality Requires strong network core. It can also work in a Weak
of core network network core.
Structure:
o Fog has a decentralized architecture where information is located on different nodes at
the source closest to the user.
o There are many centralized data centers in the Cloud, making it difficult for users to
access information on the networking area at their nearest source.
Protection:
o Fog is a more secure system with different protocols and standards, which minimizes
the chances of it collapsing during networking.
o As the Cloud operates on the Internet, it is more likely to collapse in case of unknown
network connections.
Component:
o Fog has some additional features in addition to the features provided by the components
of the Cloud that enhance its storage and performance at the end gateway.
o Cloud has different parts such as frontend platform (e.g., mobile device), backend
platform (storage and servers), cloud delivery, and network (Internet, intranet,
intercloud).
Accountability:
o Here, the system's response time is relatively higher compared to the Cloud as fogging
separates the data and then sends it to the Cloud.
o Cloud service does not provide any isolation in the data while transmitting the data at
the gate, increasing the load and thus making the system less responsive.
Application:
o Edge computing can be used for smart city traffic management, automating smart
buildings, visual Security, self-maintenance trains, wireless sensor networks, etc.
o Cloud computing can be applied to e-commerce software, word processing, online file
storage, web applications, creating image albums, various applications, etc.
Reduces latency:
o Large amounts of data are transferred from hundreds or thousands of edge devices to
the Cloud, requiring fog-scale processing and storage.
o For example, commercial jets generate 10 TB for every 30 minutes of flight. Fog
computing sends selected data to the cloud for historical analysis and long-term storage.
o Fog computing provides better quality of services by processing data from devices that
are also deployed in areas with high network density.
o On the other hand, Cloud servers communicate only with IP and not with the endless
other protocols used by IoT devices.
Real-time analysis:
o Fog computing analyzes the most time-sensitive data and operates on the data in less
than a second, whereas cloud computing does not provide round-the-clock technical
support.
Operating Expenses:
o The license fee and on-premises maintenance for cloud computing are lower than fog
computing. Companies have to buy edge device routers.
o The fog architecture is distributed and consists of millions of small nodes located as
close as possible to the client device. The cloud architecture is centralized and consists
of large data centers located around the world over a thousand miles away from client
devices.
o Fog acts as an intermediary between data centers and hardware and is closer to the end-
users. If there is no fog layer, the Cloud communicates directly with the equipment,
taking time.
o In cloud computing, data processing takes place in remote data centers. Fog is processed
and stored at the edge of the network closer to the source of information, which is
important for real-time control.
o Cloud is more powerful than Mist concerning computing capabilities and storage
capacity.
o The Cloud consists of some large server nodes. Fog consists of millions of tiny nodes.
o Fog does short-term edge analysis due to the immediate response, while Cloud aims for
a deeper, longer-term analysis due to a slower response.
o Fog provides low latency; Cloud provides high latency.
o Without an internet connection, a cloud system collapses. Fog computing uses different
protocols and standards, so the risk of failure is very low.
o Fog is a more secure system than Cloud due to its distributed architecture.
The table below helps you better understand the difference between Fog and Cloud,
summarizing their most important characteristics.
Benefits of Fog Computing:
o Fog computing is less expensive to work with because the data is hosted and analyzed
on local devices rather than transferred to any cloud device.
o It helps in facilitating and controlling business operations by deploying fog applications
as per the user's requirement.
o Fogging provides users with various options to process their data on any physical
device.
These tools will produce huge amounts of data that will have to be processed quickly and
permanently. F fog computing works similarly to cloud computing to meet the growing demand
for IoT solutions.
Fog is even better on some things. This article aims to compare Fog vs. Cloud and tell you
more about Fog vs. cloud computing possibilities and their pros and cons.
We provide leading-edge IoT development services for companies looking to transform their
business.
Cloud Computing
We are already used to the technical term cloud, a network of multiple devices, computers, and
servers connected to the Internet.
Cloud computing technology provides a variety of services that are classified into three groups:
o IaaS (Infrastructure as a Service) - A remote data center with data storage capacity,
processing power, and networking resources.
o PaaS (Platform as a Service) - A development platform with tools and components to
build, test, and launch applications.
o SaaS (Software as a Service) - Software tailored to suit various business needs.
By connecting your company to the Cloud, you can access the services mentioned above from
any location and through various devices.
Therefore, availability is the biggest advantage. Plus, there's no need to maintain local servers
and worry about downtimes - the vendor supports everything for you, saving you money.
Integrating the Internet of Things with the Cloud is an affordable way to do business. Off-
premises services provide the scalability and flexibility needed to manage and analyze data
collected by connected devices. At the same time, specialized platforms (e.g., Azure IoT Suite,
IBM Watson, AWS, and Google Cloud IoT) give developers the power to build IoT apps
without major investments in hardware and software.
o High latency - More and more IoT apps require very low latency, but the Cloud cannot
guarantee this due to the distance between client devices and data processing centers.
o Downtimes - Technical issues and network interruptions can occur in any Internet-
based system and cause customers to suffer from outages; Many companies use
multiple connection channels with automatic failover to avoid problems.
o Security and Privacy - your data is transferred via globally connected channels along
with thousands of gigabytes of other users' information; No wonder the system is
vulnerable to cyber-attacks or data loss; the problem can be partially solved with the
help of hybrid or private clouds.
Fog Computing
Cisco coined the term fog computing (or fogging) in 2014, so it is new to the general public.
Fog and cloud computing are intertwined. In nature, Fog is closer to Earth than clouds; In the
tech world, it's the same; Fog is closer to end-users, bringing cloud capabilities to the ground.
The definition may sound like this: Fog is an extension of cloud computing that consists of
multiple edge nodes directly connected to physical devices.
Such nodes tend to be much closer to devices than centralized data centers so that they can
provide instant connections.
The considerable processing power of edge nodes allows them to compute large amounts of
data without sending them to distant servers.
Fog can also include cloudlets - small-scale and rather powerful data centers located at the
network's edge. They are intended to support resource-intensive IoT apps that require low
latency.
The main difference between fog computing and cloud computing is that Cloud is a centralized
system, whereas Fog is a distributed decentralized infrastructure.
Fog is an intermediary between computing hardware and a remote server. It controls what
information should be sent to the server and can be processed locally. In this way, Fog is an
intelligent gateway that dispels the clouds, enabling more efficient data storage, processing,
and analysis.
It should be noted that fog networking is not a separate architecture. It does not replace cloud
computing but complements it by getting as close as possible to the source of information.
There is another method for data processing similar to fog computing - edge computing. The
essence is that the data is processed directly on the devices without sending it to other nodes or
data centers. Edge computing is particularly beneficial for IoT projects as it provides bandwidth
savings and better data security.
The new technology is likely to have the biggest impact on the development of IoT, embedded
AI, and 5G solutions, as they, like never before, demand agility and seamless connections.
Advantages of fog computing in IoT
The fogging approach has many benefits for the Internet of Things, Big Data, and real-time
analytics. The main advantages of fog computing over cloud computing are as follows:
o Low latency - Fog tends to be closer to users and can provide a quicker response.
o There is no problem with bandwidth - pieces of information are aggregated at
separate points rather than sent through a channel to a single hub.
o Due to the many interconnected channels - loss of connection is impossible.
o High Security - because the data is processed by multiple nodes in a complex
distributed system.
o Improved User Experience - Quick responses and no downtime make users satisfied.
o Power-efficiency - Edge nodes run power-efficient protocols such as Bluetooth,
Zigbee, or Z-Wave.
o Fog is an additional layer in a more complex system - a data processing and storage
system.
o Additional expenses - companies must buy edge devices: routers, hubs, gateways.
o Limited scalability - Fog is not scalable like a cloud.
Conclusion:
The demand for information is increasing the overall networking channels. And to deal with
this, services like fog computing and cloud computing are used to quickly manage and
disseminate data to the end of the users.
However, fog computing is a more viable option for managing high-level security patches and
minimizing bandwidth issues. Fog computing allows us to locate data on each node on local
resources, thus making data analysis more accessible.
What is IoT?
In, IoT we do not need interaction between human or between human and computer. We can
communicate data over a network of linked devices like objects, computers, or digital devices.
A heart monitor implant is an example of IoT usage. An in-built sensor that gives alert to driver
on path danger in car is also example of IoT. IoT device is an object which can transfer or
receive the data across network and can have IP address. IoT object should be capable of
having IP address.
Increased data output has led to the growth of IoT. Due to the Internet of Things Cloud
Service's excessive communication between cheap sensors in the IoT, there will soon be
billions of connected machines and devices joining human users.
The cloud is an excellent IoT enabler that satisfies the data-driven requirements of the
company. Cloud also offers technology framework. Using that framework, we can develop
better IoT devices.
Speed and scale are two essential aspects of cloud computing, and they work in unmatched
harmony with IoT networking and mobility. So, user can benefit more by combine use of cloud
computing and IoT. Unquestionably, some factors show that the cloud is necessary for the
success of IoT, and here are some of them.
Cloud Functions as a Distant Computing Power
On-premises infrastructure reliance is no longer a viable option. As usage of cloud and IoT
devices are increasing day by day, we generated large amount of data. We need to process that
data quickly using big data. The advantage of having a tonne of storage capacity in this
situation comes from the cloud. As we are heading towards 5G from 4G, cloud computing also
enables developer more speed in getting access to data.
This helps businesses can launch massive IoT projects with ease. This removes many obstacles
to entry for the majority of IoT-based organizations.
Conclusion
Every firm works individually to keep up with this evolving technology's pace. IoT technology
is predicted to connect billions of devices, and the information that these devices produce will
be challenging to handle and process using the current methods.
1. Choose the right cloud service provider: Select a cloud service provider that suits
your needs and requirements. Major cloud providers like Amazon Web Services
(AWS), Microsoft Azure, Google Cloud Platform (GCP), and others offer IoT-specific
services to facilitate device connectivity and data management.
2. Set up IoT devices: Prepare your IoT devices by ensuring they have the necessary
sensors, communication modules (e.g., Wi-Fi, Bluetooth, Zigbee, LoRa, etc.), and
firmware to connect to the internet and send data to the cloud.
4. Security considerations: IoT devices are often vulnerable to security threats, so it's
essential to implement robust security measures. This includes using secure
communication protocols, encrypting data in transit and at rest, and implementing
authentication and authorization mechanisms to ensure only authorized devices can
access the cloud.
5. IoT Gateway (optional): For more complex IoT systems or devices that cannot
directly connect to the cloud, you may need an IoT gateway. The gateway acts as an
intermediary that collects data from the devices and forwards it to the cloud securely.
6. Cloud IoT services: Leverage the IoT services provided by your chosen cloud
provider. These services often include IoT hubs, device management platforms, data
storage solutions, and real-time data processing and analytics capabilities.
7. Device registration and management: Set up processes to register and manage your
IoT devices on the cloud platform. This involves assigning unique identifiers to each
device and tracking their status and metadata.
8. Data ingestion and storage: Design the data ingestion process to receive data from
the IoT devices and store it in the cloud. Define the data schema and storage strategy
based on the type and volume of data you expect to handle.
9. Data processing and analytics: Implement data processing pipelines and analytics to
gain valuable insights from the IoT data. This may involve real-time processing or
batch processing, depending on your application's needs.
11. Scalability and monitoring: Ensure that your IoT-cloud infrastructure can scale to
handle a growing number of devices and data. Implement monitoring and alerting
mechanisms to detect issues and address them promptly.
Remember that the specifics of connecting IoT to the cloud can vary depending on your IoT
device types, application requirements, and the cloud provider you choose. Always consider
security, scalability, and data privacy throughout the process