Azure DevOps: Any App, Any Platform, Any Code

Transcription

Azure DevOps:Any App, Any Platform, Any Code

About Me Partner with MCW Technologies, https://www.mcwtech.com Co-author Professional ALM with Visual Studio 2013 from Wrox 15-year Microsoft MVP—Development Technologies and long time Friend of Redgate LinkedIn Learning author with two courses currently DevOps for the Database with VSTS and Azure https://bri.gd/lildbdevopsvsts0818 DevOps for the Database with TFS 2018 https://bri.gd/lildbdevopstfs18 Co-host with Mickey Gousset of the “young” devops.fm podcast Contact information brianr@mcwtech.com @brianrandell https://blog.brianrandell.com

Thank You for attending!

Agenda Level Set Plan & TrackDevelop & TestReleaseMonitor & Learn

Questions?

Azure DevOps

Level Set

replacedusetechnologyfaster,better, and cheaper

What is DevOps?

“processproductspeople”

High Performance DevOps Companies Achieve 46x Deployment2,555x Faster LeadFrequencyTime For ChangesFasterTime to MarketDevOps IncreasedRevenue7x Lower Change2,604x Faster MeanFailure RateTime to RecoverSource: 2018 Accelerate: State of DevOps: Strategies for a New Economy." N. Forsgren, J. Humble, G. Kim. DevOps Research and Assessment (DORA)

DevOps goals and success metrics

I’m not sure we need DevOps

This is the story of how a company withnearly 400 million in assets went bankruptin 45-minutes because of a failed deployment.

Knight Capital Group

Knight Capital Was a financial services firm on NYSE New order handling feature—create child orders Replaced old code with new code 9 year old unused code in the system Repurposed a flag to activate new code At deployment, technician copied on 7 of 8 servers

Then they went live

They started loosing 172,222 per minute.

Then they tried to fix it

Knight ended the daylosing 460 million andwent under bankruptcyprotection.

What would be the impact in yourorganization?How do we know so much?

Post mortemDuring the deployment of the new code, however, one ofKnight’s technicians did not copy the new code to one of theeight SMARS computer servers. Knight did not have a secondtechnician review this deployment and no one at Knightrealized that the Power Peg code had not been removed fromthe eighth server, nor the new RLP code added. Knight had nowritten procedures that required such a review.SEC Filing Release No. 70694 October 16, 2013

Maybe something happier?

DevOps at MicrosoftAzure DevOps is the toolchain of choice for Microsoft engineering with over 100,000 internal users k12kPull Requests permonthPrivate Git commits permonthBuilds per monthOpen Source reposWork itemscreated per dayEmployees contributingto open source82,000Deployments per dayData: Internal Microsoft engineering system activity, March 2019

How do you get started?

Learn from others

10 Deploys Per DayJohn Allspaw & Paul Hammond10 Deploys Per Day: Dev and Ops Cooperation at Flickrhttp://bri.gd/tenplusdeploy

PeopleProcessProducts

People

Can’t we all get along?

Kaizen is a system of continuousimprovement in quality, technology,processes, company culture, productivity,safety and leadership.

Process

Shorten Cycle Times and Focus on the Flow

Products

How Microsoft can helpMicrosoft Azure is a powerful and flexible foundation for past, present, and future apps – easily build, manage, anddeploy any application and any stack on a massive, global network using your favorite tools and frameworks.FlexibleChoice of IaaS, PaaS, public cloud orhybrid.Mirror or modernize app infrastructurewith VMs, containers, microservices orserverless.Supports all stages of the appmodernization journey – from lift-andshift to Cloud-Native.PowerfulOpenInstantly improve the performance,scalability and resiliency of your appsby moving them to the cloud.Bring your stack, we bring a cloud thatruns any app, on any platform, and anylanguage.Increase business agility with CloudNative capabilities and built-inDevOps for continuous innovation.Build applications using the languageand tools of your choice - Azuresupports what you already use and loveso you can get up and running fast –just bring code.

Azure DevOps

What technologies do I need to support DevOps?DevOps brings together people, processes, and technology, automating software delivery to provide continuousvalue to your users. Using Azure DevOps, you can deliver software faster and more reliably - no matter how bigyour IT department or what tools you’re using.Continuous Integration (CI) Improve software developmentquality and speed. When you use Azure Pipelines orJenkins to build apps in the cloud anddeploy to Azure, each time youcommit code, it’s automatically builtand tested and bugs are detectedfaster.Continuous Deployment (CD)Continuous Learning & Monitoring By combining continuous integrationand infrastructure as code (IaC), you’llachieve identical deployments andthe confidence to deploy toproduction at any time. With Azure Application Insights youcan identify how your applications areperforming and test if the recentdeployment made things better orworse. With continuous deployment, you canautomate the entire process fromcode commit to production if yourCI/CD tests are successful. Using CI/CD practices, paired withmonitoring tools, you’ll be able to safelydeliver features to your customers assoon as they’re ready.

