SlideShare a Scribd company logo
High Availability of Azure
Applications(PaaS)
Himanshu Sahu
Mindfire Solutions
himanshus@mindfiresolutions.com
Agenda
Introduction
Windows Azure Role Architecture
Fault Domains in Windows Azure
Update Domains in Windows Azure
Windows Azure Host OS Updates
Windows Azure Guest OS Updates
Techniques for High Availability
High Availability in Azure
Introduction
ALWAYS ON
Reliability and Scalability
Design for failure
Implement separation of function
Use a service-oriented architecture
Windows Azure Role Architecture
Fault Domains in Windows Azure
Fault Domains
Fault Domain is a physical unit of failure, and is closely related to
the physical infrastructure in the data centers. In Windows Azure
the rack can be considered a fault domain. However there is no 1:1
mapping between fault domain and rack.
Windows Azure Fabric is responsible to deploy the instances of
your application in different fault domains. Right now Fabric makes
sure that your application uses at least 2 (two) fault domains.
As a developer have no direct control over how many fault
domains your application will use.
Update Domains in Windows Azure
Update Domains
Upgrade Domain is a logical unit, which determines how particular
service will be upgraded.
The default number of upgrade domains that are configured for
your application is 5 (five). You can control how many upgrade
domains your application will use through the upgradeDomain
configuration setting in your service definition file (CSDEF).
Windows Azure Host Updates
When and Why
Windows Azure deploys updates to the host OS approximately
once per month. This ensures that Windows Azure provides a
reliable, efficient and secure platform for hosting your applications.
The HA consists of multiple subcomponents, such as the Network
Agent (NA) that manages virtual machine VLANs and the Virtual
Machine virtual disk driver that connects Virtual Machine disks to
the blobs containing their data in Windows Azure Storage. Azure
therefore update the HA and its subcomponents at different
intervals, depending on when a fix or new functionality is ready.
Windows Azure Host Updates
Windows Azure Host Updates
How
The host OS reboots instances and the fabric controller ensures that only
instances from one upgrade domain at a time will be rebooted.
Virtual machines running on the server that have an Input Endpoint in
their role’s service model are removed from the load balancer rotation so
that no new requests will come to the virtual machine and instead new
requests are sent to other instances of that role as per the Azure load-
balancing policies.
Each virtual machine hosting a Web or Worker Role receives a Stopping
event, whereas VM Roles receive a standard Windows shutdown event.
Worker, Web, and Virtual machine roles are allowed five minutes to
respond to the stopping and shutdown event before they are forcibly
stopped.
Windows Azure Host Updates
How
After all guest virtual machines are stopped, the root partition OS
shuts down and the server reboots.
The updated root partition OS starts.
The virtual machines hosted on the server boot and start their
application code.
Virtual machines hosting service roles with Input Endpoints
reconnect to the load balancer, enabling them to receive client
request
Windows Azure Guest Updates
Once the Host OS has finished upgrading across the datacenter
then the Guest OS will be upgraded for services which are
configured to use automatic Guest OS versions and this upgrade
will proceed using standard upgrade domain rules for your service.
Your VM will be rebooted and the Windows Partition (the D drive)
will be reimaged with the upgraded OS.
The Guest OS update process is much faster than the Host OS
update since the fabric only has to coordinate the update within
your hosted service and your upgrade domains.
Availability
An available application considers the availability of its underlying
infrastructure and dependent services. Available applications
remove single points of failure through redundancy and resilient
design
Azure SLA
More Instances in Azure
Make Guest OS Update Manual
Availability
Scalability directly affects availability—an application that fails
under increased load is no longer available. Scalable applications
are able to meet increased demand with consistent results in
acceptable time windows.
Auto Scaling in Azure
Availability
Protection against hardware failures
Because every application is made up of multiple instances of each
role, hardware failures—a disk crash, a network fault, or the death
of a server machine—won’t take down the application. To help
with this, the fabric controller doesn’t choose machines for an
application’s instances at random. Instead, different instances of
the same role are placed in different fault domains. A fault domain
is a set of hardware—computers, switches, and more—that share a
single point of failure. (For example, all of the computers in a single
fault domain might rely on the same switch to connect to the
network.) Because of this, a single hardware failure can’t take
down an entire application. The application might temporarily lose
some instances, but it will continue to behave correctly.
Availability
Protection against software failures
The fabric controller can also detect failures caused by software. If
the code in an instance crashes or the VM in which it’s running
goes down, the fabric controller will start either just the code or, if
necessary, a new VM for that role. While any work the instance
was doing when it failed will be lost, the new instance will become
part of the application as soon as it starts running.
Availability
The ability to update applications with no application
downtime
When a new version of the application needs to be deployed, the
fabric controller can shut down the instances in just one update
domain, update the code for these, then create new instances
from that new code. Once those instances are running, it can do
the same thing to instances in the next update domain, and so on.
While users might see different versions of the application during
this process, depending on which instance they happen to interact
with, the application as a whole remains continuously available.
Availability
The ability to update Windows and other supporting
software with no application downtime.
Answer is Update Domain. :)
Resources
https://msdn.microsoft.com/enus/library/azure/dn251004.aspx
http://blogs.msdn.com/b/kwill/archive/2011/05/05/windows-azure-r
http://blog.toddysm.com/2010/04/upgrade-domains-and-fault-doma
http://blogs.msdn.com/b/kwill/archive/2012/09/19/role-
instance-restarts-due-to-os-upgrades.aspx
Questions?
Thank you!

