AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE

Page created by Jeremy Pena
 
CONTINUE READING
AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE
Azure DevOps:
Any App, Any Platform, Any Code
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
AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE
Thank You for attending!
AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE
Agenda

 Level Set

   Plan & Track
   Develop & Test
   Release
   Monitor & Learn
AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE
Questions?
AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE
Azure DevOps
AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE
Level Set
AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE
replaced
                  use
technology
               faster,
better, and cheaper
AZURE DEVOPS: ANY APP, ANY PLATFORM, ANY CODE
What is DevOps?
“                    people
process   products

                     ”
High Performance DevOps Companies Achieve…

    46x Deployment                                                                                     2,555x Faster Lead
      Frequency                                                                                         Time For Changes

       Faster                                                                                                      Increased
   Time to Market
                                                  DevOps                                        $                   Revenue

   7x Lower Change                                                                                    2,604x Faster Mean
      Failure Rate                                                                                        Time to Recover

                     Source: 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 with
nearly $400 million in assets went bankrupt
in 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 day
losing $460 million and
went under bankruptcy
      protection.
What would be the impact in your
organization?

How do we know so much?
Post mortem
During the deployment of the new code, however, one of
Knight’s technicians did not copy the new code to one of the
eight SMARS computer servers. Knight did not have a second
technician review this deployment and no one at Knight
realized that the Power Peg code had not been removed from
the eighth server, nor the new RLP code added. Knight had no
written procedures that required such a review.

SEC Filing | Release No. 70694 | October 16, 2013
Maybe something happier?
DevOps at Microsoft
Azure DevOps is the toolchain of choice for Microsoft engineering with over 100,000 internal users

 https://aka.ms/DevOpsAtMicrosoft

442k                      4.6m                28k
Pull Requests per         Builds per month    Work items
month                                         created per day

2.4m
Private Git commits per
                          3.5k
                          Open Source repos
                                              12k
                                              Employees contributing
                                                                       82,000
                                                                       Deployments per day
month                                         to open source

                                                                               Data: Internal Microsoft engineering system activity, March 2019
How do you get started?
Learn from others
10+ Deploys Per Day

John Allspaw & Paul Hammond
10+ Deploys Per Day: Dev and Ops Cooperation at Flickr
http://bri.gd/tenplusdeploy
People
Process
Products
People
Can’t we all get along?
Kaizen is a system of continuous
improvement in quality, technology,
processes, company culture, productivity,
safety and leadership.
Process
Shorten Cycle Times and Focus on the Flow
Products
How Microsoft can help
Microsoft Azure is a powerful and flexible foundation for past, present, and future apps – easily build, manage, and
deploy any application and any stack on a massive, global network using your favorite tools and frameworks.

              Flexible                                 Powerful                                   Open
 Choice of IaaS, PaaS, public cloud or    Instantly improve the performance,        Bring your stack, we bring a cloud that
 hybrid.                                  scalability and resiliency of your apps   runs any app, on any platform, and any
                                          by moving them to the cloud.              language.
 Mirror or modernize app infrastructure
 with VMs, containers, microservices or   Increase business agility with Cloud-     Build applications using the language
 serverless.                              Native capabilities and built-in          and tools of your choice - Azure
                                          DevOps for continuous innovation.         supports what you already use and love
 Supports all stages of the app                                                     so you can get up and running fast –
 modernization journey – from lift-and-                                             just bring code.
 shift to Cloud-Native.
Azure DevOps
What technologies do I need to support DevOps?
DevOps brings together people, processes, and technology, automating software delivery to provide continuous
value to your users. Using Azure DevOps, you can deliver software faster and more reliably - no matter how big
your IT department or what tools you’re using.

       Continuous Integration (CI)                 Continuous Deployment (CD)                   Continuous Learning & Monitoring

•   Improve software development             •   By combining continuous integration        •   With Azure Application Insights you
    quality and speed.                           and infrastructure as code (IaC), you’ll       can identify how your applications are
                                                 achieve identical deployments and              performing and test if the recent
•   When you use Azure Pipelines or
                                                 the confidence to deploy to                    deployment made things better or
    Jenkins to build apps in the cloud and
                                                 production at any time.                        worse.
    deploy to Azure, each time you
    commit code, it’s automatically built    •   With continuous deployment, you can        •   Using CI/CD practices, paired with
    and tested and bugs are detected             automate the entire process from               monitoring tools, you’ll be able to safely
    faster.                                      code commit to production if your              deliver features to your customers as
                                                 CI/CD tests are successful.                    soon as they’re ready.
Microsoft Azure is the cloud with
DevOps tooling built in
Azure Boards

Azure Repos

Azure Pipelines

Azure Artifacts

