SlideShare ist ein Scribd-Unternehmen logo
Kopf frei für’s
Produkt –
Automatisierung mit
Ansible und Jenkins
CodeTalks Conference, Hamburg
Oktober 2014
Über uns
2
André Christ
Gründer & CTO
Dr. Daniel Pozzi
SW Architekt
Agenda
3
Kopf frei für welches Produkt?
Weshalb Automatisierung?
Was sind die „Lessons Learned“?
Wie wurde es mit Jenkins & Ansible umgesetzt?
Typisches Bild für IT Landschaften
in Unternehmen: Fehlende Transparenz
4
Redundanz Kopfmonopole Risiken
leanIX eine leicht zu nutzende SaaS-Plattform
für das IT Architektur-Management
5
Fact Sheets & Tagging
Kontext-basierte Suche
API, Import & Export
Kommentierung
IT Inventory Kollaborationsplattform Interaktives Reporting
Activity Stream &
Benachrichtigungen
Subscription
Print & Export (PDF)
Best Practice Reports
Interaktive Anpassung
Agenda
6
Kopf frei für welches Produkt?
Weshalb Automatisierung?
Wie wurde es mit Jenkins & Ansible umgesetzt?
Was sind die „Lessons Learned“?
Starke Nachfrage namhafter Kunden
nach frischem Ansatz
7
2012 2013 2014 2015
> 50 Kunden
Skalierung der Platform
2012 20142013
“MVP”
Enterprise
Integration / SSO
Single Page
JS App
Professionalisierung
Build-Umgebung
Qualitäts &
Servicemangement
9
Statische
Dokumentation?
• Zu wenig Ressourcen
• Nicht wiederholbar
• Schnell veraltet
Agenda
10
Kopf frei für welches Produkt?
Weshalb Automatisierung?
Wie wurde es mit Jenkins & Ansible umgesetzt?
Was sind die „Lessons Learned“?
Anwendungsfälle
11
DevOps
Code, Build & Test Provision & Deploy WebEx & Trial-Phase
Warum Jenkins & Ansible?
12
Einfach
Erweiterbar
Skalierbar
Flexibel
Open Source
Community
Gute Weboberfläche Einfache Syntax (YAML)
Continuous Integration (CI) &
Continuous Delivery (CD)
Zahlreiche Plugins Zahlreiche Module
Verteiltes Build System Pull-Mode anstatt SSH-Push
Konfiguration von Jobs Kapselung durch Rollen
MIT License MIT License
Sehr aktiv (seit 2011) Starkes Wachstum (seit 2012)
Orchestrierung von
Admin-Aufgaben
Einbindung in den Gesamtprozess
13
Deploy to
Staging
Development
Branch
Build
Automated
Tests
Business
Tests
Merge to
Production
Deploy to
Production
In Production
GitFlow xUnit + Selenium
GitFlow BrowserStack
Ansible Architektur
14
Tasks
Install Package
Copy file
Apply template
Rollen
Linux Basis
Apache
MySQL
PHP
Application 1
...
Playbooks
Provision DB Server
Deploy Web App
...
Hosts
SVR-DE-TEST
SVR-DE-DEV
SVR-DE-PROD
SVR-US-PROD
Beispiel für Live-Demo
CI Server Webserver
1 Jenkins führt Ansible playbook aus
2 Ansible
… installiert Apache auf Linux System
… erstellt vhost
… deployed HTML-Seite aus template
1
2
Live-Demo
16
Ansible: Ausführung des Playbooks
17
#
# Provisions the demo web server
#
---
- hosts: web
sudo: true
roles:
- {role: 'init'}
- {role: 'apache2'}
- {role: 'webbox'}
/ansible/provision_web.yml
$ ansible_playbook provision_web.yml –I hosts/web -v
Ansible: Apache Rolle (Auszug)
18
[…]
- name: Install Apache
sudo: yes
apt: pkg=apache2 state=latest
- name: Install Apache Modules
command: a2enmod {{item}} creates="/etc/apache2/mods-enabled/{{item}}.load"
notify: restart apache
with_items: apache_modules
[…]
/ansible/roles/apache2/tasks/install.yml
Ansible: Hosts Datei
19
#
# Gruppe mit Hosts (DNS-Name & Parameter)
#
[web]
web-box.dev ansible_ssh_user=vagrant […]
web.leanix.net ansible_ssh_user=root
[db]
db-box.dev ansible_ssh_user=vagrant […]
db.leanix.net ansible_ssh_user=root
Roles/apache2/tasks/install.yml
Agenda
20
Kopf frei für welches Produkt?
Weshalb Automatisierung?
Wie wurde es mit Jenkins & Ansible umgesetzt?
Was sind die „Lessons Learned“?
Erste Hürden und Problemlösungen
21
• Ansible v1 nicht unter Windows
• Für bestimmte Tasks müssen
Bilbliotheken auf Ziel-Maschine
vorhanden sein
• Parallele Ausführung führt zu
Locking von Packetmanagern
Nutzung via Vagrant
In Tasks bzw. Rollen check auf
Installierte Pakete
Erst prüfen, ob Paket installiert
werden muss
Was haben wir davon?
22
20 Tage
3 Std
30 Min
Aufwand für die Einrichtung, Lernen, Stolperfallen von
Ansible & Jenkins
Ramp-Up eines neuen Mitarbeiters bis zum ersten
Commit
Zeit bis ein neuer leanIX Node „from scratch“
produktiv ist (bei installiertem OS)
23
DANKE!
Follow us @leanix_net
Download Beispiel Code
github.com/leanix/codetalks_2014_demo
Zu kompliziert??? - Bei LeanIX
moderne Anwendungen für
Unternehmen entwickeln!
jobs@leanix.net
Backup
24
leanIX integriert sich in ein Ökosystem für
modernes IT Management
25
Collaboration- & Document Mgmt
IT Service Management &
Help Desk
Requirements- &
Business Process Mgmt
Project Portfolio- and
Ressource-Management
Selected products to illustrate
Out-of-the-box
Integrationen
REST API &
SDKs
developer.leanix.net
Verständliche Reports und flexible Sichten
ermöglichen eine umfassende IT Transparenz
26
Heatmaps Roadmaps Costs Metrics
Application Landscape
Interface Landscape
Application Sourcing Map
Application Roadmap
Technology Vendor Support
Project Roadmap
Operations Cost by Capability
Operations Cost by Provider
Project Cost & Status
Application Portfolio
Application Lifecycle Development
Application Age Structure
Nahtlose Einbindung der Geschäftsprozesse
sichert Visibilität bei den Fachseiten
27
Sync

