SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
DevOps im Mittelstand
Falk Stern | stackconf | 16.6.2020
▪ How to get started with automation
▪ Insight into processes and workflows
▪ Tips for tools that might fit your workflows
▪ No ”one-size-fits-all” solution
www.profi-ag.de 2
What can you expect from this talk?
▪ Linux & Network Admin for ~25 years
▪ Automating stuff for 20 years, starting with FAI and cfengine
▪ Leading operations teams for 8 years
▪ “DevOps” and network consulting for the last 3 years
▪ “good enough” knowledge of operations, automation, monitoring
▪ Focus on Linux/Unix
www.profi-ag.de 3
Who am I and why am I allowed to talk about this?
▪ Small and medium-sized enterprises in DACH
▪ Difficult to translate, up to 50M€ of revenue, up to 499 employees
▪ Family ownership
▪ Long term focus
▪ Industry focused, machinery, auto parts, chemicals
www.profi-ag.de 4
Mittelstand?
▪ Technology focused on commercial, off-the-shelf tooling
▪ Open Source is regarded badly, although there are notable exceptions
▪ Strong dependency on service providers
▪ Small IT departments - IT is seen as a necessity, not an enabler
▪ Many different applications
▪ Not enough time
www.profi-ag.de 5
“Mittelstand” Technology Stack
“We are the pit crew. We chase the 9's; we are lazy and refuse to
do anything manually more than once.”
“DevOps is a method, not a job description”
https://theagileadmin.com/what-is-devops/
www.profi-ag.de 6
What’s DevOps
www.profi-ag.de 7
What’s DevOps
Source: https://commons.wikimedia.org/wiki/File:Devops-toolchain.svg
▪ “But our CxO told us we would be faster/better/stronger!”
▪ “You have to use $tool to be modern!”
▪ “Somebody said we have to use containers!”
▪ DevOps is a journey, not a destination
▪ Not just tools, not just culture
www.profi-ag.de 8
Do we need DevOps?
NO**You don’t need this, but it will make your life easier
www.profi-ag.de 9
Do we need DevOps?
▪ Start small
▪ Break internal silos
▪ Talk to other teams (regularly!)
▪ Cultural shift needs management support
www.profi-ag.de 10
Getting started
www.profi-ag.de 11
Getting started
Source: https://commons.wikimedia.org/wiki/File:Devops-toolchain.svg
▪ Learn and use git for already present scripts
▪ Setup gitea or GitLab
www.profi-ag.de 12
Getting started
▪ Use automation tools
www.profi-ag.de 13
Getting started
#!/bin/bash
for server in a b c d;
do ssh root@$server "apt-get update && apt-get dist-upgrade”
done
---
- name: software upgrade
hosts: linux_servers
remote_user: root
tasks:
- name: apt upgrade
apt:
update_cache: yes
upgrade: dist
www.profi-ag.de 14
Use automation tools
---
- name: software upgrade
hosts: all_servers
remote_user: root
tasks:
- name: Install all security updates
apt:
update_cache: yes
upgrade: dist
when: ansible_os_family == 'Debian'
- name: Install all security updates with automatic reboots
win_updates:
category_names:
- SecurityUpdates
reboot: yes
when: ansible_os_family == 'Windows'
▪ Document your setup
▪ Use an internal wiki
▪ If you do not have an inventory tool, start using one
▪ Excel isn’t
▪ Strong contenders
− Netbox (even has an Ansible inventory plugin)
− Racktables (a bit dated, no API)
www.profi-ag.de 15
Documentation is key
▪ You want to be able to see if something breaks
▪ Only monitor actionable items
▪ Build your monitoring from your automation
▪ e.g. Icinga2 is very easy to configure by Ansible
▪ Centralize logging with graylog
www.profi-ag.de 16
Monitor your stuff
▪ Communicate your capacity to other teams
▪ Have dashboards, use Grafana on big screens
▪ Ask other departments about upcoming projects
▪ Keep some headroom for the unexpected
www.profi-ag.de 17
Plan capacity
www.profi-ag.de 18
Plan capacity
Source: https://grafana.com/grafana/dashboards/8159
▪ Continous Integration / Continous Deployment
▪ Run stuff, when you commit code
▪ Have your scripts syntax checked
▪ Run automatically, when things are updated
▪ Tools: Jenkins, drone.io, GitLab
www.profi-ag.de 19
Cherry on top – CI/CD
▪ Automation reduces errors
▪ Trivial things don’t take away brain capacity
▪ Your servers are consistent and reliable
www.profi-ag.de 20
Why DevOps?
▪ Visualize your work
▪ Have an issue tracker
▪ Try Kanban, put some post-its on a wall
▪ Meet regularly for 5-10 minutes in the morning
▪ Spend time reflecting your work
www.profi-ag.de 21
Adding transparency
▪ Start small
▪ Make your work visible
▪ Experiment with tools and methods
▪ Communicate, either directly or through management
▪ Set achievable goals
▪ Automate what you can, document what you can’t
www.profi-ag.de 22
Wrapping it up
www.profi-ag.de 23
Thank you for listening