Azure Test Plans
Azure Boards
Track work with Kanban boards, backlogs, team
dashboards, and custom reporting

       Connected from idea to release
       Track all your ideas at every development stage and
       keep your team aligned with all code changes linked
       directly to work items.

       Scrum ready
       Use built-in scrum boards and planning tools to help
       your teams run sprints, daily scrums, retrospectives,
       and sprint review.

       Project insights
       Gain new insights into the health and status of your
       project with powerful analytics tools and dashboard
       widgets.

 https://azure.com/devops
Azure Repos
Unlimited private Git repo hosting and support for
TFVC that scales from a hobby project to the
world’s largest Git repositories

       Works with your Git client
       Securely connect with and push code into your Git
       repos from any IDE, editor, or Git client.

       Web hooks and API integration
       Add validations and extensions from the marketplace
       or build your own using web hooks and REST APIs.

       Semantic code search
       Quickly find what you’re looking for with code-aware
       search that understands classes and variables.

 https://azure.com/devops
Azure Pipelines
Cloud-hosted pipelines for Linux, Windows and
macOS, with unlimited minutes for open source
       Any language, any platform, any cloud
       Build, test, and deploy Node.js, Python, Java, PHP, Ruby,
       C/C++, .NET, Android, and iOS apps. Run in parallel on
       Linux, macOS, and Windows. Deploy to Azure, AWS,
       GCP or on-premises

       Extensible
       Explore and implement a wide range of community-
       built build, test, and deployment tasks, along with
       hundreds of extensions from Slack to SonarCloud.
       Support for YAML, reporting and more

       Containers and Kubernetes
       Easily build and push images to container registries like
       Docker Hub and Azure Container Registry. Deploy
       containers to individual hosts or Kubernetes.

       Best-in-class for open source
       Ensure fast continuous integration/continuous delivery
       (CI/CD) pipelines for every open source project. Get
       unlimited build minutes for all open source projects with
       up to 10 free parallel jobs across Linux, macOS and
       Windows

 https://azure.com/pipelines
Azure Artifacts
Create and share Maven, npm, and NuGet package
feeds from public and private sources – fully
integrated into CI/CD pipelines

       Manage all package types
       Get universal artifact management for Maven, npm,
       and NuGet.

       Add packages to any pipeline
       Share packages, and use built-in CI/CD, versioning,
       and testing.

       Share code efficiently
       Easily share code across small teams and large
       enterprises.

 https://azure.com/devops
Azure Test Plans
Get end-to-end traceability. Run tests and log
defects from your browser. Track and assess quality
throughout your testing lifecycle.

        Capture rich data
        Capture rich scenario data as you execute tests to
        make discovered defects actionable. Explore user
        stories without test cases or test steps. You can create
        test cases directly from your exploratory test sessions.

        Test across web and desktop
        Test your application where it lives. Complete scripted
        tests across desktop or web scenarios. Test on-
        premises application from the cloud and vice-versa.

        Get end-to-end traceability
        Leverage the same test tools across your engineers
        and user acceptance testing stakeholders. Pay for the
        tools only when you need them.

 https://azure.com/devops
Azure DevOps
2018
Microsoft   Open Source

                                                    2017
                                                    Microsoft
                                                    Azure Kubernetes
                                                    Service launched

                          2016                      Draft, Brigade, Kashti
                                                    projects submitted to
                          .NET   Core 1.0           Kubernetes community
                          PowerShell Core           Microsoft joins Cloud
                          Windows Subsystem for     Native Computing &
                          Linux in Windows 10       Cloud Foundry
                                                    Foundations
                          Microsoft joins
                          Linux foundation          SQL 2017 on Linux
                          GitHub recognizes         Windows source code
                          Microsoft as a top open   moved to Git
                          source contributor
                                                    Azure Databricks
                                                    (Apache Spark)
                                                    announced

  2012                                                                       2018
Azure Pipelines
                                     Microsoft   Open Source
Free unlimited build minutes for
public projects

Up to 10 free parallel jobs across
Windows, Linux and macOS

 https://azure.com/pipelines
Azure DevOps
Better together

          Azure Boards          Azure Repos      Azure Pipelines      Azure Test Plans    Azure Artifacts

                  An end-to-end solution for organizations looking for an enterprise-grade toolchain

                                                     Highly
                                                                                            Consistent
           Fully Integrated      Scalable to         available,
                                                                        Customer            admin
           with end              any team            multi region,
                                                                        Support             and access
           to end                and project         hybrid
           traceability                                                                     control
                                 size                cloud &
                                                     on-prem

                                                                                    https://azure.com/devops
