SlideShare a Scribd company logo
Premium conference on Microsoft technologies itcampro@ itcamp14#
Database and Public
Endpoints redundancy on
Azure
@RaduVunvulea, iQuest
http://vunvulearadu.blogspot.com
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hello ITCamp!
RADU
VUNVULEA
MCTS MCP HOME AUTOMATION
MVP ENTERPRISE
AUTOMOTIVE PHARMA
LEAN AND AGILE E-COMMERCE
WEB iQuest
AZURE JAVASCRIPT VUNVULEARADU.BLOGSPOT.COM
MOBILE DOTNET @RaduVunvulea
WCF WPF ENTHUSIASTIC
Premium conference on Microsoft technologies itcampro@ itcamp14#
Huge thanks to our sponsors & partners!
Premium conference on Microsoft technologies itcampro@ itcamp14#
Cloud is not managed by God
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Define Redundancy
• SQL Database
• Storage
• Endpoints (HTTP/S, WCF)
• VM
Agenda
Premium conference on Microsoft technologies itcampro@ itcamp14#
Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
In engineering, redundancy is the duplication
of critical components or functions of a system
with the intention of increasing reliability of
the system, usually in the form of a backup or
fail-safe.
Source: Wikipedia
Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hardware
Dual Modular Redundancy
Triple Modular Redundancy
Information
Error detection
Correction
Time
Transient Fault Detection
Software
N-versions Programming
Type of Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hardware
Dual Modular Redundancy
Triple Modular Redundancy
Information
Error detection
Correction
Time
Transient Fault Detection
Software
N-versions Programming
Type of Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hardware
Dual Modular Redundancy
Triple Modular Redundancy
Information
Error detection
Correction
Time
Transient Fault Detection
Software
N-versions Programming
Type of Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Hardware
Dual Modular Redundancy
Triple Modular Redundancy
Information
Error detection
Correction
Time
Transient Fault Detection
Software
N-versions Programming
Type of Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
HOW WE CAN TEST IT?
Premium conference on Microsoft technologies itcampro@ itcamp14#
Netflix: The Chaos Monkey’s job is to randomly
kill instances and services within our
architecture
Chaos Monkey
Premium conference on Microsoft technologies itcampro@ itcamp14#
Failover & Switchover
Premium conference on Microsoft technologies itcampro@ itcamp14#
Failover & Switchover
Premium conference on Microsoft technologies itcampro@ itcamp14#
SQL REDUDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
SQL Data Sync
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
SQL Backups
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
AlwaysOn
Premium conference on Microsoft technologies itcampro@ itcamp14#
DISASTER RECOVERY PLAN
Premium conference on Microsoft technologies itcampro@ itcamp14#
Do you have a disaster recovery plan?
How long it takes to restart the entire system?
How complicated is your checklist?
Can you parallelize it?
Disaster Recovery Plan (DRP)
Premium conference on Microsoft technologies itcampro@ itcamp14#
Do you have a disaster recovery plan?
How long it takes to restart the entire system?
How complicated is your checklist?
Can you parallelize it?
AUTOMATION
Disaster Recovery Plan (DRP)
Premium conference on Microsoft technologies itcampro@ itcamp14#
ENDPOINT REDUNDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Any public endpoint
• Accessible from internet or private networks
Endpoint
Premium conference on Microsoft technologies itcampro@ itcamp14#
Load Balancer
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Free 
• Out of the box
• Lever 3 Load Balancer type
– TCP Level
• No Sticky sessions
• Partial Configurable
Load Balancer
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Custom app endpoint
• Processor level, 500 Errors, Parallel task
• Configurable from *.cscfg files
• VM: Using Power Shell
Load Balancer Probe
<LoadBalancerProbes> <LoadBalancerProbe
name="FooProbe" protocol="http"
intervalInSeconds="30" path="/api/probe" port="80"
timeoutInSeconds="60" /> </LoadBalancerProbes>
Premium conference on Microsoft technologies itcampro@ itcamp14#
Redundancy
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
• ~Load Balancer (Word Wide level)
• Redirect request based on client location
• Any kind of endpoint
– VM, Web/Worker Roles, DB and many more
– External Endpoints
• Methods: Failover, Round Robin, Performance
• Is not FREE (1B DNS query = $0.75)
• DNS TTL
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
• [Not Supported] Hybrid Scenarios
Premium conference on Microsoft technologies itcampro@ itcamp14#
WHY REDUNDANCY IS SO
IMPORTANT?
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Compute 99.95%
• SQL Database 99.90%
• Storage 99.90%
• Storage (RA-GRS) 99.99%
• Active Directory 99.90%
• Cache 99.90%
• VM 99.95%
• Service Bus 99.95%
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Compute 99.95% 21.6m
• SQL Database 99.90% 43.2m
• Storage 99.90% 43.2m
• Storage (RA-GRS) 99.99% <8m
• Active Directory 99.90% 43.2m
• Cache 99.90% 43.2m
• VM 99.95% 21.6m
• Service Bus 99.95% 21.6m
Windows Azure SLA’s (per month)
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Compute 99.95% 21.6m
• SQL Database 99.90% 43.2m
• Storage 99.90% 43.2m
• Storage (RA-GRS) 99.99% <8m
• Active Directory 99.90% 43.2m
• Cache 99.90% 43.2m
• VM 99.95% 21.6m
• Service Bus 99.95% 21.6m
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Downtime per month: 216m
21.6*2+43.2*4=216m
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Downtime per month: 216m
21.6*2+43.2*4=216m
• Downtime per month: 0.5%
(100/43200)*216=0.5%
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Downtime per month: 216m
21.6*2+43.2*4=216m
• Downtime per month: 0.5%
(100/43200)*216=0.5%
• Uptime: 99.5%
100-0.5=99.5%
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Compute 99.95% 21.6m
• SQL Database 99.90% 43.2m
• Storage 99.90% 43.2m
• Storage (RA-GRS) 99.99% <8m
• Active Directory 99.90% 43.2m
• Cache 99.90% 43.2m
• VM 99.95% 21.6m
• Service Bus 99.95% 21.6m
Windows Azure SLA’s
Premium conference on Microsoft technologies itcampro@ itcamp14#
WCF ENDPOINTS REDUNDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
Service Bus Relay
Relay
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Steps to integrate in existing application
– Add assembly reference to SB Relay
– Update WCF configuration sections
(client and backend)
Service Bus Relay
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Works only with
– Async calls
– Fire and Forget calls
• Broker between endpoint and client
• Store messages until backend is available
• WCF Endpoint (Azure or on-premises)
• Price model similar with SB (per messages)
Service Bus Relay
Premium conference on Microsoft technologies itcampro@ itcamp14#
STORAGE REDUNDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
• 3 copy of the content in the same data center
Locally Redundant Storage
1
3
2
Premium conference on Microsoft technologies itcampro@ itcamp14#
• 2 different data centers
• Async replication
Geographically Redundant Storage
1
3
2
1
3
2
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Similar with GRS
• Read only access to the secondary storage
• Redirecting managed by developer
• Async replication
• 99.99% Uptime
Read Access Geo Redundant Storage
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
Traffic Manager
Premium conference on Microsoft technologies itcampro@ itcamp14#
CHECK HEALTH STATUS OF
OTHER SERVICES
Traffic Manager
Premium conference on Microsoft technologies itcampro@ itcamp14#
Import Export Service
Premium conference on Microsoft technologies itcampro@ itcamp14#
Import/Export Service
Premium conference on Microsoft technologies itcampro@ itcamp14#
DEMO
Let’s see some code
Premium conference on Microsoft technologies itcampro@ itcamp14#
MTBF, MTTR
Premium conference on Microsoft technologies itcampro@ itcamp14#
Mean Time Between Failures
Mean Time To Recovery
MTBF -> MTTR
Premium conference on Microsoft technologies itcampro@ itcamp14#
VM REDUNDANCY
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Same features offered by System Center on-
premises
• Availability Set
• Windows Server Failover Cluster
– Real time Sync
VM
Premium conference on Microsoft technologies itcampro@ itcamp14#
CONCLUSION
Premium conference on Microsoft technologies itcampro@ itcamp14#
• Everything has a price
• Calculate up-time for specific roles and use-
case
• Don’t trust the 99.99% myth
• Be as flexible as possible
• Automate
• Recovery plans
Conclusion
Premium conference on Microsoft technologies itcampro@ itcamp14#
Q & A

