Lect6-IoT-Cloud Storage Models and Communication APIs1
Lect6-IoT-Cloud Storage Models and Communication APIs1
&
Cloud Offerings
Presented by
Dr. Amany AbdElSamea
1
Outline
2
Cloud Storage Models and
Communication APIs
• Cloud computing is a transformative computing
paradigm that involve delivering applications and
services over the internet based on pay per use
basis.
• Popular cloud storage models and communication
APIs are:
- Web Application Messaging Protocol (WAMP)
- Xively’s Platform-as-a-Service (PaaS) which provide
services for developing IoT solutions
- Amazon Web Services(AWS) and their applications for
IoT
WAMP for IoT
Template
• In a typical Django web application, the template is simply an HTML page with a few
extra placeholders
• Django’s template language can be used to create various forms of text files (XML, e-
mail, JavaScript, CSV, etc.,)
View
• The view ties the model to the template
• The view is where you write the code that actually generates the web pages
Web Services
10
Amazon Web Services
• Amazon Web Services (AWS) is a collection of remote computing services
(web services) that together make up a cloud computing platform, offered
over the Internet by Amazon.com.
• Website: http://aws.amazon.com
• AWS is located in 9 geographical 'Regions‘. Each Region is wholly contained
within a single country and all of its data and services stay within the
designated Region.
• Each Region has multiple 'Availability Zones', which are distinct data centers
providing AWS services.
11
On-Premises and AWS Comparison
Security
Firewalls ACLs Administrators Security Network Identity Access
Groups Access Management
Control
Lists
Networking Network
Router Network Pipeline Switch Elastic
Load Amazon
Balancing VPC
On-
Premises VPC
Servers Servers
Amazon Amazon EC2
Machine Image Instances
Storage and
DAS SAN NAS RDBMS
Database
Elastic Elastic Amazon RDS
Block Store File System Amazon
S3
AWS by Category: Core Services
AWS by Category: Foundational Services
Amazon Web Services for IoT
EC2
DynamoDB AutoScaling
RDS S3
15
Amazon EC2
• An IaaS provided by Amazon
• EC2 delivers scalable, pay-as-you-go compute
capacity in the cloud.
• Web service that provides computing capacity
in the form of virtual machine
• EC2 can be used for several purposes for IoT
systems
16
Amazon EC2 Python Example
17
Amazon S3
• Online cloud based data storage infrastructure
for storing and retrieving large amount of data.
• Offers reliable, scalable, fast, fully redundant
and affordable storage infrastructure
• Serve as raw datastore for IoT systems for
storing raw data such as sensor data, log data,
image, audio, video, etc.
18
Amazon S3 Python Example
19
Amazon AutoScaling
• Allows automatically scaling EC2 capacity up
(vertical scaling entails installing more powerful
systems or upgrading to more powerful
components) 0r down (horizontal scaling adds to
resources by expanding the number of servers or
other processing units) according to user condition.
• Users can increase number of EC2 instances.
• Autoscaling can be used for auto scaling IoT
applications and IoT platforms deployed as Amazon
EC2.
20
Amazon RDS
21
Amazon RDS Python Example
22
Amazon DynamoDB
23
Amazon DynamoDB Python Example
24
Questions