aws re:invent 2016: iot: build, test, and securely scale (gpst302)

34
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Tim Mattison | Partner SA - IoT segment November 29, 2016 IoT on AWS Build, Test, and Scale Securely GPST302

Upload: amazon-web-services

Post on 07-Jan-2017

297 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: 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

Page 2: AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (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

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

AWS IoT

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

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

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

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

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

Authentication and authorization

• Certificate-based

• Mutual authentication

• Policy-driven

• Partners

• Microchip

• Device Authority

• Cesanta

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

Device gateway

• Fully managed service

• Long-lived connections

• Lifecycle events

• Last Will and Testament

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

Device shadow

• Persistent device state in the cloud

• Simplify edge and cloud code

• State change confirmation

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

{

"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

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

Rules engine

• Decouple data streams from actions

• Separate data transformation from

business logic

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

{"sensor1": {

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

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

"ambientLumens": 525}

}

Rules engine

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

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

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

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

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

Registry

• Track metadata in one location

• Metadata search

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

APIs

• Share IoT resources across

applications

• Build native-like functionality with

CloudWatch Events

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

Cargotec IoT Journey with

Tata Consultancy Services (TCS) & AWS

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

17

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

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

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

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

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

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

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

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)

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

Thank you!

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

© 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

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

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

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

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

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

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

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

Take advantage of our solution stackAccenture and AWS accelerate digital transformation

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

CPaaS with AWS IoT Joint Reference Architecture

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

Transforming Use Cases into IoT Value

Interaction Mediation Transformation

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

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

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

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

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

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

providers for IoT

CPaaS

with

AWS IoT

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

Remember to complete

your evaluations!

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

Thank You!

Questions & Answers