More Related Content

What's hot (20)

PDF
Introducing IBM Message Hub: Cloud-scale messaging based on Apache Kafka
Andrew Schofield
 
PPTX
GWC : MQ Light - from monolith to Microservices for speed and scale
achatt83
 
PDF
IBM Message Hub: Cloud-Native Messaging
Andrew Schofield
 
PDF
Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...
confluent
 
PPTX
Mq light For Guide Share Europe 2014
Robert Nicholson
 
PPTX
Cloud based Performance Testing
Impetus Technologies
 
PDF
Effectively Managing a Hybrid Messaging Environment
Andrew Schofield
 
PPTX
Netapp HCI + Veeam Availability Platform
Tanawit Chansuchai
 
PPTX
Cloud-based performance testing
abhinavm
 
PPTX
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
VMworld
 
PDF
Kafka with IBM Event Streams - Technical Presentation
Winton Winton
 
PPTX
Introducing MQ Light - IBM Interconnect 2015 session AME4181
Robert Nicholson
 
PPTX
MQ Light in IBM MQ: IBM Interconnect 2015 session AME4182
Robert Nicholson
 
PPTX
Hitting the Enterprise Sweet Spot—A Real-World View of PKS Deployment and Suc...
VMware Tanzu
 
PDF
Kube Your Enthusiasm - Paul Czarkowski
VMware Tanzu
 
