0% found this document useful (0 votes)
630 views88 pages

Internet of Things Unit-5

AWS began offering cloud computing services in 2006, allowing customers to access scalable computing resources over the internet without having to build or manage their own infrastructure. This provided significant advantages in terms of cost efficiency, reliability, and flexibility compared to maintaining physical servers. Cloud computing has since grown tremendously and now powers businesses worldwide through on-demand access to storage, databases, and other services.

Uploaded by

322203359001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Topics covered

  • Service Reliability,
  • Cloud Infrastructure,
  • Switching Providers,
  • Cloud Solutions,
  • Public Cloud,
  • Cloud Service Models,
  • APIs,
  • Data Recovery,
  • Data Collection,
  • Cloud Computing
0% found this document useful (0 votes)
630 views88 pages

Internet of Things Unit-5

AWS began offering cloud computing services in 2006, allowing customers to access scalable computing resources over the internet without having to build or manage their own infrastructure. This provided significant advantages in terms of cost efficiency, reliability, and flexibility compared to maintaining physical servers. Cloud computing has since grown tremendously and now powers businesses worldwide through on-demand access to storage, databases, and other services.

Uploaded by

322203359001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Topics covered

  • Service Reliability,
  • Cloud Infrastructure,
  • Switching Providers,
  • Cloud Solutions,
  • Public Cloud,
  • Cloud Service Models,
  • APIs,
  • Data Recovery,
  • Data Collection,
  • Cloud Computing

In 2006, Amazon Web Services (AWS) started to offer IT

services to the market in the form of web services, which


is nowadays known as cloud computing.

With this cloud, we need not plan for servers and other
IT infrastructure which takes up much of time in advance.

Instead, these services can instantly spin up hundreds or


thousands of servers in minutes and deliver results faster.
We pay only for what we use with no up-front expenses
and no long-term commitments, which makes AWS cost
efficient.

Today, AWS provides a highly reliable, scalable, low-cost


infrastructure platform in the cloud that powers
multitude of businesses in 190 countries around the
world.
Cloud computing is an internet-based computing service in
which large groups of remote servers are networked to allow
centralized data storage, and online access to computer
services or resources.

Using cloud computing, organizations can use shared


computing and storage resources rather than building,
operating, and improving infrastructure on their own.

Cloud computing is a model that enables the following


features.

Users can provision and release resources on-demand.


Resources can be scaled up or down automatically,
depending on the load.

Resources are accessible over a network with proper


security.

Cloud service providers can enable a pay-as-you-go


model, where customers are charged based on the type
of resources and per usage.
Types of Clouds

There are three types of clouds −

Public, Private and Hybrid cloud.

Public Cloud

In public cloud, the third-party service providers make


resources and services available to their customers via
Internet.

Customer’s data and related security is with the service


providers’ owned infrastructure.
Private Cloud

A private cloud also provides almost similar features as


public cloud, but the data and services are managed by the
organization or by the third party only for the customer’s
organization.

In this type of cloud, major control is over the infrastructure


so security related issues are minimized.
Hybrid Cloud

A hybrid cloud is the combination of both private and


public cloud.

The decision to run on private or public cloud usually


depends on various parameters like sensitivity of data and
applications, industry certifications and required
standards, regulations, etc.
Cloud Service Models

There are three types of service models in cloud − IaaS,


PaaS, and SaaS.

IaaS

IaaS stands for Infrastructure as a Service.

It provides users with the capability to provision


processing, storage, and network connectivity on
demand.

Using this service model, the customers can develop their


own applications on these resources.
.
PaaS

PaaS stands for Platform as a Service. Here, the service


provider provides various services like databases,
queues, workflow engines, e-mails, etc. to their
customers.

The customer can then use these components for


building their own applications.

The services, availability of resources and data backup


are handled by the service provider that helps the
customers to focus more on their application's
functionality
SaaS

SaaS stands for Software as a Service.

As the name suggests, here the third-party providers


provide end-user applications to their customers with
some administrative capability at the application level,
such as the ability to create and manage their users.

Also some level of customizability is possible such as the


customers can use their own corporate logos, colors, etc.
Advantages of Cloud Computing

Cost-Efficient − Building our own servers and tools is time-


consuming as well as expensive as we need to order, pay for,
install, and configure expensive hardware, long before we
need it.

However, using cloud computing, we only pay for the amount


we use and when we use the computing resources.

In this manner, cloud computing is cost efficient.


Reliability − A cloud computing platform provides
much more managed, reliable and consistent
service than an in-house IT infrastructure.

