Download - Internet of Things (IoT) HackDay
Internet Of Things (IoT) HackDay
Tom MaddoxTwitter: #awsiothackday
Agenda
10:00 AM - 11:00 AM Welcome, Registration
And Introduction
11:00 AM -12:00 PM Introduction to AWS
Services
You don’t want to miss
this!
12:00 PM - 1:00 PM Intel Edison
Presentations
1:00 PM – 3:00 PM Building the Connected
Maraca and other Apps
3:00 PM – 5:00 PM More Hacking
5:00 PM – 6:00 PM Feedback and Wrap up
Internet of Things is Real
Create New ServicesDiscover New
Insights
Empower
People
Find New
markets
Create New Services
AWS Cloud = Scaling Internet of Things
Global Footprint
Massive Ecosystem
Free Data Inbound
Dedicated Support
Rapid Pace of Innovation
Amazon Web Services
Administration
& Security
Access
ControlIdentity
Management
Key Management
& Storage
Monitoring
& Logs
Resource &
Usage
Auditing
Platform
Services
Analytics App Services Developer Tools & Operations Mobile Services
Data
Pipelines
Data
Warehouse
Hadoop
Real-time
Streaming Data
Application
Lifecycle
Management
Container
s
Deployment
DevOps
Event-driven
Computing
Resource
Templates
Identity
Mobile
Analytics
Push
Notifications
Sync
App
Streaming
Queuing &
Notifications
Search
Transcoding
Workflow
Core
ServicesCD
N
Compute(VMs, Auto-scaling
& Load Balancing)
Databases(Relational,
NoSQL, Caching)
Networking(VPC, DX, DNS)
Storage(Object, Block
and Archival)
Infrastructure
Availability
Zones
Points of
PresenceRegion
s
Enterprise
Applications
Busines
s
Sharing &
Collaboration
Virtual
Desktop
Technical &
Business Support
Account
Management
Partner
Ecosystem
Professional
Services
Security &
Pricing Reports
Solutions
ArchitectsSupport
Training &
Certification
A broad and deep platform helps customers
build sophisticated, scalable applications
AWS Cloud = Platform for Connected Products
Amazon Cognito
Identity and Security
AWS Lambda
Serverless Data Compute
Amazon Kinesis
Massive data ingestion
Amazon S3
Virtually unlimited storage
Amazon Redshift
Petabyte-scale data analysis
Services currently being used for IoT Use cases
The cloud is able to address the challenges of “small things”
Easily build secure
cloud connectedness
in any device
irrespective of the
protocol or platform
Successfully request a
device carry out a
command (from firmware
updates to device
commands)
Determine what a
device is allowed to
do and get telemetry
and usage/sensor
data reliably
Provide Actionable
insights on the data
received
Build
& Connect
Ingest
& Collect
Command
& Control
Analyze
& Act
Resource
constrained device
Global
availability
$0 inbound
data
Audit &
authorization
Global object
store
Elasticity
Purpose built
services
Amazon
DynamoDB
Amazon
Kinesis
Amazon
Cognito
Amazon
S3
Amazon
SQS
AWS
Lambda
AWS IoT HackDay
How is this HackDay
different?
We will teach you
Build the same “thing”
Hands-On Bootcamp
Various IoT cloud architectures
Hello World of AWS-IoT
More Bootcamp less Hackathon
Expect a few bugsIts by design ;)
Sensors sometimes
don’t work as expected
Documentation might
not be up-to-date
How is this HackDay
different?
Things to
Remember
http://bit.ly/aws-iot-hackseries
http://bit.ly/aws-iot-hackseries-code
#AWSIoTHackDay
Getting Started Guide
URL to request the $25 AWS Credit Code
Learn, Tweet, Thank the Sponsors
http://bit.ly/aws-iot-feedbackFill the Survey, after the HackDay
Things to
Remember
Post your projects on
http://amazonwebservices.hackster.io
And receive $880 worth of
additional goodies
$100 AWS credit, valid for 1 year
1 month AWS Support (Business level, valued at $100)
AWS Technical Professional training (normally $600)
$80 credit for self-paced labs
Your Initial Goal: The Connected Maraca
Sensors Devices Cloud Backend Visualization
Cognito
Identity Pools
Amazon SNS
Topic
Kinesis
Streams
DynamoDB
Tables
Amazon S3
Buckets
Python Node.js
iOS Android
JavaScript
Arduino
Mobile-web or
Android or iOS
Smartphones
Node JS
Proxy (optional)
Grove Starter Kit
Grove LED
Grove Tilt
Grove Button
Grove Accelerometer
Grove Temperature
Grove NFC
Grove Infrared
Grove Touch
Grove Light
Grove Relay
Particle Internet Button
Spark Tilt
LEDs
Spark Touch
Hack Day Dashboard
Team Leaderboard
Team Status
Sensor Dashboard
JavaScript
AWS
Lambda
Functions
IAM
Policies
IAM
Roles
Complete IoT HackDay Architecture
Intel Edison
Devices
Intel Edison/Python
Intel Edison/NodeJS
Intel Edison/Arduino/C++
Spark IO Core/Arduino
Spark IO Core/Publish
Edison
Python(boto) Node.js
iOS Android
JavaScript
Arduino
Android/Java
iOS/Objective-C
Devices : Intel Edison
1. Open the Box, connect Edison
2. Wire Up (with two solid USB cables)
3. Flash Edison with latest Yocto Image
4. Build the Maraca using Grove Sensor Kit and
Base Shield
5. Start with Arduino
6. Import the AWSArduinoLibrary
7. Open the Sketch. Add your keys
8. Verify and Upload (check Serial Monitor)
9. Visualize!
Visualization
HackDay Dashboard
Team Leaderboard
Team Dashboard
JavaScript
IoT HackDay - Visualization
• Leaderboard
• Team Status View
• Dashboard
• Team Sensor View
• Browser Listener
Hardware Cloud Backend Visualization
Amazon
Cognito
Amazon SNS
Kinesis
Streams
DynamoDB
Tables
Amazon S3
Buckets
HackDay Dashboard
Team Leaderboard
Team Dashboard
Intel Edison Connected Maraca Backend
Arduino
SDK
AWS
Lambda Function
+ Event Source
Grove Starter Kit
(Sensors and Actuators)
Python Node.js
JavaScriptAmazon S3
Bucket
HTTPS
HTTPS
Amazon
Cognito
IAM
Policies
IAM
Roles
PutRecord() Invokes PutItem()
GetItem()
How it works?
SNS Topic
Kinesis
DeviceStream
Amazon S3
Visualization
Bucket
AWS
Lambda
Function
DynamoDB
DeviceDataTable
IAM
Policies
IAM
Roles
(Lambda,
Cognito etc.)
DynamoDB
CommonTable
AWS
Lambda
Function
Amazon S3
Visualization
Common Bucket
Other Devices
Cross-
Account
access
Common
Account
Visualize
Device Sensor Data
(Sensor dashboard)
Visualize
Collective
Device Data
(Leaderboard, Dashboard)
Your Device
Your
Account
DynamoDB
Leaderboard Table
Cognito
Identity Pool
Cognito
Identity Pool
The Serverless IoT Reference Architecture
SNS Topic
Amazon
Kinesis
Streams
Amazon S3
Bucket
AWS
Lambda
Connector
Amazon
DynamoDB
Tables
Visualize
Device Sensor Data
Billions of
IoT Devices
AWS
Lambda
Worker
AWS
Lambda
Backend
Amazon
Redshift
cluster
Cognito
Identity Pool
Store anything
Object storage
Scalable
99.999999999% durability
Amazon
S3
Real-time processing
High throughput; elastic
Easy to use
EMR, S3, Redshift, DynamoDB Integrations
Amazon
Kinesis
NoSQL Database Service
Seamless scalability
Zero admin
Single digit millisecond latency
Amazon
DynamoDB
Event-driven compute service
Run Stateless Cloud Functions in response to events
Zero administration
Trigger on S3, DynamoDB, Kinesis or custom events
AWS
Lambda
Reliable, fully-managed push notifications to devices
HTTP, Email, SMS, Mobile Push, SQS and More
Single endpoint to Push notifications to Apple, Google,
Fire OS, Windows devices
Amazon
SNS
Further Challenges / Hacking
New Service!
Supports MQTT
End-to-end encryption
Process device data on-the-fly
Read and set device state
Amazon
IoT (Beta)
Next App: The Connected Thermostat
© 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc.
Twitter: #awsiothackday
Thank You!
http://bit.ly/1O4n1gj