SlideShare a Scribd company logo
1 of 32
Download to read offline
Continuous Delivery @ SAP IT
Alon Aizenberg
SAP Global IT / Social Collaboration Platform team
January 2013




                                                     INTE
                                                         RNA
                                                            L
About SAP	




                                       §    40 years old
                                       §    Leader in enterprise applications
                                       §    ~ 70K employees
                                       §    ~ 183K customers
                                       §    ~ 130 countries

©  2013 SAP AG. All rights reserved.                                      Public   2
Social Collaboration Platform team	


We produce many platforms




©  2013 SAP AG. All rights reserved.   Public   3
Social Collaboration Platform team	


We produce many platforms




©  2013 SAP AG. All rights reserved.   Public   4
Search Consolidation Project	



§    One stop when searching SAP related content
§    ~ 100 machines in all environments
§    ~ 40 in productive deployments
§    ~ 2 years in continuous
       delivery mode




©  2013 SAP AG. All rights reserved.                Public   5
The Problems	




                                       ?


©  2013 SAP AG. All rights reserved.       Public   6
The Problems	



                                                     Physical
                                                    hardware,
                                                   manual setup


                                       Manual QA                    Manual
                                        phases                     deployment


                                                   Big features,
                                                       long
                                                   development
                                                      cycles



©  2013 SAP AG. All rights reserved.                                            Public   7
The Tools	



                                                    Virtualization,
                                                    Infrastructure
                                                     Automation


                                          Test                        Deployment
                                       Automation                     Automation



                                                     Continuous
                                                       Delivery




©  2013 SAP AG. All rights reserved.                                               Public   8
The Tools	




©  2013 SAP AG. All rights reserved.   Public   9
Infrastructure
                                        Automation




©  2013 SAP AG. All rights reserved.                    Public   10
Infrastructure Automation	
                                                        Infrastructure
                                                         Automation




§    Start with manual VM operations
§    Command line wrapper allows automation
§    Evolve, full Infrastructure as code
§    Projects, environments, machine descriptors and
      automation scripts in source control




©  2013 SAP AG. All rights reserved.                    Public           11
Project Configuration Example
                                                                                 Infrastructure
                                                                                 Automation




chefrepo: git@github.sap.corp:srch/chef-repo-int.git

  - name: prod                                   - name: index01
         servers:                                  runlist:
             - name: search01                          - role[indexing-server]
                 runlist:                        - name: index02
                      - role[search-server]        runlist:
             - name: search02                          - role[indexing-server]
                 runlist:                        - name: index03
                      - role[search-server]        runlist:
             - name: db                                - role[indexing-server]
                 template: SLES_11_64bit         - name: ls5133
                 cpus: 8                           physical: true
                 memory: 16384mb                   dnsname: search11111
                 runlist:                          ipaddress: 11.11.11.11
                      - role[hanadb-server]        runlist:
                                                       - role[trex-name-server]


©  2013 SAP AG. All rights reserved.                                         Public               12
Chef usage	
                                                               Infrastructure
                                                                Automation




§    Each project has a chef repository in git
§    Shared automations have their own repositories in git
§    Use librarian-chef and git to create a full chef repository
       Before uploading the scripts to chef server




©  2013 SAP AG. All rights reserved.                           Public           13
Chef Usage	
                                                                                          Infrastructure
                                                                                          Automation




 Project A Chef repository



                                                         Chef Server
                                         Combined
                                       chef repository   Production
                                                                             Project A
                                                                       production environment

Shared cookbook repo /
       Cookbook shelf




©  2013 SAP AG. All rights reserved.                                                     Public            14
Librarian-Chef Configuration Examples	
                                                               Infrastructure
                                                                Automation




site "http://cookbooks.sap.corp:8080"

cookbook 'monsoon’

# loads jvm cookbook because tomcat declares it’s dependent on jvm
cookbook 'tomcat’

# use git repo to load a cookbook
cookbook 'saml2', :git => 'git://github.sap.corp/srch/saml2’




©  2013 SAP AG. All rights reserved.                           Public           15
Barkeeper
                                                            Infrastructure
                                                            Automation




§     The glue
§     Manages projects and environments
§     Manages VMs
§     Manages chef servers
§     Handles permissions
§     UI, REST API and CLI


                                                   API

      Project configuration and chef   Barkeeper         VMware
                repository