It guarantees 24x7 and 365 days of service.

If any of the server fails, then hosted applications


and services can easily be transited to any of the
available servers.
Unlimited Storage − Cloud computing provides almost
unlimited storage capacity, i.e., we need not worry about
running out of storage space or increasing our current
storage space availability. We can access as much or as little
as we need.

Backup & Recovery − Storing data in the cloud, backing it


up and restoring the same is relatively easier than storing it
on a physical device. The cloud service providers also have
enough technology to recover our data, so there is the
convenience of recovering our data anytime.
Easy Access to Information − Once you register yourself
in cloud, you can access your account from anywhere in
the world provided there is internet connection at that
point. There are various storage and security facilities that
vary with the account type chosen.
Disadvantages of Cloud Computing

Security issues

Security is the major issue in cloud computing. The cloud


service providers implement the best security standards
and industry certifications, however, storing data and
important files on external service providers always bears
a risk.
Technical issues
As cloud service providers offer services to number of clients
each day, sometimes the system can have some serious
issues leading to business processes temporarily being
suspended. Additionally, if the internet connection is offline
then we will not be able to access any of the applications,
server, or data from the cloud.

Not easy to switch service providers


Cloud service providers promises vendors that the cloud will
be flexible to use and integrate, however switching cloud
services is not easy. Most organizations may find it difficult
to host and integrate current cloud applications on another
platform. Interoperability and support issues may arise such
as applications developed on Linux platform may not work
properly on Microsoft Development Framework (.Net).
Use of Cloud IoT cloud-based service

•The service provides for the data collection, data


points, messages and calculation objects.

• The service also provisions for the generation and


communication of alerts, triggers and feeds to the user.

• A user is an application or service. The user obtains


responses or feeds from the cloud service.
Xively

•Pachube platform: for data capture in real-time over the


Internet .

• Cosm: a changed domain name, where using a concept of


console, one can monitor the feeds

• Xively is the latest domain name


Cloud service instance

•Cloud service deploys an instance of server at Arduino


and other IoT sensor nodes platforms.

• Provision for real-time data collection, data


visualisation, graphical plots, HTTP based APIs and feed
Xively

• A commercial PaaS for the IoT/M2M

• A data aggregator and data mining website often


integrated into the Web of Things

• An IoT PaaS for services and business services.


Xively PaaS services

•Data visualisation for data of connected sensors to IoT


devices.

•Graphical plots of collected data.

•Generates alerts.

•Access to historical data

•Generates feeds which can be real-world objects of own or


others.
Xively HTTP based APIs

• Easy to implement on device hardware acting as clients


to Xively web services

•APIs connect to the web service and send data.

•APIs provides services for logging, sharing and displaying


sensor data of all
Xively Support

•The platform supports the REST, WebSockets and MQTT


protocols and connects the devices to Xively Cloud
Services

• Native SDKs for Android, Arduino, ARM mbed, Java, PHP,


Ruby, and Python languages

• Developers can use the workflow of prototyping,


deployment and management through the tools provided
at Xively
Xively APIs

• Enable interface with Python, HTML5, HTML5 server,


tornado

• Interface with WebSocket Server and WebSockets

• Interface with an RPC (Remote Procedure Call)..


Xively PaaS services

• Enables services

• Business services platform which connects the products,


including collaboration products

• Rescue, Boldchat, join.me, and operations to Internet

• Data collection in real-time over Internet


Xively Methods for IoT Devices Data

•Concept of users, feeds, data streams, data points and


triggers

•Data feed typically a single location (e.g. a device or


devices network),

• Data streams are of individual sensors associated with


that location (for example, ambient lights, temperatures,
power consumption).

•Pull or Push (Automatic or Manual Feed)


Xively Uses in IoT/M2M

• Private and Public Data Access

• Data streams, Data points and Triggers

• Creating and Managing Feeds

•Visualising Data
WAMP for IoT

• Web Application Messaging Protocol (WAMP) is a


sub-protocol of Websocket which provides publish-
subscribe and remote procedure call (RPC)
messaging patterns.
WAMP – Concepts

• Transport: Transport is channel that connects two peers.

• Session: Session is a conversation between two peers


that runs over a transport.

• Client: Clients are peers that can have one or more roles.
In publish-subscribe model client can have following roles:

– Publisher: Publisher publishes events (including payload)


to the topic maintained by the Broker.

– Subscriber: Subscriber subscribes to the topics and


receives the events including the payload.
In RPC model client can have following roles:

– Caller: Caller issues calls to the remote procedures along


with call arguments.

– Callee: Callee executes the procedures to which the calls


