SlideShare una empresa de Scribd logo
1 de 35
DevOps for Windows Azure –
Surviving Failure
Michele Leroux Bustamante
michelebusta@solliance.net
Michele Leroux Bustamante
Managing Partner
Solliance (solliance.net)
CEO and Cofounder
Snapboard (snapboard.com)
Microsoft Regional Director
Microsoft MVP
Author, Speaker
Pluralsight courses on the way!
Blog: michelebusta.com
michelebusta@solliance.net
@michelebusta

2

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
If it’s not there
you can’t see it
Logs
 IIS Logs




HTTP Errors
Redirects
Internal Server Errors

 Windows Event Logs (Cloud Service Only)
 Performance Counters




Memory, CPU, Disk Access, Requests
Custom Counters (Cloud Service Only)

 Trace Logs


Trace.XXX()

4

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Setting up Web Site Logging

5

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Site Diagnostics

6

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Application Logs

7

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Demo

Web Site Logs
Setting up Cloud Service Logging
 Programmatically





During role initialization
Enable diagnostics and storage transfer settings
Enable windows logs
Enable performance counters

 WADcfg (preferred)



Used to be XML raw
Now VS has user experience

11

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Demo

Cloud Service Logs
Managing Logs
 What if you have many sites and cloud services


Aggregate into single table

 You’ll need filters




By application
By type of log
By deployment

 Can create filters with management tool


I.e., Cloud Storage Studio

13

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Make logging
EASY
Encapsulate Logging
 Simplify logging for the developer
 Create a DiagnosticsHelper




Methods for Debug, Info, Warning, Exception tracing
Methods for throwing exceptions throughout application
A method for serious exceptions, send email on exception to admin

 Be sure to swallow DiagnosticHelper exceptions


Logging should not introduce new issues, wrap that up!

 Can be shared



Web Sites
Cloud Services

15

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Demo

Encapsulating Logging
ETW is fast
DO NOT be afraid to use it
Event Tracing for Windows (ETW)
 Part of the Windows operating system since Windows 2000


Tools have improved significantly since then

 Tools for developers, for IT and for customers to work with
 Highly efficient tracing mechanism with decoupled architecture
 Enable or disable dynamically


No application restarts required

 Available to Azure Cloud Services and Web Sites


Trace.XXX()

18

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
ETW Tracing Components
ETW Consumer
Application

Events
(Persisted)

Events
(Real-Time)

Trace
Logs

Events

Enable/
Disable

ETW Session

ETW
Controller

Trace
Events

Trace
Events

Event
Provider
A

Event
Provider
B

Application

Associate
Providers with
Session

19

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
If you don’t look
you won’t know it’s there
Monitoring
 Performance Counters




Memory
CPU
Requests

21

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Demo

Monitoring
23

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Notably missing: RFC 418!!!!

24

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Be nice if someone
told ME!
Demo

Alerts
27

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Service Levels and Reports
 Customers want proof of SLA compliance
 Your average up time measured monthly




Not including scheduled downtime
Sometimes scheduled downtime is limited
99.95 availability is typical

 Your average request time measured monthly




Should exclude special services/page (i.e. data upload, large reports)
2s per request average is usually desired, an SLA may state 5s (whew)

28

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Analytics Products to Consider








Azure Portal (built in)
Paraleap
Stackify
NewRelic
Pingdom
Right Scale
JumpCloud

29

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
30

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
31

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
32

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
33

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
34

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
It all comes down to
one thing…
CUSTOMERS
References
 Conference resources:


http://michelebusta.com

 See my snapboards:




Currently at the alpha site:
http://snapboardalpha.cloudapp.net/michelebusta
Will move these to snapboard.com/michelebusta when we go live on the
main site (SOON watch my blog for announcement)

 Contact me:



michelebusta@solliance.net
@michelebusta

37

© DEVintersection. All rights reserved.
http://www.DEVintersection.com

Más contenido relacionado

La actualidad más candente

Automated Release Pipelines with Azure DevOps
Automated Release Pipelines with Azure DevOpsAutomated Release Pipelines with Azure DevOps
Automated Release Pipelines with Azure DevOps
ProjectCon
 
Successfully Implementing DEV-SEC-OPS in the Cloud
Successfully Implementing DEV-SEC-OPS in the CloudSuccessfully Implementing DEV-SEC-OPS in the Cloud
Successfully Implementing DEV-SEC-OPS in the Cloud
Amazon Web Services
 

La actualidad más candente (20)

DevOps, CI, APIs, Oh My! - Texas Linux Fest 2012
DevOps, CI, APIs, Oh My! - Texas Linux Fest 2012DevOps, CI, APIs, Oh My! - Texas Linux Fest 2012
DevOps, CI, APIs, Oh My! - Texas Linux Fest 2012
 
Azure DevOps - Version Controlling with Git
Azure DevOps - Version Controlling with GitAzure DevOps - Version Controlling with Git
Azure DevOps - Version Controlling with Git
 
Azure DevOps Extensions
Azure DevOps ExtensionsAzure DevOps Extensions
Azure DevOps Extensions
 
Azure dev ops integrations with Jenkins
Azure dev ops integrations with JenkinsAzure dev ops integrations with Jenkins
Azure dev ops integrations with Jenkins
 
Azure for software development teams
Azure for software development teamsAzure for software development teams
Azure for software development teams
 
Automated Release Pipelines with Azure DevOps
Automated Release Pipelines with Azure DevOpsAutomated Release Pipelines with Azure DevOps
Automated Release Pipelines with Azure DevOps
 
[JAZUG Tohoku Azure DevOps] Azure DevOps
[JAZUG Tohoku Azure DevOps] Azure DevOps[JAZUG Tohoku Azure DevOps] Azure DevOps
[JAZUG Tohoku Azure DevOps] Azure DevOps
 
Hybrid Cloud Networking
Hybrid Cloud NetworkingHybrid Cloud Networking
Hybrid Cloud Networking
 
DevOps in the Cloud with Microsoft Azure
DevOps in the Cloud with Microsoft AzureDevOps in the Cloud with Microsoft Azure
DevOps in the Cloud with Microsoft Azure
 
Power of Azure Devops
Power of Azure DevopsPower of Azure Devops
Power of Azure Devops
 
App sec in the time of docker containers
App sec in the time of docker containersApp sec in the time of docker containers
App sec in the time of docker containers
 
PowerShell and Azure DevOps
PowerShell and Azure DevOpsPowerShell and Azure DevOps
PowerShell and Azure DevOps
 
Infrastructure automation with .NET
Infrastructure automation with .NETInfrastructure automation with .NET
Infrastructure automation with .NET
 
Using Azure DevOps to continuously build, test, and deploy containerized appl...
Using Azure DevOps to continuously build, test, and deploy containerized appl...Using Azure DevOps to continuously build, test, and deploy containerized appl...
Using Azure DevOps to continuously build, test, and deploy containerized appl...
 
Accelerate Spring Apps to Cloud at Scale
Accelerate Spring Apps to Cloud at ScaleAccelerate Spring Apps to Cloud at Scale
Accelerate Spring Apps to Cloud at Scale
 
Introduction to Azure DevOps
Introduction to Azure DevOpsIntroduction to Azure DevOps
Introduction to Azure DevOps
 
Successfully Implementing DEV-SEC-OPS in the Cloud
Successfully Implementing DEV-SEC-OPS in the CloudSuccessfully Implementing DEV-SEC-OPS in the Cloud
Successfully Implementing DEV-SEC-OPS in the Cloud
 
Azure DevOps Presentation
Azure DevOps PresentationAzure DevOps Presentation
Azure DevOps Presentation
 
Leveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the EnterpriseLeveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the Enterprise
 
Azure dev ops
Azure dev opsAzure dev ops
Azure dev ops
 

Destacado

Devops the Microsoft Way
Devops the Microsoft WayDevops the Microsoft Way
Devops the Microsoft Way
Patrick Chanezon
 

Destacado (9)

Global Windows Azure Bootcamp - San Diego
Global Windows Azure Bootcamp - San DiegoGlobal Windows Azure Bootcamp - San Diego
Global Windows Azure Bootcamp - San Diego
 
DevOps in Azure : Puppetize the Cloud
DevOps in Azure : Puppetize the CloudDevOps in Azure : Puppetize the Cloud
DevOps in Azure : Puppetize the Cloud
 
DevOps With Chef and Azure
DevOps With Chef and AzureDevOps With Chef and Azure
DevOps With Chef and Azure
 
Design Practices for a Secure Azure Solution
Design Practices for a Secure Azure SolutionDesign Practices for a Secure Azure Solution
Design Practices for a Secure Azure Solution
 
