devops : integrate, deliver and deploy continuously with visual studio team services โดย...
TRANSCRIPT
![Page 1: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/1.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/2.jpg)
![Page 3: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/3.jpg)
It’s tough out there …
![Page 4: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/4.jpg)
![Page 5: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/7.jpg)
![Page 8: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/10.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/11.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/12.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/13.jpg)
![Page 14: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/14.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/15.jpg)
![Page 16: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/16.jpg)
![Page 17: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/17.jpg)
![Page 18: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/18.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/19.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/20.jpg)
• Accelerate Delivery
• More frequent releases
• MTTR
• MTTD
cspkg
![Page 21: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/21.jpg)
![Page 22: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/22.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/23.jpg)
• Optimized Resources
• Accelerate Delivery
• Deployment Rate
• MTTR
![Page 24: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/24.jpg)
![Page 25: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/25.jpg)
![Page 26: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/26.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/27.jpg)
![Page 28: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/28.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/29.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/30.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/31.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/32.jpg)
![Page 33: DevOps : Integrate, Deliver and Deploy continuously with Visual Studio Team Services โดย เฉลิมวงศ์ วิจิตรปิยะกุล MVP, Microsoft Thailand](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/33.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022042907/58890ff61a28ab4a5c8b57fd/html5/thumbnails/34.jpg)