©  2013 SAP AG. All rights reserved.                       Public            16
Barkeeper
                                       Infrastructure
                                        Automation




©  2013 SAP AG. All rights reserved.   Public           17
Deployment
                                       Automation




©  2013 SAP AG. All rights reserved.                Public   18
Deployment Automation
                                                   Deployment
                                                   Automation




Dedicated cookbooks automate
       application deployment and configuration




©  2013 SAP AG. All rights reserved.              Public        19
Test
                                       Automation




©  2013 SAP AG. All rights reserved.                Public   20
Test Automation	
                                                        Test
                                                     Automation




 §    End to end functional acceptance tests
 §    80% of functional tests are automated
 §    Manual QA
           §    Integrations with other systems
           §    Not everything is automated, yet




©  2013 SAP AG. All rights reserved.                Public        21
Continuous
                                        Delivery




©  2013 SAP AG. All rights reserved.                Public   22
Continuous Delivery	
                                                            Continuous
                                                             Delivery




§    Bamboo Continuous Integration server
§    Orchestrates the flow from code push to productive
      deployment
§    Build grid
§    Parallel execution




©  2013 SAP AG. All rights reserved.                       Public        23
Bamboo jobs               Source/Chef
                                       repositories
                                                             Commit
            Build, unit test




          Package, publish
                                                           Pull deployment automation,
                                       Artifact / Binary       binaries and artifacts
                                          repository
            Deploy Test,
           functional tests
                                                                      Test

              Deploy QA,
              sanity tests                                            QA


                                                                      Prod
              Deploy Prod
                                                                 Environments


©  2013 SAP AG. All rights reserved.                                         Public   24
Pipeline Interactions – Deploy Environment	
                                                                                             Continuous
                                                                                              Delivery




                                                                Create chef server
                                                                                     Chef Server




                                                   Bar Keeper
                                                                Create VMs
                                                                                     VM 1

                                                                                     VM 2

                                                                                     VM 3

                                                                                     VM 4

                                                                                     VM 5

                                                                                     VM 6


                                GIT Project Repo

©  2013 SAP AG. All rights reserved.                                                        Public        25
Pipeline Interactions - Install Environment	
                                                                                                Continuous
                                                                                                 Delivery




                                                                     Sync
                                Chef Server                                             Chef Server




                                                        Bar Keeper
        Bamboo




                                                                     Run chef clients
                                                                                        VM 1

                                                                                        VM 2

                              Build Agents
                                                                                        VM 3

                                                                                        VM 4

                                                                                        VM 5

                                                                                        VM 6


                                                  Shared cookbooks
                                  GIT Chef Repo         shelf

©  2013 SAP AG. All rights reserved.                                                           Public        26
Pipeline Interactions - Test Application	
                                                                                  Continuous
                                                                                   Delivery




                                Chef Server                               Chef Server

                                                       REST API Tests
        Bamboo




                                                                          VM 1
                                                       Functional tests
                                                                          VM 2

                              Build Agents
                                                                          VM 3

                                                                          VM 4

                                                                          VM 5

                                                                          VM 6


                           Git source repo with test
                                  automation

©  2013 SAP AG. All rights reserved.                                             Public        27
How did we get there?	




  §    2 years
  §    Evolution not revolution
  §    Constantly rethink and improve
  §    Tech talks, documentation, encourage hands on
  §    Make the tools easy to use for everyone




©  2013 SAP AG. All rights reserved.                    Public   28
A change in the state of mind	




  §    Not only coding
  §    Master always shippable
            §    Feature toggles
            §    Must be maintained
  §    Be ready to handle production
  §    If you build it… they will come




©  2013 SAP AG. All rights reserved.      Public   29
Lessons learned	




§    Management buy-in
§    Fast pipeline
§    Application adaptations
§    Testing automation is big investment
§    Tests should be easy to write and run
§    Automate everything – build infrastructure, load
      balancers, load tests, monitoring, analytics etc.



©  2013 SAP AG. All rights reserved.                      Public   30
?
                                       Questions




©  2013 SAP AG. All rights reserved.               Public   31
Thank you
                                          Twitter @alonaizenberg
                                       Email alon.aizenberg@sap.com




©  2013 SAP AG. All rights reserved.                                  Public   32

More Related Content

What's hot

Philly Spring UG Roo Overview
Philly Spring UG Roo OverviewPhilly Spring UG Roo Overview
Philly Spring UG Roo Overviewkrimple
 
Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Michael Elder
 
Quality on Submit
Quality on SubmitQuality on Submit
Quality on SubmitAgileSparks
 
Att lyckas med integration av arbetet från flera scrum team - Christophe Acho...
Att lyckas med integration av arbetet från flera scrum team - Christophe Acho...Att lyckas med integration av arbetet från flera scrum team - Christophe Acho...
Att lyckas med integration av arbetet från flera scrum team - Christophe Acho...manssandstrom
 
Implementing Enterprise Identity and Access Management in a microservices wor...
Implementing Enterprise Identity and Access Management in a microservices wor...Implementing Enterprise Identity and Access Management in a microservices wor...
Implementing Enterprise Identity and Access Management in a microservices wor...Judy Breedlove
 
Pivotal cloud foundry introduction
Pivotal cloud foundry introductionPivotal cloud foundry introduction
Pivotal cloud foundry introductionGaurav Shukla
 
Test-Driven Infrastructure with CloudFormation and Cucumber.
Test-Driven Infrastructure with CloudFormation and Cucumber. Test-Driven Infrastructure with CloudFormation and Cucumber.
Test-Driven Infrastructure with CloudFormation and Cucumber. Stelligent
 
Cloud Foundry Roadmap Update - OSCON - May 2017
Cloud Foundry Roadmap Update - OSCON - May 2017Cloud Foundry Roadmap Update - OSCON - May 2017
Cloud Foundry Roadmap Update - OSCON - May 2017Chip Childers
 
Spring Cloud Services with Pivotal Cloud Foundry- Gokhan Goksu
Spring Cloud Services with Pivotal Cloud Foundry- Gokhan GoksuSpring Cloud Services with Pivotal Cloud Foundry- Gokhan Goksu
Spring Cloud Services with Pivotal Cloud Foundry- Gokhan GoksuVMware Tanzu
 
Agile integration workshop
Agile integration workshopAgile integration workshop
Agile integration workshopJudy Breedlove
 
Manchester geek night pcf 101
Manchester geek night   pcf 101Manchester geek night   pcf 101
Manchester geek night pcf 101Sufyaan Kazi
 
Pivotal Cloud Foundry 2.5: A First Look
Pivotal Cloud Foundry 2.5: A First LookPivotal Cloud Foundry 2.5: A First Look
Pivotal Cloud Foundry 2.5: A First LookVMware Tanzu
 
Red Hat Agile integration workshop - Atlanta
Red Hat Agile integration workshop - AtlantaRed Hat Agile integration workshop - Atlanta
Red Hat Agile integration workshop - AtlantaJudy Breedlove
 

What's hot (13)

Philly Spring UG Roo Overview
Philly Spring UG Roo OverviewPhilly Spring UG Roo Overview
Philly Spring UG Roo Overview
 
Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)
 
Quality on Submit
Quality on SubmitQuality on Submit
Quality on Submit
 
Att lyckas med integration av arbetet från flera scrum team - Christophe Acho...
Att lyckas med integration av arbetet från flera scrum team - Christophe Acho...Att lyckas med integration av arbetet från flera scrum team - Christophe Acho...
Att lyckas med integration av arbetet från flera scrum team - Christophe Acho...
 
Implementing Enterprise Identity and Access Management in a microservices wor...
Implementing Enterprise Identity and Access Management in a microservices wor...Implementing Enterprise Identity and Access Management in a microservices wor...
Implementing Enterprise Identity and Access Management in a microservices wor...
 
Pivotal cloud foundry introduction
Pivotal cloud foundry introductionPivotal cloud foundry introduction
Pivotal cloud foundry introduction
 
Test-Driven Infrastructure with CloudFormation and Cucumber.
Test-Driven Infrastructure with CloudFormation and Cucumber. Test-Driven Infrastructure with CloudFormation and Cucumber.
Test-Driven Infrastructure with CloudFormation and Cucumber.
 
Cloud Foundry Roadmap Update - OSCON - May 2017
Cloud Foundry Roadmap Update - OSCON - May 2017Cloud Foundry Roadmap Update - OSCON - May 2017
Cloud Foundry Roadmap Update - OSCON - May 2017
 
Spring Cloud Services with Pivotal Cloud Foundry- Gokhan Goksu
Spring Cloud Services with Pivotal Cloud Foundry- Gokhan GoksuSpring Cloud Services with Pivotal Cloud Foundry- Gokhan Goksu
Spring Cloud Services with Pivotal Cloud Foundry- Gokhan Goksu
 
Agile integration workshop
Agile integration workshopAgile integration workshop
Agile integration workshop
 
Manchester geek night pcf 101
Manchester geek night   pcf 101Manchester geek night   pcf 101
Manchester geek night pcf 101
 
Pivotal Cloud Foundry 2.5: A First Look
Pivotal Cloud Foundry 2.5: A First LookPivotal Cloud Foundry 2.5: A First Look
Pivotal Cloud Foundry 2.5: A First Look
 
Red Hat Agile integration workshop - Atlanta
Red Hat Agile integration workshop - AtlantaRed Hat Agile integration workshop - Atlanta
Red Hat Agile integration workshop - Atlanta
 

Viewers also liked

One Does Not Simply Walk Into Devops
One Does Not Simply Walk Into Devops One Does Not Simply Walk Into Devops
One Does Not Simply Walk Into Devops Uri Cohen
 
Continuous Delivery at Wix, Yaniv Even Haim
Continuous Delivery at Wix, Yaniv Even HaimContinuous Delivery at Wix, Yaniv Even Haim
Continuous Delivery at Wix, Yaniv Even HaimDevOpsDays Tel Aviv
 
Continuous Delivery at SAP IT, Alon Aizenberg
Continuous Delivery at SAP IT, Alon AizenbergContinuous Delivery at SAP IT, Alon Aizenberg
Continuous Delivery at SAP IT, Alon AizenbergDevOpsDays Tel Aviv
 
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...Gene Kim
 
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...Gene Kim
 
DevOps and Continuous Delivery reference architectures for Docker
DevOps and Continuous Delivery reference architectures for DockerDevOps and Continuous Delivery reference architectures for Docker
DevOps and Continuous Delivery reference architectures for DockerSonatype
 
DevOps: A Culture Transformation, More than Technology
DevOps: A Culture Transformation, More than TechnologyDevOps: A Culture Transformation, More than Technology
DevOps: A Culture Transformation, More than TechnologyCA Technologies
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...Sonatype
 
Beyond DevOps - How Netflix Bridges the Gap
Beyond DevOps - How Netflix Bridges the GapBeyond DevOps - How Netflix Bridges the Gap
Beyond DevOps - How Netflix Bridges the GapJosh Evans
 

Viewers also liked (11)

One Does Not Simply Walk Into Devops
One Does Not Simply Walk Into Devops One Does Not Simply Walk Into Devops
One Does Not Simply Walk Into Devops
 
Continuous Delivery at Wix, Yaniv Even Haim
Continuous Delivery at Wix, Yaniv Even HaimContinuous Delivery at Wix, Yaniv Even Haim
Continuous Delivery at Wix, Yaniv Even Haim
 
Continuous Delivery at SAP IT, Alon Aizenberg
Continuous Delivery at SAP IT, Alon AizenbergContinuous Delivery at SAP IT, Alon Aizenberg
Continuous Delivery at SAP IT, Alon Aizenberg
 
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
 
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
 
DevOps and Continuous Delivery reference architectures for Docker
DevOps and Continuous Delivery reference architectures for DockerDevOps and Continuous Delivery reference architectures for Docker
DevOps and Continuous Delivery reference architectures for Docker
 
DevOps: A Culture Transformation, More than Technology
DevOps: A Culture Transformation, More than TechnologyDevOps: A Culture Transformation, More than Technology
DevOps: A Culture Transformation, More than Technology
 
Introducing DevOps
Introducing DevOpsIntroducing DevOps
Introducing DevOps
 
DevOps 101
DevOps 101DevOps 101
DevOps 101
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
 
Beyond DevOps - How Netflix Bridges the Gap
Beyond DevOps - How Netflix Bridges the GapBeyond DevOps - How Netflix Bridges the Gap
Beyond DevOps - How Netflix Bridges the Gap
 

Similar to continuous delivery at SAP IT for devopscon Israel

SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...
SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...
SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...SAP Portal
 
SAP Inside Track Singapore 2014
SAP Inside Track Singapore 2014SAP Inside Track Singapore 2014
SAP Inside Track Singapore 2014mharkus
 
SAP HANA Cloud Platform: The void between your Datacenter and the Cloud
SAP HANA Cloud Platform: The void between your Datacenter and the CloudSAP HANA Cloud Platform: The void between your Datacenter and the Cloud
SAP HANA Cloud Platform: The void between your Datacenter and the CloudSAP HANA Cloud Platform
 
