Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

IBM Innovate DevOps for Mobile Apps

4,275 views

Published on

Session slides from IBM Innovate

Published in: Technology
  • Follow the link, new dating source: ♥♥♥ http://bit.ly/39sFWPG ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating for everyone is here: ❶❶❶ http://bit.ly/39sFWPG ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

IBM Innovate DevOps for Mobile Apps

  1. 1. DevOps for Mobile AppsLeigh Williamson (@leighawillia)IBM Distinguished EngineerRational CTO team – Mobile StrategySanjeev Sharma (@sd_architect)Executive IT SpecialistRational Specialty ArchitectIBM Software Group
  2. 2. The BroadestPortfolio ofMobileSolutionsThe DeepestSet ofServicesExpertiseNew IndustryPartnershipsand Resourcesfor DevelopersThe Industry’s Most Comprehensive Mobile Portfolio
  3. 3. IBM MobileFirst Offering PortfolioAnalyticsSecurityManagementIBM & Partner ApplicationsApplication Platform and Data ServicesBanking InsuranceTransportTelecomGovernmentIndustry SolutionsHealthcareRetail AutomotiveApplication & Data PlatformStrategy&DesignServicesDevelopment&IntegrationServicesCloud & Managed ServicesDevices Network Servers
  4. 4. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  5. 5. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  6. 6. dev·ops noun dev-äpsEnterprise capability for continuous software delivery that enables clientsto seize market opportunities and reduce time to customer feedback.DevOps: A blueprint for continuous deliveryof software-driven innovation Accelerated software delivery Reduced time to obtain andrespond to customer feedback Improved governance across the lifecycle Balanced quality, cost and speedDevOps LifecycleContinuous Feedback and ImprovementsOperations/ProductionDevelopment/TestCustomers BusinessOwners6
  7. 7. Key ConceptsThe key concepts of DevOps1. Continuous Integration2. Continuous Delivery3. Continuous Test4. Continuous Monitoring5. Build and Delivery Pipeline6. Infrastructure as Code7. Organizational Change
  8. 8. 1. Continuous Integrationhttp://bit.ly/PRQ4a7EnterpriseServicesDevelopentTeamsMobile AppDevelopentTeams
  9. 9. 2. Continuous Delivery3. Continuous Testing4. Continuous Monitoring5. Build and Delivery Pipelinehttp://bit.ly/PRQ4a7
  10. 10. 6. Infrastructure as Code / Software DefinedEnvironmentpackage "apache2" dopackage_name node[apache][package]endservice "apache2" docase node[platform_family]when "rhel", "fedora", "suse"service_name "httpd"# If restarted/reloaded too quickly httpd has a habit of failing.# This may happen with multiple recipes notifying apache to restart- like# during the initial bootstrap.restart_command "/sbin/service httpd restart && sleep 1"reload_command "/sbin/service httpd reload && sleep 1"
  11. 11. 7. Organizational Change‘‘Shift Left’ – Operational ConcernsShift Left’ – Operational ConcernsBuild ‘Application aware’ EnvironmentsBuild ‘Application aware’ EnvironmentsEnvironment SprintsEnvironment Sprints‘‘Shift Left’ – Operational ConcernsShift Left’ – Operational ConcernsBuild ‘Application aware’ EnvironmentsBuild ‘Application aware’ EnvironmentsEnvironment SprintsEnvironment Sprints
  12. 12. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  13. 13. DevOps for Mobile - Challenges Mobile Apps are the front-end to acomplex(enterprise) back-endsystem–Mobile Apps are rapidly becoming acritical user interface to enterprisesystems–But they are just one part of a multi-tier,multi-component application “eco-system”–Developing and delivering mobile appsrequires coordination across that wholeeco-systemHeterogeneous EnvironmentsPublic CloudPrivate CloudData Warehouse MainframeEnterpriseService BusDirectoryIdentityFilesystemsCollaborationMobile AppRoutingServiceThird-partyServicesPortalsContentProviders EJBSharedServicesArchivesBusinessPartnersMessagingServices
  14. 14. Scan & CertifyInstrumentTestIntegrateObtain InsightManageDeployDesign & DevelopThe IBM Mobile Enterprise Development Lifecycle
  15. 15. DevOps for Mobile - Challenges Fragmented Platforms– Multiple mobile operatingsystems– Multiple devices & form factors– Multiple implementationtechnology choices Frequently a mix of technology isinvolved for mobile appimplementation App stores add additionalasynchronous deployment step
  16. 16. Mobile Application Architecture: LinkedInhttp://engineering.linkedin.com/testing/continuous-integration-mobile
  17. 17. DevOps Principles and Values Develop and test against a production-like system Iterative and frequent deployments usingrepeatable and reliable processes Continuously monitor and validate operationalquality characteristics Amplify feedback loopsPeopleProcessToolsPeopleProcessTools
  18. 18. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  19. 19. 1. End-to-end Traceability, acrossall ComponentsBuildDeliver Back-endServicesDeliver AppCodeDeliverApp CodeAutomateLibraryDeployableArtifactsSourceArtifactsFetchSourceControliOSDeveloperAndroidDeveloperEnterpriseServicesDeveloperContinuous Integration and Continuous Delivery
  20. 20. 2. Practice Continuous IntegrationEnterpriseServicesDevelopentTeamsMobile AppDevelopentTeamsContinuous Integration and Continuous Delivery
  21. 21. 3. Maintain separate build areas foreach SDK version<manifest xmlns:android="http://schemas.android.com/apk/res/android" ... ><uses-sdk android:minSdkVersion="4" android:targetSdkVersion="15" />...</manifest>Continuous Integration and Continuous Delivery
  22. 22. 4. Automated Build and DeployscriptsAutomatedScriptsContinuous Integration and Continuous Delivery
  23. 23. 5. Test each build on eachsupported deviceContinuous Testing and Continuous Monitoring
  24. 24. 6. Simulate Back-end ServicesHeterogeneous EnvironmentsMobile AppData Warehouse MainframeEnterprise ServiceBusDirectoryIdentityApp Under TestThird-partyServicesPortalsThird-partyServicesTest Environments to ProductionTest Environments to ProductionActual ServiceSimulated ServiceMobile AppContinuous Testing and Continuous Monitoring
  25. 25. 7. Monitor deployed apps and backend services performanceContinuous Testing and Continuous Monitoring
  26. 26. 8. Governance of provisioningprofiles, certificates and API keysMobile App Delivery
  27. 27. 9. Use a ‘Private’ App store to testdevice deploymentMobile App Delivery
  28. 28. 10. Convert App Store feedback intouser storiesMobile App Delivery
  29. 29. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  30. 30. Mobile Delivery PipelineDeployEnvironmentRunning SystemSource ControlManagementSource Artifacts.jsp.java.htmlchefrecipes.shDeployable ArtifactsBuild, Package,& Unit TestApplicationBinaries & PlatformConfigurationLibraryMobile IDEEnterpriseServicesIDEAPI keys,ProvisioningProfiles…
  31. 31. DevelopDesignDiscover and ConsumeInstrumentTestUse Tealeaf to continuouslyanalyze and improve theeffectiveness of yourapplication design by viewingdetailed customer usagepatternsManage your deployedapplication with Worklight’sapplication consoleDistribute your applicationsto managed devices withEndpoint Manager,Worklight’s integratedcatalog for unmanageddevices, and external AppStoresDesign your applicationuser experienceDevelop cross platformapplicationsUse Cast Iron to discover data fromthird-party, and enterprise, backendservices and adapt that data tomobile usage patternsInstrument your application foranalytics, security, andmanagement control.Test your application withRational Test WorkbenchThe IBM Mobile EnterpriseApp Development LifecycleUse AppScan to scan,evaluate, and certify yourapplicationIBM Rational Collaborative LifecycleManagement adds ALM features toindustrialize this processObtain InsightCertifyDeployManage
  32. 32. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  33. 33. Application runtimeCross platform services for the mobile channel (client &server componentry). Client APIs are introduced for bothpure native as well as hybrid developmentIBM Worklight: An OverviewStudioLeading tools for crossplatform hybriddevelopment thatmaximize code reuseand enable per-deviceoptimizationOperational consoleOperational managementfor deployments,concurrent versions, andinfrastructure access.Operational analyticsprovide real-time insightinto application usageApplication centerA cross-platform privatemobile application storefocused on the needs ofa developmentorganization or a team
  34. 34. Integrated Mobile Collaborative DevelopmentEnabling collaborative team development on mobile app projectsIBM provides the only comprehensive mobile development solution currently in the marketcombining a mobile application platform, construction tools, and lifecycle management allintegrated together as a cohesive solutionMobile Application PlatformConstruct, debug, and test mobile UIsIBM WorklightApplication LifecycleManagementTestDevelopmentBusinessOpen Lifecycle Integration PlatformTraceability across the entire development lifecycleDesignCode Test DeployCollaborative Lifecycle Management+
  35. 35. Continuous Integration for Mobile
  36. 36. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  37. 37. Roadmap for UrbanCodeEnabling clients to more rapidly deliver mobile, cloud, big data analytics and traditionalapplications with complementary DevOps capabilities Drive down costs Reduce the amount of manual labor,resource wait-time, and rework Speed time to market Increase frequency of software delivery Reduce risk Deliver higher quality applicationreleases with increased compliance“Mobile development moves more quickly than most enterprises are accustomed to. The coordinationrequired, and the pace being driven by mobile, is a big factor driving DevOps in the enterprise.”- Eric Minick, UrbanCode.
  38. 38. Multi-tier mobile apps present specific challenges to DevOpsMiddle Tier ServerClient Tier Devices Back-end Data & ServicesMobile-specificchallenges:Lots of device targetsProvisioning rules andartifactsCurated App StoresDependent uponbackend serviceversionsThe Mobile-specific challenge in DevOps is mainly:1.Dealing with the specific issues in the Mobile Client tier2.And subsequently coordinating separate pipelines for eachtier: Mobile Client Middleware Back-end data and services
  39. 39. Examples of mobile continuous delivery• Automation of market leading tools used in the continuous delivery process:• Support for continuous testing scenario:
  40. 40. Monitor and OptimizeRelease and DeployDevelop and TestMobile Cloud SocialIntelligentDevicesDeveloper CommunitiesSecurityBigDataExpertSystemsEcoSystemImplementationServicesIndustryDevOps Foundation(enabled by the Jazz Platform)Deployment Platforms (PaaS, IaaS, PhysicalInfrastructure)Linked DataOSLCUrbanCode capabilities
  41. 41. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  42. 42. RTW supports isolating tiers of the app for focused mobile testingRational Test WorkbenchTest Virtualizationsupport for isolatingmobile client tierFor focused automated mobile client tier functional testing,use RTW Test Virtualization to simulate the mobile middletier and back office systems.
  43. 43. Agenda• What is DevOps?• DevOps for Mobile – Challenges• DevOps for Mobile – Best Practices• Implementing DevOps for Mobileo Continuous Integration and Testo Continuous Deliveryo Service Virtualizationo Mobile UI Testing
  44. 44. Automated mobile function testingRecording AuthoringPlaybackReportingVerificationPointsLocalizedstringNaturalLanguageCase
  45. 45. IBM Confidential Mobile Test Automation− Support for native and hybrid applications running onAndroid and iOS− Natural language test and visual test editing− Simplified IDE and mobile device clients for testauthoring, execution, and reporting Eclipse environment− Mobile Test Automation− Support for Selenium web GUI test automation− Multi-channel test scenarios− Integration with Rational Quality Manager and the IBMWorklight mobile development platform End-to-end mobile testing− Virtualization of middle-tier and back-end systems− Dynamic instrumentation of mobile applications− Capture and high-fidelity replay of multi-touch eventsIntegrated withIBM Worklight!Integrated withIBM Worklight!IBM Rational Test WorkbenchHigh quality mobile apps built and tested for a rapidly evolving mobile infrastructureMobile User Interface Automation
  46. 46. Where to get more information? IBM Mobile Frontier blog:– http://bit.ly/ibmmobile-frontier-blog Leveraging DevOps in a water-SCRUM-fall World– http://ibm.co/PRQkWL IBM Enterprise DevOps blog– http://ibm.co/JrPVGR
  47. 47. 47
  48. 48. 48Daily Apple TV giveaway Complete your session surveys online each day at a conference kiosk or onyour Innovate 2013 Portal! Each day that you complete all of that day’s session surveys, your name willbe entered to win the daily Apple TV! On Wednesday be sure to complete your full conference evaluation to receiveyour free conference t-shirt!
  49. 49. 49Acknowledgements and disclaimers© Copyright IBM Corporation 2013. All rights reserved.– U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.IBM, the IBM logo, ibm.com, Rational, the Rational logo, Telelogic, the Telelogic logo, Green Hat, the Green Hat logo, and other IBM productsand services are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, orboth. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), thesesymbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks mayalso be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright andtrademark information” at www.ibm.com/legal/copytrade.shtmlIf you have mentioned trademarks that are not from IBM, please update and add the following lines:[Insert any special third-party trademark names/attributions here]Other company, product, or service names may be trademarks or service marks of others.Availability: References in this presentation to IBM products, programs, or services do not imply that they will be available in all countriesin which IBM operates.The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are providedfor informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice to anyparticipant. While efforts were made to verify the completeness and accuracy of the information contained in this presentation, it is providedAS-IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwiserelated to, this presentation or any other materials. Nothing contained in this presentation is intended to, nor shall have the effect of, creatingany warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable licenseagreement governing the use of IBM software.All customer examples described are presented as illustrations of how those customers have used IBM products and the results they mayhave achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these materials isintended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenuegrowth or other results.
  50. 50. 50© Copyright IBM Corporation 2013. All rights reserved. The informationcontained in these materials is provided for informational purposes only, and isprovided AS IS without warranty of any kind, express or implied. IBM shall not beresponsible for any damages arising out of the use of, or otherwise related to,these materials. Nothing contained in these materials is intended to, nor shallhave the effect of, creating any warranties or representations from IBM or itssuppliers or licensors, or altering the terms and conditions of the applicable licenseagreement governing the use of IBM software. References in these materials toIBM products, programs, or services do not imply that they will be available in allcountries in which IBM operates. Product release dates and/or capabilitiesreferenced in these materials may change at any time at IBM’s sole discretionbased on market opportunities or other factors, and are not intended to be acommitment to future product or feature availability in any way. IBM, the IBM logo,Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM productsand services are trademarks of the International Business Machines Corporation,in the United States, other countries or both. Other company, product, or servicenames may be trademarks or service marks of others.

×