internet of things (iot) hackday

32
Internet Of Things (IoT) HackDay Tom Maddox Twitter: #awsiothackday

Upload: amazon-web-services

Post on 17-Jan-2017

2.770 views

Category:

Business


2 download

TRANSCRIPT

Page 1: Internet of Things (IoT) HackDay

Internet Of Things (IoT) HackDay

Tom MaddoxTwitter: #awsiothackday

Page 2: Internet of Things (IoT) HackDay

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

Page 3: Internet of Things (IoT) HackDay

Internet of Things is Real

Page 4: Internet of Things (IoT) HackDay

Create New ServicesDiscover New

Insights

Empower

People

Find New

markets

Create New Services

Page 5: Internet of Things (IoT) HackDay

AWS Cloud = Scaling Internet of Things

Global Footprint

Massive Ecosystem

Free Data Inbound

Dedicated Support

Rapid Pace of Innovation

Page 6: Internet of Things (IoT) HackDay

Amazon Web Services

Page 7: Internet of Things (IoT) HackDay

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

Email

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

Email

Sharing &

Collaboration

Virtual

Desktop

Technical &

Business Support

Account

Management

Partner

Ecosystem

Professional

Services

Security &

Pricing Reports

Solutions

ArchitectsSupport

Training &

Certification

Page 8: Internet of Things (IoT) HackDay

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

Page 9: Internet of Things (IoT) HackDay

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

Page 10: Internet of Things (IoT) HackDay

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

Page 11: Internet of Things (IoT) HackDay

AWS IoT HackDay

Page 12: Internet of Things (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

Page 13: Internet of Things (IoT) HackDay

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?

Page 14: Internet of Things (IoT) HackDay

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

Page 15: Internet of Things (IoT) 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

Page 16: Internet of Things (IoT) HackDay

Your Initial Goal: The Connected Maraca

Page 17: Internet of Things (IoT) HackDay

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

Page 18: Internet of Things (IoT) HackDay

Intel Edison

Page 19: Internet of Things (IoT) HackDay

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!

Page 20: Internet of Things (IoT) HackDay

Visualization

HackDay Dashboard

Team Leaderboard

Team Dashboard

JavaScript

IoT HackDay - Visualization

• Leaderboard

• Team Status View

• Dashboard

• Team Sensor View

• Browser Listener

Page 21: Internet of Things (IoT) HackDay

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()

Page 22: Internet of Things (IoT) HackDay

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

Page 23: Internet of Things (IoT) HackDay

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

Page 24: Internet of Things (IoT) HackDay

Store anything

Object storage

Scalable

99.999999999% durability

Amazon

S3

Page 25: Internet of Things (IoT) HackDay

Real-time processing

High throughput; elastic

Easy to use

EMR, S3, Redshift, DynamoDB Integrations

Amazon

Kinesis

Page 26: Internet of Things (IoT) HackDay

NoSQL Database Service

Seamless scalability

Zero admin

Single digit millisecond latency

Amazon

DynamoDB

Page 27: Internet of Things (IoT) HackDay

Event-driven compute service

Run Stateless Cloud Functions in response to events

Zero administration

Trigger on S3, DynamoDB, Kinesis or custom events

AWS

Lambda

Page 28: Internet of Things (IoT) HackDay

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

Page 29: Internet of Things (IoT) HackDay

Further Challenges / Hacking

Page 30: Internet of Things (IoT) HackDay

New Service!

Supports MQTT

End-to-end encryption

Process device data on-the-fly

Read and set device state

Amazon

IoT (Beta)

Page 31: Internet of Things (IoT) HackDay

Next App: The Connected Thermostat

Page 32: Internet of Things (IoT) HackDay

© 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