cloud native@bmw group - red hat · microservices ( planned) enterprise. cars. time to market....

25
Dr. Alexander Lenk (BMW Group, Connected Car) Jens Eckert (BMW Group, Cloud Platforms) Wolfram Richter (Redhat) CLOUD NATIVE@BMW GROUP TECHNOLOGY FOR THE AGILE TRANSITION.

Upload: others

Post on 04-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

Dr. Alexander Lenk (BMW Group, Connected Car)Jens Eckert (BMW Group, Cloud Platforms)Wolfram Richter (Redhat)

CLOUD NATIVE@BMW GROUPTECHNOLOGY FOR THE AGILE TRANSITION.

Page 2: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

BMW GROUP – OVERVIEW 2016.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 2

BMW Group IT | June 2016 Page 2Subject | Department | Date Page 2

126.013 employees worldwide

2.367.603 sold vehicles worldwide

in 2016

Page 3: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

ENSURING OUR POSITION AS TECHNOLOGY LEADER.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 3

Page 4: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

THE IMPLEMENTATION OF THE STRATEGY NUMBER ONE > NEXT LEADS TO A TRANSFORMATION PROCESS TOWARDS A TECH COMPANY.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 4

„Die Wertschöpfungverschiebt sich von der

Hardware in Richtung Software und Services.“Harald Krüger, 16.03.2016

BMW Group Bilanzpressekonferenz

Today

Products

Mobility & Services

Software & Services (Tech)

Tomorrow

Digital customer experience, connected and automated driving and digitalized business processes lead to a transformation of the BMW Group towards software and services (Tech).

Products

Mobility & Services

Effect on:• Customer Experience• Shareholder/ Analysts• Stakeholder / Partner• Employees / Attractiveness

Page 5: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

BMW CONNECTED DRIVE HISTORY.MORE THAN 40 YEARS OF EXPERIENCE.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 5

BMW Turbo(radar techno-logy).

First on-board computer displaying outside temperature.

First use of telemetry in Formula 1.

First integrated navigation system.World’s first

Park Distance Control.

BMW Online: first Internet-based in-car portal.

First European manufacturer with Head-UpDisplay.

First in-car Internet access.First offer of

GoogleTM

services in a vehicle.

First e-call fromBMW Assistin USA.

Europe’s first telematics offer by BMW Assist.

2012

Milestones

More than 40 years of connected mobility

More than 15 years of telematics offers

First-timeintegration of 3rd Party Apps in a vehicle.

1972 1980 1991 1994 1999 2001 2004 2007 20081997 2014

First premium car manufacturer with in-car store.

2016

Introduction of BMW Connected (Open Mobility Cloud)

Page 6: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

BMW CONNECTED DRIVE.44 ESTABLISHED MARKETS WORLDWIDE.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 6

CA

RU

ES

PT

FR

IT

DE

UK

IE

CHAT

PLCZ

BENL

DK

NOSE

LU

Markets

Launch

DE 03/13

UK 03/13

FR 03/13

IT 03/13

BE 07/13

LU 07/13

NL 03/13

AT 03/13

ES 07/13

PT 07/13

PL 07/13

CZ 07/13

DK 07/13

NO 07/13

SE 07/13

IE 07/13

CH 07/13

AE 03/13

KW 03/13

US 03/13

CA 03/13

Markets

Launch

BR 07/14

TR 03/14

AU 03/14

NZ 03/14

KR 03/14

JP 07/13

CN 03/13

SG 03/14

HK 07/13

TW 03/14

MO 07/13

AE (AD) 07/14

US

CA

AE

KW

BR

MX

AU

NZ

TRKR

JP

CN

TW

RU

IN

Markets

Launch CD Light

SK 07/15

SI 07/15

BG 07/15

RO 07/15

HU 07/15

HUSK

SI RO

BG

GR

ZA

HKMO

AE (AD)

SG

FI

TH

MY

Page 7: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

BMW CONNECTED DRIVE. CONSISTING OF “SOFTWARE” AND “HARDWARE”.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 7

“SO

FTW