More Related Content

PDF
Microsoft Azure Active Directory
PDF
TechnicalTerraformLandingZones121120229238.pdf
PDF
Introduction to Azure
PPTX
Azure key vault
PDF
Introduction to Google Cloud Platform
PPTX
Azure Fundamentals Part 1
 
PPTX
Azure Messaging Services #1
PPTX
Introduction to AWS VPC, Guidelines, and Best Practices
Microsoft Azure Active Directory
TechnicalTerraformLandingZones121120229238.pdf
Introduction to Azure
Azure key vault
Introduction to Google Cloud Platform
Azure Fundamentals Part 1
 
Azure Messaging Services #1
Introduction to AWS VPC, Guidelines, and Best Practices

What's hot (20)

PPTX
Azure Hub spoke v1.0
PPTX
Basics of Cloud Computing
PDF
[AWSマイスターシリーズ] AWS Elastic Beanstalk
PPTX
Azure Security Fundamentals
PDF
VMware Cloud on AWS POC HCX デプロイガイド
PDF
K8s, Amazon EKS - 유재석, AWS 솔루션즈 아키텍트
PPTX
HA/DR options with SQL Server in Azure and hybrid
PDF
An Introduction to Azure IaaS
PDF
Azure DNS Private Resolver - Azure Example Scenarios _ Microsoft Learn.pdf
PPTX
Azure AD Presentation - @ BITPro - Ajay
PPTX
Kubernetes for Beginners: An Introductory Guide
PPTX
Azure migration
PPTX
Understanding Azure Disaster Recovery
PPTX
Introduction to Microservices
PPTX
Windows Azure Virtual Machines
PDF
SDDC Strategy 1.3
PPTX
Azure App Service
PPTX
PPTX
High Availability in Microsoft Azure
PDF
Azure Monitoring Overview
Azure Hub spoke v1.0
Basics of Cloud Computing
[AWSマイスターシリーズ] AWS Elastic Beanstalk
Azure Security Fundamentals
VMware Cloud on AWS POC HCX デプロイガイド
K8s, Amazon EKS - 유재석, AWS 솔루션즈 아키텍트
HA/DR options with SQL Server in Azure and hybrid
An Introduction to Azure IaaS
Azure DNS Private Resolver - Azure Example Scenarios _ Microsoft Learn.pdf
Azure AD Presentation - @ BITPro - Ajay
Kubernetes for Beginners: An Introductory Guide
Azure migration
Understanding Azure Disaster Recovery
Introduction to Microservices
Windows Azure Virtual Machines
SDDC Strategy 1.3
Azure App Service
High Availability in Microsoft Azure
Azure Monitoring Overview
Ad