are issued by the caller and returns the results back to the
caller.

• Router: Routers are peers that perform generic call and


event routing. In publish-subscribe model Router has the
role of a Broker:
– Broker: Broker acts as a router and routes messages
published to a topic to all subscribers subscribed to the
topic.

In RPC model Router has the role of a Broker:


– Dealer: Dealer acts a router and routes RPC calls from
the Caller to the Callee and routes results from Callee to
Caller.

• Application Code: Application code runs on the Clients


(Publisher, Subscriber, Callee or Caller).
Source:

Internet of Things A Hands on-Approach


ArshdeepBahga
Vijay Madisetti

Introduction to Internet of Things


Dr. SudipMisra(NPTEL Lectures)
Associate Professor
Department of Computer Science and Engineering
IIT KHARAGPUR

Internet of Things
Rajkamal

Common questions

Powered by AI

The hybrid cloud model addresses security and scalability concerns by combining the secure, controlled environment of a private cloud with the scalable, resource-rich features of a public cloud. Organizations can manage sensitive data and critical workloads in the private cloud, maintaining security and compliance with industry regulations, while using the public cloud for less sensitive applications that require high scalability and resource flexibility. This dual setup allows organizations to optimize performance, cost, and security .

When deciding between public, private, and hybrid cloud models, businesses should consider data sensitivity, industry certifications, required standards, and regulations. Public clouds offer ease of access and scalability but may pose security and data control concerns. Private clouds provide more control over infrastructure, increasing security but at a higher cost. Hybrid clouds allow businesses to leverage the benefits of both, using the public cloud for less sensitive operations while keeping critical processes in the private cloud .

For small to medium-sized enterprises (SMEs), the economic implications of cloud computing include reduced IT costs, as there is no need for significant upfront capital investment in hardware. The scalability of cloud services allows SMEs to scale applications and resources according to demand, optimizing resource utilization and expenditure. Additionally, the pay-as-you-go pricing models enable SMEs to manage cash flow more effectively, aligning their IT expenses with business performance and growth .

Cloud computing offers advantages in data storage and recovery by providing nearly unlimited storage capacity, eliminating concerns over running out of space. It simplifies data backup and recovery, allowing easy restoration of data when needed. The technology and infrastructure offered by cloud providers generally ensure a higher level of reliability and convenience, supporting continuous service and reducing downtime compared to traditional physical storage methods .

In the publish-subscribe model within the Web Application Messaging Protocol (WAMP), a broker acts as a router that manages message distribution. It receives messages published to a topic and efficiently routes them to all subscribers of that topic. This system ensures that all interested clients receive the relevant messages in a timely manner, enhancing communication efficiency among distributed systems .

Businesses might encounter challenges such as interoperability issues when considering cloud migration. Applications developed on specific platforms, like Linux, may not operate seamlessly on different cloud platforms, particularly if they rely on distinct frameworks like Microsoft .NET. This can lead to difficulties in application integration and functionality post-migration. Additionally, the lack of standardized protocols for cloud interoperability can complicate the migration of data and applications between providers .

Security concerns in cloud services differ from traditional IT infrastructures primarily in the external nature of data storage and management. While cloud providers implement robust security standards and certifications, the risk of storing data with external providers persists. Data breaches, unauthorized access, and compliance with regional data protection laws are significant issues cloud users face, which are typically manageable within internal IT infrastructures where companies have full control over security protocols and physical access .

AWS's pay-as-you-go model contributes to cost efficiency by ensuring businesses only pay for the resources they actually use without any up-front expenses or long-term commitments. This flexibility reduces wasteful spending on unused resources and allows businesses to budget more effectively according to their usage levels. By eliminating the need for significant initial investments in physical hardware, AWS's model helps organizations allocate their financial resources more efficiently .

Cloud computing enhances scalability and efficiency by allowing users to provision and release resources on-demand without needing to plan for servers and infrastructure in advance. It enables the rapid deployment of services, scaling up or down automatically based on the load, which is not possible with traditional IT infrastructure. This model increases operational efficiency and provides a cost-effective solution where businesses only pay for what they use, eliminating unnecessary expenses associated with unused resources .

Xively supports the integration and management of IoT devices by providing a commercial PaaS for IoT and M2M services, enabling data visualization, graphical plots, and the generation of alerts. It offers real-time data collection, access to historical data, and feeds generation. The platform supports HTTP-based APIs for device communication, facilitating easy implementation for developers. Also, Xively provides native SDKs for various programming languages and supports protocols such as REST, WebSockets, and MQTT .

You might also like