Devops the Microsoft Way
Devops the Microsoft WayDevops the Microsoft Way
Devops the Microsoft Way
 
Integrating your on-premises Active Directory with Azure and Office 365
Integrating your on-premises Active Directory with Azure and Office 365Integrating your on-premises Active Directory with Azure and Office 365
Integrating your on-premises Active Directory with Azure and Office 365
 
DevOps beyond the Tools
DevOps beyond the ToolsDevOps beyond the Tools
DevOps beyond the Tools
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
 

Similar a DevOps for Azure

The Forgotten Customer (XPDays 2011)
The Forgotten Customer (XPDays 2011)The Forgotten Customer (XPDays 2011)
The Forgotten Customer (XPDays 2011)
Thomas Krause
 
The Day After - A Post-Deployment SharePoint Survival Guide
The Day After - A Post-Deployment SharePoint Survival GuideThe Day After - A Post-Deployment SharePoint Survival Guide
The Day After - A Post-Deployment SharePoint Survival Guide
Eric Shupps
 
SharePoint 2010 Sandboxed Solution
SharePoint 2010 Sandboxed SolutionSharePoint 2010 Sandboxed Solution
SharePoint 2010 Sandboxed Solution
Srini Sistla
 
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
eG Innovations
 
Ws08 R2 Itpro Session 2 Technical Overview Part2
Ws08 R2 Itpro Session 2 Technical Overview Part2Ws08 R2 Itpro Session 2 Technical Overview Part2
Ws08 R2 Itpro Session 2 Technical Overview Part2
chenley
 
OutSystems: A more efficient way to build apps!
OutSystems: A more efficient way to build apps!OutSystems: A more efficient way to build apps!
OutSystems: A more efficient way to build apps!
Russ Fustino
 
SharePoint Intersections - SP09 - Introduction to SharePoint 2013 for IT Pros
SharePoint Intersections - SP09 - Introduction to SharePoint 2013 for IT ProsSharePoint Intersections - SP09 - Introduction to SharePoint 2013 for IT Pros
SharePoint Intersections - SP09 - Introduction to SharePoint 2013 for IT Pros
Dan Usher
 
Unix Performance Monitoring Made Easy
Unix Performance Monitoring Made EasyUnix Performance Monitoring Made Easy
Unix Performance Monitoring Made Easy
eG Innovations
 
Ws08 R2 Itpro Session 1 Technical Overview Part1
Ws08 R2 Itpro Session 1 Technical Overview Part1Ws08 R2 Itpro Session 1 Technical Overview Part1
Ws08 R2 Itpro Session 1 Technical Overview Part1
chenley
 

Similar a DevOps for Azure (20)

Power User functionality in SharePoint 2013 - SP Intersection
Power User functionality in SharePoint 2013 - SP IntersectionPower User functionality in SharePoint 2013 - SP Intersection
Power User functionality in SharePoint 2013 - SP Intersection
 
Workflow Studio
Workflow StudioWorkflow Studio
Workflow Studio
 
The Forgotten Customer (XPDays 2011)
The Forgotten Customer (XPDays 2011)The Forgotten Customer (XPDays 2011)
The Forgotten Customer (XPDays 2011)
 
The Day After - A Post-Deployment SharePoint Survival Guide
The Day After - A Post-Deployment SharePoint Survival GuideThe Day After - A Post-Deployment SharePoint Survival Guide
The Day After - A Post-Deployment SharePoint Survival Guide
 
How to Make Citrix Logons Faster?
How to Make Citrix Logons Faster?How to Make Citrix Logons Faster?
How to Make Citrix Logons Faster?
 
eG Enterprise Citrix XenDesktop Monitor Product Tour
eG Enterprise Citrix XenDesktop Monitor Product ToureG Enterprise Citrix XenDesktop Monitor Product Tour
eG Enterprise Citrix XenDesktop Monitor Product Tour
 
How to Get the​ Fastest Possible ​Citrix Logon Times​? Optimization Tips for ...
How to Get the​ Fastest Possible ​Citrix Logon Times​? Optimization Tips for ...How to Get the​ Fastest Possible ​Citrix Logon Times​? Optimization Tips for ...
How to Get the​ Fastest Possible ​Citrix Logon Times​? Optimization Tips for ...
 
How to Avoid the Top 7 Mistakes Made When Managing Citrix Performance
How to Avoid the Top 7 Mistakes Made When Managing Citrix PerformanceHow to Avoid the Top 7 Mistakes Made When Managing Citrix Performance
How to Avoid the Top 7 Mistakes Made When Managing Citrix Performance
 