Kubernetes, Istio and Knative - noteworthy practical experience
Kubernetes, Istio and Knative - noteworthy practical experienceKubernetes, Istio and Knative - noteworthy practical experience
Kubernetes, Istio and Knative - noteworthy practical experienceSAP HANA Cloud Platform
 
IBM Pulse 2013 session - DevOps for Mobile Apps
IBM Pulse 2013 session - DevOps for Mobile AppsIBM Pulse 2013 session - DevOps for Mobile Apps
IBM Pulse 2013 session - DevOps for Mobile AppsSanjeev Sharma
 
How can you keep the customer inputs flowing, the teams running and still kno...
How can you keep the customer inputs flowing, the teams running and still kno...How can you keep the customer inputs flowing, the teams running and still kno...
How can you keep the customer inputs flowing, the teams running and still kno...AgileSparks
 
Flash Card-Architect Compute Infrastructure in Azure
Flash Card-Architect Compute Infrastructure in AzureFlash Card-Architect Compute Infrastructure in Azure
Flash Card-Architect Compute Infrastructure in AzureYoong Seng Lai
 
GigaSpaces Cloudify - The PaaS Jailbreaker
GigaSpaces Cloudify - The PaaS Jailbreaker GigaSpaces Cloudify - The PaaS Jailbreaker
GigaSpaces Cloudify - The PaaS Jailbreaker Uri Cohen
 
Adabas & Natural World: Strategic Vision and Directions for Adabas and Natural
Adabas & Natural World: Strategic Vision and Directions for Adabas and NaturalAdabas & Natural World: Strategic Vision and Directions for Adabas and Natural
Adabas & Natural World: Strategic Vision and Directions for Adabas and NaturalSoftware AG
 
2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry Masterclass2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry MasterclassTed Castelijns
 
SAP HANA Cloud: From Your Datacenter to the Cloud and Back
SAP HANA Cloud: From Your Datacenter to the Cloud and Back  SAP HANA Cloud: From Your Datacenter to the Cloud and Back
SAP HANA Cloud: From Your Datacenter to the Cloud and Back SAP HANA Cloud Platform
 
Itm110 how does sap solution manager support sap hana
Itm110 how does sap solution manager support sap hanaItm110 how does sap solution manager support sap hana
Itm110 how does sap solution manager support sap hanaOlivier Bilger
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureIan Downard
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureRiverbed Technology
 
Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)Julien SIMON
 
SAP HANA Native Application Development
SAP HANA Native Application DevelopmentSAP HANA Native Application Development
SAP HANA Native Application DevelopmentSAP Technology
 
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)Amazon Web Services Korea
 

Similar to continuous delivery at SAP IT for devopscon Israel (20)

SUSE Technical Webinar: Build HANA Apps in the Framework of the SAP and SUSE ...
SUSE Technical Webinar: Build HANA Apps in the Framework of the SAP and SUSE ...SUSE Technical Webinar: Build HANA Apps in the Framework of the SAP and SUSE ...
SUSE Technical Webinar: Build HANA Apps in the Framework of the SAP and SUSE ...
 
SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...
SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...
SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...
 
Notes
NotesNotes
Notes
 
SAP Inside Track Singapore 2014
SAP Inside Track Singapore 2014SAP Inside Track Singapore 2014
SAP Inside Track Singapore 2014
 
SAP HANA Cloud Platform: The void between your Datacenter and the Cloud
SAP HANA Cloud Platform: The void between your Datacenter and the CloudSAP HANA Cloud Platform: The void between your Datacenter and the Cloud
SAP HANA Cloud Platform: The void between your Datacenter and the Cloud
 
Kubernetes, Istio and Knative - noteworthy practical experience
Kubernetes, Istio and Knative - noteworthy practical experienceKubernetes, Istio and Knative - noteworthy practical experience
Kubernetes, Istio and Knative - noteworthy practical experience
 
IBM Pulse 2013 session - DevOps for Mobile Apps
IBM Pulse 2013 session - DevOps for Mobile AppsIBM Pulse 2013 session - DevOps for Mobile Apps
IBM Pulse 2013 session - DevOps for Mobile Apps
 
How can you keep the customer inputs flowing, the teams running and still kno...
How can you keep the customer inputs flowing, the teams running and still kno...How can you keep the customer inputs flowing, the teams running and still kno...
How can you keep the customer inputs flowing, the teams running and still kno...
 
