scania: a devops journey in an automotive enterprise  

29
Scania: A DevOps journey in an Enterprise Anders Lundsgård Technical Architect, Scania CV

Upload: perforce

Post on 16-Apr-2017

357 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Scania: A DevOps Journey in an Automotive Enterprise  

Scania: A DevOps journey in an EnterpriseAnders LundsgårdTechnical Architect, Scania CV

Page 2: Scania: A DevOps Journey in an Automotive Enterprise  

2

Who am I?

Anders Lundsgård• Developer & Technical Architect (Senior Engineer)• Scania Connected Services, Delivery Engineering Team

Page 3: Scania: A DevOps Journey in an Automotive Enterprise  

3

Software evolution at Scania

‘90sSpaghetti Code

‘00sGrowing monoliths

‘10sMicroservices era

Page 4: Scania: A DevOps Journey in an Automotive Enterprise  

4

Disclaimer

The opinions expressed in this presentation and on the following slides are solely those of

the presenter and not necessarily those of Scania as a whole.

Page 5: Scania: A DevOps Journey in an Automotive Enterprise  

We at infra need to be an enabler for developers. Enable automatic deployments

and roll-backs.

Creating tools/dashboards with relevant KPI’s so that the developer can fast and

easily see the consequences of a deployment.

- Mattias Järnhäll, Infrastructure manager 2014.03.03 on Scania social network

Page 6: Scania: A DevOps Journey in an Automotive Enterprise  

DevOps movement

More features quicker Stability

Page 7: Scania: A DevOps Journey in an Automotive Enterprise  

Shared understanding and common goals

Page 8: Scania: A DevOps Journey in an Automotive Enterprise  

DevOpsAutomation

Trust

Agile explained

Page 9: Scania: A DevOps Journey in an Automotive Enterprise  

9

Agile explained

Page 10: Scania: A DevOps Journey in an Automotive Enterprise  

CODEIN PROD

PENDING CODE

NEWFEATURES

CustomerValue

Limit Work In Progress

Page 11: Scania: A DevOps Journey in an Automotive Enterprise  

Version Control

Pull & Push several times a day

Continuous Integrationand Deployment

Target Servers(Dev, Staging, Prod)

Version Everything- Code- Tests- Configuration- Database- Infrastructure

15 minutes

Automation – Deployment Pipeline

Page 12: Scania: A DevOps Journey in an Automotive Enterprise  

Pipeline

Tests

Code

‘90s ‘00s ‘10s

Software Delivery Through the Decades

Page 13: Scania: A DevOps Journey in an Automotive Enterprise  

13

Enterprise IT challenges – One size does not fit all

? !I have an app. Can you install it

for me?Can you help me to help myself?

Page 14: Scania: A DevOps Journey in an Automotive Enterprise  

DevOps movement

2010 2012 2014 2016 2018

QA

Dev

Dev

Dev Ops

OS

DB

Network/ISec

Integration

Process

WEB

Dev Silos IaaT

Page 15: Scania: A DevOps Journey in an Automotive Enterprise  

DevOps movement

2010 2012 2014 2016 2018

Feat.Team

Dev Ops

OS

DB

WEB

Feat.Team

Feat.TeamFeat.

Team

Feat.TeamFeat.

Team

Feat.Team

Feat.Team

Self deploying teams IaaT

Network/ISec

Integration

Process

Page 16: Scania: A DevOps Journey in an Automotive Enterprise  

DevOps movement

2010 2012 2014 2016 2018

Feat.Team

Dev Ops

Deliv.Team

Feat.TeamFeat.

Team

Feat.TeamFeat.

Team

Feat.Team

Feat.Team

DevOps all the things! IaaT

OS

DB

WEB

Network/ISec

Integration

Process

Page 17: Scania: A DevOps Journey in an Automotive Enterprise  

DevOps movement

2010 2012 2014 2016 2018

Feat.Team

Dev Ops

App.Team

App.Team

App.Team

Deliv.Team

Feat.TeamFeat.

Team

Feat.TeamFeat.

Team

Feat.Team

Feat.Team

Cloud!! Cloud?

Network/ISec

Integration

Process

Page 18: Scania: A DevOps Journey in an Automotive Enterprise  

DevOps movement

2010 2012 2014 2016 2018

Feat.Team

Dev Ops

App.Team

App.Team

App.Team

Deliv.Team

Feat.TeamFeat.

Team

Feat.TeamFeat.

Team

Feat.Team

Feat.Team

Autonomous Feature Teams!

Network/ISec

Integration

Process

Page 19: Scania: A DevOps Journey in an Automotive Enterprise  

Feature Team

Feature Team

Feature Team

Feature Team

Integration

OS

Web

Monitoring

Change Management

NetworkSecurity

IaaT

Infra/Operations

In the past

Database

Page 20: Scania: A DevOps Journey in an Automotive Enterprise  

Level 1

Infrastructure As A Service

Infra/Operations

Feature Team

Feature Team

Feature Team

Feature Team

Virtual Machine ESB Network Change Management Database Monitoring

Forward

Page 21: Scania: A DevOps Journey in an Automotive Enterprise  

Infrastructure As A Service

Infra/Operations

Feature Team

Feature Team

Feature Team

Feature Team

GUI

BusinessLogic

Database

Virtual Machine Web server Load Balancer Change Management Monitoring

You build it You run it!

Infrastructure as code

Cultural Technical

Page 22: Scania: A DevOps Journey in an Automotive Enterprise  

GUI

Database

Infra

Business Logic

Networking Storage

OS

Integration

Service 1

Service 2 Service

5 Service 7

Service 8

Service 10

Service 12

Service 14

Service 3

Service 4

Service 6

Service 9

Service 11

Service 15

Middleware

Service 13

User Interface

Security Monitoring

Monolith

Page 23: Scania: A DevOps Journey in an Automotive Enterprise  

All Infra

needs

User Interface

Service 1

Service 2 Service

5 Service 7

Service 8

Service 10

Service 12

Service 14

Service 3

Service 4

Service 6

Service 9

Service 11

Service 15

Service 13

All Infra

needs

All Infra

needs

All Infra needs

All Infra needs

All Infra

needs

All Infra

needs

All Infra

needs

GUI

Database

Infra

Business Logic

Microservices

Page 24: Scania: A DevOps Journey in an Automotive Enterprise  

24

Check-in frequency

Project: Scania Connected Services

Page 25: Scania: A DevOps Journey in an Automotive Enterprise  

QuizFind the best part in this image?

Collaboration > Automation

Page 26: Scania: A DevOps Journey in an Automotive Enterprise  

26

Page 27: Scania: A DevOps Journey in an Automotive Enterprise  

27

Page 28: Scania: A DevOps Journey in an Automotive Enterprise  

Your Heroes are your Bottlenecks!

Page 29: Scania: A DevOps Journey in an Automotive Enterprise  

Thank you!Anders Lundsgård, Scania Connected Services

Twitter: @anderslundsgardGitHub: github.com/anderslundsgardSlideShare: slideshare.net/anderslundsgrd