devops : integrate, deliver and deploy continuously with visual studio team services โดย...

34
The First NIDA Business Analytics and Data Sciences Contest/Conference วันที1-2 กันยายน 2559 ณ อาคารนวมินทราธิราช สถาบันบัณฑิตพัฒนบริหารศาสตร์ -การดูแลเรื่องประสิทธิภาพและการควบคุมคุณภาพโปรแกรม - การควบคุมการทางานร่วมกันและการจัดการ Source Code สาหรับ Team Collaboration and Development) - การควบคุมคุณภาพ และทดสอบโปรแกรมแบบต่างๆ (Software Quality and Testing) - Measure and Analyze Application Performance and Load Testing - Build Automation and Release Management https://businessanalyticsnida.wordpress.com https://www.facebook.com/BusinessAnalyticsNIDA/ เฉลิมวงศ์ วิจิตรปิยะกุล ศิษย์เก่าสาขาวิทยาการคอมพิวเตอร์ คณะสถิติประยุกต์ NIDA Microsoft Most Valuable Professional (MVP) นวมินทราธิราช 4002 วันที1 กันยายน 2559 15.15-15.45 .

Upload: bainida

Post on 26-Jan-2017

178 views

Category:

Education


2 download

TRANSCRIPT

Page 1: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

The First NIDA Business Analytics and Data Sciences Contest/Conferenceวันที่ 1-2 กันยายน 2559 ณ อาคารนวมินทราธิราช สถาบันบัณฑิตพัฒนบริหารศาสตร์

-การดูแลเรื่องประสิทธิภาพและการควบคุมคุณภาพโปรแกรม- การควบคุมการท างานร่วมกันและการจัดการ Source Code ส าหรับ Team Collaboration and Development) - การควบคุมคุณภาพ และทดสอบโปรแกรมแบบต่างๆ (Software Quality and Testing)- Measure and Analyze Application Performance and Load Testing- Build Automation and Release Management

https://businessanalyticsnida.wordpress.comhttps://www.facebook.com/BusinessAnalyticsNIDA/

เฉลิมวงศ์ วิจิตรปิยะกุลศิษย์เก่าสาขาวิทยาการคอมพิวเตอร์ คณะสถิติประยุกต์ NIDA

Microsoft Most Valuable Professional (MVP)

นวมินทราธิราช 4002 วันที่ 1 กันยายน 2559 15.15-15.45 น.

Page 2: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 3: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

It’s tough out there …

Page 4: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 5: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Outperforming

teams are 54%more

likely to

Developers

26.7%No executive support

56.7%Cultural inhibitors

43.3%Fragmented processes

Collaboration blockers

DevOps was being initiated by

more development teams than IT Ops

teams by about a 40% to 33% margin

Agile methodologieshave adopted

3/4 of teams

BusinessIT Ops

The average hourly

cost of infrastructure

failure is $100,000

per hour

It takes on average

200 minutes to

diagnose and repair

a production issue

A bug caught in production ends

up costing

than if the same bug was found

earlier in the development cycle

100x more

IT decision

makers is still

unfamiliar with

the term DevOps

61 in

40%… of implementations end up getting

reworked because they don’t meet

the users’ original requirements

… of development budgets for software, IT

staff and external professional services will

be consumed by poor requirements41%

IT drives

business

success!

High IT performance

correlates with strong

business performance,

helps boost productivity,

market share and profit.

Responding to

ongoing needs for

efficiency and growth

Always keeping all

systems safe and securedual goals

… for companies that try to

adapt their existing tools for

DevOps practices

80% failure rate …

CIOs70 %

to reduce

IT costs

Would

increase

risk

and accelerate

business agility

of

Page 6: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Code Repository

Backlog

Build + Deploy

Monitor and improve

Automated Testing User Feedback

Visual Studio Team Services

Page 7: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 8: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

ALM + DevOps practices

New trend of practices for increasing flow of value to customers

Backlog

Requirements

Plan

Develop + test Release

Monitor + learn

Important for enterprises to understand to improve

DevOps extends application lifecycle management (ALM) investments

Page 9: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

End-to-end DevOps

Plan + Track1 Monitor + Learn

ReleaseDevelop + Test2

Development Production

4

3

Page 10: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

List of DevOps Practices

• Infrastructure as Code (IaC)

• Continuous Integration

• Automated Testing

• Continuous Deployment

• Release Management

• App Performance Monitoring

• Load Testing & Auto-Scale

• Availability Monitoring

• Capacity Management

• Change/Configuration Management

• Feature Flags

• Automated Environment De-Provisioning

• Self Service Environments

• Automated Recovery (Rollback & Roll-Forward)

• Hypothesis Driven Development Testing in Production

Fault Injection

Usage Monitoring / User Telemetry

http://www.itproguy.com/devops-practices/

Page 11: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Open, flexible, and extensible

cross-platform DevOps tools

More agility and flexibility for

continuous value delivery

Unlocks a greater ecosystem and

works with what you already use

Page 12: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Plan

Manage work

Track progress

Develop + Test 1

Project starts

It starts with an idea - and a plan how

to turn this idea into reality…

Plan + Track

Page 13: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 14: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Write Code

Unit Testing

2

Build

Version Control

Build Verification

Release

After the iteration starts,

developers turn great ideas

into features and functionality …

Develop + Test

Page 15: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 16: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 17: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 18: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Source Build

Test

Deploy Monitor and Learn

cspkg

Environments

Page 19: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Source Build

Test

Deploy Environments Monitor and Learn

cspkg

Page 20: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

• Accelerate Delivery

• More frequent releases

• MTTR

• MTTD

cspkg

Page 21: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 22: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Cloud

Load Testing

Integration testing

environment

Automated functional

testing environment

3

Pre-production

environment

Staging

environment

Monitor + Learn

When all tests pass, the build is deployed

to testing environments for each

stage in the release process …

Release

Page 23: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

• Optimized Resources

• Accelerate Delivery

• Deployment Rate

• MTTR

Page 24: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 25: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 26: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

4

Monitor

Feedback

Plan the next iteration

When all tests pass, the build is deployed to testing environments for

each stage in the release process

Monitor + Learn

Page 27: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 28: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Detect issues, diagnose crashes and track usage in your web and mobile apps

Announcing Public Preview on Azure Preview Portal

Monitor ASP.NET, Java and other web apps and services

Support for Android, iOS and Windows mobile apps

Pricing details available now including free tier

Check it out!

http://azure.microsoft.com/en-us/services/application-insights

Page 29: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

1. Telemetry is collected at each

tier: Mobile applications, server

applications and browser

2. Telemetry arrives to

Application Insights service

where it is processed & stored

3. Get 360° view of the

application covering availability,

performance & usage

Application

Insights

Page 30: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

platform

infrastructure

app

1

3

4

5

Outside-in monitoring

Developer-emitted traces and events

Observed application behavior

Infrastructure performance

URL pings and web tests from 8 global pointsof presence

Whatever the developer would like to sendto Application Insights

No coding required – service dependencies,queries, response time, exceptions, logs, etc.

System performance counters

2 Observed user behaviorHow is the application being used?

Page 31: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

Ap

plic

atio

n Insi

ghts

Identify & Triage

Diagnose & Solve

Learn & Improve

Page 32: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand
Page 33: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand

www.mva.ms

http://microsoft.com/msdn

http://channel9.msdn.com/VisualStudio/

www.visualstudio.com

Page 34: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand