Serverless IoT at irobot. Ben Cloud Robotics Research Scientist

Similar documents
Oracle Real Application Clusters (RAC) 12c Release 2 What s Next?

THE VALUE IS IN THE SOFTWARE

Room Temperature Control and Fire Alarm/Suppression IoT Service Using MQTT on AWS

A New Approach to ESB Migration Building a foundation for Digital Business

Enterprise Service Bus

Enterprise GIS Architecture Deployment Options

XYZ XYZ XYZ XYZ XYZ XYZ. Energy Utility Based billing for Individual Tenants. Comprehensive Base Station Monitoring. Diesel Generator Monitoring

Moving to the Cloud: The Potential of Hosted Central Station Services

This is your cloud. Paris OpenStack Summit

Enterprise Application Mashup Architecting the Future

the connected Moving to home

Using ANM Mobile CHAPTER

Skyresponse ThingWorx Extension. Version 1.0. User Guide

LumaWatt Pro Wireless Connected Lighting System powered by Enlighted

Intelligent Alarming Leverages Industrial Internet of Things to Reduce Risks and Costs

Secure Your Way of Life. Now Compa ble With. Climax Home Portal Platform. Enable a Connected Future

Before you install ProSeries Express Edition software for network use

TPS Virtualization and Future Virtual Developments Paul Hodge, Honeywell

Integration Test Plan

GPS-based Dig-In Prevention System. Gas Technology Institute and PG&E August 8 th 2017

Accelerating Industry 4.0 with ifactory SRP (Solution Ready Platform) Chotivate Pheanphobsuk IIOT Sales Manager June 16, 2017

LEGO, the LEGO logo are trademarks of the LEGO Group Burglar Alarm

Practical Home Automation

Esri Maps for MicroStrategy: Tips and tricks Chaka Clarke & Constantinos Papantoniou

Artificial Intelligence Enables a Network Revolution

Flash einfach schnell ohne Kompromisse

Operational Concept Description (OCD)

Sustain.Ability. Alarm Management: Be Pro-active, not Re-active Honeywell Users Group Europe, Middle East and Africa. Tyron Vardy, Honeywell

ESB Tools Reference Guide. Version: GA

THE NEXT SMART HOME GENERATION

WHITE PAPER FEBRUARY Oracle Retail: Optimize Performance and Reduce Business Risk

Presented at the ISPE ISA Automation Forum VP, Engineering Services

HOW YOUR UNIVERSITY OR SCHOOL CAN SUPPORT EARTH HOUR

Convergence: The Integration of Lighting and Micro Sensor Technology

Smart Monitoring Systems. for Property Management SMART SOLUTIONS. Property Management DOORS & WINDOWS TEMPERATURES LIGHTS CARBON MONOXIDE

Installing a VNC Server

A whole house leak detector story

Machine Diagnostics in Observer 9 Standard Rules

Aquarius - Spectrum. multi-layer acoustic water pipe monitoring solutions. Game changer in water network management

Construction Set: Smart Home

From monoliths to clusters: transforming ALA s infrastructure

etell Intelligent Controls Advanced Air Quality Controls for Dust Collection Systems

A Low-Cost Intelligent Thermostat Incorporating a Learning Algorithm Based Scheduler and Internet Accessible Control Interfaces

ASSA ABLOY Hospitality Mobile Access

Before you install ProSeries software for network use

DynAMo Alarm & Operations Management

Introduction PLAYING NICE: HVAC AND LIGHTING CONTROLS INTEGRATION. Why should I care? Background Integration VAV box Occ sensor

ADVANCED MONITORING AND DIAGNOSTIC SYSTEMS FOR INDUSTRIAL GAS TURBINES

EVERY SECOND COUNTS CONNECTED SAFETY SOLUTIONS

Case Studies in Lighting Efficiency Honeycomb Intelligent Lighting Controls Kenneth Seeton

PRESENTS AQUADUCT AUTOMATED WATER-LEAK MONITORING SYSTEM A KINGPIN TECHNOLOGY