How to Avoid the Top 7 Mistakes Made When Managing Citrix Performance
How to Avoid the Top 7 Mistakes Made When Managing Citrix PerformanceHow to Avoid the Top 7 Mistakes Made When Managing Citrix Performance
How to Avoid the Top 7 Mistakes Made When Managing Citrix Performance
 
SharePoint 2010 Sandboxed Solution
SharePoint 2010 Sandboxed SolutionSharePoint 2010 Sandboxed Solution
SharePoint 2010 Sandboxed Solution
 
Choosing a Citrix Monitoring Strategy: Key Capabilities and Pitfalls to Avoid
Choosing a Citrix Monitoring Strategy: Key Capabilities and Pitfalls to AvoidChoosing a Citrix Monitoring Strategy: Key Capabilities and Pitfalls to Avoid
Choosing a Citrix Monitoring Strategy: Key Capabilities and Pitfalls to Avoid
 
Surviving the Azure Avalanche
Surviving the Azure AvalancheSurviving the Azure Avalanche
Surviving the Azure Avalanche
 
E g innovations overview
E g innovations overviewE g innovations overview
E g innovations overview
 
Private Cloud with Microsoft Technologies
Private Cloud with Microsoft TechnologiesPrivate Cloud with Microsoft Technologies
Private Cloud with Microsoft Technologies
 
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
Make synthetic monitoring a critical part of your IT monitoring strategy: Why...
 
Ws08 R2 Itpro Session 2 Technical Overview Part2
Ws08 R2 Itpro Session 2 Technical Overview Part2Ws08 R2 Itpro Session 2 Technical Overview Part2
Ws08 R2 Itpro Session 2 Technical Overview Part2
 
OutSystems: A more efficient way to build apps!
OutSystems: A more efficient way to build apps!OutSystems: A more efficient way to build apps!
OutSystems: A more efficient way to build apps!
 
SharePoint Intersections - SP09 - Introduction to SharePoint 2013 for IT Pros
SharePoint Intersections - SP09 - Introduction to SharePoint 2013 for IT ProsSharePoint Intersections - SP09 - Introduction to SharePoint 2013 for IT Pros
SharePoint Intersections - SP09 - Introduction to SharePoint 2013 for IT Pros
 
Unix Performance Monitoring Made Easy
Unix Performance Monitoring Made EasyUnix Performance Monitoring Made Easy
Unix Performance Monitoring Made Easy
 
Ws08 R2 Itpro Session 1 Technical Overview Part1
Ws08 R2 Itpro Session 1 Technical Overview Part1Ws08 R2 Itpro Session 1 Technical Overview Part1
Ws08 R2 Itpro Session 1 Technical Overview Part1
 

Más de Michele Leroux Bustamante

Más de Michele Leroux Bustamante (15)

So Many Docker Platforms...so little time
So Many Docker Platforms...so little timeSo Many Docker Platforms...so little time
So Many Docker Platforms...so little time
 
Surviving Microservices - v2
Surviving Microservices - v2Surviving Microservices - v2
Surviving Microservices - v2
 
.NET Developer Days - Launching Patterns for Containers
.NET Developer Days - Launching Patterns for Containers.NET Developer Days - Launching Patterns for Containers
.NET Developer Days - Launching Patterns for Containers
 
.NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time....NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time...
 
The Ultimate Logging Architecture - You KNOW you want it!
The Ultimate Logging Architecture - You KNOW you want it!The Ultimate Logging Architecture - You KNOW you want it!
The Ultimate Logging Architecture - You KNOW you want it!
 
The Power of Social Login
The Power of Social LoginThe Power of Social Login
The Power of Social Login
 
Unleash Your Inner Startup (Sweden, Dev Sum)
Unleash Your Inner Startup (Sweden, Dev Sum)Unleash Your Inner Startup (Sweden, Dev Sum)
Unleash Your Inner Startup (Sweden, Dev Sum)
 
Deep thoughts from the real world of azure
Deep thoughts from the real world of azureDeep thoughts from the real world of azure
Deep thoughts from the real world of azure
 
Social Login
Social LoginSocial Login
Social Login
 
Security Avalanche
Security AvalancheSecurity Avalanche
Security Avalanche
 