Flash Card-Architect Compute Infrastructure in Azure
Flash Card-Architect Compute Infrastructure in AzureFlash Card-Architect Compute Infrastructure in Azure
Flash Card-Architect Compute Infrastructure in Azure
 
GigaSpaces Cloudify - The PaaS Jailbreaker
GigaSpaces Cloudify - The PaaS Jailbreaker GigaSpaces Cloudify - The PaaS Jailbreaker
GigaSpaces Cloudify - The PaaS Jailbreaker
 
Adabas & Natural World: Strategic Vision and Directions for Adabas and Natural
Adabas & Natural World: Strategic Vision and Directions for Adabas and NaturalAdabas & Natural World: Strategic Vision and Directions for Adabas and Natural
Adabas & Natural World: Strategic Vision and Directions for Adabas and Natural
 
SAP NetWeaver Gateway - Introduction
SAP NetWeaver Gateway - IntroductionSAP NetWeaver Gateway - Introduction
SAP NetWeaver Gateway - Introduction
 
2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry Masterclass2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry Masterclass
 
SAP HANA Cloud: From Your Datacenter to the Cloud and Back
SAP HANA Cloud: From Your Datacenter to the Cloud and Back  SAP HANA Cloud: From Your Datacenter to the Cloud and Back
SAP HANA Cloud: From Your Datacenter to the Cloud and Back
 
Itm110 how does sap solution manager support sap hana
Itm110 how does sap solution manager support sap hanaItm110 how does sap solution manager support sap hana
Itm110 how does sap solution manager support sap hana
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in Azure
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in Azure
 
Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)
 
SAP HANA Native Application Development
SAP HANA Native Application DevelopmentSAP HANA Native Application Development
SAP HANA Native Application Development
 
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
 