Microsoft Azure is the cloud withDevOps tooling built in

Azure BoardsAzure ReposAzure PipelinesAzure ArtifactsAzure Test Plans

Azure BoardsTrack work with Kanban boards, backlogs, teamdashboards, and custom reportingConnected from idea to releaseTrack all your ideas at every development stage andkeep your team aligned with all code changes linkeddirectly to work items.Scrum readyUse built-in scrum boards and planning tools to helpyour teams run sprints, daily scrums, retrospectives,and sprint review.Project insightsGain new insights into the health and status of yourproject with powerful analytics tools and dashboardwidgets. https://azure.com/devops

Azure ReposUnlimited private Git repo hosting and support forTFVC that scales from a hobby project to theworld’s largest Git repositoriesWorks with your Git clientSecurely connect with and push code into your Gitrepos from any IDE, editor, or Git client.Web hooks and API integrationAdd validations and extensions from the marketplaceor build your own using web hooks and REST APIs.Semantic code searchQuickly find what you’re looking for with code-awaresearch that understands classes and variables. https://azure.com/devops

Azure PipelinesCloud-hosted pipelines for Linux, Windows andmacOS, with unlimited minutes for open sourceAny language, any platform, any cloudBuild, test, and deploy Node.js, Python, Java, PHP, Ruby,C/C , .NET, Android, and iOS apps. Run in parallel onLinux, macOS, and Windows. Deploy to Azure, AWS,GCP or on-premisesExtensibleExplore and implement a wide range of communitybuilt build, test, and deployment tasks, along withhundreds of extensions from Slack to SonarCloud.Support for YAML, reporting and moreContainers and KubernetesEasily build and push images to container registries likeDocker Hub and Azure Container Registry. Deploycontainers to individual hosts or Kubernetes.Best-in-class for open sourceEnsure fast continuous integration/continuous delivery(CI/CD) pipelines for every open source project. Getunlimited build minutes for all open source projects withup to 10 free parallel jobs across Linux, macOS andWindows https://azure.com/pipelines

Azure ArtifactsCreate and share Maven, npm, and NuGet packagefeeds from public and private sources – fullyintegrated into CI/CD pipelinesManage all package typesGet universal artifact management for Maven, npm,and NuGet.Add packages to any pipelineShare packages, and use built-in CI/CD, versioning,and testing.Share code efficientlyEasily share code across small teams and largeenterprises. https://azure.com/devops

Azure Test PlansGet end-to-end traceability. Run tests and logdefects from your browser. Track and assess qualitythroughout your testing lifecycle.Capture rich dataCapture rich scenario data as you execute tests tomake discovered defects actionable. Explore userstories without test cases or test steps. You can createtest cases directly from your exploratory test sessions.Test across web and desktopTest your application where it lives. Complete scriptedtests across desktop or web scenarios. Test onpremises application from the cloud and vice-versa.Get end-to-end traceabilityLeverage the same test tools across your engineersand user acceptance testing stakeholders. Pay for thetools only when you need them. https://azure.com/devops

Azure DevOps

2018

MicrosoftOpen Source2017MicrosoftAzure KubernetesService launched2016.NETCore 1.0PowerShell CoreWindows Subsystem forLinux in Windows 10Microsoft joinsLinux foundationGitHub recognizesMicrosoft as a top opensource contributorDraft, Brigade, Kashtiprojects submitted toKubernetes communityMicrosoft joins CloudNative Computing &Cloud FoundryFoundationsSQL 2017 on LinuxWindows source codemoved to GitAzure Databricks(Apache Spark)announced20122018

Azure PipelinesFree unlimited build minutes forpublic projectsUp to 10 free parallel jobs acrossWindows, Linux and macOS https://azure.com/pipelinesMicrosoftOpen Source

Azure DevOpsBetter togetherAzure BoardsAzure ReposAzure PipelinesAzure Test PlansAzure ArtifactsAn end-to-end solution for organizations looking for an enterprise-grade toolchainFully Integratedwith endto endtraceabilityScalable toany teamand projectsizeHighlyavailable,multi region,hybridcloud &on-premCustomerSupportConsistentadminand accesscontrol https://azure.com/devops

Broadening the Azure Ecosystem

Azure DevOps: Choose the tools and clouds you loveMix and matchto createworkflows withtools fromMicrosoft, opensource or yourfavorite3rd party toolsAzureDevOps letsdeveloperschoose thetools thatare right forthemTarget any cloud, on-prem or both and deploy to the servers you need