Weitere ähnliche Inhalte

PDF
Continuous deployment in LeanIX @ Bonn Agile
PPTX
Alle reden über Microservices - Wie haben wir es bei LeanIX gemacht @ EA Conn...
PDF
Microservices – die Architektur für Agile-Entwicklung?
PDF
Devops ohne root
PPTX
Azure Bootcamp Hamburg
PDF
Das ist doch alles nur Frontend - Wer braucht da schon Architektur?
PDF
Serverless Survival Guide
PDF
Mehr Sicherheit durch Automatisierung
Continuous deployment in LeanIX @ Bonn Agile
Alle reden über Microservices - Wie haben wir es bei LeanIX gemacht @ EA Conn...
Microservices – die Architektur für Agile-Entwicklung?
Devops ohne root
Azure Bootcamp Hamburg
Das ist doch alles nur Frontend - Wer braucht da schon Architektur?
Serverless Survival Guide
Mehr Sicherheit durch Automatisierung

Was ist angesagt? (20)

PPTX
Windows Azure Platform Overview
PPTX
Azure für SysAdmins Eine Reise durch die Cloud v.0.5
PPTX
Microservice architecture applied. 14 Praxis-Tipps für die Nutzung von Micros...
PDF
Einführung in Puppet und Vagrant
PDF
Auf gehts in die Cloud: „Das kann doch nicht so schwer sein!“
PPTX
skilllocation Foliensatz zu Microsoft Azure
PDF
Oracle WebLogic for DevOps
PDF
Continuous Delivery @ FriendScout24 | Webinale 2012
PDF
Auf geht‘s in die Cloud: „Das kann doch nicht so schwer sein!“
PDF
Supersonic Java für die Cloud: Quarkus
PDF
Stackstorm – Event driven Automation
PDF
Serverless: The Missing Manual
PDF
JavaScript goes Enterprise - Node.js-Anwendungen mit Visual Studio und den No...
PDF
Devops
PDF
Warum empfehle ich meinen Kunden das Spring Framework?
PDF
Liferay als Plattform für Microservices
PPTX
Aber schnell! Top HTML5 Performance Tipps für Hybrid- und Web-Apps
PPTX
Roadshow: Einstieg in die Hybrid-App Entwicklung mit dem Intel XDK und Apache...
PDF
Cloud Wars – what‘s the smartest data platform? Vergleich Microsoft Azure, Am...
PDF
Dev Day 2019: Alexander Lichter - JAMstack - Eine neuartige Webanwendungs-Arc...
Windows Azure Platform Overview
Azure für SysAdmins Eine Reise durch die Cloud v.0.5
Microservice architecture applied. 14 Praxis-Tipps für die Nutzung von Micros...
Einführung in Puppet und Vagrant
Auf gehts in die Cloud: „Das kann doch nicht so schwer sein!“
skilllocation Foliensatz zu Microsoft Azure
Oracle WebLogic for DevOps
Continuous Delivery @ FriendScout24 | Webinale 2012
Auf geht‘s in die Cloud: „Das kann doch nicht so schwer sein!“
Supersonic Java für die Cloud: Quarkus
Stackstorm – Event driven Automation
Serverless: The Missing Manual
JavaScript goes Enterprise - Node.js-Anwendungen mit Visual Studio und den No...
Devops
Warum empfehle ich meinen Kunden das Spring Framework?
Liferay als Plattform für Microservices
Aber schnell! Top HTML5 Performance Tipps für Hybrid- und Web-Apps
Roadshow: Einstieg in die Hybrid-App Entwicklung mit dem Intel XDK und Apache...
Cloud Wars – what‘s the smartest data platform? Vergleich Microsoft Azure, Am...
Dev Day 2019: Alexander Lichter - JAMstack - Eine neuartige Webanwendungs-Arc...
Anzeige