Broadening the Azure Ecosystem
Azure DevOps: Choose the tools and clouds you love

                                                                                         Mix and match
  Azure
                                                                                         to create
  DevOps lets
                                                                                         workflows with
  developers
                                                                                         tools from
  choose the
                                                                                         Microsoft, open
  tools that
                                                                                         source or your
  are right for
                                                                                         favorite
  them
                                                                                         3rd party tools

                  Target 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 6      “ Speed is gained in moving to the PaaS
   months for a new feature, we can give it to   offering of Azure DevOps. PaaS provides
   them in a few weeks…Our 2800 worldwide        regularly released features and a future-
   developers can use the same backlog, user     proof capability, eliminating the need for
   stories and tests whether they’re on          Accenture to maintain infrastructure and
   Windows or Linux… building for iOS or         go through upgrade cycles. ”
   Android. ”

                                                 “ Branches sync 500 percent faster. Builds
  “ Microsoft made it really easy to break
                                                 are 400 percent faster, with the typically
   outside the silos… and tie the DevOps
                                                 six-hour process reduced to 90 minutes.
   process into the fulfilment of business
                                                 We (now have) a highly streamlined
   process. Without the tools that we have
                                                 process that operates with a few button
   today, we would not be successful. ”
                                                 clicks—and one-button deployment. ”
Changes for existing VSTS / TFS customers
The same functionality you know and love today, with greater openness, flexibility and focus

Existing Accounts                                                  Pricing
•   Existing https://contoso.visualstudio.com URL continues to     •   Public project usage is now free.
    work. https://dev.azure.com/contoso available for opt-in.
                                                                   •   The free tier for Pipelines now includes 1,800 minutes per
•   New UI opt-in per user as preview feature. Will start              month, up from 240.
    advertising new UI once feedback from new accounts and
    early adopters has been incorporated.                          •   Pipelines can be used independently from Repos — so if
                                                                       you are only using Pipelines and your repos are hosted on
•   Can disable services on a per project basis for new UI             GitHub you don’t need to pay for Repos or Boards (Basic)
                                                                       users.
•   New Azure branding in communications and
    documentation (emails, alerts etc).
•   Websites and documentation will move from Visual Studio        New Accounts
    to Azure based locations (with redirects in place).            •   https://dev.azure.com/contoso based URL.
•   Redirects available for some time.                             •   New navigation & branding by default.
•   TFS will remain the on-premises brand until the next major
    version in 2019. The new UI will be enabled in that release.
•   Existing TFS branded information and downloads remain in
    Visual Studio locations until next release.
Migrating from TFS to Azure DevOps
Move from Team Foundation Server to Azure DevOps and bring your data along

Benefits of Cloud Hosted Azure DevOps Services             TFS Import Service
•   Global availability                                    •   Fully supported high fidelity migration path
•   Hosted and maintained by Microsoft with 99.9% uptime   •   Trusted by many large enterprises
    guarantee and 24x7 support
                                                           •   Now faster and easier to use
•   Immediate access to latest features
•   Simplified deployment to Azure                          https://aka.ms/tfsimport
Azure DevOps
                    Plan smarter, collaborate better, and ship faster with a set of
                    modern dev services

  Azure Boards
                    Any developer, any platform, any cloud. Full support for hybrid
                    cloud, on-premises & containers.

   Azure Repos      Use all the Azure DevOps services or choose just what you need
                    to complement your existing workflows

                    Best in class builds for open source. Free unlimited build minutes
 Azure Pipelines
                    for public projects and up to 10 free concurrent jobs across
                    Windows, Linux and macOS

 Azure Test Plans   Get started for free for small teams, scales to support the largest
                    enterprises

  Azure Artifacts                                            https://azure.com/devops
Azure DevOps Services Pricing

Free                                        Free                                          Starts at $6
                                                                                          per user, per month for Boards & Repos*
Unlimited users and build time              Start free with up to 5 users
                                                                                          Easy pricing that grows with your team
• Azure Pipelines: 10 parallel jobs with    • Azure Pipelines: Run 1 Microsoft-hosted
  unlimited minutes for CI/CD                 job for 1,800 minutes per month and 1       • Azure Pipelines: Run 1 Microsoft-hosted
                                              self-hosted job for any amount of time         job for 1,800 minutes per month and 1
• Azure Boards: Work item tracking and
                                                                                             self-hosted job for any amount of time
  Kanban boards                             • Azure Boards: Work item tracking and
                                              Kanban boards                               • Azure Boards: Work item tracking and
• Azure Repos: Unlimited public Git repos
                                                                                             Kanban boards
                                            • Azure Repos: Unlimited public Git repos
                                                                                          • Azure Repos: Unlimited public Git repos
                                            • Azure Artifacts: package management
                                                                                          • Azure Artifacts: package management
                                            • Unlimited stakeholders
                                                                                          • Unlimited stakeholders

                                                                                          • Boards & Repos included for Visual
                                                                                             Studio subscribers

                                                                                        * 5 Boards & Repos users and 5 Artifacts users free. Pipelines
                                                                                          with unlimited minutes, Test Plans users and additional
 https://azure.com/pricing/details/devops/                                               Artifacts users also available. Please see the Azure pricing
                                                                                          calculator 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 me
brian a. randell
Thank You Again!
You can also read