Top Banner
Presented by: For: © ETSI 2018 25.10.2018 Specialist task force 535 Architecture and Components for Virtualised IoT Mahdi Ben Alaya ETSI IoT Week
26

Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

Jun 24, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

Presented by: For:

© ETSI 2018

25.10.2018

Specialist task force 535Architecture and Components for Virtualised IoT

Mahdi Ben Alaya ETSI IoT Week

Page 2: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

2© ETSI 2018

IoT Virtualisation: leveraging the potential of Cloud-Native Infrastructures

• Massive deployments of full-fledge IoT systems requiring high degree of availability, adaptability, flexibility

• Potential usage of Cloud Computing capabilities (computing, storage, analytics), offers (IaaS, PaaS, SaaS) with non-functional support

• Challenge: combining IoT with Cloud computing

STF 535 at ETSI IoT Week 2018

Page 3: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

3© ETSI 2018

STF 535Architecture and Components for Virtualised IoT

Deliverables

TR 103 527 Virtualized IoT Architectures with Cloud Back-ends

TR 103 528 Landscape for open source and standards for cloud native software applicable

for a Virtualized IoT service layer

TR 103 529 IoT over Cloud back-ends: a Proof of Concept

Validation with a Proof of Concept

Milestones

Start of STF 02/10/17

Early delivery of use case prototype 30/04/18

Stable draft of TR 103 529 31/05/18

Deliverables adopted by SmartM2M and published 31/07/18

ETSI Reference TC: SmartM2M

STF 535 at ETSI IoT Week 2018

Page 4: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

4© ETSI 2018

Cloud-native

STF 535 at ETSI IoT Week 2018

Cloud Native means designing and running your applications to take advantage of all the benefits of modern cloud infrastructure.

• Bring teams together, letting them work autonomously, but with greater transparency and collaboration.

• Allows enterprises to ship faster, reduce risk, and increase efficiency by building smaller, autonomous services that can be started and stopped on-demand with little to no consequence.

Page 5: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

5© ETSI 2018

DevOps movement

STF 535 at ETSI IoT Week 2018

DevOps is the practice of operations and development engineers participating together in the entire service lifecycle, from design through the development process to production support.

Page 6: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

6© ETSI 2018

Microservice architecture

STF 535 at ETSI IoT Week 2018

An approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight APIs

• Built around fine-grained business capabilities

• Improves modularity and makes the application easier to understand, develop, and test and more resilient to architecture erosion

• Parallelizes development by enabling small autonomous teams to develop, deploy and scale their respective services independently.

• Enable continuous delivery and deployment

Page 7: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

7© ETSI 2018

Containerization

STF 535 at ETSI IoT Week 2018

Application containerization is an OS-level virtualization method used to deploy and run distributed

applications without launching an entire virtual machine (VM) for each app.

Multiple isolated applications or services run on a single host and access the same OS kernel

Page 8: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

© ETSI 2018

Virtualized IoT

ArchitecturesTR 103 527

Page 9: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

9© ETSI 2018

Cloud Computing Features for IoT Virtualisation

STF 535 at ETSI IoT Week 2018

Virtualized IoT

Horizontal scalability

FaultTolerance

Massive Data Processing

Lowlatency

Multi-tenancy

Page 10: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

10© ETSI 2018

Horizontal scalability

STF 535 at ETSI IoT Week 2018

IoT software, built to support load balancing, has virtually no limit when it comes to the number of supported devices or gateways, apart from the number of computing instances that can be allocated by the cloud infrastructure.

• Automated scale-up and scale-down computing and storage capacity, according to administrator policies.

• Cope with sudden changes in generated IoT data volumes.

Page 11: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

11© ETSI 2018

Fault tolerance(No Single Point of failure)

STF 535 at ETSI IoT Week 2018

Enables an IoT system to continue operating properly in the event of the failure of some of its components.

Virtually impossible for the entire system to shut down at any given time using replication, continuous monitoring, and component automatic service restarting policies.

Page 12: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

12© ETSI 2018

Low latency(Edge & Fog computing)

STF 535 at ETSI IoT Week 2018

Low latency is essential to applications such as autonomous driving or industrial automation.

