0% found this document useful (0 votes)
32 views32 pages

Module 5 - IoT and The Cloud

Uploaded by

Hemanth Sai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views32 pages

Module 5 - IoT and The Cloud

Uploaded by

Hemanth Sai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 32

19EIO433: Cloud Based IOT

Module V: IoT and the Cloud

Department of Computer Science and Engineering, GST,


1
GITAM, Visakhapatnam
IoT Architecture & Technologies

Module V: IoT and the Cloud


Role of Cloud Computing in IoT – AWS Components – S3 – Lambda
– AWS IoT Core - Connecting a web application to AWS IoT using
MQTT- AWS IoT Examples.

Learning Outcomes:
After completion of this unit, the student will be able to
understand:
1. About AWS Components
2. About MQTT

Department of Computer Science and Engineering, GST, GITAM 2


, Visakhapatnam
IoT and the Cloud

Role of Cloud Computing in IoT


• 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.
• 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

Department of Computer Science and Engineering, GST, GITAM 3


, Visakhapatnam
IoT and the Cloud

Role of Cloud Computing in IoT

Some factors that show the cloud is necessary for the success of IoT:
• Cloud Functions as a Distant Computing Power
• IoT Data is More Secure And Private as a Result of Cloud
Computing.
• No Requirement For Hosting on-premises
• Improved Device-To-Device Communication
• Less Cost of Ownership
• Program For Business Continuity
• Communication Between Devices
Department of Computer Science and Engineering, GST, GITAM 4
, Visakhapatnam
IoT and the Cloud

AWS Components
• Components are foundational building blocks or core elements of the
AWS infrastructure.
• Components are the underlying resources that are used to create,
manage, and deliver AWS services.
• Components typically include computing resources, storage options,
networking tools, and security services.
• Components are used as the building blocks for creating a wide range of
cloud-based solutions.
For example,
Amazon EC2 (Elastic Compute Cloud) is a core component that provides
scalable computing capacity.

Department of Computer Science and Engineering, GST, GITAM 5


, Visakhapatnam
IoT and the Cloud
AWS Components
Amazon Web Services (AWS) offers a wide range of cloud services to address various computing, storage,
database, machine learning, and other requirements. Here's a list of some of the key AWS services,
categorized by their primary function:
1. Compute Services: AWS Storage Gateway
Amazon EC2 (Elastic Compute Cloud) AWS Snow Family (Snowball, Snowmobile, etc.)
AWS Lambda 3. Database Services:
AWS Elastic Beanstalk Amazon RDS (Relational Database Service)
Amazon ECS (Elastic Container Service) Amazon DynamoDB
AWS Fargate Amazon Redshift
AWS Batch Amazon ElastiCache
AWS Outposts Amazon Neptune
AWS Elastic Load Balancing Amazon DocumentDB
AWS Auto Scaling Amazon Timestream
2. Storage Services: AWS Database Migration Service
Amazon S3 (Simple Storage Service) AWS DMS
Amazon EBS (Elastic Block Store)
Amazon EFS (Elastic File System)
Amazon FSx
Amazon Glacier
Department of Computer Science and Engineering, GST, GITAM 6
, Visakhapatnam
IoT and the Cloud
AWS Components
4. Networking Services: Amazon SageMaker
Amazon VPC (Virtual Private Cloud) AWS Deep Learning AMIs
Amazon Route 53 AWS Lambda for serverless ML
AWS Direct Connect Amazon Comprehend
AWS VPN Amazon Lex
Amazon API Gateway Amazon Polly
AWS CloudFront Amazon Rekognition
AWS Transit Gateway 7. Developer Tools:
AWS Global Accelerator AWS CodeStar
5. Analytics and Big Data Services: AWS CodeBuild
Amazon EMR (Elastic MapReduce) AWS CodeDeploy
Amazon Kinesis AWS CodePipeline
Amazon Redshift AWS Cloud9
AWS Glue AWS X-Ray
AWS Data Pipeline
Amazon QuickSight
AWS Lake Formation
6. Machine Learning and AI Services:

Department of Computer Science and Engineering, GST, GITAM 7


, Visakhapatnam
IoT and the Cloud