PDF
Zeebe - a Microservice Orchestration Engine
camunda services GmbH
 
PPTX
VMworld 2015: No App is An Island
VMworld
 
PPTX
Gorillas in the mist
Sriram Subramanian
 
PDF
IBM MQ and Kafka, what is the difference?
David Ware
 
PPTX
Microservices architecture
Faren faren
 
Introducing IBM Message Hub: Cloud-scale messaging based on Apache Kafka
Andrew Schofield
 
GWC : MQ Light - from monolith to Microservices for speed and scale
achatt83
 
IBM Message Hub: Cloud-Native Messaging
Andrew Schofield
 
Not so FaaS, Streaming ML with Kafka! (Praveen Hirsave, VRBO) Kafka Summit Lo...
confluent
 
Mq light For Guide Share Europe 2014
Robert Nicholson
 
Cloud based Performance Testing
Impetus Technologies
 
Effectively Managing a Hybrid Messaging Environment
Andrew Schofield
 
Netapp HCI + Veeam Availability Platform
Tanawit Chansuchai
 
Cloud-based performance testing
abhinavm
 
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
VMworld
 
Kafka with IBM Event Streams - Technical Presentation
Winton Winton
 
Introducing MQ Light - IBM Interconnect 2015 session AME4181
Robert Nicholson
 
MQ Light in IBM MQ: IBM Interconnect 2015 session AME4182
Robert Nicholson
 
Hitting the Enterprise Sweet Spot—A Real-World View of PKS Deployment and Suc...
VMware Tanzu
 
Kube Your Enthusiasm - Paul Czarkowski
VMware Tanzu
 
Zeebe - a Microservice Orchestration Engine
camunda services GmbH
 
VMworld 2015: No App is An Island
VMworld
 
Gorillas in the mist
Sriram Subramanian
 
IBM MQ and Kafka, what is the difference?
David Ware
 
Microservices architecture
Faren faren
 

Similar to Database and Public EndPoints Redundancy on Azure (Radu Vunvulea) (20)

PPTX
Database and Public Endpoints redundancy on Azure
Radu Vunvulea
 
PDF
ITCamp 2011 - Cristian Lefter - SQL Server code-name Denali
ITCamp
 
PDF
Cloudbursting VDI Scenarios (Tiberiu Radu)
ITCamp
 
PDF
BUILD with Microsoft - Radu Stefan
ITCamp
 
PDF
Patterns for Scalability in Windows Azure Applications (Alex Mang)
ITCamp
 
PDF
ITCamp 2011 - Mihai Nadas - Windows Azure interop
ITCamp
 
PDF
KoprowskiT_SQLSatMoscow_WASDforBeginners
Tobias Koprowski
 
PPTX
Moving to the cloud azure, office365, and intune - concurrency
Concurrency, Inc.
 
PDF
ITCamp 2011 - Mihai Tataran - Migrating to Azure
ITCamp
 
PPTX
microsoftazure.presentation
akshay kohli
 
PPTX
Microsoft-Azure-Overvi2222222222222ew.pptx
saidbilgen
 
PPTX
Azure platform for customers
Rateb Abu Hawieleh
 