Fog and edge computing drives latency lower by moving computing resources closer to the field domain where an action takes place.

Page 13: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

13© ETSI 2018

Multi-tenancy

STF 535 at ETSI IoT Week 2018

Multitenancy refers to a software architecture in which a single instance of software runs on a server and serves multiple tenants.

Contrasts with multi-instance architectures, where separate software instances operate on behalf of different tenants.

A tenant is a group of users who share a common access with specific privileges to the software instance.

Page 14: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

14© ETSI 2018

Massive data processing

STF 535 at ETSI IoT Week 2018

MapReduce is a programming model for processing and generating big data sets with a parallel, distributed algorithm on a cluster

Data locality is the process of moving the computation close to where the actual data resides on the node, instead of moving large data to computation.

Minimizes network congestion and increases the overall throughput of the system.

Page 15: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

15© ETSI 2018

Microservice inter-process communication

STF 535 at ETSI IoT Week 2018

RESTful communication

Event-based communication

Hybrid communication

Combine RESTful and event-based communications in one single architecture.

Page 16: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

16© ETSI 2018

A High-Level Architecture for IoT Virtualisation

• A layered architecture: “horizontal”, cross-sector (generic) functionality

• With End-to-End “vertical”, cross layers functionality

STF 535 at ETSI IoT Week 2018

Page 17: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

17© ETSI 2018

Microservice Architecture and oneM2M HLA

• CSF are specified in a standard

• Microservices are one possible implementation of a CSF

• There is no standardized mapping of a CSF to microservices

- one-to-one, - one-to-many

• No assumption made on the Application Entity (AE)

• Many ways for implementation of functionality in the AE

• Generic microservices for CSF; more “domain specific” in the AE

STF 535 at ETSI IoT Week 2018

Page 18: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

© ETSI 2018

Open Source landscapeTR 103 528

Page 19: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

19© ETSI 2018

Cloud Native Applications: a complex map of OSS components

A very large number of OSS initiatives related to Virtualisation

The Cloud Native Computing Foundation landscape ("a map through the previously uncharted terrain of cloud native technologies”) shows a very complex map.

STF 535 at ETSI IoT Week 2018

Source: Cloud Native Computing Foundation

Page 20: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

20© ETSI 2018

Comparison of OSS Components for IoT virtualisation

TR 103 528 is offering a focused approach to the identification of OSS Components in support of IoT Virtualisation:

• Focus on "general purpose" cross-domain components (versus application-specific)

• A selection taking into account a form of "notoriety" of the selected components and limiting the number of choices for each class of component.

The selected components are described in details

STF 535 at ETSI IoT Week 2018

Page 21: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

© ETSI 2018

Proof of conceptTR 103 529

Page 22: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

22© ETSI 2018

Use Cases for IoT Virtualisation

Some typical use cases analysed in TR 103 527Horizontal up and down Auto-scalingNo single point of failureData Privacy

A proof of Concept: Auto-scalingAuto-scaling ensures that the number of Virtual Machine (VM) instances available for and used by the virtualized application is always optimal.

Minimum number of VM instances is defined (lower threshold for auto-scaling down)

Maximum number (upper threshold for auto-scaling up)

Additional VMs are added (with a predefined increment), used as long as needed

Use case applicable to a variety of verticals (in burst situations or not)Intelligent Transport Systems, Smart Grids, Smart Metering, …

Monitoring can be human or use Artificial Intelligence systems with refined sets of rules

The PoC is described in TR 103 529

STF 535 at ETSI IoT Week 2018

Page 23: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

23© ETSI 2018

POC high level architecture

Page 24: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

24© ETSI 2018

A selected set of OSS components for a microservices-based implementation

Page 25: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

25© ETSI 2018

Microservice autoscaling up and down

Page 26: Mahdi Ben Alaya ETSI IoT Week€¦ · Microservice architecture STF 535 at ETSI IoT Week 2018 An approach to developing a single application as a suite of small services, each running

26© ETSI 2018© ETSI 2018 26

Thank you for your attention!

Contact Details: Dr. Mahdi Ben [email protected]+33 6 71939045

STF535 Homepage:

https://portal.etsi.org/STF/STFs/STFHomePages/STF535