AWS Components
8. Security and Identity Services: AWS IoT Core
AWS IAM (Identity and Access Management) AWS IoT Device Management
AWS Cognito Amazon FreeRTOS
AWS Secrets Manager AWS IoT Analytics
AWS Certificate Manager 11. Containers and Orchestration: - Amazon EKS
AWS Directory Service (Elastic Kubernetes Service) - Amazon ECS (Elastic
AWS WAF (Web Application Firewall) Container Service) - AWS Fargate
Amazon GuardDuty 12. Developer and Mobile Services: - AWS Amplify -
AWS Key Management Service (KMS) AWS App Runner - Amazon Mobile Analytics
9. Management and Monitoring Services: 13. Application Integration: - Amazon SQS (Simple
AWS CloudWatch Queue Service) - Amazon SNS (Simple Notification
AWS CloudTrail Service) - Amazon Step Functions - Amazon
AWS Config EventBridge
AWS Systems Manager 14. Game Development:
AWS OpsWorks Amazon GameLift
AWS Trusted Advisor

10. Internet of Things (IoT):


Department of Computer Science and Engineering, GST, GITAM 8
, Visakhapatnam
IoT and the Cloud

AWS Components
What is Amazon S3?
Amazon S3 is an object storage service that offers industry-
leading scalability, data availability, security, and performance.

Store and protect any amount of data for a range of use cases,
such as data lakes, websites, cloud-native applications, backups,
archive, machine learning, and analytics.