End to End Security with MVC and Web API
End to End Security with MVC and Web APIEnd to End Security with MVC and Web API
End to End Security with MVC and Web API
 
Windows Azure Essentials V3
Windows Azure Essentials V3Windows Azure Essentials V3
Windows Azure Essentials V3
 
Channel Your Inner Startup and Go For It!
Channel Your Inner Startup and Go For It!Channel Your Inner Startup and Go For It!
Channel Your Inner Startup and Go For It!
 
Windows Azure Essentials
Windows Azure EssentialsWindows Azure Essentials
Windows Azure Essentials
 
Pricing and Revenue Projection in a Cloud-Centric World
Pricing and Revenue Projection in a Cloud-Centric WorldPricing and Revenue Projection in a Cloud-Centric World
Pricing and Revenue Projection in a Cloud-Centric World
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

DevOps for Azure

  • 1. DevOps for Windows Azure – Surviving Failure Michele Leroux Bustamante michelebusta@solliance.net
  • 2. Michele Leroux Bustamante Managing Partner Solliance (solliance.net) CEO and Cofounder Snapboard (snapboard.com) Microsoft Regional Director Microsoft MVP Author, Speaker Pluralsight courses on the way! Blog: michelebusta.com michelebusta@solliance.net @michelebusta 2 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 3. If it’s not there you can’t see it
  • 4. Logs  IIS Logs    HTTP Errors Redirects Internal Server Errors  Windows Event Logs (Cloud Service Only)  Performance Counters   Memory, CPU, Disk Access, Requests Custom Counters (Cloud Service Only)  Trace Logs  Trace.XXX() 4 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 5. Setting up Web Site Logging 5 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 6. Site Diagnostics 6 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 7. Application Logs 7 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 9. Setting up Cloud Service Logging  Programmatically     During role initialization Enable diagnostics and storage transfer settings Enable windows logs Enable performance counters  WADcfg (preferred)   Used to be XML raw Now VS has user experience 11 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 11. Managing Logs  What if you have many sites and cloud services  Aggregate into single table  You’ll need filters    By application By type of log By deployment  Can create filters with management tool  I.e., Cloud Storage Studio 13 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 13. Encapsulate Logging  Simplify logging for the developer  Create a DiagnosticsHelper    Methods for Debug, Info, Warning, Exception tracing Methods for throwing exceptions throughout application A method for serious exceptions, send email on exception to admin  Be sure to swallow DiagnosticHelper exceptions  Logging should not introduce new issues, wrap that up!  Can be shared   Web Sites Cloud Services 15 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 15. ETW is fast DO NOT be afraid to use it
  • 16. Event Tracing for Windows (ETW)  Part of the Windows operating system since Windows 2000  Tools have improved significantly since then  Tools for developers, for IT and for customers to work with  Highly efficient tracing mechanism with decoupled architecture  Enable or disable dynamically  No application restarts required  Available to Azure Cloud Services and Web Sites  Trace.XXX() 18 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 17. ETW Tracing Components ETW Consumer Application Events (Persisted) Events (Real-Time) Trace Logs Events Enable/ Disable ETW Session ETW Controller Trace Events Trace Events Event Provider A Event Provider B Application Associate Providers with Session 19 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 18. If you don’t look you won’t know it’s there
  • 19. Monitoring  Performance Counters    Memory CPU Requests 21 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 21. 23 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 22. Notably missing: RFC 418!!!! 24 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 23. Be nice if someone told ME!
  • 25. 27 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 26. Service Levels and Reports  Customers want proof of SLA compliance  Your average up time measured monthly    Not including scheduled downtime Sometimes scheduled downtime is limited 99.95 availability is typical  Your average request time measured monthly   Should exclude special services/page (i.e. data upload, large reports) 2s per request average is usually desired, an SLA may state 5s (whew) 28 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 27. Analytics Products to Consider        Azure Portal (built in) Paraleap Stackify NewRelic Pingdom Right Scale JumpCloud 29 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 28. 30 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 29. 31 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 30. 32 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 31. 33 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 32. 34 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 33. It all comes down to one thing…
  • 35. References  Conference resources:  http://michelebusta.com  See my snapboards:   Currently at the alpha site: http://snapboardalpha.cloudapp.net/michelebusta Will move these to snapboard.com/michelebusta when we go live on the main site (SOON watch my blog for announcement)  Contact me:   michelebusta@solliance.net @michelebusta 37 © DEVintersection. All rights reserved. http://www.DEVintersection.com