Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Transformation with WSO2 IoT Server

765 views

Published on

IoT and mobile computing are at the heart of many organizations’ digital transformation initiatives. Together, these technologies are enabling enterprises to innovate new business models and solutions that enhance customer and partner interactions, optimize supply chain logistics, and improve operational efficiency. Implementing a scalable and extensible IoT architecture is key for this transformation.
WSO2 IoT Server offers an extensible framework for device manufacturers to write plugins for various types of devices they wish to integrate with. Data gathered from devices can be processed with batch and real-time analytics and this data can even be fed into a prediction engine. Devices can be exposed as managed APIs for integration. On top these, it offers a complete enterprise mobility management (EMM/MDM/MAM) solution for enterprises looking to manage employees’ mobile devices.
This talk will give you an introduction to the key capabilities of WSO2 IoT Server and discusses how it can be extended to build a scalable IoT architecture.

Published in: Technology
  • Be the first to comment

WSO2Con USA 2017: Building Enterprise Grade IoT Architectures for Digital Transformation with WSO2 IoT Server

  1. 1. Building Enterprise Grade IoT Architectures for Digital Transformation with WSO2 IoT Server Sumedha Rubasinghe Director - API Architecture WSO2
  2. 2. Plan for IoT Track • Building Enterprise Grade IoT Architectures for Digital Transformation • Hands on - Android and EMM • Hands on - Understanding WSO2 IoT Framework • Two customer stories • Panel Discussion
  3. 3. Plan for this session • Three topics (90 mins) – How enterprises can digitally transform with Devices? – How WSO2 can help in digital transformation? – Key Architectural considerations when building IoT Architectures
  4. 4. Reference : http://www.sap.com/documents/2016/05/0eea93b3-707c-0010-82c7-eda71af511fa.html
  5. 5. Topic 1: How Enterprises can digitally transform with devices?
  6. 6. Amazon - already digitized enterprise - expanding further with devices
  7. 7. Automobile Industry - On an ever increasing battle on device integration and servicesReferences : https://cbi-blog.s3.amazonaws.com/blog/wp-content/uploads/2016/05/1-unbundling-car.png https://www.deltapartnersgroup.com/sites/default/files/exhibit%202.1.png
  8. 8. Role of Devices in Digital Transformation
  9. 9. Devices = Mobiles + Rest of Things (IoT)
  10. 10. Role of Devices in Digital Transformation • Mobile devices –manage, secure employees’ mobile devices (MDM) –adopt BYOD/COPE mobile application management (MAM) strategies Then Now
  11. 11. Role of Devices in Digital Transformation • IoT devices (every other device type) –Foster business innovation/increase business opportunities –Streamline business operations/improve efficiency/cost savings/increase productivity –Enhance asset utilization/optimize supply chains –Integrate your enterprise assets to your digitally transformed enterprise –Create new digital business opportunities with digital products –Understand consumer behaviour and provide better consumer experience
  12. 12. Stories from our customers..
  13. 13. Refer : http://wso2.com/library/conference/2015/06/wso2con-eu-2015-ibeacons-events-processing/
  14. 14. 60 beacons going from the central station of Amsterdam to the Scheepvaart Museum (Nautical Museum) and former marine base (Marine Terrein), slightly more than 3.4 kilometers in distance
  15. 15. So.. when are you going digital with devices?
  16. 16. Define your strategy first..
  17. 17. Business Planning Product Building Operational Scaling Support Value Creation Sustainability Device Strategy
  18. 18. Business Planning • Who are you? / Who do you want to be? Device Manufacturer Develops hardware, basic software showcasing device capabilities Application Developer Build IoT applications on top of existing hardware System Integrator Integrates IoT applications together to bring greater value to an industry Device User End users/enterprises using devices and applications for business / personal tasks
  19. 19. Business Planning • Who are you? / Who do you want to be? –Device Manufacturer –Application Developer –System Integrator –Device User • Which Industry and Market ? • Target customer or business engagement
  20. 20. Build Strategy • Device Manufacturer –Example decisions to make •Robustness (indoor use, outdoor, operating temperatures) •Existing protocols or develop new •Use existing chipset or design new •Security •Power consumption
  21. 21. Build Strategy (contd..) • Application Developer –Example decisions •Which device(s) to choose •Choosing a software platform (or building from scratch) –Device Management –Data Storage & Analytics (real time, batch, machine learning), dashboarding –Integration capabilities (standards, built in connectors) –Security •Application Distribution - App Store? •Application logic vs power consumption
  22. 22. Build Strategy (contd..) • System Integrator –Example decisions to make •What is the integration platform to use? Or build one from scratch? •Security •Protocols / connectors / message formats to support •Delivery / transaction guarantees / message brokering •How to perform analytics? •How to expose APIs? •How to create dashboards?
  23. 23. Build Strategy (contd..) • Device User –Example decisions to make •Is this the right device? –Functionality, power consumption, mobility, security •User friendly application? •Data (ownership, security, retrievability, ..) •Ownership - BYOD / COPE
  24. 24. Operational Strategy • Device Failure Detection • Anomaly Detection • How to push firmware/software updates –Push –Pull • How to reset? • Users capable of operating the devices? • Migrating manual processes to digitized ones
  25. 25. Scaling Strategy • Where to scale? • How to scale? • Pattern recognition –Usage patterns –Failure patterns • Throttling • Server vs Edge computing
  26. 26. Support Strategy • What to do when a remote device fails?
  27. 27. Value Creation Strategy • How to measure the impact of device integration? • How do you stop your product or service from degrading in value? • How to capture new values and get a competitive advantage? • Capture new insights and increase diversification (E.g. Retail)
  28. 28. Sustainability - Technology • IoT is a rapidly evolving space –New devices –New processing capabilities • Is the platform open enough to connect? –New devices –New systems • Is there a vendor lock-in? –License fees paid upfront for N years ahead –Who owns the data?
  29. 29. Sustainability - Data Security Source : http://www.truste.com/blog/2014/05/29/internet-of-things-industry-brings-data-explosion-but-growth-could-be-impacted-by-consumer-privac y-concerns/ Privacy of speech - Voice assistants -Smart TVs
  30. 30. Sustainability - Data Security • Are apps (mobile) written using containerization? • Where is data stored? –App and data are separated? –Who has access to data? –Data Filtering technique •Application level or data storage based?
  31. 31. Sustainability - Legal Challenges • Privacy and security • Regulations in different parts of the world • Chain of liability • Complex ownership scenarios • Availability of bandwidth and net neutrality • Automated contracts Source : http://www.techrepublic.com/article/potential-iot-legal-challenges-should-be-hitting-your-enterprise-radar/?ftag=TREa988f1c&bhid=22382528 094118196648159014619331
  32. 32. Topic 2: How WSO2 can help Digital Transformation
  33. 33. Technologies for Digital Business API Management Integration Identity & Access Mgt Streaming Analytics IoT Reference : http://www.sap.com/documents/2016/05/0eea93b3-707c-0010-82c7-eda71af511fa.html
  34. 34. We first started with WSO2 Enterprise Mobility Manager • 1.0.0 (2013) -> 1.1.0 -> 2.0.0 -> 2.0.1 -> 2.1.0 -> 2.2.0 (2016 November)
  35. 35. EMM to IoT - Evolution • Renaming WSO2 EMM to WSO2 IoT 3.0.0 • Generalized device management platform –Going beyond EMM needs –IoT Specific transports, message delivery channels • Plugins for different device types (eg: Android, iOS, Windows, etc ..) • Scenario specific Analytics
  36. 36. In world of devices, you will be one of ... Device Manufacturer Develops hardware, basic software showcasing device capabilities Application Developer Build IoT applications on top of existing hardware System Integrator Integrates IoT applications together to bring greater value to an industry Device User End users/enterprises using devices and applications for business / personal tasks IT / Infra Admins Manages IT infrastructure and its services offered to employees, customers, partners CTO / CIO Responsible for overall enterprise strategy on digital content, distribution and access Device Users Employees of an enterprise using mobile devices EM MIoT
  37. 37. IoT Server is for... • IT Admins – Looking for a OOB EMM solution that can scale, extend and integrate with existing systems (eg: IAMs) • Device Manufacturers / Vendors (OEM) – Looking for software processing platform for new devices •Registering new device types, enrolment extensions, dashboard building, appdev lifecycle mgt • Architects ( Application Developers / System Integrators) – Integrating device data (in/out) to existing solution architectures – Analytics for existing device deployments – Device Management (registration, metadata repository) OOB solution for EMM Platform for IoT
  38. 38. Goto market strategy • EMM –Why? • Android for IoT –Why? •Several existing customers •Google’s Android Things •Apple, Microsoft, Google, Samsung IoT Strategies • IoT Platform for any device type
  39. 39. How we understand IoT ecosystem...
  40. 40. IoT Ecosystem
  41. 41. IoT Ecosystem - Challenges Identity Mgt Integration App Distribution API Portal for Developers Registration Sharing Failure/Anomaly Detection Analytics Scalability Event Mgt Security
  42. 42. Introducing WSO2 IoT Server
  43. 43. Key Components
  44. 44. Distribution Structure Analytics Core Message Broker IoT Server WSO2 DAS + IoT Analytics Separate JVMs, ships with SSO configured, ports offsetted WSO2 Message Broker Core platform Plugins bin
  45. 45. Typical Deployment CoreLB Analytics Key Manager Gateway [Core] Device1 Device2 Device3 Device4 3rd Party Systems Message Broker
  46. 46. Cloud Deployment
  47. 47. Topic 3: Key Components for building IoT Architectures
  48. 48. Source : https://espressif.com/en/products/hardware/esp8266ex/overview
  49. 49. Setup WSO2 IoT Server ESP 8266 - 12E Wifi Router
  50. 50. Setup
  51. 51. Setup Device WiFi IoT Server
  52. 52. Setup Device WiFi IoT Server Agent ESP 8266 Device API Graphs
  53. 53. Setup Device WiFi IoT Server Agent ESP 8266 Device API Graphs Provided by IoT Server Provided by IoT Server
  54. 54. Setup Device WiFi IoT Server Agent ESP 8266 Device API Graphs Provided by IoT Server Provided by IoT Server Device Plugin Device Plugin Device Plugin
  55. 55. Device Type Plugin
  56. 56. DeviceManagementPlugin Interface defined by WSO2 Device Management Component
  57. 57. DeviceManagementPlugin Interface defined by WSO2 Device Management Component
  58. 58. DeviceAPI Swagger annotations JAX-RS Service defining device’s capabilities Access Permission Model
  59. 59. DeviceAPI Device Management APIs available for ownership based access control
  60. 60. DeviceManagementUI
  61. 61. AnalyticsScripts Stream definition for temperature Payload Data Meta Data
  62. 62. AnalyticsScripts Summarising temperature data into a table
  63. 63. Device Registration / Identification Management • Managing Device Identity • Human Identity / Device Mapping • UMA support (coming up) • Industrial devices vs consumer devices • Extensible Enrolment methodologies –API endpoints –QR code –Self enrolment / auto enrolment / bulk enrolment –Workflow extensions
  64. 64. Integration • Built-in API G/W is powered by WSO2 Enterprise Integration capabilities • Comprehensive connector support –https://store.wso2.com
  65. 65. Application / Firmware Delivery Management • Supports Android App Delivery
  66. 66. Scaling CoreLB Analytics Key Manager Gateway [Core] Device1 Device2 Device3 Device4 3rd Party Systems Message Broker
  67. 67. Public Cloud Managed Cloud ?? Private cloud managed by WSO2 devops team on a customer provided environment
  68. 68. Enterprise Mobility Management • A solution on top of generic IoT Framework to deal with EMM. –For enterprises to manage mobile devices •BYOD, COPE, COSU –Android, iOS, Windows as device types –Mobile device specific policies •Eg: Camera on/off, Silence, Passcode rules, Wifi rules, etc.. –Mobile Application Management –Enterprise Wipe, locate me
  69. 69. Extending WSO2 IoT Server • Writing new device types • Transport extensions • Authentication extensions • Adding Analytics capabilities • Building dashboards • Creating integration scenarios
  70. 70. First .. understand the Metadata Model for Device Mgt
  71. 71. Writing new device types • Currently supported types for demo purposes –Raspberry Pi, Arduino Uno, Android Sensors, ESP 8266 •Maven Archetype - https://docs.wso2.com/display/IoTS300/Creating+a+New+Device+Type • Writing new device types https://docs.wso2.com/display/IoTS300/Device+Manufacturer+Guide
  72. 72. Writing Transport Extensions • Currently supported transports –MQTT –XMPP –HTTP • WIP –CoAP –AMQP –OCP (for PLCs)
  73. 73. Device Management Standards • Lightweight M2M –Integration with Eclipse Leshan • OMA DM (WIP)
  74. 74. Security
  75. 75. Authentication Mechanisms for Devices • OAuth2 –OAuth2 token is issued per every device instance connected –Each device instance is creating an OAuth2 client application using Dynamic Client Registration (DCR) endpoints –Token Verification available for HTTP & MQTT protocols • SCEP (Simple Certificate Enrollment Protocol) –Each device is identified to IoT Server (and vice versa) using a SSL certificate –(capable) Device is sending a certificate sign request (CSR) with unique identifier (challenge password) generated by IoT Server
  76. 76. IoT Analytics Extensions
  77. 77. IoT Analytics
  78. 78. Built-in Analytics Support • Moving Dots –Speed –Geo Fencing • Failure detection (planned) • Anomaly Detection (planned)
  79. 79. IoT Analytics - Multiple Levels
  80. 80. Future Directions • Generic Policy Management Framework • Edge Computing support
  81. 81. Thank You!

×