Andere mochten auch (20)

PDF
Tech Talk: DevOps at LeanIX @ Startup Camp Berlin
PDF
LeanIX Enterprise Architecture Management - Release Notes 3.4
PPTX
Ansible benelux meetup - Amsterdam 27-5-2015
PDF
AnsibleFest London 2016 - managing your cisco datacenter network with ansible
PDF
LeanIX Enterprise Architecture Management @ 3rd EA Connect Day 2016
PDF
Trends in Enterprise Architecture Management (EAM) Tools
PDF
Statische Code-Analyse mit Python
PPTX
Extending ansible
PDF
GraphQL in LeanIX Enterprise Architecture Management @ Bonnagile Meetup
PPTX
Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016
PDF
The Next Big Thing
PDF
Simple REST-APIs with Dropwizard and Swagger
PPTX
Modernizing IT with Microservices
PDF
SaaS für Enterprise Architecture Management
PDF
Authorization and Authentication in Microservice Environments
PPTX
Continuous integration eine Einführung für Unkundige
PDF
Git-flow workflow and pull-requests
PDF
DevDay 2016: Peter Lehmann - Testautomatisierungsframework Xeta
PDF
How to Use Analytics on SlideShare
PDF
Unit testing - Überblick für (Projekt) Manager
Tech Talk: DevOps at LeanIX @ Startup Camp Berlin
LeanIX Enterprise Architecture Management - Release Notes 3.4
Ansible benelux meetup - Amsterdam 27-5-2015
AnsibleFest London 2016 - managing your cisco datacenter network with ansible
LeanIX Enterprise Architecture Management @ 3rd EA Connect Day 2016
Trends in Enterprise Architecture Management (EAM) Tools
Statische Code-Analyse mit Python
Extending ansible
GraphQL in LeanIX Enterprise Architecture Management @ Bonnagile Meetup
Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016
The Next Big Thing
Simple REST-APIs with Dropwizard and Swagger
Modernizing IT with Microservices
SaaS für Enterprise Architecture Management
Authorization and Authentication in Microservice Environments
Continuous integration eine Einführung für Unkundige
Git-flow workflow and pull-requests
DevDay 2016: Peter Lehmann - Testautomatisierungsframework Xeta
How to Use Analytics on SlideShare
Unit testing - Überblick für (Projekt) Manager
Anzeige

Ähnlich wie CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise Architecture Management (20)

PDF
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
PDF
.NET Summit 2016 in München: ASP.NET Core 1
PDF
Ansible für Entwickler: Konfigurationsmanagement nicht nur für Ops
PDF
Blueprints bei E-Commerce Workloads mit AWS
PPT
Skalierung & Performance
PPTX
Webinar - ABAP Development Tools
PDF
Blueprints bei E-Commerce Workloads mit AWS
PPTX
Architekturen für .NET Core-Anwendungen
PPTX
Continuous Lifecycle 2013: Testgetriebenes Arbeiten im Betrieb
PDF
200 verteilte Oracle- Server mit Ansible ausrollen
PDF
B1 Acocon Lotus Day 08.09.2009
PDF
Martin Schurz - Testing ist nicht nur etwas für Anwendungssoftware.pdf
PDF
Hsps2014
PDF
Boost your APEX Deployment and Provisioning with Docker
PDF
Hands-on Workshop: API-Dokumentation mit OpenAPI / Swagger in ASP.NET Core
PPTX
Enterprise APEX
PPTX
Einführung in ASP.NET Core Middlewares
PDF
Slides__Splunk_UserGroup_20220407.pdf
PPT
B3 Lotus Expeditor Und Composite Applications
PDF
Opensource Tools für das Data Center Management
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
.NET Summit 2016 in München: ASP.NET Core 1
Ansible für Entwickler: Konfigurationsmanagement nicht nur für Ops
Blueprints bei E-Commerce Workloads mit AWS
Skalierung & Performance
Webinar - ABAP Development Tools
Blueprints bei E-Commerce Workloads mit AWS
Architekturen für .NET Core-Anwendungen
Continuous Lifecycle 2013: Testgetriebenes Arbeiten im Betrieb
200 verteilte Oracle- Server mit Ansible ausrollen
B1 Acocon Lotus Day 08.09.2009
Martin Schurz - Testing ist nicht nur etwas für Anwendungssoftware.pdf
Hsps2014
Boost your APEX Deployment and Provisioning with Docker
Hands-on Workshop: API-Dokumentation mit OpenAPI / Swagger in ASP.NET Core
Enterprise APEX
Einführung in ASP.NET Core Middlewares
Slides__Splunk_UserGroup_20220407.pdf
B3 Lotus Expeditor Und Composite Applications
Opensource Tools für das Data Center Management

Mehr von LeanIX GmbH (20)