Weitere ähnliche Inhalte

Was ist angesagt?

VTi Knowledge Database: a LinkedData project
VTi Knowledge Database: a LinkedData projectVTi Knowledge Database: a LinkedData project
VTi Knowledge Database: a LinkedData project
Tom Klaasen
 

Was ist angesagt? (12)

DevOps and Magento
DevOps and MagentoDevOps and Magento
DevOps and Magento
 
PHP Application Performance
PHP Application PerformancePHP Application Performance
PHP Application Performance
 
Dimitri Bellini and Pietro Antonacci - Manage Zabbix Proxies in Remote Networ...
Dimitri Bellini and Pietro Antonacci - Manage Zabbix Proxies in Remote Networ...Dimitri Bellini and Pietro Antonacci - Manage Zabbix Proxies in Remote Networ...
Dimitri Bellini and Pietro Antonacci - Manage Zabbix Proxies in Remote Networ...
 
Capistrano @ VilniusPHP
Capistrano @ VilniusPHPCapistrano @ VilniusPHP
Capistrano @ VilniusPHP
 
VTi Knowledge Database: a LinkedData project
VTi Knowledge Database: a LinkedData projectVTi Knowledge Database: a LinkedData project
VTi Knowledge Database: a LinkedData project
 
GraphQL Bangkok Meetup 6.0
GraphQL Bangkok Meetup 6.0GraphQL Bangkok Meetup 6.0
GraphQL Bangkok Meetup 6.0
 
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
 
Drupal Café October - DrupalCon Highlights
Drupal Café October - DrupalCon HighlightsDrupal Café October - DrupalCon Highlights
Drupal Café October - DrupalCon Highlights
 
PHP Conference Brasil 2013 - Virtualização e Provisionamento de Ambientes c...
PHP Conference Brasil 2013 - Virtualização e Provisionamento de Ambientes c...PHP Conference Brasil 2013 - Virtualização e Provisionamento de Ambientes c...
PHP Conference Brasil 2013 - Virtualização e Provisionamento de Ambientes c...
 
Code Generation with giant CRUD
Code Generation with giant CRUDCode Generation with giant CRUD
Code Generation with giant CRUD
 
Enterprise git - the hard bits
Enterprise git -  the hard bitsEnterprise git -  the hard bits
Enterprise git - the hard bits
 
DOES SFO 2016 - Matthew Barr - Enterprise Git - the hard bits
DOES SFO 2016 - Matthew Barr - Enterprise Git - the hard bits DOES SFO 2016 - Matthew Barr - Enterprise Git - the hard bits
DOES SFO 2016 - Matthew Barr - Enterprise Git - the hard bits
 

Ähnlich wie stackconf 2020 | DevOps im Mittelstand by Falk Stern

Aws uk ug #8 not everything that happens in vegas stay in vegas
Aws uk ug #8   not everything that happens in vegas stay in vegasAws uk ug #8   not everything that happens in vegas stay in vegas
Aws uk ug #8 not everything that happens in vegas stay in vegas
Peter Mounce
 

Ähnlich wie stackconf 2020 | DevOps im Mittelstand by Falk Stern (20)

Introduction to DevOps and the Practical Use Cases at Credit OK
Introduction to DevOps and the Practical Use Cases at Credit OKIntroduction to DevOps and the Practical Use Cases at Credit OK
Introduction to DevOps and the Practical Use Cases at Credit OK
 
There is something about serverless
There is something about serverlessThere is something about serverless
There is something about serverless
 
Fighting legacy with hexagonal architecture and frameworkless php
Fighting legacy with hexagonal architecture and frameworkless phpFighting legacy with hexagonal architecture and frameworkless php
Fighting legacy with hexagonal architecture and frameworkless php
 
Hinting at a better web
Hinting at a better webHinting at a better web
Hinting at a better web
 
