SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Andere mochten auch

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

Andere mochten auch (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...
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von Michele Leroux Bustamante

Mehr von 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
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

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