LFD213 Getting Started with Edgex Foundry | the Linux Foundation

Total Page:16

File Type:pdf, Size:1020Kb

LFD213 Getting Started with Edgex Foundry | the Linux Foundation Training: The Linux Foundation LFD213 Getting Started with EdgeX Foundry Training: The Linux Foundation LFD213 Getting Started with EdgeX Foundry TRAINING GOALS: LFD213 was developed in conjunction with LF Edge, an umbrella organization under The Linux Foundation that aims to establish an open, interoperable framework for edge computing independent of hardware, silicon, cloud, or operating system. The course is designed for IoT and/or edge software engineers, system administrators, and operation technology technicians that want to assemble an edge solution. In this course, you will learn what EdgeX is, how it works and how to get it and use it in your Edge solutions. Specifically, you’ll learn how EdgeX is architected, how to download and run EdgeX, and how to configure and extend EdgeX in those cases where you need to. In many cases, EdgeX requires no or little programming experience. Unless you wish to modify or extend the underlying platform services, EdgeX can be deployed as is. But through this course, you will learn about likely extension points to connect EdgeX to specific things or IT systems and how to do that with EdgeX-provided software development kits (SDKs). Chapter 2 will cover the basics of the EdgeX: how did the project start and where did it come from, who is behind EdgeX Foundry, what’s the platform’s architecture and how does it work to get sensor data from IoT things to IT systems. Chapter 3 focuses on device services, which connect physical sensors and devices to the rest of EdgeX. You will learn about the existing device services provided with EdgeX today, but you’ll also see how to create your own device services using the EdgeX-provided SDK when you need to extend EdgeX to talk to a new device or communicate via a new “thing” protocol. Chapter 4 addresses getting data from EdgeX to enterprise applications, cloud systems, external databases, or even analytics packages. In this chapter, you’ll explore EdgeX application services, you’ll learn how to use the existing capability to export the sensor data that EdgeX collects to IT systems, and, when necessary, how to create your own custom service to do so using another EdgeX-provided SDK. The hands-on labs will have you get and run EdgeX and play with some of its important APIs. Both device services and application services are built with an EdgeX-provided SDK. The labs will also help you use the SDK to create a simple service (either device or application service) and integrate it into the rest of EdgeX. Chapter 3 and 4 can be taken in any order and are largely independent of one another. Course objectives: Run EdgeX Configure and extend EdgeX when needed www.compendium.pl page 1 of 3 Compendium Education Center Ltd. BNP Paribas Bank Polska S.A. ul. Tatarska 5, 30-103 Kraków, tel.: (12) 298 47 77 EUR: PL 79 1600 1462 1853 6451 3000 0006 ul. Bielska 17, 02-394 Warszawa, tel.: (22) 417 41 70 USD: PL 52 1600 1462 1853 6451 3000 0007 Training: The Linux Foundation LFD213 Getting Started with EdgeX Foundry Play with EdgeX APIs Create a simple service and integrate it into the rest of EdgeX And much more! CONSPECT: Course Introduction An Introduction to EdgeX Foundry Device Services – Connecting Your “Things” Moving, Using and Transforming EdgeX Data with Application Services REQUIREMENTS: Basic knowledge of IoT and Edge Computing Familiarity with the command line, text editors, JSON, Go and C (including the ability to write code in Golang) Labs require Ubuntu 18.04 (or later) with Docker CE 18.06 (or later), Docker Compose v1.22.0 (or later), Postman v7, Golang v1.13 (or later), and build essentials installed Difficulty level CERTIFICATE: The participants will obtain certificates signed by The Linux Foundation. TRAINER: Certified The Linux Foundation Trainer. ADDITIONAL INFORMATION: Delivery Method - Online Self-Paced Includes 10-15 hours of Course Material Hands-on Labs & Assignments www.compendium.pl page 2 of 3 Compendium Education Center Ltd. BNP Paribas Bank Polska S.A. ul. Tatarska 5, 30-103 Kraków, tel.: (12) 298 47 77 EUR: PL 79 1600 1462 1853 6451 3000 0006 ul. Bielska 17, 02-394 Warszawa, tel.: (22) 417 41 70 USD: PL 52 1600 1462 1853 6451 3000 0007 Training: The Linux Foundation LFD213 Getting Started with EdgeX Foundry Video Content 12 Months of Access to Online Course Digital Badge Discussion Forums www.compendium.pl page 3 of 3 Compendium Education Center Ltd. BNP Paribas Bank Polska S.A. ul. Tatarska 5, 30-103 Kraków, tel.: (12) 298 47 77 EUR: PL 79 1600 1462 1853 6451 3000 0006 ul. Bielska 17, 02-394 Warszawa, tel.: (22) 417 41 70 USD: PL 52 1600 1462 1853 6451 3000 0007.
Recommended publications
  • An Introduction
    An Introduction Slides by Michael Hall Modified and Presented by Alex Courouble edgexfoundry.org | @edgexfoundry Edge Computing Why do I need it? edgexfoundry.org | @edgexfoundry Who is EdgeX Foundry? And how to join us edgexfoundry.org | @edgexfoundry Vendor-neutral open source project hosted by The Linux Foundation building a common open framework for IoT edge computing. Interoperability framework and reference platform to enable an ecosystem of plug-and-play components that unifies the marketplace and accelerates the deployment of IoT solutions. Architected to be agnostic to protocol, silicon (e.g., x86, ARM), OS (e.g., Linux, Windows, Mac OS), and application environment (e.g., Java, JavaScript, Python, Go Lang, C/C++) to support customer preferences for differentiation Part of the LF Edge project at the Linux Foundation LF Edge Premium Members LF Edge General Members Getting Involved ● Open Source and contributor ● GitHub: driven, anybody can participate ○ https://github.com/edgexfoundry ● TSC and WG meetings open to ● Documentation ○ https://docs.edgexfoundry.org public ● Slack ● Technical leadership (TSC & WG ○ https://slack.edgexfoundry.org chairs) elected by technical ● Mailing Lists contributors ○ https://lists.edgexfoundry.org ○ https://lists.edgexfoundry.org/calendar What is EdgeX? Microservices and Deployments edgexfoundry.org | @edgexfoundry Walkthrough Let’s see it in action edgexfoundry.org | @edgexfoundry Get Started in Three Steps 1. Run the EgdeX Microservices with Docker Compose 2. Create a Device Service with device-sdk-go
    [Show full text]
  • Edgex Foundry Overview to Deep Dive
    EdgeX Foundry Introduction Jim White March 2019 edgexfoundry.org | @edgexfoundry About Me • Jim White ([email protected]) • Dell Technologies IoT Solutions Division – Distinguished Engineer • Team Lead of the IoT Platform Development Team • Chief architect and lead developer of Project Fuse • Dell’s original IoT platform project that became EdgeX Foundry • Yes – I wrote the first line(s) of code for EdgeX (apologies in advance) • EdgeX Foundry … • Vice Chairman, Technical Steering Committee • Systems Management Working Group Chair • Ad hoc and unofficial lead architect edgexfoundry.org | @edgexfoundry edgexfoundry.org | @edgexfoundry Why is IoT hard to do? • Heterogeneity of platforms IoT is a post doctorate in all we know and have • Diverse collection of OS and OS variants done in computing for the last 30-40 years • Linux, Unix, Windows, VxWorks, embedded and RTOS, … • Networks/protocols • Various Hardware (Intel, AMD, ARM,…) • Mobile computing • Distributed compute • Cloud, gateway, smart thing (the “Fog continuum”) • Cloud compute • Thing protocol soup • AI/Machine learning • Industrial: BACNet, Modbus, OPC-UA,… • … • Wireless: BLE, Z-Wave, Zigbee,… • Message: MQTT, AMQP, DDS, … • Variety of cloud platforms • Azure IoT Hub, AWS IoT Platform, Google IoT Core, IBM Watson IoT Platform, … • Add your favorite selection of… • Applications, edge analytics/intelligence, security, system management, … • Difficulties in determining where to start edgexfoundry.org | @edgexfoundry Introducing EdgeX Foundry An open source, vendor neutral project
    [Show full text]
  • Demystifying Internet of Things Security Successful Iot Device/Edge and Platform Security Deployment — Sunil Cheruvu Anil Kumar Ned Smith David M
    Demystifying Internet of Things Security Successful IoT Device/Edge and Platform Security Deployment — Sunil Cheruvu Anil Kumar Ned Smith David M. Wheeler Demystifying Internet of Things Security Successful IoT Device/Edge and Platform Security Deployment Sunil Cheruvu Anil Kumar Ned Smith David M. Wheeler Demystifying Internet of Things Security: Successful IoT Device/Edge and Platform Security Deployment Sunil Cheruvu Anil Kumar Chandler, AZ, USA Chandler, AZ, USA Ned Smith David M. Wheeler Beaverton, OR, USA Gilbert, AZ, USA ISBN-13 (pbk): 978-1-4842-2895-1 ISBN-13 (electronic): 978-1-4842-2896-8 https://doi.org/10.1007/978-1-4842-2896-8 Copyright © 2020 by The Editor(s) (if applicable) and The Author(s) This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Open Access This book is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this book are included in the book’s Creative Commons license, unless indicated otherwise in a credit line to the material.
    [Show full text]
  • Application Services Design
    Application Services Design Application Working Group 2018-11-13 edgexfoundry.org | @edgexfoundry LF Antitrust Policy Notice • EdgeX Foundry meetings involve participation by industry competitors, and it is the intention of the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. • Examples of types of actions that are prohibited at EdgeX Foundry meetings and in connection with Linux Foundation activities are described in the Linux Foundation Antitrust Policy available at http://www.linuxfoundation.org/antitrust-policy. If you have questions about these matters, please contact your company counsel, or if you are a member of the Linux Foundation, feel free to contact Andrew Updegrove of the firm of Gesmer Updegrove LLP, which provides legal counsel to the Linux Foundation. edgexfoundry.org | @edgexfoundry Meeting Logistics • Time: November 13, 2018 11am PDT – 12am PDT Join from PC, Mac, Linux, iOS or Android: https://zoom.us/j/611544838 Or iPhone one-tap : US: +16465588656,,611544838# or +16699006833,,611544838# Or Telephone: Dial(for higher quality, dial a number based on your current location): US: +1 646 558 8656 or +1 669 900 6833 or +1 855 880 1246 (Toll Free) or +1 877 369 0926 (Toll Free) Meeting ID: 611 544 838 International numbers available:
    [Show full text]
  • Vertical Solutions Working Group July 14
    Vertical Solutions Working Group July 14, 2020 Co-chairs: Camilo Dennis (Intel) – [email protected] Henry Lau (HP) – [email protected] edgexfoundry.org | @edgexfoundry LF Antitrust Policy Notice EdgeX Foundry meetings involve participation by industry competitors, and it is the intention of the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Examples of types of actions that are prohibited at EdgeX Foundry meetings and in connection with Linux Foundation activities are described in the Linux Foundation Antitrust Policy available at http://www.linuxfoundation.org/antitrust-policy. If you have questions about these matters, please contact your company counsel, or if you are a member of the Linux Foundation, feel free to contact Andrew Updegrove of the firm of Gesmer Updegrove LLP, which provides legal counsel to the Linux Foundation. edgexfoundry.org | @edgexfoundry Agenda ThunderSoft, a product and solutions provider based in Beijing China, to present their IoT efforts and platform including their use of EdgeX. Meeting recording & slides to be posted to: https://wiki.edgexfoundry.org/display/FA/Vertical+Solutions+Working+Group edgexfoundry.org | @edgexfoundry ThunderSoft in Edge Computing 2020.7 Copyright Thunder Software Technology Co., Ltd. 2008-2016 All right reserved http://www.thundersoft.com/ 7/15/2020 1 Content ❖ ThunderSoft Overview ❖ ThunderSoft & EdgeX ❖ Edge Computing Verticals 7/15/2020 2 ThunderSoft Overview 7/15/2020 3 ThunderSoft Overview 7/15/2020 Company Profile Core Business Tech & Products Global Presence •Smart System Tech.
    [Show full text]
  • A 2021 Perspective on Edge Computing
    White paper Scientific Community A 2021 perspective on edge computing Thought Leadership 02 Executive summary Edge computing continues to be a major IT trend in 2021. This paper provides a review on the state-of-the-art and today’s edge computing practices, specifically focusing on the software tools that enable execution of workloads at the edge. Our intention is to introduce the different scenarios for edge computing and analyze the software available. We have provided a review of the existing development frameworks for each type of IoT edge device, as well as the open source frameworks and toolsets that enable the development of IoT edge services and applications. Additionally, we explore key issues for the future development of edge services, such as the operation of services at the edge and the status of edge standardization efforts. Finally, we provide our view on the complexity that edge computing brings to the IT landscape and outline our perspective on how edge computing may evolve. A 2021 perspective on edge computing 03 Introduction The emergence of edge computing is linked to the need to process data close to data generation sources in IoT devices. According to the latest estimates, we could see more than 75.44 billion IoT devices by 20251 — a 5X increase since 2015. In this context, the challenge is not simply managing IoT devices but more importantly, how to cope with the volume of data and content that connected devices will produce. In today’s prevailing IoT architecture, sensor data is transmitted over a wide area network to be centralized, processed and analyzed — which creates an additional supply of enriched data.
    [Show full text]
  • Iotech and Edgex January 19Th, 2021
    IOTech and EdgeX The EdgeX Adopter Series January 19th, 2021 © 2021 IOTech Systems Limited. Confidential Today's Agenda • Edge Market Trends • IOTech Snapshot • Leveraging EdgeX • Our Products • Edge Xpert • Architecture • Device & Cloud Connectivity • AI & Computer Vision • The Time-Critical Edge • Edge Management at Scale • Customer Use Cases • EdgeX Futures • Q&A © 2021 IOTech Systems Limited. Confidential Today’s Presenters Keith Steele | IOTech CEO • 30-year Global Middleware pioneer and entrepreneur • Proven record of starting and growing successful software companies • Champion of Open Standards in Distributed and Embedded Computing • Founding Chairman, EdgeX Technical Steering Group, Marketing Outreach TSG Chair James Butcher | IOTech Product Manager • Responsible for Edge Xpert product strategy, roadmap and delivery • Previously IOTech Solutions Architect helping customers with EdgeX • Dedicated to usability and performance of IOTech products • QA & Test Working Group Chair, EdgeX Foundry © 2021 IOTech Systems Limited. Confidential Market Trends & IOTech Snapshot State of the IoT Edge • The leading verticals in Edge growth/investment • Industrial, energy & utilities, transportation and logistics lead the way, but some new areas are growing fast • Healthcare IoT - $534.3B by 2025 • Smart City - $124B in 2020 • Retail - $36B in 2020 • The Edge market trends – what we are seeing: • Customers want more ‘solutions’ than pieces/parts – Vendor collaboration • Proprietary versus flexibility to bring (or select) best of breed applications (analytics, cloud, visualization, …) • Increasing adoption of AI/ML at the Edge e.g., Video inferencing becoming a key application at the Edge across multiple verticals • Zero touch • “Plug it in and it works” management • Automatic sensor / device provisioning • Hybrid Cloud/Edge - Acceleration from fully centralized cloud-based systems to distributed architectures driven by edge computing © 2021 IOTech Systems Limited.
    [Show full text]
  • Edgex Foundry: a Hands-On Tutorial
    EdgeX Foundry: A hands-on tutorial A practical guide to getting started with open source IoT Author: Jonas Werner Date: 2020-08-26 Version: 1.0 EdgeX Foundry version: Geneva EdgeX Foundry: A hands-on tutorial https://jonamiki.com ​ Table of contents Disclaimer 3 Scope and format 4 EdgeX Foundry introduction 5 Installation 6 Tutorial prerequisites 6 Installing Docker and docker-compose 7 Installing EdgeX Foundry 8 Starting EdgeX Foundry 9 Basic interaction 10 Consul 10 cURL 10 Postman 11 Stopping EdgeX Foundry 12 Editing the docker-compose.yml file 12 Controlling micro services 12 Edit from the command line 13 Edit graphically 13 Optional: Adding additional graphical user interfaces 14 Portainer 14 EdgeX Golang UI 15 Creating a device 17 Introduction to Device Profiles 17 Sensor cluster 17 Create value descriptors 18 Upload the device profile 20 Create the device 21 Sending data to EdgeX Foundry 22 The event counter 22 Sending data with Postman 22 View the data 23 2 EdgeX Foundry: A hands-on tutorial https://jonamiki.com ​ Generate sensor data with Python 24 Using a DHT sensor on a Raspberry Pi 25 Prerequisites 25 Sensor wiring diagram 25 Network diagram 26 Setup instructions 27 Export data stream 28 MQTT export using the Application Service 28 MQTT export using the Rules Engine 31 Sending commands 34 Building and running the test app container 35 Registering the app as a new device 37 Issuing commands via EdgeX 39 Creating a rule to execute commands automatically 41 Viewing container logs 43 Bonus: Visualize data 44 Adding new containers 44 Redirecting EdgeX to the local MQTT broker 45 Adding Grafana 46 Appendix 48 Links and references 48 About the author 48 Disclaimer I’m a happy enthusiast and don’t claim to be an expert on EdgeX Foundry or any other topic covered in this document.
    [Show full text]
  • Edgex Foundry Performance Report Hanoi Release January 2021
    EdgeX Foundry Performance Report Hanoi Release January 2021 EdgeX Foundry is a highly flexible and scalable open source software framework that facilities interoperability between devices and applications at the IoT Edge. Hanoi (version 1.3) marks the 7th community release of EdgeX and was formally released in November 2020. The key new features added in Hanoi are described on the EdgeX Community Wiki here. This report aims to provide EdgeX users with important performance information that can guide solution development and deployment strategies. The information also helps the EdgeX development community to ensure the platform remains suitable for lightweight edge deployments and can help to identify future performance targets. The performance metrics described in this report relate to data obtained on the following hardware platform: HP MP9 G4 Desktop Mini PC • Intel Core i7-8700T processor @2.4GHz • 16GB RAM • Ubuntu 20.04 LTS www.edgexfoundry.org This document is provided by IOTech for the EdgeX Foundry © 2021 EdgeX Foundry Deployment Options The EdgeX Foundry platform is a collection of modular microservices that each perform a specific role at the IoT Edge. While some microservices are used in almost all deployments of the platform, the specific collection of microservices used are dependent on the requirements of the target use case. The EdgeX microservices are designed to be location independent so can be distributed between computing nodes where necessary, however the EdgeX Core Services are usually expected to be deployed onto all nodes running EdgeX. In very austere environments there may only be a requirement to collect data from a small set of edge devices and simply stream the data to another endpoint.
    [Show full text]
  • Technical Workshop
    Technical Workshop Day 1: June 1, 2017 edgexfoundry.org | @edgexfoundry Agenda Thursday, June 1 8-9am Breakfast 9-9:30am Introductions 9:30-10:30am High level project organization, proposed working groups, key additional functional areas 10:30-Noon Overall alignment on project goals, performance needs, presentation from IOTech on footprint evaluation, group discussion on functional requirements for subsequent working group breakouts Noon-1 Working lunch. Continued prep for breakouts. 1-5pm Technical hands-on working group breakouts 7pm Dinner Friday, June 2 8-9am Breakfast 9-noon Continued technical hands-on breakouts, summarize output per guidance Noon-2pm Working lunch, groups report out status, assimilate output 2-3pm Group discussion on TSC organization, future certification program, resourcing/contributions, meeting/development structure, next steps edgexfoundry.org | @edgexfoundry Introductions edgexfoundry.org | @edgexfoundry High-Level Project Organization edgexfoundry.org | @edgexfoundry EdgeX Foundry Project Organization LF Team TSC Chair TSC EdgeX Foundry EdgeX Foundry Vice-Cha Governing Board Technical Steering Committee ir Platinum and Silver • Budget Representatives • Business • Marketing WG WG WG Working Group Chair Working Group Chair Working Group Chair Project Project edgexfoundry.org | @edgexfoundry Project Documents • Approved and Accepted (Changes made by the Governing Board) • Project Charter - https://www.edgexfoundry.org/about/project-charter/ • Code of Conduct - https://www.edgexfoundry.org/about/code-of-conduct/
    [Show full text]
  • LF Edge (Edgex, EVE, Akraino)
    openEDGE oepnEDGE on Arm Architecture Dong Wei, Arm Fellow, Arm Inc. openEDGE TELCO The Open Edge project creates specifications, standards, support documentation and reference designs which will enable global adoption of the Open Edge Computing chassis which meets the requirements of Telco Providers. Released Specifications • OCP Open Edge Chassis Specification v1.2 • CPU ISA Architectural Agnostic Under Community Review • OCP Open Edge Server Specification v0.1 • Currently only references Intel Purley Platform • Would like to enable Arm-based Open Edge servers Specifications LF Edge, Unifying Open Source Edge IOT, Telco, Cloud, Enterprise The Linux Foundation Launches New LF LF Edge Momentum continues with Project EVE Edge to Establish a Unified Open Source seed code, project demonstrations at IOT World Framework for the Edge and new members More than 60 global founding members across enterprise, IoT, telecom • IOT OnPrem Edge Virtualization Engine seed code contributed by Zedada to and cloud collaborate on open source framework for edge computing and LF Edge future of IoT • Four new members join existing community of 70+ LF Edge organizations • LF Edge on Display at IoT World, with Akraino Edge Stack, EdgeX Foundry and Project EVE demonstrations SAN FRANCISCO, January 24, 2019 – The Linux Foundation, the nonprofit organization enabling mass innovation through open source, SANTA CLARA, Calif. – IoT World – May 14, 2019 – LF Edge, an umbrella today announced the launch of LF Edge, an umbrella organization to organization within the Linux Foundation that aims to establish an open, interoperable establish an open, interoperable framework for edge computing framework for edge computing independent of hardware, silicon, cloud, or operating independent of hardware, silicon, cloud, or operating system.
    [Show full text]
  • Scalable Iot Platforms
    Institute of Architecture of Application Systems University of Stuttgart Universitätsstraße 38 D–70569 Stuttgart Masterarbeit Scalable IoT Platforms Stefan Hill Course of Study: Software Engineering Examiner: Prof. Dr. Marco Aiello Supervisor: Dr. Dipl.-Inf. Ilche Georgievski Commenced: November 2, 2018 Completed: June 3, 2019 Abstract In today’s world the internet is connecting not only people but things. The computing concept of the ”Internet of Things (IoT)”describes the idea to connect everyday physical objects to the internet. IoT platforms provide the backbone for applications in areas like Smart Home, Connected Vehicles and Industrial IoT. In this thesis, we explore the question of the best IoT platform with a focus on reliability, scalability and heterogeneity. To answer this question, we search the market for IoT platforms, prototypes and proposals, examine them based on our comparison model and rate the platforms in a five star system. The criteria for the parts of the comparison model include replication, availability, authentication and authorization, encryption, security incidents and audits, development and market longevity for reliability, hosting, Edge and Fog Computing, limits of the infrastructure and network and load balancing for scalability, device restrictions, messaging and device protocols, programming languages and flexibility for heterogeneity as well as usability, pricing models and unique selling points. We discover that most criteria do not differ in the used technologies or algorithms, but iftheyis implemented or not. Despite there is a low level of standardization, most criteria is implemented in a similar way across the platforms. The overall best rated platform is Microsoft Azure IoT Hub with 4.25 out of 5.0 stars, followed by IBM Watson IoT (3.88 stars).
    [Show full text]