ARE”

“HAR

DWAR

E”

Update and upgrade capable “software” Prefitted “hardware” and sensor technology

BMWConnectedDrive

BMW CONNECTED DRIVE DRIVER ASSISTANCEBMW CONNECTED DRIVE DIGITAL SERVICES

Page 8: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

SELECTED USE CASES.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 8

Electric Cars Real-Time Traffic

Driving Assistance Autonomous Driving

Service Calls

Page 9: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

FACTS AND NUMBERS.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 9

8 Mio.

30 %1100

4 Mio.ConnectedDrive Cars

Lines of Code (Backend)

Yearly Growth

Jenkins Jobs

15Years

300Microservices (Planned)

Page 10: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

Enterprise

CarsTime toMarket

Growth

CHALLENGES AND SOLUTIONS FOR CONNECTED CARS.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 10

Conway‘s Law

Standardization

> 10 years of support

Changeing (old) cars is hard

Traditional Development Cycles

More Cars are sold

More Features in each car

Planning ahead

Traditional Service Delivery

Page 11: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

CLOUD NATIVE.SERVICE DELIVERY IN THE PAST.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 11

Picture Source: https://www.johner-institut.de/blog/wp-content/uploads/2015/01/BPMN-zum-Beschreiben-von-Prozessen-Workflows.png, https://slides.com/brampatelski/javaone/embed

Manual Processes Long ProcessesSilos

We need to gain agility back

Page 12: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

WHICH ELEMENTS REGARDING ARCHITECTURE AND TECHNOLOGY ARE MOST RELEVANT WHILE MOVING INTO AN AGILE WORLD?

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 12

Requ

irem

ents Short Time to

Market Short Cycle Times Continuous

Delivery Maintainability Stable Operations

Requirements: Innovation: Rapid integration of market

available services (e.g. IoT, AI) Integration of Cloud based

services (e.g. Robotics Predictive Maintenance)

Integration and adaption of modern technologies

Durability and fast reaction times

Long term cost efficiencies

Micro Service Architecture Continuous Integrationhttp://microservices.io

Cloud

Fast, flexible and independent realization of requirements with a Micro Service Architecture.

Early detection of integration issues and a constant availability of a "current" build with continuous

integration.

Easy access to innovations and global deployment with cloud based services.

Page 13: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

MODERN SOFTWARE ARCHITECTURES BASED ON MICRO SERVICES.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 13

Cloud Native Application Platform

Mic

ro se

rvic

e

Application Code & Data

Mic

ro se

rvic

e

Java

DB

Server

Project/System

NAS

Code & Data

Changes

Additional SW

Additional SW

Micro ServicesMonolithic/

Layered

PaaS enables

PaaS requires

Page 14: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

CLOUD NATIVE.MIGRATION APPROACH.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 14

App Server Runtime

Containerization

Cloud Migration

Cloud Scaling

Hybrid Clouds

− Focus on your existing systems for quick wins− Full polyglot is now always the best way: Try and Learn− Make switching easy by provide the „old way“ in the

„new world“Microservice

Page 15: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

CLOUD NATIVE.MIGRATION APPROACH.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 15

App Server Runtime

Containerization

Cloud Migration

Cloud Scaling

Hybrid Clouds

− Standardize− Use analysis tools to support your teams− Prepare early for questions regarding

session replication

Microservice

Page 16: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

CLOUD NATIVE.MIGRATION APPROACH.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 16

App Server Runtime

Containerization

Cloud Migration

Cloud Scaling

Hybrid Clouds

− Don‘t replace old monsters by new ones− Cloud monoliths will soon also cause pain− Rather go „standard“ than „product“

Microservice

Page 17: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

CLOUD NATIVE.MIGRATION APPROACH.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 17

App Server Runtime

Containerization

Cloud Migration

Cloud Scaling

Hybrid Clouds− Overprovision when

necessary, don‘t even try toauto scale a monolith

− Don‘t ignore the economicaspects (price model)

Microservice

Page 18: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

CLOUD NATIVE.MIGRATION APPROACH.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 18

