Upload
anders-lundsgard
View
281
Download
2
Embed Size (px)
Citation preview
DevOps @ ScaniaTrust and some code
Anders LundsgårdMattias Järnhäll
NFI Testfourm 2015, 15/4
I want change! I want stability!
Disclaimer
The opinions expressed in this presentation and on the following slides are solely those of the presenters and not
necessarily those of Scania as a whole.
Scania
Scania as an IT company
• ~1200 workers (800+400) @ Scania IT• ~1400 apps (mix of build and bought)• ~2500 servers (win, linux, MF, iSeries..)• ~1400 TB data• Main site -> Södertälje, Sweden• Regional site -> Sao Paolo, Brazil• Supports Scania Globaly• Application, infrastructure, EUS
Agile what?
theleanstartup.com
Why Agile?
Rarely or unused features.
Improve learning and respond to change.
65%
Limit Work In Progress
CODEIN PROD
PENDING CODE
NEWFEATURS
Value
Waterfall
Water-Scrum-Fall
DevOps
Why are we ready to talk about several deploys per week?
DevOps “prerequisites”
1. Continuous Integration
2. QA is no longer a phase
3. Not only Devs do coding
4. Not only code that matters
5. Deploy is not always a Release
Continuous Integration
Quality over new features
Version everything
Everyone work on Main branch
Automation
The art of Coding
Quality Assurance
The art of Coding
Quality Assistance
The art of Coding
Common abilitiesCode/scripting
Automate repetitive tasksVersion your work
Continuous Experimentation
Fail fast to increase learning
Make it safeto fail
http://codingfast.devops.vision
Release != Deploy
One appliance, one database table with one column, 0.01 % of all users, thanks to feature toggles.
@auriorai
ITOps
I need a new web site for my front end code
Feature Team
Feature Team
Feature Team
Feature Team
Integration
OS
Web
Monitoring
Change Management
NetworkSecurityInfra/
Operations
GUI
BusinessLogic
Database
In the past
Database
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
Tomorrow
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!
HW / Virtualization
Storage
Network
Data center
Application Server / Web Server
Database
OS
Services
Services
Services
Services
Services
Services
Services
.NET Java Oracle
HW / Virtualization
Storage
Network
Data center
Application Server / Web Server
Database
OS
.NET Java Oracle
Serv
ices
Serv
ices
Serv
ices
ITOps DevOps
Version Control
I need a new web site for my front end code
”xxx”
DevOps Tools
Infrastructure as code
Jenkins
Shell ScriptPowershell
Octopus Deploy
Pipeline your code
*
* These tools are only random selected among all ”DevOps-tools”. Scania does not value these more than those not mentioned.
3 awesome infra
Prod deploy every 11,6 sec.
http://zerg.erlangonxen.org
Recommended Reading
Version Control
http://brentleavesjob.devops.vision
Contact
• Anders Lundsgård
– @anderslundsgard
– www.continuousdelivery.eu
• Mattias Järnhäll