PDF
LeanIX Virtual Workspaces
PDF
How to reduce complexity by segregating your data with Virtual Workspaces
PDF
Gartner EA: The Rise of Data-driven Architectures
PDF
Application Harmonisation using Design Principles in LeanIX
PPT
Effective EAM: whet your appetite & deliver solutions
PPTX
Lean EAM with the Microservices Add-on and the Signavio Integration
PPTX
Next Level Enterprise Architecture
PDF
Integration Architecture with the Data Flow
PPTX
LeanIX-ServiceNow Integration
PPTX
Application Rationalization with LeanIX
PDF
Custom Reports & Integrations with GraphQL
PPTX
LeanIX Inventory: Import & Export
PDF
Survey Add-on Showcase: Cloud Transformation
PDF
The LeanIX Microservices Integration
PPTX
Ensure GDPR Compliance with LeanIX
PPTX
LeanIX-Signavio Integration
PPTX
How to set up a Lean Standards Governance
PPTX
Innovative API-Based LeanIX Enhancements
PDF
Moving EA - from where we are to where we should be
PDF
Is next generation EAM more than just agile IT planning?
LeanIX Virtual Workspaces
How to reduce complexity by segregating your data with Virtual Workspaces
Gartner EA: The Rise of Data-driven Architectures
Application Harmonisation using Design Principles in LeanIX
Effective EAM: whet your appetite & deliver solutions
Lean EAM with the Microservices Add-on and the Signavio Integration
Next Level Enterprise Architecture
Integration Architecture with the Data Flow
LeanIX-ServiceNow Integration
Application Rationalization with LeanIX
Custom Reports & Integrations with GraphQL
LeanIX Inventory: Import & Export
Survey Add-on Showcase: Cloud Transformation
The LeanIX Microservices Integration
Ensure GDPR Compliance with LeanIX
LeanIX-Signavio Integration
How to set up a Lean Standards Governance
Innovative API-Based LeanIX Enhancements
Moving EA - from where we are to where we should be
Is next generation EAM more than just agile IT planning?

CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise Architecture Management

  • 1. Kopf frei für’s Produkt – Automatisierung mit Ansible und Jenkins CodeTalks Conference, Hamburg Oktober 2014
  • 2. Über uns 2 André Christ Gründer & CTO Dr. Daniel Pozzi SW Architekt
  • 3. Agenda 3 Kopf frei für welches Produkt? Weshalb Automatisierung? Was sind die „Lessons Learned“? Wie wurde es mit Jenkins & Ansible umgesetzt?
  • 4. Typisches Bild für IT Landschaften in Unternehmen: Fehlende Transparenz 4 Redundanz Kopfmonopole Risiken
  • 5. leanIX eine leicht zu nutzende SaaS-Plattform für das IT Architektur-Management 5 Fact Sheets & Tagging Kontext-basierte Suche API, Import & Export Kommentierung IT Inventory Kollaborationsplattform Interaktives Reporting Activity Stream & Benachrichtigungen Subscription Print & Export (PDF) Best Practice Reports Interaktive Anpassung
  • 6. Agenda 6 Kopf frei für welches Produkt? Weshalb Automatisierung? Wie wurde es mit Jenkins & Ansible umgesetzt? Was sind die „Lessons Learned“?
  • 7. Starke Nachfrage namhafter Kunden nach frischem Ansatz 7 2012 2013 2014 2015 > 50 Kunden
  • 8. Skalierung der Platform 2012 20142013 “MVP” Enterprise Integration / SSO Single Page JS App Professionalisierung Build-Umgebung Qualitäts & Servicemangement
  • 9. 9 Statische Dokumentation? • Zu wenig Ressourcen • Nicht wiederholbar • Schnell veraltet
  • 10. Agenda 10 Kopf frei für welches Produkt? Weshalb Automatisierung? Wie wurde es mit Jenkins & Ansible umgesetzt? Was sind die „Lessons Learned“?
  • 11. Anwendungsfälle 11 DevOps Code, Build & Test Provision & Deploy WebEx & Trial-Phase
  • 12. Warum Jenkins & Ansible? 12 Einfach Erweiterbar Skalierbar Flexibel Open Source Community Gute Weboberfläche Einfache Syntax (YAML) Continuous Integration (CI) & Continuous Delivery (CD) Zahlreiche Plugins Zahlreiche Module Verteiltes Build System Pull-Mode anstatt SSH-Push Konfiguration von Jobs Kapselung durch Rollen MIT License MIT License Sehr aktiv (seit 2011) Starkes Wachstum (seit 2012) Orchestrierung von Admin-Aufgaben
  • 13. Einbindung in den Gesamtprozess 13 Deploy to Staging Development Branch Build Automated Tests Business Tests Merge to Production Deploy to Production In Production GitFlow xUnit + Selenium GitFlow BrowserStack
  • 14. Ansible Architektur 14 Tasks Install Package Copy file Apply template Rollen Linux Basis Apache MySQL PHP Application 1 ... Playbooks Provision DB Server Deploy Web App ... Hosts SVR-DE-TEST SVR-DE-DEV SVR-DE-PROD SVR-US-PROD
  • 15. Beispiel für Live-Demo CI Server Webserver 1 Jenkins führt Ansible playbook aus 2 Ansible … installiert Apache auf Linux System … erstellt vhost … deployed HTML-Seite aus template 1 2
  • 17. Ansible: Ausführung des Playbooks 17 # # Provisions the demo web server # --- - hosts: web sudo: true roles: - {role: 'init'} - {role: 'apache2'} - {role: 'webbox'} /ansible/provision_web.yml $ ansible_playbook provision_web.yml –I hosts/web -v
  • 18. Ansible: Apache Rolle (Auszug) 18 […] - name: Install Apache sudo: yes apt: pkg=apache2 state=latest - name: Install Apache Modules command: a2enmod {{item}} creates="/etc/apache2/mods-enabled/{{item}}.load" notify: restart apache with_items: apache_modules […] /ansible/roles/apache2/tasks/install.yml
  • 19. Ansible: Hosts Datei 19 # # Gruppe mit Hosts (DNS-Name & Parameter) # [web] web-box.dev ansible_ssh_user=vagrant […] web.leanix.net ansible_ssh_user=root [db] db-box.dev ansible_ssh_user=vagrant […] db.leanix.net ansible_ssh_user=root Roles/apache2/tasks/install.yml
  • 20. Agenda 20 Kopf frei für welches Produkt? Weshalb Automatisierung? Wie wurde es mit Jenkins & Ansible umgesetzt? Was sind die „Lessons Learned“?
  • 21. Erste Hürden und Problemlösungen 21 • Ansible v1 nicht unter Windows • Für bestimmte Tasks müssen Bilbliotheken auf Ziel-Maschine vorhanden sein • Parallele Ausführung führt zu Locking von Packetmanagern Nutzung via Vagrant In Tasks bzw. Rollen check auf Installierte Pakete Erst prüfen, ob Paket installiert werden muss
  • 22. Was haben wir davon? 22 20 Tage 3 Std 30 Min Aufwand für die Einrichtung, Lernen, Stolperfallen von Ansible & Jenkins Ramp-Up eines neuen Mitarbeiters bis zum ersten Commit Zeit bis ein neuer leanIX Node „from scratch“ produktiv ist (bei installiertem OS)
  • 23. 23 DANKE! Follow us @leanix_net Download Beispiel Code github.com/leanix/codetalks_2014_demo Zu kompliziert??? - Bei LeanIX moderne Anwendungen für Unternehmen entwickeln! jobs@leanix.net
  • 25. leanIX integriert sich in ein Ökosystem für modernes IT Management 25 Collaboration- & Document Mgmt IT Service Management & Help Desk Requirements- & Business Process Mgmt Project Portfolio- and Ressource-Management Selected products to illustrate Out-of-the-box Integrationen REST API & SDKs developer.leanix.net
  • 26. Verständliche Reports und flexible Sichten ermöglichen eine umfassende IT Transparenz 26 Heatmaps Roadmaps Costs Metrics Application Landscape Interface Landscape Application Sourcing Map Application Roadmap Technology Vendor Support Project Roadmap Operations Cost by Capability Operations Cost by Provider Project Cost & Status Application Portfolio Application Lifecycle Development Application Age Structure
  • 27. Nahtlose Einbindung der Geschäftsprozesse sichert Visibilität bei den Fachseiten 27 Sync