PPTX
Executive Summit for ISV & Application builders - January 2015
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
PPTX
The Microsoft Cloud Partner
Neethu Kuruvilla
 
PPTX
Microsoft Azure in 5 minutes
Brian Blanchard
 
PDF
KoprowskiT_SQLSatDenmark_WASDforBeginners
Tobias Koprowski
 
PPTX
The Basics of Getting Started With Microsoft Azure
Microsoft Azure
 
PPTX
Database and Public Endpoints redundancy on Azure (CloudBrew)
Radu Vunvulea
 
PPTX
Azure Microservices in Practice - Radu Vunvulea ITCamp Community Timisoara 07...
Radu Vunvulea
 
POTX
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
Eric Shupps
 
Database and Public Endpoints redundancy on Azure
Radu Vunvulea
 
ITCamp 2011 - Cristian Lefter - SQL Server code-name Denali
ITCamp
 
Cloudbursting VDI Scenarios (Tiberiu Radu)
ITCamp
 
BUILD with Microsoft - Radu Stefan
ITCamp
 
Patterns for Scalability in Windows Azure Applications (Alex Mang)
ITCamp
 
ITCamp 2011 - Mihai Nadas - Windows Azure interop
ITCamp
 
KoprowskiT_SQLSatMoscow_WASDforBeginners
Tobias Koprowski
 
Moving to the cloud azure, office365, and intune - concurrency
Concurrency, Inc.
 
ITCamp 2011 - Mihai Tataran - Migrating to Azure
ITCamp
 
microsoftazure.presentation
akshay kohli
 
Microsoft-Azure-Overvi2222222222222ew.pptx
saidbilgen
 
Azure platform for customers
Rateb Abu Hawieleh
 
Executive Summit for ISV & Application builders - January 2015
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
The Microsoft Cloud Partner
Neethu Kuruvilla
 
Microsoft Azure in 5 minutes
Brian Blanchard
 
KoprowskiT_SQLSatDenmark_WASDforBeginners
Tobias Koprowski
 
The Basics of Getting Started With Microsoft Azure
Microsoft Azure
 
Database and Public Endpoints redundancy on Azure (CloudBrew)
Radu Vunvulea
 
Azure Microservices in Practice - Radu Vunvulea ITCamp Community Timisoara 07...
Radu Vunvulea
 
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
Eric Shupps
 
Ad

More from ITCamp (20)

PDF
ITCamp 2019 - Stacey M. Jenkins - Protecting your company's data - By psychol...
ITCamp
 
PDF
ITCamp 2019 - Silviu Niculita - Supercharge your AI efforts with the use of A...
ITCamp
 
PDF
ITCamp 2019 - Peter Leeson - Managing Skills
ITCamp
 
PPTX
ITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
ITCamp
 
PDF
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
ITCamp
 
PDF
ITCamp 2019 - Florin Coros - Implementing Clean Architecture
ITCamp
 
PPTX
ITCamp 2019 - Florin Loghiade - Azure Kubernetes in Production - Field notes...
ITCamp
 
PPTX
ITCamp 2019 - Florin Flestea - How 3rd Level support experience influenced m...
ITCamp
 
PPTX
ITCamp 2019 - Emil Craciun - RoboRestaurant of the future powered by serverle...
ITCamp
 
PPTX
ITCamp 2019 - Eldert Grootenboer - Cloud Architecture Recipes for The Enterprise
ITCamp
 
PPTX
ITCamp 2019 - Cristiana Fernbach - Blockchain Legal Trends
ITCamp
 
PPTX
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
ITCamp
 
PPTX
ITCamp 2019 - Andy Cross - Business Outcomes from AI
ITCamp
 
PDF
ITCamp 2019 - Andrea Saltarello - Modernise your app. The Cloud Story
ITCamp
 
PDF
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp
 
PPTX
ITCamp 2019 - Alex Mang - I'm Confused Should I Orchestrate my Containers on ...
ITCamp
 
PPTX
ITCamp 2019 - Alex Mang - How Far Can Serverless Actually Go Now
ITCamp
 
PDF
ITCamp 2019 - Peter Leeson - Vitruvian Quality
ITCamp
 
PDF
ITCamp 2018 - Ciprian Sorlea - Million Dollars Hello World Application
ITCamp
 
PDF
ITCamp 2018 - Ciprian Sorlea - Enterprise Architectures with TypeScript And F...
ITCamp
 