Similar to High availability of azure applications(paas) (20)

PPT
128692851-Introducing-Windows-Azure.ppt
PPTX
Azure webinar kolkata
PPTX
Microsoft Windows Azure - Cloud Computing Hosting Environment Presentation
PPTX
ES19 – Under the Hood: Inside the Cloud Computing Hosting Environmnent
PPTX
Introducing Windows Azure
PPTX
Azure IaaS
PDF
Azure Interview Questions and Answers PDF By ScholarHat
PPTX
From legacy to Azure Service Fabric in 360h. Odessa.
PDF
Azure Solution Architect Interview Questions By ScholarHat
PPTX
PPTX
Introduction of Windows azure and overview
PPTX
Top 10 IaaS Highlights for Developers
PDF
Major Cloud Providers - Azure.pdf new doc
PPTX
Azure virtual machines & Terraform
PPTX
Azure service fabric
PPTX
Service Fabric and Azure Service Fabric Mesh introduction
PPTX
Global Azure Bootcamp: Azure service fabric
PPTX
azure_fundamentals_5674379643333389633.pptx
PPTX
Road to cloud-iaas
PPTX
Microsoft Azure Hybrid Cloud - Getting Started For Techies
128692851-Introducing-Windows-Azure.ppt
Azure webinar kolkata
Microsoft Windows Azure - Cloud Computing Hosting Environment Presentation
ES19 – Under the Hood: Inside the Cloud Computing Hosting Environmnent
Introducing Windows Azure
Azure IaaS
Azure Interview Questions and Answers PDF By ScholarHat
From legacy to Azure Service Fabric in 360h. Odessa.
Azure Solution Architect Interview Questions By ScholarHat
Introduction of Windows azure and overview
Top 10 IaaS Highlights for Developers
Major Cloud Providers - Azure.pdf new doc
Azure virtual machines & Terraform
Azure service fabric
Service Fabric and Azure Service Fabric Mesh introduction
Global Azure Bootcamp: Azure service fabric
azure_fundamentals_5674379643333389633.pptx
Road to cloud-iaas
Microsoft Azure Hybrid Cloud - Getting Started For Techies
Ad

Recently uploaded (20)

PPTX
Cell Types and Its function , kingdom of life
PDF
Insiders guide to clinical Medicine.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Classroom Observation Tools for Teachers
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
master seminar digital applications in india
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
Cell Types and Its function , kingdom of life
Insiders guide to clinical Medicine.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Classroom Observation Tools for Teachers
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Complications of Minimal Access Surgery at WLH
2.FourierTransform-ShortQuestionswithAnswers.pdf
master seminar digital applications in india
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Final Presentation General Medicine 03-08-2024.pptx
Anesthesia in Laparoscopic Surgery in India
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
O7-L3 Supply Chain Operations - ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Renaissance Architecture: A Journey from Faith to Humanism
TR - Agricultural Crops Production NC III.pdf
human mycosis Human fungal infections are called human mycosis..pptx