continuous delivery at SAP IT for devopscon Israel

  • 1. Continuous Delivery @ SAP IT Alon Aizenberg SAP Global IT / Social Collaboration Platform team January 2013 INTE RNA L
  • 2. About SAP §  40 years old §  Leader in enterprise applications §  ~ 70K employees §  ~ 183K customers §  ~ 130 countries ©  2013 SAP AG. All rights reserved. Public 2
  • 3. Social Collaboration Platform team We produce many platforms ©  2013 SAP AG. All rights reserved. Public 3
  • 4. Social Collaboration Platform team We produce many platforms ©  2013 SAP AG. All rights reserved. Public 4
  • 5. Search Consolidation Project §  One stop when searching SAP related content §  ~ 100 machines in all environments §  ~ 40 in productive deployments §  ~ 2 years in continuous delivery mode ©  2013 SAP AG. All rights reserved. Public 5
  • 6. The Problems ? ©  2013 SAP AG. All rights reserved. Public 6
  • 7. The Problems Physical hardware, manual setup Manual QA Manual phases deployment Big features, long development cycles ©  2013 SAP AG. All rights reserved. Public 7
  • 8. The Tools Virtualization, Infrastructure Automation Test Deployment Automation Automation Continuous Delivery ©  2013 SAP AG. All rights reserved. Public 8
  • 9. The Tools ©  2013 SAP AG. All rights reserved. Public 9
  • 10. Infrastructure Automation ©  2013 SAP AG. All rights reserved. Public 10
  • 11. Infrastructure Automation Infrastructure Automation §  Start with manual VM operations §  Command line wrapper allows automation §  Evolve, full Infrastructure as code §  Projects, environments, machine descriptors and automation scripts in source control ©  2013 SAP AG. All rights reserved. Public 11
  • 12. Project Configuration Example Infrastructure Automation chefrepo: git@github.sap.corp:srch/chef-repo-int.git - name: prod - name: index01 servers: runlist: - name: search01 - role[indexing-server] runlist: - name: index02 - role[search-server] runlist: - name: search02 - role[indexing-server] runlist: - name: index03 - role[search-server] runlist: - name: db - role[indexing-server] template: SLES_11_64bit - name: ls5133 cpus: 8 physical: true memory: 16384mb dnsname: search11111 runlist: ipaddress: 11.11.11.11 - role[hanadb-server] runlist: - role[trex-name-server] ©  2013 SAP AG. All rights reserved. Public 12
  • 13. Chef usage Infrastructure Automation §  Each project has a chef repository in git §  Shared automations have their own repositories in git §  Use librarian-chef and git to create a full chef repository Before uploading the scripts to chef server ©  2013 SAP AG. All rights reserved. Public 13
  • 14. Chef Usage Infrastructure Automation Project A Chef repository Chef Server Combined chef repository Production Project A production environment Shared cookbook repo / Cookbook shelf ©  2013 SAP AG. All rights reserved. Public 14
  • 15. Librarian-Chef Configuration Examples Infrastructure Automation site "http://cookbooks.sap.corp:8080" cookbook 'monsoon’ # loads jvm cookbook because tomcat declares it’s dependent on jvm cookbook 'tomcat’ # use git repo to load a cookbook cookbook 'saml2', :git => 'git://github.sap.corp/srch/saml2’ ©  2013 SAP AG. All rights reserved. Public 15
  • 16. Barkeeper Infrastructure Automation §  The glue §  Manages projects and environments §  Manages VMs §  Manages chef servers §  Handles permissions §  UI, REST API and CLI API Project configuration and chef Barkeeper VMware repository ©  2013 SAP AG. All rights reserved. Public 16
  • 17. Barkeeper Infrastructure Automation ©  2013 SAP AG. All rights reserved. Public 17
  • 18. Deployment Automation ©  2013 SAP AG. All rights reserved. Public 18
  • 19. Deployment Automation Deployment Automation Dedicated cookbooks automate application deployment and configuration ©  2013 SAP AG. All rights reserved. Public 19
  • 20. Test Automation ©  2013 SAP AG. All rights reserved. Public 20
  • 21. Test Automation Test Automation §  End to end functional acceptance tests §  80% of functional tests are automated §  Manual QA §  Integrations with other systems §  Not everything is automated, yet ©  2013 SAP AG. All rights reserved. Public 21
  • 22. Continuous Delivery ©  2013 SAP AG. All rights reserved. Public 22
  • 23. Continuous Delivery Continuous Delivery §  Bamboo Continuous Integration server §  Orchestrates the flow from code push to productive deployment §  Build grid §  Parallel execution ©  2013 SAP AG. All rights reserved. Public 23
  • 24. Bamboo jobs Source/Chef repositories Commit Build, unit test Package, publish Pull deployment automation, Artifact / Binary binaries and artifacts repository Deploy Test, functional tests Test Deploy QA, sanity tests QA Prod Deploy Prod Environments ©  2013 SAP AG. All rights reserved. Public 24
  • 25. Pipeline Interactions – Deploy Environment Continuous Delivery Create chef server Chef Server Bar Keeper Create VMs VM 1 VM 2 VM 3 VM 4 VM 5 VM 6 GIT Project Repo ©  2013 SAP AG. All rights reserved. Public 25
  • 26. Pipeline Interactions - Install Environment Continuous Delivery Sync Chef Server Chef Server Bar Keeper Bamboo Run chef clients VM 1 VM 2 Build Agents VM 3 VM 4 VM 5 VM 6 Shared cookbooks GIT Chef Repo shelf ©  2013 SAP AG. All rights reserved. Public 26
  • 27. Pipeline Interactions - Test Application Continuous Delivery Chef Server Chef Server REST API Tests Bamboo VM 1 Functional tests VM 2 Build Agents VM 3 VM 4 VM 5 VM 6 Git source repo with test automation ©  2013 SAP AG. All rights reserved. Public 27
  • 28. How did we get there? §  2 years §  Evolution not revolution §  Constantly rethink and improve §  Tech talks, documentation, encourage hands on §  Make the tools easy to use for everyone ©  2013 SAP AG. All rights reserved. Public 28
  • 29. A change in the state of mind §  Not only coding §  Master always shippable §  Feature toggles §  Must be maintained §  Be ready to handle production §  If you build it… they will come ©  2013 SAP AG. All rights reserved. Public 29
  • 30. Lessons learned §  Management buy-in §  Fast pipeline §  Application adaptations §  Testing automation is big investment §  Tests should be easy to write and run §  Automate everything – build infrastructure, load balancers, load tests, monitoring, analytics etc. ©  2013 SAP AG. All rights reserved. Public 30
  • 31. ? Questions ©  2013 SAP AG. All rights reserved. Public 31
  • 32. Thank you Twitter @alonaizenberg Email alon.aizenberg@sap.com ©  2013 SAP AG. All rights reserved. Public 32