23
DevOps at Scale: A True Story Davide Benvegnù Microsoft MVP – Visual Studio ALM Founder, Director & CTO – DBTek Ltd

DevOps at scale: A true story - WIDS2016

Embed Size (px)

Citation preview

Page 1: DevOps at scale: A true story - WIDS2016

DevOps at Scale: A True Story

Davide BenvegnùMicrosoft MVP – Visual Studio ALMFounder, Director & CTO – DBTek Ltd

Page 2: DevOps at scale: A true story - WIDS2016

@bout Me

Davide BenvegnùDirector & CTO – DBTek LtdFormer International Development Manager – Aruba.itMicrosoft MVP in Visual Studio ALMSpeaker - Trainer Community Contributor (1 in HK, 2 in Italy)13+ years experience in IT, 10+ years experience in ALM / DevOps

@davidebenvegnu – www.dbtek.com.hk – [email protected]

Page 3: DevOps at scale: A true story - WIDS2016

DevOps: the three stage conversation

2 Processes 3 Tools1 People

DEV OPS

Page 4: DevOps at scale: A true story - WIDS2016

DevOps Framework

Client Workstations

EnvironmentsDev/Test

Integration

Pre-Production

Production

Processes

Source and Version control Build

Test

Deploy Monitor and Learn

DEV

BIZ

OPS

Page 5: DevOps at scale: A true story - WIDS2016

Legacy: Manual Builds and Deploy

Client Workstations

Source Build

Test

Deploy Monitor and Learn

TFVC

GITcspkg

Environments

OPS

DEV

OPS

cspkg

Page 6: DevOps at scale: A true story - WIDS2016

EnvironmentsDev/Test

Integration

Pre-Production

Production

DevOps: Continuous Integration and Deploy

Client Workstations

Source Build

Test

Deploy Monitor and Learn

TFVC

GITcspkg

OPS

DEV

cspkg

cspkg

cspkg

cspkg

Page 7: DevOps at scale: A true story - WIDS2016

Microsoft’s Cloud Development PlatformCode Run Monitor

Platform Services

Analytics

Application Platform

Code Build & Release Monitor

Application CodeDeveloper Tools

Page 8: DevOps at scale: A true story - WIDS2016

Azure Platform Services

Microsoft’s Cloud Development Platform

Code Build & Release Monitor

Application Code

More control

Max controlVirtual Machines

Virtual Network

Containers BLOB Storage

Azure Files

Premium Storage

CloudServices

ServiceFabric

Web Apps

MobileApps

APIApps

Batch

LogicApps

SQLDatabase

RedisCache

DocumentDB

SQL DataWarehouse

Search

Tables

HDInsight

DataFactory

StreamAnalytics

MachineLearning

EventHubs

MobileEngagement

ServiceBus

StorageQueues

BiztalkServices

ActiveDirectory

ApplicationInsights

Visual Studio

Visual StudioTeam Services

Prod

uctiv

ity

Cont

rol

Application Platform

Platform Services

HockeyApp

Page 9: DevOps at scale: A true story - WIDS2016

The Microsoft DevOps solutionOverview

Page 10: DevOps at scale: A true story - WIDS2016

The Microsoft DevOps solution

Shorten cycle timesand deliver value

faster

Improve qualityand availability

Optimize resourcesand eliminate waste

Deliver mobile apps with digital-era

velocity

An integrated, end-to-end solution for teams of any size to design, build and manage enterprise solutions and cross-platform mobile business apps.

Page 11: DevOps at scale: A true story - WIDS2016

VSTS/TFS: Integrated, End-to-end DevOps

Plan + Track1 Monitor +

Learn

Release + Test

Develop + Test2

Development

Production

4

3

Page 12: DevOps at scale: A true story - WIDS2016

Real example• 6 developers teams: Italy, Czech Rep., Poland,

Ukraine• 1 QA team• 4 main products: Cloud, Hosting, Email, VPSAvg project time:Max simultaneous projects:Successful deploys to Prod:Number of testers: Number of «deployers»:

Post MS DevOps

~ 1 month10

88%12 (Sprint + QA)

2

Pre MS DevOps~ 3 months

543%

12 (QA)6

Page 13: DevOps at scale: A true story - WIDS2016

Real Example: HOW?

Client Workstations

EnvironmentsDev/Test

Integration

Staging

Production

Processes

Source and Version control Build

Test

Deploy Monitor and Learn

DEV

BIZ

OPS

SVN TFVCcspkg

ContinuousIntegrationTFS

Auto UI test +

Test Manager

ContinuousDeployment

ReleaseManagement

Agile management with TFS (Scrum, Kanban, Task)

App Insights: Health & Performance Analysis

Page 14: DevOps at scale: A true story - WIDS2016

The Microsoft DevOps SolutionDevOps for the mobile era

Page 15: DevOps at scale: A true story - WIDS2016

Code Repository

Backlog

Build + Deploy

Monitor and improve

Automated Testing User Testing

Mobile app CI and CD

Page 16: DevOps at scale: A true story - WIDS2016

Xamarin Test Cloud2,000+ devicesAutomate your app testing and run them on over 2,000 different real devices. Test everything users do, as well as any performance problems with step-by-step memory and performance tracking.

Real devices, real quality• Ensure higher quality by testing on real

devices• Automate app testing on over 2,000 real

devices• Use C#, Ruby, or Cucumber to build

automated tests• Integrates with any continuous integration

system

Page 17: DevOps at scale: A true story - WIDS2016

HockeyAppBeta DistributionIn-house App Store for testersUpload beta versions of your application to the HockeyApp store to allow testers to install and test beta versions on actual devices.

Deployment made easyHockeyApp’s desktop application automatically tracks all necessary information about your latest build in order to make uploading beta versions easy.

Page 18: DevOps at scale: A true story - WIDS2016

Beta test coverageReal usage mattersAdvanced metrics to see which devices were used, how long the app was used for, and which language was tested. No additional setup.

Detailed chartsHockeyApp features both raw data from analytics as well as live, interactive charts for the most important metrics.

Page 19: DevOps at scale: A true story - WIDS2016

User feedback managementA conversation with your usersAll feedback is handled as discussions. You can manage discussions in the web interface or through email. Search discussions, mark them as completed or create work items based on them. Give your users a voice outside of the app store.

For all development phasesYou can use the feedback feature for all builds of your app or just beta versions. Either way, HockeyApp makes it easy for users to tell you what's what. Let them post ideas right from within your app.

Page 20: DevOps at scale: A true story - WIDS2016

HockeyAppCrash AnalyticsNo additional codeBy integrating HockeyApp’s open source SDK for Android, iOS, Mac, and Windows your apps can send crash reports directly to HockeyApp, no additional code needed.

Powerful crash analyticsHockeyApp processes and symbolicates all crash reports. This gives you meaningful stack traces with friendly class names, methods, and accurate line numbers.

Page 21: DevOps at scale: A true story - WIDS2016

Open, flexible and extensiblecross-platform DevOps tools

Enable Mobile DevOps• Xamarin Test Cloud• HockeyApp

Enterprise Ready• SLA• Security

Summary

Team Foundation

Server

Visual StudioTeam Services

Page 22: DevOps at scale: A true story - WIDS2016

Thanks!

DevOps at Scale: A True Story

Davide BenvegnùMicrosoft MVP Visual Studio ALM

Page 23: DevOps at scale: A true story - WIDS2016

© 2015 Microsoft Corporation. All rights reserved.