Frameworx 16.0 Product Conformance Certification Report CENX V6.1

Remote Pump Monitoring

HikCentral Web Client. User Manual

Smart Wellness. Yoshio Sekiguchi Sr. General manager, Micro Devices H.Q. OMRON Corporation

Welcome. Challenges in Multi-Site Environmental Monitoring. Balancing Standardization and Localization for Costs, Risks, and Best Fit

ASSA ABLOY Hospitality Mobile Access

Emerson s Pervasive Sensing strategies enable plants to realize full potential of Industrial IoT

INDEPENDANT LIVING SOLUTIONS

Integrated Security and Building Automation Technology Solutions and Services. SDI Security Center of Excellence Charleston, SC

2012 Honeywell Pacific Users Group. Sus tain.ability.

Setting up Homebase, Exporting and Importing time clock files into OptRight Online

ARGUS SERVER SYSTEM. Inspired Systems Pty Ltd 70 Mordaunt Circuit, Canning Vale, Western Australia Ph Fax

The Centron Presidio Monitoring System. Centron. Presidio. Rees Scientific. An ISO 9001:2008 Company

2015 Honeywell Users Group Europe, Middle East and Africa. Incident Response at your Fingertips Adrian Fielding, Honeywell

Q&A Session from Alarm Management Workflow Webinar (Apr.24/2013)

Your Own Smart Home Solution Present by GKB Team

User Advocacy Group. Rohit Gupta

Needs, goals, and pain points addressed

IMAGINE IOT PROTOTYPE CHALLENGE

Evaluating Cost and Energy Implications in Refrigerator Design

Making the Most of Alarms

Avigilon Control Center 5 System Integration Guide. with STENTOFON AlphaCom. INT-STENTOFON-C-Rev1

Fike Safety y Technology Ltd

KEY FEATURES EASY ACCESS. Through web browser for both clients and administrators CLIENT MONITORING. Not dependent on access to site network

Facility Commander Wnx

This Tech Note provides detailed procedures to configure Remote Response objects to trigger an alarm and acknowledge it via or SMS.

COSEC Access Control. Right People in Right Place at Right Time

Dynamic Solutions. Endless Possibilities. Steve Padasack, Finch Paper LLC Rick Van Fleet, Honeywell

What Utility Analytics means to Exelon

Gerrie Benjert 26 September INTEGRATED TERMINAL AUTOMATION Safety, Security and Operations

Monitoring. Catalog Data Input Processing M2M Transfer SW Applications.

Introduction. Application Versions. Keys For An Alarm Query To Be Successful. Tech Note 821 Troubleshooting Wonderware Alarm Provider Query Issues

Improved Lifecycle Management for BI. David Brockington SAP Business Objects, Product Management June, 2009

Monitoring. Catalog Data Input Processing M2M Transfer SW Applications.

KELTRON LS 7000 ALARM MANAGEMENT SYSTEM Keltron Alarm Monitoring, Dispatch, and Reporting Software

2019 Price List. Company Overview. Gateways. Super Gateways. paragonrobotics.com GW3 GW10

Field Products. Experion LX. Proven DCS for a wide range of industrial applications

ASCO PowerQuest Power Monitoring and Control Systems

SAFETY MANAGER SC Ensure safety, simplify operations and reduce lifecycle costs

HikCentral Web Client. User Manual

ArcGIS Data Reviewer. Planning and Deploying Data Quality Services. Edwin Waite & Shankar Chandrasekaran. Esri UC 2014 Technical Workshop

Lesson 11 Internet Connected Environment (Weather, Air Pollution and Forest Fire) Monitoring

ESB Tools Reference Guide. Version: CR2

Electrolux Overseas Green Activities

Itron Water Loss Management Solutions. Advanced Digital Leak Detection Overview Session

HOW YOUR BUSINESS CAN SUPPORT EARTH HOUR

Performance Evaluation of Event Detection Solutions: the CREDS experience

Homework 8: Patent Liability Analysis Due: Thursday, March 24, at Classtime

