AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)

Post on 07-Jan-2017

297 views 2 download

Transcript of AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Tim Mattison | Partner SA - IoT segment

November 29, 2016

IoT on AWSBuild, Test, and Scale Securely

GPST302

What to expect from the session

• Walk through the seven components of AWS IoT

• Highlight partners integrating and extending AWS IoT

• Hear about partner-led, customer success stories

• Q&A

AWS IoT

AWS IoT Device SDK

• Portable

• Suitable for embedded

• Abstracts high-level functionality

• Cross-device platforms/tools from partners

• Cesanta/Mongoose IoT

• Zentri/ZentriOS

• Anaren Atmosphere

rc = aws_iot_mqtt_subscribe(&client, "sdkTest/sub", 11, QOS0, iot_subscribe_callback_handler, NULL);

AWS IoT Device SDK

AWS_IoT_Client client;

rc = aws_iot_mqtt_init(&client, &iotInitParams);

rc = aws_iot_mqtt_connect(&client, &iotConnectParams);

rc = aws_iot_shadow_update(&mqttClient, AWS_IOT_MY_THING_NAME, pJsonDocumentBuffer, ShadowUpdateStatusCallback, pCallbackContext, TIMEOUT_4SEC,persistenSubscription);

Connect

Subscribe

Update shadow

Authentication and authorization

• Certificate-based

• Mutual authentication

• Policy-driven

• Partners

• Microchip

• Device Authority

• Cesanta

Device gateway

• Fully managed service

• Long-lived connections

• Lifecycle events

• Last Will and Testament

Device shadow

• Persistent device state in the cloud

• Simplify edge and cloud code

• State change confirmation

{

"messageNumber": 1,

"payload": {

"version": 2,

"timestamp": 1469564658,

"state": {

"color": "green"

},

"metadata": {

"color": {

"timestamp": 1469564658

}

}

},

"qos": 0,

"timestamp": 1469564658309,

"topic": "$aws/things/myLightBulb/shadow/update/delta"

}

Device shadow

{

"state": {

"reported": {

"color": ”green”

}

}

}

Raw message Metadata tracked by device shadow

Rules engine

• Decouple data streams from actions

• Separate data transformation from

business logic

{"sensor1": {

"temperature": 80},"sensor2": {

"humidity": 55},"sensor3": {

"ambientLumens": 525}

}

Rules engine

Rules engine

SELECT sensor1.temperature AS temperature FROM ‘gateway’

SELECT sensor2.humidity AS humidity FROM ‘gateway’

SELECT sensor3.ambientLumens AS light FROM ’gateway’

Rules engine SQL

Rules engine

Lambda Python code

import boto3import json

def lambda_handler(event, context):client = boto3.client('iot-data')republish('sensor1')republish('sensor2')republish('sensor3')

def republish(field_name):try:

if field_name in event.keys():sensor_payload = bytearray(json.dumps(event[fieldname]))response = client.publish(topic='output', qos=0,

payload=sensor_payload)except:

pass

Registry

• Track metadata in one location

• Metadata search

APIs

• Share IoT resources across

applications

• Build native-like functionality with

CloudWatch Events

Cargotec IoT Journey with

Tata Consultancy Services (TCS) & AWS

17

Implementation Challenges

• Geographical spread of the equipment across the globe

• Diverse business units and operations across the organization

• Disparate equipment conforming to varied specifications & protocols.

• Integration with existing legacy systems and migrating them to unified Cloud

Platform

• Need for Remote On-boarding & Diagnostics

• Secure end-to-end Data and Communication Channel

TCS Sensor Data Analytics IoT Framework

RULE ENGINE

DATA SOURCES

TCS Confidential and Proprietary

STREAMING DATA

INGESTION

DATA ANALYTICS

DATA PROCESSING

TCS

SENSOR DATA ANALYTICSIOT FRAMEWORK

DEVICE

MANAGEMENT

Zero Touch Commissioning of Gateways and Devices

Remote Software\Firmware upgrade

Asset Management and Remote Terminal Access

Live Gateway Connectivity Health Reporting

Parse, Process, Persist, Rule Processing, Alerts & Notification

Distributed In-Memory Machine learning

Real-Time and Batch Analytics

Edge Data Collection and Cloud Propagation

DEVICE DATA

ACQUISITION

Technology Stack in Architecture

Sp

ee

d L

aye

r

In memory Processing Engine

Batc

h L

aye

r

Platform Management Layer

Cargotec IoT Cloud Platform

Source Data Layer Data

Consumption

Layer

Application

Development

Layer

Data Storage Layer

Sensors

Third-party Data

Enterprise Data

Unstructured Data

Gateway

Consumption

Interfaces

LayerReal-time

Data

Acquisition

Batch Data

Acquisition

Data Acquisition

Layer

Metadata ManagementWorkflow

Orchestration

Security

Native

Connectors

SFTP/HTTPS

Platform Management AWS IAM

eMQTT ELB

Batch Processing Engine

Concluding remarks

New digital services will heavily impact cargo handling industry

Digital offering creation requires renewal of ways of working, e.g. agile

development, internal cross-divisional collaboration and co-creation

with customers

Value propositions should address improvement of customer

processes and operations instead of only monitoring a single

component or machine in the process

High-value (but also high risk) business cases require taking new

positions in the value chains

Cargotec IoT Cloud platform enables rapid development of digital services

and value delivery to our customers

“TCS Leader in

Internet of Things”

(2016)

Thank you!

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Peter Utzschneider, Accenture Managing Director

11/17/2016

Delivering IoT ValueWith Accenture and Amazon Web Services

What to Expect from the SessionTo tap into the value of IoT, Accenture and AWS have jointly developed a scalable

and flexible reference architecture

Insights into CPaaS AWS

IoT joint architecture

including the APIs, device

gateway, rules engine, data

flows and device shadows

Lessons learned on how our

architecture enables rapid

development, deployment,

and management of IoT

applications

Best practices from

customer implementations

that demonstrate actual

deployment into production

for success

Platform Driven IoT GrowthMore Use, More Apps, More Data, More Insights

AWS and Accenture DigitalExtending our strategic alliance to provide Internet of Things solutions

Take advantage of our solution stackAccenture and AWS accelerate digital transformation

CPaaS with AWS IoT Joint Reference Architecture

Transforming Use Cases into IoT Value

Interaction Mediation Transformation

CPaaS with AWS IoT Adoption PrinciplesInfrastructure to service transformation, insight from cloud to edge

Creating Value for a Multinational Energy Company

A Connected Home end to end solution that combines IoT and Mobile technologies to

enable utility and energy companies to improve and optimize services and insights.

New Revenue

Streams

OutcomesConnected Home Operations (Verticals)

Platform

Optimization

Data

Storage

CPaaS with AWS IoT Platform

Device

Manager

System

IntegrationIndustry

EnablersApps

Smart Devices

Innovative Value

Added Services

Higher Customer

Engagement

Extending Our Capabilities into the FutureAccenture CPaaS with AWS bridging consumers, products and service

providers for IoT

CPaaS

with

AWS IoT

Remember to complete

your evaluations!

Thank You!

Questions & Answers