the devops journey in an enterprise - scania @ swisscom software day 2016
TRANSCRIPT
![Page 1: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/1.jpg)
The DevOps journey in an Enterprise
Anders LundsgårdSenior Engineer
October 28th 2016
![Page 2: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/2.jpg)
Who am I?
Anders Lundsgård• Senior Engineer (Developer & Technical Architect)• Scania Connected Services
- Delivery Engineering Team- Scania Cloud Adoption Team @anderslundsgard
![Page 3: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/3.jpg)
What I will talk about
Very short about Scania
Pre DevOps
Our DevOps movement
Final takeaways
3
![Page 4: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/4.jpg)
Scania Connected Services
~200.000 connected vehicles~80 engineers
![Page 5: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/5.jpg)
Clearly pointed out that IT should be strategic and transformationalAnd that we need to become more agile in our way of working.
2016 - New Managing DirectorClear direction and new organization
![Page 6: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/6.jpg)
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 7: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/7.jpg)
Our software evolution
‘90sSpaghetti Code
‘00sGrowing monoliths
‘10sMicroservices era
![Page 8: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/8.jpg)
The reality today
![Page 9: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/9.jpg)
Scania – A growing horse
![Page 10: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/10.jpg)
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 11: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/11.jpg)
in the early days…
DevOps movement
More features quicker Stability
![Page 12: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/12.jpg)
More features quicker Stability
![Page 13: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/13.jpg)
Shared understanding and common goals
![Page 14: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/14.jpg)
Agile explained
![Page 15: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/15.jpg)
Agile explained
![Page 17: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/17.jpg)
Why Agile?
65%
![Page 18: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/18.jpg)
Remembering the past… Continuous Integration
Version everything Automation
Claim over BlameTrunk based
development
![Page 19: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/19.jpg)
Remembering the past…
![Page 20: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/20.jpg)
CODEIN PROD
PENDING CODE
NEWFEATURES
High focus on Limit Work In Progress
= INVENTORY
![Page 21: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/21.jpg)
Version Control
Pull & Push several times a day
Continuous Integration
Server Target Servers(Dev, Staging, Prod)
Version Everything- Code- Tests- Configuration- Database- Infrastructure
10 minutes
Automation – Deployment Pipeline
DeployServer
CI D
![Page 22: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/22.jpg)
Sounds weird?
![Page 23: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/23.jpg)
Ops…
![Page 24: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/24.jpg)
Reveal a Secret
![Page 25: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/25.jpg)
Developers care about QA and Stability
if…they get accountable
![Page 26: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/26.jpg)
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
Even with Continuous Integration, fast delivery is hard with 50+
engineers and a large codebase.
Monolith
![Page 27: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/27.jpg)
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
Why Microservices?1. Autonomous teams
2. Build, Test, Deploy SPEED
Microservices
![Page 28: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/28.jpg)
Deploy != Release
Business decision
Feature Team concern
Feature Team concern
![Page 29: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/29.jpg)
Feature Toggle
![Page 30: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/30.jpg)
Tilda 4 makes release to UK market
![Page 31: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/31.jpg)
Zero Downtime
![Page 32: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/32.jpg)
Visibility
![Page 33: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/33.jpg)
10.000+ unique portal users per month
![Page 34: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/34.jpg)
![Page 35: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/35.jpg)
![Page 36: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/36.jpg)
![Page 37: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/37.jpg)
![Page 38: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/38.jpg)
Check-in frequency
Project: Scania Connected Services
![Page 39: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/39.jpg)
Change Stop
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 420
20
40
60
80
100
120
140
160
Prod Deploys per week during 2016
* Infrastructure changes not included
![Page 40: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/40.jpg)
DevOps…
![Page 41: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/41.jpg)
Feature Team
Feature Team
Feature Team
Feature Team
Integration
OS
Web
Monitoring
Change Management
NetworkSecurity
IaaT
Infra/Operations
GUI
BusinessLogic
Database
In the past
Database
![Page 42: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/42.jpg)
Level 1
Level 2+3
Infrastructure As A Service
Infra/Operations
Feature Team
Feature Team
Feature Team
Feature Team
GUI
BusinessLogic
Database
Virtual Machine ESB Network Change Management Database Monitoring
Today
![Page 43: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/43.jpg)
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 44: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/44.jpg)
44
Enterprise IT challenges Different types of customer needs
? !I have an app. Can you install it
for me?Can you help me to help myself?
![Page 45: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/45.jpg)
45
Enterprise IT challenges The Legacy vs Cloud First
Culture
![Page 46: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/46.jpg)
“All in” on DevOps is harder in EU than in US
![Page 47: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/47.jpg)
Collaboration > Automation
Good reads
Automation Business impact
Pair Programming
Collocate with coffee machine
![Page 48: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/48.jpg)
11,6
![Page 49: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/49.jpg)
49
200301401404500
![Page 50: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/50.jpg)
50
200301401404500
![Page 51: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/51.jpg)
Final takeaways…
![Page 52: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/52.jpg)
“Don’t fight stupid, make more Awesome”
![Page 53: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/53.jpg)
Use your technical skillsPoor little me. I’m just a Dev. What can I do?
Zero Downtime
Feature Toggles
Deploy becomes a part of your daily job
Deploy is decoupled from Release
![Page 54: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/54.jpg)
Pipeline
Tests
Code‘90s ‘00s ‘10s
Software Delivery Through the Decades
Driven by Deadlines
Driven by Business metrics
![Page 55: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/55.jpg)
Your Heroes are your Bottlenecks!
Version Control
Single point of failure
Single point of knowledge
![Page 57: The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016](https://reader035.vdocuments.us/reader035/viewer/2022062523/58714e621a28ab55588b743f/html5/thumbnails/57.jpg)
Thank You!
Anders Lundsgård
@anderslundsgard