G4S Investor Presentation John Kenning, Regional CEO, North America. NYC December 2017

Transcription:

Serverless IoT at irobot Ben Kehoe Cloud Robotics Research Scientist

About me Cloud Robotics Research Scientist at irobot Serverless evangelist AWS Community Hero irobot 2017 2

irobot 2017 3

Cloud Robotics: Connecting robots to the internet to help them do more and better things irobot 2017 4

1 What is serverless? 4 Serverless deployment at irobot 2 irobot's journey 5 Serverless ops at irobot 3 Serverless architecture at irobot 6 Serverless organizations irobot 2017 5

1 What is serverless? irobot 2017 6

What is serverless? The wrong first question irobot 2017 7

What does serverless do? Cheaper Faster Leaner Better irobot 2017 8

What serverless is not FaaS Event-driven compute Never paying for idle Containers? Public cloud irobot 2017 9

Serverless is a spectrum Increasing serverless-ness with: Service-full + emphemeral compute Resources billed resources used Smaller, more abstract control plane irobot 2017 10

What does serverless do? Cheaper Faster Leaner Better irobot 2017 11

Cheaper % cost at idle On prem IaaS PaaS Serverless Not to scale irobot 2017 12

Faster, Leaner Effort Codebase size On prem IaaS PaaS Serverless Dev Ops DiffOps On prem IaaS PaaS Serverless Business logic Other code Infra Not to scale irobot 2017 13

2 irobot's journey irobot 2017 14

2015 irobot 2017 15

irobot 2017 16

irobot 2017 17

irobot 2017 18

Then irobot 2017 19

Then Now irobot 2017 20

Then Now Future irobot 2017 21

Then Now Future 2015 irobot 2017 22

AWS IoT irobot 2017 23

AWS IoT Serverless Event-driven Scalable Integrates with AWS ecosystem Device shadows Integrates with your process irobot 2017 24

IoT + serverless A natural fit Event-driven Scalable Lean for device makers Reverse: AWS Greengrass Focus irobot 2017 25

CA Certificate Authenticated MQTT over TLS AWS IoT Robot certificate signed by CA irobot 2017 26

CA Certificate AWS IoT Great Firewall HSM Signed certificate Assembly Factory line Certificate Public key Private key irobot 2017 27

irobot 2017 28

Long story short: success! Fully serverless production cloud 2 million connected robots by 2018 Mostly serverless analytics platform Basis for future data-powered platform irobot 2017 29

irobot scale Production application: 100+ Lambda functions 25 AWS services 0 unmanaged EC2 instances AWS footprint: ~50 accounts, growing constantly 1000s of Lambda deploys per day Low single digit FTE supporting operations irobot 2017 30

Long story less short Architecture Deployment Operations Organizational irobot 2017 31

4 Serverless architecture at irobot irobot 2017 32

Before serverless aka the dark ages def foo(input): quux = bar(input.baz) internalstate.quux = quux def bar(input): # do work return result EC2 irobot 2017 33

Lambda functions Foo Bar def handler(event, context): # do work return result def handler(event, context): quux = Lambda.Invoke( 'bar', event['baz']) DynamoDB.PutItem( 'quux', quux) ExternalState DynamoDB irobot 2017 34

Queues AWS IoT Dead Letter Queue AWS IoT operations Create Shadow Permissions API Gateway /register Check Cert Robots to Register Queue Reader Logging Lifecycle event irobot 2017 35

Serverless architecture Call graph component graph Distributed system thinking Traditionally occurs at system boundaries Serverless: must be treated systematically Build robust-by-design systems Better irobot 2017 36

Request IoT topic Lambda handler Presigned URL S3 Response IoT topic Presigned URL + symmetric key encrypted with robot public key Symmetric encryption key Robot public key Key Management Service Robot certificate HTTPS call to presigned URL Object encrypted with symmetric key S3 blob store irobot 2017 40

3 Serverless deployment at irobot irobot 2017 43

Then Now Future 2015 irobot 2017 44