Idi2018 - Serverless does not mean Opsless
Idi2018 - Serverless does not mean OpslessIdi2018 - Serverless does not mean Opsless
Idi2018 - Serverless does not mean Opsless
 
Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015
 
The Self-Service Developer - GOTOCon CPH
The Self-Service Developer - GOTOCon CPHThe Self-Service Developer - GOTOCon CPH
The Self-Service Developer - GOTOCon CPH
 
Meetup 2020 - Back to the Basics part 101 : IaC
Meetup 2020 - Back to the Basics part 101 : IaCMeetup 2020 - Back to the Basics part 101 : IaC
Meetup 2020 - Back to the Basics part 101 : IaC
 
JUST EAT: Embracing DevOps
JUST EAT: Embracing DevOpsJUST EAT: Embracing DevOps
JUST EAT: Embracing DevOps
 
SKS in git ops mode
SKS in git ops modeSKS in git ops mode
SKS in git ops mode
 
Angular (v2 and up) - Morning to understand - Linagora
Angular (v2 and up) - Morning to understand - LinagoraAngular (v2 and up) - Morning to understand - Linagora
Angular (v2 and up) - Morning to understand - Linagora
 
Headless Magento - Meet Magento Poland 2017
Headless Magento - Meet Magento Poland 2017Headless Magento - Meet Magento Poland 2017
Headless Magento - Meet Magento Poland 2017
 
Simplified CI/CD Flows for Salesforce via SFDX - Downunder Dreamin - Sydney
Simplified CI/CD Flows for Salesforce via SFDX - Downunder Dreamin - SydneySimplified CI/CD Flows for Salesforce via SFDX - Downunder Dreamin - Sydney
Simplified CI/CD Flows for Salesforce via SFDX - Downunder Dreamin - Sydney
 
Serverless? How (not) to develop, deploy and operate serverless applications.
Serverless? How (not) to develop, deploy and operate serverless applications.Serverless? How (not) to develop, deploy and operate serverless applications.
Serverless? How (not) to develop, deploy and operate serverless applications.
 
Devops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShiftDevops with Python by Yaniv Cohen DevopShift
Devops with Python by Yaniv Cohen DevopShift
 
cLoki: Like Loki but for ClickHouse
cLoki: Like Loki but for ClickHousecLoki: Like Loki but for ClickHouse
cLoki: Like Loki but for ClickHouse
 
Lambda Architectures in Practice
Lambda Architectures in PracticeLambda Architectures in Practice
Lambda Architectures in Practice
 
Apache Flink Adoption at Shopify
Apache Flink Adoption at ShopifyApache Flink Adoption at Shopify
Apache Flink Adoption at Shopify
 
Getting out of the monolith hell
Getting out of the monolith hellGetting out of the monolith hell
Getting out of the monolith hell
 
Aws uk ug #8 not everything that happens in vegas stay in vegas
Aws uk ug #8   not everything that happens in vegas stay in vegasAws uk ug #8   not everything that happens in vegas stay in vegas
Aws uk ug #8 not everything that happens in vegas stay in vegas
 

Kürzlich hochgeladen

AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
Alluxio, Inc.
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
mbmh111980
 

Kürzlich hochgeladen (20)

Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdfMicrosoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
 
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdfThe Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
 
Naer Toolbar Redesign - Usability Research Synthesis
Naer Toolbar Redesign - Usability Research SynthesisNaer Toolbar Redesign - Usability Research Synthesis
Naer Toolbar Redesign - Usability Research Synthesis
 
10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
AI Hackathon.pptx
AI                        Hackathon.pptxAI                        Hackathon.pptx
AI Hackathon.pptx
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
 
Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdf
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdfStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
 
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
 
Malaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMalaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptx
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 