Azure DevOps supports small teams to largest enterprises“ Instead of telling people to wait for 6months for a new feature, we can give it tothem in a few weeks Our 2800 worldwidedevelopers can use the same backlog, userstories and tests whether they’re onWindows or Linux building for iOS orAndroid. ”“ Microsoft made it really easy to breakoutside the silos and tie the DevOpsprocess into the fulfilment of businessprocess. Without the tools that we havetoday, we would not be successful. ”“ Speed is gained in moving to the PaaSoffering of Azure DevOps. PaaS providesregularly released features and a futureproof capability, eliminating the need forAccenture to maintain infrastructure andgo through upgrade cycles. ”“ Branches sync 500 percent faster. Buildsare 400 percent faster, with the typicallysix-hour process reduced to 90 minutes.We (now have) a highly streamlinedprocess that operates with a few buttonclicks—and one-button deployment. ”

Changes for existing VSTS / TFS customersThe same functionality you know and love today, with greater openness, flexibility and focusExisting AccountsPricing Public project usage is now free. Pipelines can be used independently from Repos — so ifyou are only using Pipelines and your repos are hosted onGitHub you don’t need to pay for Repos or Boards (Basic)users. Existing https://contoso.visualstudio.com URL continues towork. https://dev.azure.com/contoso available for opt-in.New UI opt-in per user as preview feature. Will startadvertising new UI once feedback from new accounts andearly adopters has been incorporated. Can disable services on a per project basis for new UI Websites and documentation will move from Visual Studioto Azure based locations (with redirects in place). Redirects available for some time. Existing TFS branded information and downloads remain inVisual Studio locations until next release.New Azure branding in communications anddocumentation (emails, alerts etc).TFS will remain the on-premises brand until the next majorversion in 2019. The new UI will be enabled in that release.The free tier for Pipelines now includes 1,800 minutes permonth, up from 240.New Accounts https://dev.azure.com/contoso based URL.New navigation & branding by default.

Migrating from TFS to Azure DevOpsMove from Team Foundation Server to Azure DevOps and bring your data alongBenefits of Cloud Hosted Azure DevOps ServicesTFS Import Service Global availabilityHosted and maintained by Microsoft with 99.9% uptimeguarantee and 24x7 supportImmediate access to latest featuresSimplified deployment to AzureFully supported high fidelity migration pathTrusted by many large enterprisesNow faster and easier to use https://aka.ms/tfsimport

Azure DevOpsPlan smarter, collaborate better, and ship faster with a set ofmodern dev servicesAzure BoardsAzure ReposAny developer, any platform, any cloud. Full support for hybridcloud, on-premises & containers.Use all the Azure DevOps services or choose just what you needto complement your existing workflowsAzure PipelinesBest in class builds for open source. Free unlimited build minutesfor public projects and up to 10 free concurrent jobs acrossWindows, Linux and macOSAzure Test PlansGet started for free for small teams, scales to support the largestenterprisesAzure Artifacts https://azure.com/devops

Azure DevOps Services PricingFreeFreeUnlimited users and build timeStart free with up to 5 users Azure Pipelines: 10 parallel jobs with Azure Pipelines: Run 1 Microsoft-hostedunlimited minutes for CI/CD Azure Boards: Work item tracking andKanban boards Azure Repos: Unlimited public Git reposjob for 1,800 minutes per month and 1self-hosted job for any amount of time Azure Boards: Work item tracking andKanban boards Azure Repos: Unlimited public Git repos Azure Artifacts: package management Unlimited stakeholdersStarts at 6per user, per month for Boards & Repos*Easy pricing that grows with your team Azure Pipelines: Run 1 Microsoft-hostedjob for 1,800 minutes per month and 1self-hosted job for any amount of time Azure Boards: Work item tracking andKanban boards Azure Repos: Unlimited public Git repos Azure Artifacts: package management Unlimited stakeholders Boards & Repos included for VisualStudio subscribers* 5 Boards & Repos users and 5 Artifacts users free. Pipelines https://azure.com/pricing/details/devops/with unlimited minutes, Test Plans users and additionalArtifacts users also available. Please see the Azure pricingcalculator for details.

Summary Azure DevOps is designed to an complete holistic team development solution Azure DevOps is available today as a single service Azure DevOps services can be used as you see fit with your existing tools Azure DevOps helps you build any app, for any platform, with any code

Questions?

A final thought

http://bri.gd/sodevops18dora

contact mebrian a. randell

Thank You Again!

High Performance DevOps Companies Achieve DevOps Faster Time to Market Increased Revenue 2,604x Faster Mean Time to Recover 2,555x Faster Lead Time For Changes 7x Lower Change Failure Rate 46x Deployment Frequency Source: 2018 Accelerate: State of DevOps: Strategies for a New Economy." N. Forsgren, J.