App Server Runtime

Containerization

Cloud Migration

Cloud Scaling

Hybrid Clouds− Hybrid means outsourcing− Same code / containers inside

and outside− There‘s always a better offer, be

ready to switch, and then stay− Compilance, Privacy, Security

Microservice

Page 19: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

CLOUD NATIVE.CLOUD BASED SERVICE DELIVERY.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 19

Cloud Native PlattformTechnology Stack

Page 20: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 20

• Standards: De facto standard for container virtualization, packaging standard for applications, tools, infrastructure

• Run anywhere: Applications packaged in Docker Containers run everywhere (OpenShift, Linux, Amazon, Azure, ….)

• Extendability: Docker Hub provides thousands of docker packaged PaaS components

OPENSHIFT BUNDLES BEST PRACTICE CONTAINER TECHNOLOGY.

• Powerful Technology: Google Kubernetes is derived from Google‘s cluster management tool BORG and bringscluster management for Docker containers.

• Features: HA-Scheduling, namespace separation, auto-scaling, rolling-updates, self-healing

• Flexibility: Can span a cluster across nodes in mixed infrastuctures (local servers, public clouds, multiple locations)

• Continuous Integration: Source code based deployment, automatic builds/deployments, staging

• Tool completeness: user management, multi tenancy support, monitoring, log-file access, operational tools

• Security: removes docker security risks: no root execution, project isolation (vLANs), authorization for dockerregistry and log-access

Container Virtualization

Cluster Management for Containers

Enterprise PaaS

Page 21: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

BMW CLUSTER BLUEPRINT. HA-SETUP.MINIMUM CONFIGURATION: 15 BARE METAL SERVERS

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 21

Master 01

Master 02

Master 03 Master 04

Infra 01

Infra 02

EFK 01

EFK 02

EFK 03

Compute 01

Compute 02

Compute 03

Compute 04

Compute 05

Compute 06

Avai

libili

tyZo

ne 1

Avai

libili

tyZo

ne 2

Avai

libili

tyZo

ne 3

Page 22: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

BMW CLUSTER BLUEPRINT. HA-SETUP.MINIMUM CONFIGURATION: 15 BARE METAL SERVERS

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 22

Master 01

Master 02

Master 03 Master 04

Infra 01

Infra 02

EFK 01

EFK 02

EFK 03

Compute 01

Compute 02

Compute 03

Compute 04

Compute 05

Compute 06

Avai

libili

tyZo

ne 1

Avai

libili

tyZo

ne 2

Avai

libili

tyZo

ne 3

• Spare servers for computeand master/infra

• Covers risk of hw damage• Not part of „sold“ capacity

Page 23: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

BMW CNAP CLUSTER BLUEPRINT.STORAGE USE.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 23

Masters use local disk for etcdInfra uses NAS forMetrics (Casandra) DB and Docker Registry

EFK requires SAN forelastic search

Compute: • Launch scope: only NAS• Object storage

Page 24: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

BMW CNAP CLUSTER BLUEPRINT.SUPPORTING SERVICES AND INTERFACES.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Page 24

GIT

VM(Virtual Appliance,

FG-940)

PostgreSQL Gold (FG-932)

NAS

Cloudforms

VM(Virtual Appliance,

FG-940)

PostgreSQL Gold (FG-932)

LAAS PKIF5 Internet Proxy

Project Scope

Page 25: CLOUD NATIVE@BMW GROUP - Red Hat · Microservices ( Planned) Enterprise. Cars. Time to Market. Growth. CHALLENGES AND SOLUTIONS FOR CONNECTED CARS. ... removes docker security risks:

SOME TAKEAWAYS.

A. Lenk, J. Eckert, W. Richter - Cloud Native @ BMW Seite 25

Scale Architecture

first but don‘t forget the

Infrastructure!Change is

normal, still be ready to stick

with your decisions!

Share, communicate,

educate!

Don‘t forget pricing!

Shift from instance

operations to platform

operations!

Shift of responsibilities to developers:

DevOps!

Training of: developers, architects, operators required!

Capacity Management!