stackconf 2020 | DevOps im Mittelstand by Falk Stern

  • 1. DevOps im Mittelstand Falk Stern | stackconf | 16.6.2020
  • 2. ▪ How to get started with automation ▪ Insight into processes and workflows ▪ Tips for tools that might fit your workflows ▪ No ”one-size-fits-all” solution www.profi-ag.de 2 What can you expect from this talk?
  • 3. ▪ Linux & Network Admin for ~25 years ▪ Automating stuff for 20 years, starting with FAI and cfengine ▪ Leading operations teams for 8 years ▪ “DevOps” and network consulting for the last 3 years ▪ “good enough” knowledge of operations, automation, monitoring ▪ Focus on Linux/Unix www.profi-ag.de 3 Who am I and why am I allowed to talk about this?
  • 4. ▪ Small and medium-sized enterprises in DACH ▪ Difficult to translate, up to 50M€ of revenue, up to 499 employees ▪ Family ownership ▪ Long term focus ▪ Industry focused, machinery, auto parts, chemicals www.profi-ag.de 4 Mittelstand?
  • 5. ▪ Technology focused on commercial, off-the-shelf tooling ▪ Open Source is regarded badly, although there are notable exceptions ▪ Strong dependency on service providers ▪ Small IT departments - IT is seen as a necessity, not an enabler ▪ Many different applications ▪ Not enough time www.profi-ag.de 5 “Mittelstand” Technology Stack
  • 6. “We are the pit crew. We chase the 9's; we are lazy and refuse to do anything manually more than once.” “DevOps is a method, not a job description” https://theagileadmin.com/what-is-devops/ www.profi-ag.de 6 What’s DevOps
  • 7. www.profi-ag.de 7 What’s DevOps Source: https://commons.wikimedia.org/wiki/File:Devops-toolchain.svg
  • 8. ▪ “But our CxO told us we would be faster/better/stronger!” ▪ “You have to use $tool to be modern!” ▪ “Somebody said we have to use containers!” ▪ DevOps is a journey, not a destination ▪ Not just tools, not just culture www.profi-ag.de 8 Do we need DevOps?
  • 9. NO**You don’t need this, but it will make your life easier www.profi-ag.de 9 Do we need DevOps?
  • 10. ▪ Start small ▪ Break internal silos ▪ Talk to other teams (regularly!) ▪ Cultural shift needs management support www.profi-ag.de 10 Getting started
  • 11. www.profi-ag.de 11 Getting started Source: https://commons.wikimedia.org/wiki/File:Devops-toolchain.svg
  • 12. ▪ Learn and use git for already present scripts ▪ Setup gitea or GitLab www.profi-ag.de 12 Getting started
  • 13. ▪ Use automation tools www.profi-ag.de 13 Getting started #!/bin/bash for server in a b c d; do ssh root@$server "apt-get update && apt-get dist-upgrade” done --- - name: software upgrade hosts: linux_servers remote_user: root tasks: - name: apt upgrade apt: update_cache: yes upgrade: dist
  • 14. www.profi-ag.de 14 Use automation tools --- - name: software upgrade hosts: all_servers remote_user: root tasks: - name: Install all security updates apt: update_cache: yes upgrade: dist when: ansible_os_family == 'Debian' - name: Install all security updates with automatic reboots win_updates: category_names: - SecurityUpdates reboot: yes when: ansible_os_family == 'Windows'
  • 15. ▪ Document your setup ▪ Use an internal wiki ▪ If you do not have an inventory tool, start using one ▪ Excel isn’t ▪ Strong contenders − Netbox (even has an Ansible inventory plugin) − Racktables (a bit dated, no API) www.profi-ag.de 15 Documentation is key
  • 16. ▪ You want to be able to see if something breaks ▪ Only monitor actionable items ▪ Build your monitoring from your automation ▪ e.g. Icinga2 is very easy to configure by Ansible ▪ Centralize logging with graylog www.profi-ag.de 16 Monitor your stuff
  • 17. ▪ Communicate your capacity to other teams ▪ Have dashboards, use Grafana on big screens ▪ Ask other departments about upcoming projects ▪ Keep some headroom for the unexpected www.profi-ag.de 17 Plan capacity
  • 18. www.profi-ag.de 18 Plan capacity Source: https://grafana.com/grafana/dashboards/8159
  • 19. ▪ Continous Integration / Continous Deployment ▪ Run stuff, when you commit code ▪ Have your scripts syntax checked ▪ Run automatically, when things are updated ▪ Tools: Jenkins, drone.io, GitLab www.profi-ag.de 19 Cherry on top – CI/CD
  • 20. ▪ Automation reduces errors ▪ Trivial things don’t take away brain capacity ▪ Your servers are consistent and reliable www.profi-ag.de 20 Why DevOps?
  • 21. ▪ Visualize your work ▪ Have an issue tracker ▪ Try Kanban, put some post-its on a wall ▪ Meet regularly for 5-10 minutes in the morning ▪ Spend time reflecting your work www.profi-ag.de 21 Adding transparency
  • 22. ▪ Start small ▪ Make your work visible ▪ Experiment with tools and methods ▪ Communicate, either directly or through management ▪ Set achievable goals ▪ Automate what you can, document what you can’t www.profi-ag.de 22 Wrapping it up