ITCamp 2019 - Stacey M. Jenkins - Protecting your company's data - By psychol...
ITCamp
 
ITCamp 2019 - Silviu Niculita - Supercharge your AI efforts with the use of A...
ITCamp
 
ITCamp 2019 - Peter Leeson - Managing Skills
ITCamp
 
ITCamp 2019 - Mihai Tataran - Governing your Cloud Resources
ITCamp
 
ITCamp 2019 - Ivana Milicic - Color - The Shadow Ruler of UX
ITCamp
 
ITCamp 2019 - Florin Coros - Implementing Clean Architecture
ITCamp
 
ITCamp 2019 - Florin Loghiade - Azure Kubernetes in Production - Field notes...
ITCamp
 
ITCamp 2019 - Florin Flestea - How 3rd Level support experience influenced m...
ITCamp
 
ITCamp 2019 - Emil Craciun - RoboRestaurant of the future powered by serverle...
ITCamp
 
ITCamp 2019 - Eldert Grootenboer - Cloud Architecture Recipes for The Enterprise
ITCamp
 
ITCamp 2019 - Cristiana Fernbach - Blockchain Legal Trends
ITCamp
 
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
ITCamp
 
ITCamp 2019 - Andy Cross - Business Outcomes from AI
ITCamp
 
ITCamp 2019 - Andrea Saltarello - Modernise your app. The Cloud Story
ITCamp
 
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp
 
ITCamp 2019 - Alex Mang - I'm Confused Should I Orchestrate my Containers on ...
ITCamp
 
ITCamp 2019 - Alex Mang - How Far Can Serverless Actually Go Now
ITCamp
 
ITCamp 2019 - Peter Leeson - Vitruvian Quality
ITCamp
 
ITCamp 2018 - Ciprian Sorlea - Million Dollars Hello World Application
ITCamp
 
ITCamp 2018 - Ciprian Sorlea - Enterprise Architectures with TypeScript And F...
ITCamp
 
Ad

Recently uploaded (20)

PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PDF
Governing Geospatial Data at Scale: Optimizing ArcGIS Online with FME in Envi...
Safe Software
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PPTX
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Sound the Alarm: Detection and Response
VICTOR MAESTRE RAMIREZ
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
Governing Geospatial Data at Scale: Optimizing ArcGIS Online with FME in Envi...
Safe Software
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
Practical Applications of AI in Local Government
OnBoard
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Sound the Alarm: Detection and Response
VICTOR MAESTRE RAMIREZ
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 

Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)

  • 1. Premium conference on Microsoft technologies itcampro@ itcamp14# Database and Public Endpoints redundancy on Azure @RaduVunvulea, iQuest http://vunvulearadu.blogspot.com
  • 2. Premium conference on Microsoft technologies itcampro@ itcamp14# Hello ITCamp! RADU VUNVULEA MCTS MCP HOME AUTOMATION MVP ENTERPRISE AUTOMOTIVE PHARMA LEAN AND AGILE E-COMMERCE WEB iQuest AZURE JAVASCRIPT VUNVULEARADU.BLOGSPOT.COM MOBILE DOTNET @RaduVunvulea WCF WPF ENTHUSIASTIC
  • 3. Premium conference on Microsoft technologies itcampro@ itcamp14# Huge thanks to our sponsors & partners!
  • 4. Premium conference on Microsoft technologies itcampro@ itcamp14# Cloud is not managed by God
  • 5. Premium conference on Microsoft technologies itcampro@ itcamp14# • Define Redundancy • SQL Database • Storage • Endpoints (HTTP/S, WCF) • VM Agenda
  • 6. Premium conference on Microsoft technologies itcampro@ itcamp14# Redundancy
  • 7. Premium conference on Microsoft technologies itcampro@ itcamp14# In engineering, redundancy is the duplication of critical components or functions of a system with the intention of increasing reliability of the system, usually in the form of a backup or fail-safe. Source: Wikipedia Redundancy
  • 8. Premium conference on Microsoft technologies itcampro@ itcamp14# Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming Type of Redundancy
  • 9. Premium conference on Microsoft technologies itcampro@ itcamp14# Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming Type of Redundancy
  • 10. Premium conference on Microsoft technologies itcampro@ itcamp14# Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming Type of Redundancy
  • 11. Premium conference on Microsoft technologies itcampro@ itcamp14# Hardware Dual Modular Redundancy Triple Modular Redundancy Information Error detection Correction Time Transient Fault Detection Software N-versions Programming Type of Redundancy
  • 12. Premium conference on Microsoft technologies itcampro@ itcamp14# HOW WE CAN TEST IT?
  • 13. Premium conference on Microsoft technologies itcampro@ itcamp14# Netflix: The Chaos Monkey’s job is to randomly kill instances and services within our architecture Chaos Monkey
  • 14. Premium conference on Microsoft technologies itcampro@ itcamp14# Failover & Switchover
  • 15. Premium conference on Microsoft technologies itcampro@ itcamp14# Failover & Switchover
  • 16. Premium conference on Microsoft technologies itcampro@ itcamp14# SQL REDUDANCY
  • 17. Premium conference on Microsoft technologies itcampro@ itcamp14# SQL Data Sync
  • 18. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 19. Premium conference on Microsoft technologies itcampro@ itcamp14# SQL Backups
  • 20. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 21. Premium conference on Microsoft technologies itcampro@ itcamp14# AlwaysOn
  • 22. Premium conference on Microsoft technologies itcampro@ itcamp14# DISASTER RECOVERY PLAN
  • 23. Premium conference on Microsoft technologies itcampro@ itcamp14# Do you have a disaster recovery plan? How long it takes to restart the entire system? How complicated is your checklist? Can you parallelize it? Disaster Recovery Plan (DRP)
  • 24. Premium conference on Microsoft technologies itcampro@ itcamp14# Do you have a disaster recovery plan? How long it takes to restart the entire system? How complicated is your checklist? Can you parallelize it? AUTOMATION Disaster Recovery Plan (DRP)
  • 25. Premium conference on Microsoft technologies itcampro@ itcamp14# ENDPOINT REDUNDANCY
  • 26. Premium conference on Microsoft technologies itcampro@ itcamp14# • Any public endpoint • Accessible from internet or private networks Endpoint
  • 27. Premium conference on Microsoft technologies itcampro@ itcamp14# Load Balancer
  • 28. Premium conference on Microsoft technologies itcampro@ itcamp14# • Free  • Out of the box • Lever 3 Load Balancer type – TCP Level • No Sticky sessions • Partial Configurable Load Balancer
  • 29. Premium conference on Microsoft technologies itcampro@ itcamp14# • Custom app endpoint • Processor level, 500 Errors, Parallel task • Configurable from *.cscfg files • VM: Using Power Shell Load Balancer Probe <LoadBalancerProbes> <LoadBalancerProbe name="FooProbe" protocol="http" intervalInSeconds="30" path="/api/probe" port="80" timeoutInSeconds="60" /> </LoadBalancerProbes>
  • 30. Premium conference on Microsoft technologies itcampro@ itcamp14# Redundancy
  • 31. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager
  • 32. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager
  • 33. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager • ~Load Balancer (Word Wide level) • Redirect request based on client location • Any kind of endpoint – VM, Web/Worker Roles, DB and many more – External Endpoints • Methods: Failover, Round Robin, Performance • Is not FREE (1B DNS query = $0.75) • DNS TTL
  • 34. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 35. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager • [Not Supported] Hybrid Scenarios
  • 36. Premium conference on Microsoft technologies itcampro@ itcamp14# WHY REDUNDANCY IS SO IMPORTANT?
  • 37. Premium conference on Microsoft technologies itcampro@ itcamp14# • Compute 99.95% • SQL Database 99.90% • Storage 99.90% • Storage (RA-GRS) 99.99% • Active Directory 99.90% • Cache 99.90% • VM 99.95% • Service Bus 99.95% Windows Azure SLA’s
  • 38. Premium conference on Microsoft technologies itcampro@ itcamp14# • Compute 99.95% 21.6m • SQL Database 99.90% 43.2m • Storage 99.90% 43.2m • Storage (RA-GRS) 99.99% <8m • Active Directory 99.90% 43.2m • Cache 99.90% 43.2m • VM 99.95% 21.6m • Service Bus 99.95% 21.6m Windows Azure SLA’s (per month)
  • 39. Premium conference on Microsoft technologies itcampro@ itcamp14# • Compute 99.95% 21.6m • SQL Database 99.90% 43.2m • Storage 99.90% 43.2m • Storage (RA-GRS) 99.99% <8m • Active Directory 99.90% 43.2m • Cache 99.90% 43.2m • VM 99.95% 21.6m • Service Bus 99.95% 21.6m Windows Azure SLA’s
  • 40. Premium conference on Microsoft technologies itcampro@ itcamp14# • Downtime per month: 216m 21.6*2+43.2*4=216m Windows Azure SLA’s
  • 41. Premium conference on Microsoft technologies itcampro@ itcamp14# • Downtime per month: 216m 21.6*2+43.2*4=216m • Downtime per month: 0.5% (100/43200)*216=0.5% Windows Azure SLA’s
  • 42. Premium conference on Microsoft technologies itcampro@ itcamp14# • Downtime per month: 216m 21.6*2+43.2*4=216m • Downtime per month: 0.5% (100/43200)*216=0.5% • Uptime: 99.5% 100-0.5=99.5% Windows Azure SLA’s
  • 43. Premium conference on Microsoft technologies itcampro@ itcamp14# • Compute 99.95% 21.6m • SQL Database 99.90% 43.2m • Storage 99.90% 43.2m • Storage (RA-GRS) 99.99% <8m • Active Directory 99.90% 43.2m • Cache 99.90% 43.2m • VM 99.95% 21.6m • Service Bus 99.95% 21.6m Windows Azure SLA’s
  • 44. Premium conference on Microsoft technologies itcampro@ itcamp14# WCF ENDPOINTS REDUNDANCY
  • 45. Premium conference on Microsoft technologies itcampro@ itcamp14# Service Bus Relay Relay
  • 46. Premium conference on Microsoft technologies itcampro@ itcamp14# • Steps to integrate in existing application – Add assembly reference to SB Relay – Update WCF configuration sections (client and backend) Service Bus Relay
  • 47. Premium conference on Microsoft technologies itcampro@ itcamp14# • Works only with – Async calls – Fire and Forget calls • Broker between endpoint and client • Store messages until backend is available • WCF Endpoint (Azure or on-premises) • Price model similar with SB (per messages) Service Bus Relay
  • 48. Premium conference on Microsoft technologies itcampro@ itcamp14# STORAGE REDUNDANCY
  • 49. Premium conference on Microsoft technologies itcampro@ itcamp14# • 3 copy of the content in the same data center Locally Redundant Storage 1 3 2
  • 50. Premium conference on Microsoft technologies itcampro@ itcamp14# • 2 different data centers • Async replication Geographically Redundant Storage 1 3 2 1 3 2
  • 51. Premium conference on Microsoft technologies itcampro@ itcamp14# • Similar with GRS • Read only access to the secondary storage • Redirecting managed by developer • Async replication • 99.99% Uptime Read Access Geo Redundant Storage
  • 52. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 53. Premium conference on Microsoft technologies itcampro@ itcamp14# Traffic Manager
  • 54. Premium conference on Microsoft technologies itcampro@ itcamp14# CHECK HEALTH STATUS OF OTHER SERVICES Traffic Manager
  • 55. Premium conference on Microsoft technologies itcampro@ itcamp14# Import Export Service
  • 56. Premium conference on Microsoft technologies itcampro@ itcamp14# Import/Export Service
  • 57. Premium conference on Microsoft technologies itcampro@ itcamp14# DEMO Let’s see some code
  • 58. Premium conference on Microsoft technologies itcampro@ itcamp14# MTBF, MTTR
  • 59. Premium conference on Microsoft technologies itcampro@ itcamp14# Mean Time Between Failures Mean Time To Recovery MTBF -> MTTR
  • 60. Premium conference on Microsoft technologies itcampro@ itcamp14# VM REDUNDANCY
  • 61. Premium conference on Microsoft technologies itcampro@ itcamp14# • Same features offered by System Center on- premises • Availability Set • Windows Server Failover Cluster – Real time Sync VM
  • 62. Premium conference on Microsoft technologies itcampro@ itcamp14# CONCLUSION
  • 63. Premium conference on Microsoft technologies itcampro@ itcamp14# • Everything has a price • Calculate up-time for specific roles and use- case • Don’t trust the 99.99% myth • Be as flexible as possible • Automate • Recovery plans Conclusion
  • 64. Premium conference on Microsoft technologies itcampro@ itcamp14# Q & A