irobot 2017 45

Deployment tool: cloudr Collective noun for cats: "clowder" Designated cat herder: CloudFormation Custom resource Lambdas Github repo: irobotcorporation/cfnlambda S3 blob store Zipped functions Custom resource Lambda CFN stack CFN template Source irobot 2017 46

Red/Black deployments irobot 2017 47

Hosting multiple versions Serverless = no overhead to red/back IoT makes things tricky Data stores, etc. have separate life cycle irobot 2017 48

Deployed system architecture Application Proxy resources Resources v1 A1 B1 A1 B1 C1 C1 v2 A1 B2 B2 v3 C1 v4 A1 B2 C1 D1 D1 irobot 2017 49

5 Serverless operations at irobot irobot 2017 53

Monitoring Sumo Logic Essential for log sleuthing Get all data associated with an artifact immediately across all accounts Provides quantitative metrics on fleet health Alarms and notifications Extensive use of CloudWatch as well irobot 2017 54

DevOps Developers can be platform testers, canaries, and guinea pigs Same environment in the platform as production Orders of magnitude more churn Exercises the account limits Tests metrics to determine relevance and meaning Bonus Developer activity provides additional visibility into how the platform is currently behaving Higher volume of deployments in many different AWS accounts means problems found quickly This can alert us prior to problems hitting prod irobot 2017 58

Visibility AWS IoT today has a ton of metrics At launch, it had <10 Without throttling metrics, thing shadow updates, or WebSocket metrics it was hard to debug issues Especially early on with small numbers of robots Can I connect? How many publishes? Load scale, are we over our limits? Metrics are our portal : Example AWS IoT irobot 2017 59

AWS Enterprise Support Enterprise Support has been a valuable resource They are our eyes and ears within AWS Engage with them to run load tests, understand account limits Our AWS Support team has made the effort to understand our technology choices All of our AWS users, companywide, benefit from being able to create tickets irobot 2017 60

The future of improved AWS visibility Looking toward the horizon Metrics, metrics, metrics Service teams are always on the lookout for which new metrics to include connect with them and share your requests! Kinesis shard-level metrics, Lambda iterator ages, all added with user input and makes a real difference in understanding system performance Personal Health Dashboard Per-account service health means AWS can update those affected customers more directly When performance is degraded, status is important for ops to show evidence that it isn t a problem with our software irobot 2017 61

6 Serverless organizations irobot 2017 62

Conway's Law Heed the warning Information flow is different in serverless architecture Organization must change for architecture to succeed https://commons.wikimedia.org/wiki/file:gospers_glider_gun.gif irobot 2017 63

DiffOps Servers serverless is like on-prem cloud Easier overall and in most respects But also includes new challenges Outsourcing doesn t mean you do zero work Being clear about this organizationally is critical irobot 2017 64

The cloud has weather No provider is immune to problems Small effects are more common than big outages More services = blips could be encountered more frequently This comes with the territory Set expectations internally Architecting robustly is key irobot 2017 65

Visibility You only know what the provider tells you Architecture Security Operations How do they actually do all of the stuff they do? Many known unknowns and unknown unknowns Unknown unknown unknowns: what you don t know that they don t know they don t know irobot 2017 66

Reacting to incidents First: gather data Root cause: our code or platform? Own the impact to your customers Diagnose your applications' handling of incident Live and postmortem Aftermath irobot 2017 67

7 Summing up irobot 2017 68

Serverless Serverless is: Cheaper Faster Leaner Better Serverless-ness goes with: Service-full + emphemeral compute Resources billed resources used Smaller, more abstract control plane irobot 2017 69

Serverless at irobot Successfully transitioned from turnkey to application built on public cloud Skipped learning to build elastic cloud infrastructure Fully serverless production application irobot 2017 70

Lessons learned Serverless deployment is still not a solved problem Call graph component graph Visibility is the biggest operations obstacle irobot 2017 71

Serverless organizations Conway's Law Cloud has weather Set expectations Focus on TCO irobot 2017 72

Questions?