Amazon S3 is designed for 99.999999999% (11 9's) of durability,


and stores data for millions of customers all around the world.

Department of Computer Science and Engineering, GST, GITAM 9


, Visakhapatnam
IoT and the Cloud

AWS Components
Amazon S3 Use Cases
Build a Data Lake
Run big data analytics, artificial intelligence (AI), machine learning (ML),
and high-performance computing (HPC) applications to unlock data
insights.
Run Cloud-Native Applications
Build fast, powerful mobile and web-based cloud-native apps that scale
automatically in a highly available configuration.
Backup and Restore Critical Data
Meet Recovery Time Objectives (RTO), Recovery Point Objectives (RPO),
and compliance requirements with S3’s robust replication features.
Archive Data at the Lowest Cost
Move data archives to the Amazon S3 Glacier storage classes to lower
costs, eliminate operational complexities, and gain new insights.
Department of Computer Science and Engineering, GST, GITAM 10
, Visakhapatnam
IoT and the Cloud
AWS Components
How does Amazon S3 work?
Amazon Simple Storage Service (Amazon S3) is an object storage service offering
industry-leading scalability, data availability, security, and performance. Customers
of all sizes and industries can store and protect any amount of data for virtually any
use case, such as data lakes, cloud-native applications, and mobile applications.
Amazon S3 stores data as objects within buckets. An object consists of a file and
optionally any metadata that describes that file. To store an object in Amazon S3,
you upload the file you want to store to a bucket. When you upload a file, you can
set permissions on the object and any metadata.
Buckets are the containers for objects. You can have one or more buckets. For each
bucket, you can control access to it (who can create, delete, and list objects in the
bucket), view access logs for it and its objects, and choose the geographical region
where Amazon S3 will store the bucket and its contents.

Department of Computer Science and Engineering, GST, GITAM 11


, Visakhapatnam
IoT and the Cloud
AWS Components
How does Amazon S3 work?
• Creation of Buckets
• Storing Objects
• Data Durability
• Data Availability
• Access Control
• Data Versioning
• Data Encryption
• Storage Classes
• Lifecycle Policies
• Event Notifications
• Data Analytics
• Data Transfer Acceleration
• Logging and Monitoring
• Cross-Region Replication
Department of Computer Science and Engineering, GST, GITAM 12
, Visakhapatnam
IoT and the Cloud
AWS Components
S3 Storage Classes:
Amazon S3 provides several storage classes that allow users to optimize costs
and access patterns for their data. Each storage class is designed to meet
different performance, durability, and cost requirements. Here are some of the
key S3 storage classes:
S3 Standard: This is the default storage class for frequently accessed data. It
offers low latency and high throughput performance. S3 Standard provides
high durability and availability, making it suitable for a wide range of use
cases.
S3 Intelligent-Tiering: This storage class is designed for data with unknown or
changing access patterns. It automatically moves objects between two
access tiers: frequent and infrequent access. It helps users save costs by
charging lower fees for infrequent access objects.

Department of Computer Science and Engineering, GST, GITAM 13


, Visakhapatnam
IoT and the Cloud
AWS Components
S3 Storage Classes:
S3 Standard-IA (Infrequent Access): S3 Standard-IA is suitable for
infrequently accessed data. It offers the same low latency and high
throughput performance as S3 Standard but at a lower storage cost. Retrieval
fees apply when accessing objects.
S3 One Zone-IA: Similar to Standard-IA but stores data in a single availability
zone, which makes it less expensive. However, it doesn't provide the same
durability as S3 Standard or S3 Standard-IA since data is not replicated across
multiple zones.
S3 Glacier: S3 Glacier is designed for long-term archival and data backup. It
offers the lowest storage costs but with a longer retrieval time, typically
taking several hours.
S3 Glacier Deep Archive: This storage class is for data archiving with the
lowest storage costs but extended retrieval times, often taking 12 hours or
more.
Department of Computer Science and Engineering, GST, GITAM 14
, Visakhapatnam
Department of Computer Science and Engineering, GST, GITAM 15
, Visakhapatnam
IoT and the Cloud
AWS Components
AWS Lambda:
AWS Lambda is an event-driven, serverless computing platform provided by
Amazon as a part of Amazon Web Services. It is designed to enable
developers to run code without provisioning or managing servers. It
executes code in response to events and automatically manages the
computing resources required by that code.
Serverless Computing: AWS Lambda is a serverless computing service.
This means you can run your code without provisioning or managing
servers. AWS takes care of the infrastructure for you.
Event-Driven: Lambda functions are executed in response to events.
These events can come from various AWS services like Amazon S3,
Amazon DynamoDB, Amazon API Gateway, AWS IoT, and more. You can
also trigger Lambda functions with custom events.
Department of Computer Science and Engineering, GST, GITAM 16
, Visakhapatnam
IoT and the Cloud
AWS Components
Programming Language Support: AWS Lambda supports multiple programming
languages, including Node.js, Python, Ruby, Java, Go, .NET Core, and custom runtimes.
Scaling: Lambda automatically scales your application in response to incoming traffic. It
can run multiple instances of a function in parallel to handle a higher volume of
requests.
Pay-as-You-Go Pricing: With AWS Lambda, you pay only for the compute time that you
consume. There are no charges when your code is not running. It's a cost-effective way
to run code in the cloud.
Stateless: Lambda functions are designed to be stateless, meaning they don't store
data between invocations. You can use other AWS services like Amazon S3 or
DynamoDB to store data persistently.
Easy Deployment: You can deploy your code to Lambda using the AWS Management
Console, AWS CLI, or other AWS developer tools.
Use Cases: AWS Lambda can be used for various use cases, including data processing,
real-time file processing, automation of tasks, building serverless web applications,
and more.
Department of Computer Science and Engineering, GST, GITAM 17
, Visakhapatnam
IoT and the Cloud
AWS Components
How a Lambda function works?
1. You create a Lambda function and define the event source, such as an
S3 bucket.
2. When a new object is uploaded to the S3 bucket, it triggers the Lambda
function.
3. The Lambda function processes the uploaded object, performs some
computation or analysis, and then saves the results or triggers other
AWS services.
4. You are billed only for the compute time used by the Lambda function
during its execution.

Department of Computer Science and Engineering, GST, GITAM 18


, Visakhapatnam
IoT and the Cloud
AWS Components
What is the AWS IoT?
AWS IoT provides the cloud services that connect your IoT devices to other
devices and AWS cloud services. AWS IoT provides device software that can help
you integrate your IoT devices into AWS IoT-based solutions. If your devices can
connect to AWS IoT, AWS IoT can connect them to the cloud services that AWS
provides.

Department of Computer Science and Engineering, GST, GITAM 19


, Visakhapatnam
IoT and the Cloud
AWS Components
What is the AWS IoT?...
AWS IoT lets you select the most appropriate and up-to-date technologies
for your solution.
To help you manage and support your IoT devices in the field, AWS IoT
supports these protocols:
MQTT (Message Queuing and Telemetry Transport)
MQTT over WSS (Websockets Secure)
HTTPS (Hypertext Transfer Protocol - Secure)
LoRaWAN (Long Range Wide Area Network)

Department of Computer Science and Engineering, GST, GITAM 20


, Visakhapatnam
IoT and the Cloud
AWS Components
How your devices and apps access AWS IoT
AWS IoT provides the following :
AWS IoT Device SDKs—Build applications on your devices that send messages
to and receive messages from AWS IoT.
AWS IoT Core for LoRaWAN—Connect and manage your long range WAN
(LoRaWAN) devices and gateways by using AWS IoT Core for LoRaWAN.
AWS Command Line Interface (AWS CLI)—Run commands for AWS IoT on
Windows, macOS, and Linux. These commands allow you to create and
manage thing objects, certificates, rules, jobs, and policies.
AWS IoT API—Build your IoT applications using HTTP or HTTPS requests. These
API actions allow you to programmatically create and manage thing objects,
certificates, rules, and policies.
AWS SDKs—Build your IoT applications using language-specific APIs. These
SDKs wrap the HTTP/HTTPS API and allow you to program in any of the
supported languages.
Department of Computer Science and Engineering, GST, GITAM 21
, Visakhapatnam
IoT and the Cloud
AWS Components
What AWS IoT can do?
IoT in Industry

These are some examples of AWS IoT solutions for industrial use cases that
apply IoT technologies to improve the performance and productivity of
industrial processes.
Solutions for industrial use cases:
• Use AWS IoT to build predictive quality models in industrial operations
• Use AWS IoT to support predictive maintenance in industrial operations

Department of Computer Science and Engineering, GST, GITAM 22


, Visakhapatnam
IoT and the Cloud
AWS Components
IoT in Home automation

These are some examples of AWS IoT solutions for home automation use
cases that apply IoT technologies to build scalable IoT applications that
automate household activities using connected home devices.
Solutions for home automation
• Use AWS IoT in your connected home
• Use AWS IoT to provide home security and monitoring

Department of Computer Science and Engineering, GST, GITAM 23


, Visakhapatnam
IoT and the Cloud
AWS Components
How AWS IoT works?
The IoT universe
In general, the Internet of Things (IoT) consists of the key components shown in this
diagram.
• Apps
• Cloud services
• Communications
• Devices
• Interfaces

Department of Computer Science and Engineering, GST, GITAM 24


, Visakhapatnam
IoT and the Cloud
AWS Components
How AWS IoT works?

AWS IoT services overview

Department of Computer Science and Engineering, GST, GITAM 25


, Visakhapatnam
IoT and the Cloud
AWS Components
What is the AWS IoT Core?
AWS IoT Core is a managed cloud service that lets connected devices easily and
securely interact with cloud applications and other devices.
AWS IoT Core can support billions of devices and trillions of messages, and can
process and route those messages to AWS endpoints and to other devices
reliably and securely.
With AWS IoT Core, your applications can keep track of and communicate with
all your devices, all the time, even when they aren’t connected.

Department of Computer Science and Engineering, GST, GITAM 26


, Visakhapatnam
IoT and the Cloud
AWS Components
What is the AWS IoT Core?...
AWS IoT Core seamlessly integrates with various AWS services, including:
• AWS Lambda
• Amazon Kinesis
• Amazon S3
• Amazon SageMaker
• Amazon DynamoDB
• Amazon CloudWatch
• AWS CloudTrail
• Amazon QuickSight
Department of Computer Science and Engineering, GST, GITAM 27
, Visakhapatnam
IoT and the Cloud
AWS Components
How IoT Core works?
AWS IoT Core lets you connect billions of IoT devices and route trillions of
messages to AWS services without managing infrastructure.
• Message broker

Department of Computer Science and Engineering, GST, GITAM 28


, Visakhapatnam
IoT and the Cloud
AWS Components
How IoT Core works?
• Mirror device state

Department of Computer Science and Engineering, GST, GITAM 29


, Visakhapatnam
IoT and the Cloud
AWS Components
How IoT Core works?
• Built-in-Alexa

Department of Computer Science and Engineering, GST, GITAM 30


, Visakhapatnam
IoT and the Cloud
AWS Components
How IoT Core works?
• LoRaWAN Dvices

Department of Computer Science and Engineering, GST, GITAM 31


, Visakhapatnam
IoT and the Cloud
AWS Components
How IoT Core works?
• Amazon Sidewalk Devices

Department of Computer Science and Engineering, GST, GITAM 32


, Visakhapatnam

You might also like