High availability of azure applications(paas)

  • 1. High Availability of Azure Applications(PaaS) Himanshu Sahu Mindfire Solutions himanshus@mindfiresolutions.com
  • 2. Agenda Introduction Windows Azure Role Architecture Fault Domains in Windows Azure Update Domains in Windows Azure Windows Azure Host OS Updates Windows Azure Guest OS Updates Techniques for High Availability
  • 3. High Availability in Azure Introduction ALWAYS ON Reliability and Scalability Design for failure Implement separation of function Use a service-oriented architecture
  • 4. Windows Azure Role Architecture
  • 5. Fault Domains in Windows Azure Fault Domains Fault Domain is a physical unit of failure, and is closely related to the physical infrastructure in the data centers. In Windows Azure the rack can be considered a fault domain. However there is no 1:1 mapping between fault domain and rack. Windows Azure Fabric is responsible to deploy the instances of your application in different fault domains. Right now Fabric makes sure that your application uses at least 2 (two) fault domains. As a developer have no direct control over how many fault domains your application will use.
  • 6. Update Domains in Windows Azure Update Domains Upgrade Domain is a logical unit, which determines how particular service will be upgraded. The default number of upgrade domains that are configured for your application is 5 (five). You can control how many upgrade domains your application will use through the upgradeDomain configuration setting in your service definition file (CSDEF).
  • 7. Windows Azure Host Updates When and Why Windows Azure deploys updates to the host OS approximately once per month. This ensures that Windows Azure provides a reliable, efficient and secure platform for hosting your applications. The HA consists of multiple subcomponents, such as the Network Agent (NA) that manages virtual machine VLANs and the Virtual Machine virtual disk driver that connects Virtual Machine disks to the blobs containing their data in Windows Azure Storage. Azure therefore update the HA and its subcomponents at different intervals, depending on when a fix or new functionality is ready.
  • 9. Windows Azure Host Updates How The host OS reboots instances and the fabric controller ensures that only instances from one upgrade domain at a time will be rebooted. Virtual machines running on the server that have an Input Endpoint in their role’s service model are removed from the load balancer rotation so that no new requests will come to the virtual machine and instead new requests are sent to other instances of that role as per the Azure load- balancing policies. Each virtual machine hosting a Web or Worker Role receives a Stopping event, whereas VM Roles receive a standard Windows shutdown event. Worker, Web, and Virtual machine roles are allowed five minutes to respond to the stopping and shutdown event before they are forcibly stopped.
  • 10. Windows Azure Host Updates How After all guest virtual machines are stopped, the root partition OS shuts down and the server reboots. The updated root partition OS starts. The virtual machines hosted on the server boot and start their application code. Virtual machines hosting service roles with Input Endpoints reconnect to the load balancer, enabling them to receive client request
  • 11. Windows Azure Guest Updates Once the Host OS has finished upgrading across the datacenter then the Guest OS will be upgraded for services which are configured to use automatic Guest OS versions and this upgrade will proceed using standard upgrade domain rules for your service. Your VM will be rebooted and the Windows Partition (the D drive) will be reimaged with the upgraded OS. The Guest OS update process is much faster than the Host OS update since the fabric only has to coordinate the update within your hosted service and your upgrade domains.
  • 12. Availability An available application considers the availability of its underlying infrastructure and dependent services. Available applications remove single points of failure through redundancy and resilient design Azure SLA More Instances in Azure Make Guest OS Update Manual
  • 13. Availability Scalability directly affects availability—an application that fails under increased load is no longer available. Scalable applications are able to meet increased demand with consistent results in acceptable time windows. Auto Scaling in Azure
  • 14. Availability Protection against hardware failures Because every application is made up of multiple instances of each role, hardware failures—a disk crash, a network fault, or the death of a server machine—won’t take down the application. To help with this, the fabric controller doesn’t choose machines for an application’s instances at random. Instead, different instances of the same role are placed in different fault domains. A fault domain is a set of hardware—computers, switches, and more—that share a single point of failure. (For example, all of the computers in a single fault domain might rely on the same switch to connect to the network.) Because of this, a single hardware failure can’t take down an entire application. The application might temporarily lose some instances, but it will continue to behave correctly.
  • 15. Availability Protection against software failures The fabric controller can also detect failures caused by software. If the code in an instance crashes or the VM in which it’s running goes down, the fabric controller will start either just the code or, if necessary, a new VM for that role. While any work the instance was doing when it failed will be lost, the new instance will become part of the application as soon as it starts running.
  • 16. Availability The ability to update applications with no application downtime When a new version of the application needs to be deployed, the fabric controller can shut down the instances in just one update domain, update the code for these, then create new instances from that new code. Once those instances are running, it can do the same thing to instances in the next update domain, and so on. While users might see different versions of the application during this process, depending on which instance they happen to interact with, the application as a whole remains continuously available.
  • 17. Availability The ability to update Windows and other supporting software with no application downtime. Answer is Update Domain. :)