SlideShare a Scribd company logo
1 of 39
Cloud Solution Architecture
Planning for and designing
for failure
Aaron Saikovski
Readify Lead Engineer – Platform
April 2015
Page
Agenda
› Intros
› Design and build for Failure
› How can Microsoft Azure help?
› Demo
› Q & A
/ Copyright ©2014 by Readify Pty Ltd2
Page
About Me
› ReadifyLeadEngineer –Platform
› 20+yearsinthe ITindustry
› Former Microsoftie (5+yearveteran)
› Askme about Office365, AzureandAWS
› Follow me onTwitter @RuskyDuck72
› Email Aaron.Saikovski@readify.net
› MCPD, MCITP, MCTS, MCT(Alumni)
› AWS Solutions Architect -Associate
Page
Design and build for failure
Page
Overview
› Design andbuild yourapplications withfailureinmind
› Howwillyoureactandcontain the “Blast radius”?
› What types offailuresareyou expecting?
› VirtualMachine
› ServicesorWebAPIs
› Actualregionfailuresoroutages
› Tampering orunauthorised access
› Corruptdata
› Localisedorapplication wide
› Badnetworklatency?
Servicesandapplications willfail.Itshowyoureactthat’simportant!!
/ Copyright ©2014 by Readify Pty Ltd5
Page
Service Levels - Recap
/ Copyright ©2014 by Readify Pty Ltd6
“Gold standard”
Page
Business Continuity Planning
› RecoveryPointObjective(RPO):
› definedbybusinesscontinuityplanning.Itisthemaximumtargetedperiodinwhichdatamight
belostfromanITserviceduetoamajorincident.
› RecoveryTimeObjective(RTO):
› targeteddurationoftimeandaservicelevelwithinwhichabusinessprocessmustberestored
afteradisaster(ordisruption)inordertoavoidunacceptableconsequencesassociatedwitha
breakinbusinesscontinuity.
› RecoveryLevelObjective(RLO):
› definesthegranularitywithwhichyoumustbeabletorecoverdata—whetheryoumustbe
abletorecoverthewholeinstance,databaseorsetofdatabases,orspecifictables.
› MeanTimetoRepair(MTTR):
› basicmeasureofthemaintainabilityofrepairableitems.Itrepresentstheaveragetimerequired
torepairafailedcomponentordevice
(Source:WikiPedia)
/ Copyright ©2014 by Readify Pty Ltd7
Page
Shared Responsibility Model
/ Copyright ©2014 by Readify Pty Ltd8
Page
Planning for failure
› Observe the Azure SLAsesp. VMs
› Automate everything –Haveversions ofyour “Stacks”
› Iterate andimprove your cloud stacks (Think Agile)
› Decouple yourarchitecture into elastic, scalabletiers –scaleout
› Observe anyservice limits esp. network latency and
throughput
› Don’t forgetto build insecurity atALL tiers –NACLs andthe
like
› Howwilleachtierrespond to its ownorother tierfailures?
/ Copyright ©2014 by Readify Pty Ltd9
Page
Planning for failure..cont
› Optimise network trafficbetween the tiers –Async andqueues
› Monitor andgatherstatistics –Monitor everything!!!!
› Always assume you have beenhackedorareabout to be
› Spreadyourapplication across multiple regions
› Actually test afailure–simulate a“Game day” approach
› Always test acatastrophic failure.Youdon’t wantto test this
whenitactually happens
/ Copyright ©2014 by Readify Pty Ltd10
Page
Sample: Standard H/A Design
/ Copyright ©2014 by Readify Pty Ltd11
Page
Sample: Better/Best Design
/ Copyright ©2014 by Readify Pty Ltd12
Page
Common Tools
› “Ping”yourservicetiers:
› http://www.pingdom.com/
› Monitoryourapplications:
› OpsGenie-http://www.opsgenie.com/
› NewRelic-http://newrelic.com/
› Manageyoureventsandlogs:
› AzureApplicationInsights-http://azure.microsoft.com/en-us/services/application-insights/
› LogStash-http://logstash.net/
› Automateyourcloudbuilds:
› PowerShellandPowerShellDSC-http://technet.microsoft.com/en-au/library/dn249912.aspx
› Salt-http://saltstack.com/
› Chef-https://www.chef.io/
› Puppet-https://puppetlabs.com/
› Vagrant-http://www.vagrantup.com/
/ Copyright ©2014 by Readify Pty Ltd13
Page
How can Microsoft Azure help?
Page
How can Azure help?
› Most Azureservices have a99.9%+ SLA
› PricingisbilledHourly/Monthly
› Use Automation to easilyprovision services–PowerShell
› Geo-Redundancy isavailable –use it!!
› AzureWebApps +AzureTrafficManager =SLAof 99.95%
whenconfigured infailover configuration
› SQLAzurehas anduptime SLAof99.99%
› Virtual Networks canprovide isolation of yourstack andVPN
(S2S,ExpressRoute)
/ Copyright ©2014 by Readify Pty Ltd15
Page
Key Azure services
/ Copyright ©2014 by Readify Pty Ltd16
Page
Azure Storage
Page
Azure Storage - Overview
› Fourtypesofstorageavailable:
› Blockblob:
› streamingandstoringdocuments, videos, pictures, backups, andother
unstructured textorbinarydata.
› PageblobsandDisks:
› randomreadandwriteoperations, pageblobsareidealforVHDimages.
› TablesandQueues:
› Tables-NoSQLstorageforunstructured andsemi-structured data.
› Queues-reliable messagingsolutionforyourapps.
› Files(Preview):
› createsasharedfilesystemusingthestandardSMB2.1protocol.
/ Copyright ©2014 by Readify Pty Ltd18
Page
Azure Storage
/ Copyright ©2014 by Readify Pty Ltd19
Page
Azure Virtual Machines
Page
Azure VMs - Overview
› FullsupportforLinuxandWindowsmachines
› PAYGmodel–basedonanhourly/minute/monthly model
› Computetiers:
› BasicTier(A0-A4):
› Goodfordev/testworkloads
› StandardTier(A0-A7):
› Goodformostworkloads
› ComputeOptimised(D1-D14):
› SSDbacked
› 60%fasterCPUthanA-Series
› PerformanceOptimised(G1-G5):
› Intel®Xeon®processorE5v3family
› 2Xmemoryand4XtimesSSDthantheD-series./ Copyright ©2014 by Readify Pty Ltd21
Page
Azure VMs – Overview..cont
› Network Optimised (A8-A9):
› 40Gbit/sInfiniBand network support
› Remote direct memory access (RDMA) technology
› Compute Intensive (A10-A11):
› High-performance clusters, modeling andsimulations, video
encoding, andother compute ornetwork intensive scenarios.
/ Copyright ©2014 by Readify Pty Ltd22
Page
Azure VMs – High Availability
› ConfigureVMstoUseAvailabilitysetstoachieve99.95%guaranteedSLA
› GroupingVMsintoAvailabilitysetsallowsforrollingupdates
› ConfigurealoadbalancerwithAvailabilitysets
/ Copyright ©2014 by Readify Pty Ltd23
Page
Web Apps
Page
Overview
› Fast, easy to deploy enterprise scale web application
hosting platform
› Features Autoscale, A/B testing and deployment slots
› Supported .NET, Java, PHP, Python or Node.js
› Supports on-premises hybrid connections
› Available in Free, Shared, Basic and Standard editions
› Deploy code from Visual Studio Online, Git, FTP, Web
Deploy and Dropbox
/ Copyright ©2014 by Readify Pty Ltd25
Page
Azure Web Apps - Autoscale
/ Copyright ©2014 by Readify Pty Ltd26
Page
Service Tiers
/ Copyright ©2014 by Readify Pty Ltd27
Page
SQL Server
Page
Overview
› OptionofhostingSQLserveronSQLAzureoronVMs
› SQLServerAlwaysOntemplateavailableinAzureGallery
› SQLAzurealmostonparitywithtraditionalSQL
› Whichtochoose?
› SQLAzure:
› FullymanagedandeasilymanagedDBaaS.
› Massivescaleoutand“sharding”
› 500GBdatabasesizelimit
› SQLIaaS:
› Traditional SQLonWindowsVMs
› Scaleup
› Domainjoined
/ Copyright ©2014 by Readify Pty Ltd29
Page
SQL on Virtual Machines
/ Copyright ©2014 by Readify Pty Ltd30
SQL Mirroring to be deprecated/removed in SQL v.Next!!!
Page
SQL Azure Key Features
› Billed per hour regardless of usage/size
› Migration tools available e.g. SQL migration wizard
› Can use familiar SQL tools to export/import data
(.bacpac files)
› Performance measured in Database Throughput Units
(DTU)
› Mix of CPU, memory and read/write operations
/ Copyright ©2014 by Readify Pty Ltd31
Page
SQL Azure Key Features..cont
› Geo-replication across regions and servers
› SQL Azure uses UTC DateTime by default
› SQL Azure uses SQL authentication only -
AD/AzureAD authentication not supported
/ Copyright ©2014 by Readify Pty Ltd32
Page
SQL Azure – Service Tiers
/ Copyright ©2014 by Readify Pty Ltd33
Page
SQL Azure – Geo-replication
› Standard geo-replication
› Standard and Premium tier
› Secondary offline replica
› Offline until an outage occurs
› Billed at 75% cost of primary database
› Active geo-replication
› Premium tier only
› Max. 4 geo-replicated online secondaries
› Readable secondaries
› Billed at 100% cost of primary database
/ Copyright ©2014 by Readify Pty Ltd34
Page
SQL Azure – Active Geo-replication
/ Copyright ©2014 by Readify Pty Ltd35
Page
Checklist
Page
Azure Availability Checklist
› Availability checklist
› Application design
› Deployment and maintenance
› Data management
› Errors and failures
Reference:
https://github.com/mspnp/azure-guidance/blob/master/availability-checklist.md
/ Copyright ©2014 by Readify Pty Ltd37
Page
DEMO:
BuildingaHighlyAvailableWebApplication
(Andwatchmebreakit)
Downloadthelabfilesfromhere:
https://azbootcamp2015au.blob.core.windows.net/arch-lab2/lab2-labfiles.zip
http://bit.ly/1FfIGgn
/ Copyright ©2014 by Readify Pty Ltd38
Page
Slideshare:
http://www.slideshare.net/aaronsaikovski
/ Copyright ©2014 by Readify Pty Ltd39

More Related Content

What's hot

CIAOPS Need to Know Office 365 Webinar - January 2018
CIAOPS Need to Know Office 365 Webinar - January 2018CIAOPS Need to Know Office 365 Webinar - January 2018
CIAOPS Need to Know Office 365 Webinar - January 2018Robert Crane
 
Front End Development for Back End Developers - vJUG24 2017
Front End Development for Back End Developers - vJUG24 2017Front End Development for Back End Developers - vJUG24 2017
Front End Development for Back End Developers - vJUG24 2017Matt Raible
 
The Cloud promises - Global Azure Bootcamp Paris 2019
The Cloud promises - Global Azure Bootcamp Paris 2019The Cloud promises - Global Azure Bootcamp Paris 2019
The Cloud promises - Global Azure Bootcamp Paris 2019Alex Danvy
 
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)VMware Tanzu
 
Dev ops & laas fundamental
Dev ops & laas fundamentalDev ops & laas fundamental
Dev ops & laas fundamentalKanin Kearpimy
 
Best pratices reliability & scalability on Azure
Best pratices reliability & scalability on AzureBest pratices reliability & scalability on Azure
Best pratices reliability & scalability on AzureAlex Danvy
 
Best practices deploying Sitecore to Microsoft Azure
Best practices deploying Sitecore to Microsoft AzureBest practices deploying Sitecore to Microsoft Azure
Best practices deploying Sitecore to Microsoft AzureThom Puiman
 

What's hot (8)

CIAOPS Need to Know Office 365 Webinar - January 2018
CIAOPS Need to Know Office 365 Webinar - January 2018CIAOPS Need to Know Office 365 Webinar - January 2018
CIAOPS Need to Know Office 365 Webinar - January 2018
 
Front End Development for Back End Developers - vJUG24 2017
Front End Development for Back End Developers - vJUG24 2017Front End Development for Back End Developers - vJUG24 2017
Front End Development for Back End Developers - vJUG24 2017
 
The Cloud promises - Global Azure Bootcamp Paris 2019
The Cloud promises - Global Azure Bootcamp Paris 2019The Cloud promises - Global Azure Bootcamp Paris 2019
The Cloud promises - Global Azure Bootcamp Paris 2019
 
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
 
SSAS Azure RemoteApp
SSAS Azure RemoteAppSSAS Azure RemoteApp
SSAS Azure RemoteApp
 
Dev ops & laas fundamental
Dev ops & laas fundamentalDev ops & laas fundamental
Dev ops & laas fundamental
 
Best pratices reliability & scalability on Azure
Best pratices reliability & scalability on AzureBest pratices reliability & scalability on Azure
Best pratices reliability & scalability on Azure
 
Best practices deploying Sitecore to Microsoft Azure
Best practices deploying Sitecore to Microsoft AzureBest practices deploying Sitecore to Microsoft Azure
Best practices deploying Sitecore to Microsoft Azure
 

Viewers also liked

Sydney 2015 Azure bootcamp PaaS presentation
Sydney 2015 Azure bootcamp PaaS presentationSydney 2015 Azure bootcamp PaaS presentation
Sydney 2015 Azure bootcamp PaaS presentationAaron Saikovski
 
Taking SharePoint to the Cloud
Taking SharePoint to the CloudTaking SharePoint to the Cloud
Taking SharePoint to the CloudAaron Saikovski
 
Introduction to Microsoft Azure
Introduction to Microsoft AzureIntroduction to Microsoft Azure
Introduction to Microsoft AzureMartyn Coupland
 
Azure Large Scale Deployments - Tales from the Trenches
Azure Large Scale Deployments - Tales from the TrenchesAzure Large Scale Deployments - Tales from the Trenches
Azure Large Scale Deployments - Tales from the TrenchesAaron Saikovski
 
Scott Guthrie's Windows Azure Overview
Scott Guthrie's Windows Azure Overview Scott Guthrie's Windows Azure Overview
Scott Guthrie's Windows Azure Overview Michael Meagher
 
Azure Site Recovery Bootcamp
Azure Site Recovery BootcampAzure Site Recovery Bootcamp
Azure Site Recovery BootcampAsaf Nakash
 
Ambassadors of Action: Sustainable Business Award - Nomination Package 2011
Ambassadors of Action: Sustainable Business Award - Nomination Package 2011Ambassadors of Action: Sustainable Business Award - Nomination Package 2011
Ambassadors of Action: Sustainable Business Award - Nomination Package 2011TownofStonyPlain
 
Ici final proposal
Ici final proposalIci final proposal
Ici final proposalNingBL
 
Sketchbook 4
Sketchbook 4Sketchbook 4
Sketchbook 4oliviaeee
 
Area de Tecnología e Informática en el ITIZ
Area de Tecnología e Informática en el ITIZArea de Tecnología e Informática en el ITIZ
Area de Tecnología e Informática en el ITIZYesidSuarez021002
 
36th mtg in NIBIO
 36th mtg in NIBIO 36th mtg in NIBIO
36th mtg in NIBIOMaori Ito
 
Leven Court
Leven CourtLeven Court
Leven Courtsolidred
 

Viewers also liked (18)

Sydney 2015 Azure bootcamp PaaS presentation
Sydney 2015 Azure bootcamp PaaS presentationSydney 2015 Azure bootcamp PaaS presentation
Sydney 2015 Azure bootcamp PaaS presentation
 
Taking SharePoint to the Cloud
Taking SharePoint to the CloudTaking SharePoint to the Cloud
Taking SharePoint to the Cloud
 
Azure Overview
Azure Overview Azure Overview
Azure Overview
 
Introduction to Microsoft Azure
Introduction to Microsoft AzureIntroduction to Microsoft Azure
Introduction to Microsoft Azure
 
Azure Large Scale Deployments - Tales from the Trenches
Azure Large Scale Deployments - Tales from the TrenchesAzure Large Scale Deployments - Tales from the Trenches
Azure Large Scale Deployments - Tales from the Trenches
 
Azure ARM Templates 101
Azure ARM Templates 101Azure ARM Templates 101
Azure ARM Templates 101
 
Scott Guthrie's Windows Azure Overview
Scott Guthrie's Windows Azure Overview Scott Guthrie's Windows Azure Overview
Scott Guthrie's Windows Azure Overview
 
Azure Site Recovery Bootcamp
Azure Site Recovery BootcampAzure Site Recovery Bootcamp
Azure Site Recovery Bootcamp
 
Electronic Data Interchange Decoupled
Electronic Data Interchange DecoupledElectronic Data Interchange Decoupled
Electronic Data Interchange Decoupled
 
Ambassadors of Action: Sustainable Business Award - Nomination Package 2011
Ambassadors of Action: Sustainable Business Award - Nomination Package 2011Ambassadors of Action: Sustainable Business Award - Nomination Package 2011
Ambassadors of Action: Sustainable Business Award - Nomination Package 2011
 
Ici final proposal
Ici final proposalIci final proposal
Ici final proposal
 
Sketchbook 4
Sketchbook 4Sketchbook 4
Sketchbook 4
 
Area de Tecnología e Informática en el ITIZ
Area de Tecnología e Informática en el ITIZArea de Tecnología e Informática en el ITIZ
Area de Tecnología e Informática en el ITIZ
 
Literacy finalhu
Literacy finalhuLiteracy finalhu
Literacy finalhu
 
disnaa
disnaadisnaa
disnaa
 
36th mtg in NIBIO
 36th mtg in NIBIO 36th mtg in NIBIO
36th mtg in NIBIO
 
Leven Court
Leven CourtLeven Court
Leven Court
 
Portfolio
PortfolioPortfolio
Portfolio
 

Similar to Cloud Solution Architecture for Failure

AWS Meetup June - Windows Workloads
AWS Meetup June - Windows Workloads AWS Meetup June - Windows Workloads
AWS Meetup June - Windows Workloads PolarSeven Pty Ltd
 
VisiQuate: Azure cloud migration case study
VisiQuate: Azure cloud migration case studyVisiQuate: Azure cloud migration case study
VisiQuate: Azure cloud migration case studyLeonid Nekhymchuk
 
Serverless Computing no Microsoft Azure
Serverless Computing no Microsoft AzureServerless Computing no Microsoft Azure
Serverless Computing no Microsoft AzureIgor Abade
 
Building a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection EngineBuilding a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection EngineDatabricks
 
SharePoint Intersections - SP11 - SharePoint and IaaS - The OnPrem in the Cloud
SharePoint Intersections - SP11 - SharePoint and IaaS - The OnPrem in the CloudSharePoint Intersections - SP11 - SharePoint and IaaS - The OnPrem in the Cloud
SharePoint Intersections - SP11 - SharePoint and IaaS - The OnPrem in the CloudDan Usher
 
Storage Options on Windows Azure
Storage Options on Windows AzureStorage Options on Windows Azure
Storage Options on Windows AzureHimanshu Desai
 
MSAzure - Creativing You Own Business Web Site
MSAzure - Creativing You Own Business Web SiteMSAzure - Creativing You Own Business Web Site
MSAzure - Creativing You Own Business Web Sitesmecchk
 
Webinar - Learn How to Deploy Microsoft SQL in the Cloud
Webinar - Learn How to Deploy Microsoft SQL in the CloudWebinar - Learn How to Deploy Microsoft SQL in the Cloud
Webinar - Learn How to Deploy Microsoft SQL in the CloudTuan Yang
 
O365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineO365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineNCCOMMS
 
Deploy your Websites and Web Applications on Azure
Deploy your Websites and Web Applications on AzureDeploy your Websites and Web Applications on Azure
Deploy your Websites and Web Applications on AzureSuhail Jamaldeen
 
Azure Day - il cloud ibrido con Azure
Azure Day - il cloud ibrido con AzureAzure Day - il cloud ibrido con Azure
Azure Day - il cloud ibrido con AzureRiccardo Cappello
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with AzureShahed Chowdhuri
 
RightScale Roadtrip Boston: Accelerate to Cloud
RightScale Roadtrip Boston: Accelerate to CloudRightScale Roadtrip Boston: Accelerate to Cloud
RightScale Roadtrip Boston: Accelerate to CloudRightScale
 
[db tech showcase Tokyo 2018] #dbts2018 #B33 『DBA 18.0 - Life after 18c』
[db tech showcase Tokyo 2018] #dbts2018 #B33 『DBA 18.0 - Life after 18c』[db tech showcase Tokyo 2018] #dbts2018 #B33 『DBA 18.0 - Life after 18c』
[db tech showcase Tokyo 2018] #dbts2018 #B33 『DBA 18.0 - Life after 18c』Insight Technology, Inc.
 
7.habits.every.azure.admin.must.have.v082020
7.habits.every.azure.admin.must.have.v0820207.habits.every.azure.admin.must.have.v082020
7.habits.every.azure.admin.must.have.v082020Wim Matthyssen
 
Cloud Computing Roadmap Public Vs Private Vs Hybrid And SaaS Vs PaaS Vs IaaS ...
Cloud Computing Roadmap Public Vs Private Vs Hybrid And SaaS Vs PaaS Vs IaaS ...Cloud Computing Roadmap Public Vs Private Vs Hybrid And SaaS Vs PaaS Vs IaaS ...
Cloud Computing Roadmap Public Vs Private Vs Hybrid And SaaS Vs PaaS Vs IaaS ...SlideTeam
 

Similar to Cloud Solution Architecture for Failure (20)

AWS Meetup June - Windows Workloads
AWS Meetup June - Windows Workloads AWS Meetup June - Windows Workloads
AWS Meetup June - Windows Workloads
 
VisiQuate: Azure cloud migration case study
VisiQuate: Azure cloud migration case studyVisiQuate: Azure cloud migration case study
VisiQuate: Azure cloud migration case study
 
Jooma day
Jooma dayJooma day
Jooma day
 
Serverless Computing no Microsoft Azure
Serverless Computing no Microsoft AzureServerless Computing no Microsoft Azure
Serverless Computing no Microsoft Azure
 
Building a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection EngineBuilding a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection Engine
 
SharePoint Intersections - SP11 - SharePoint and IaaS - The OnPrem in the Cloud
SharePoint Intersections - SP11 - SharePoint and IaaS - The OnPrem in the CloudSharePoint Intersections - SP11 - SharePoint and IaaS - The OnPrem in the Cloud
SharePoint Intersections - SP11 - SharePoint and IaaS - The OnPrem in the Cloud
 
Storage Options on Windows Azure
Storage Options on Windows AzureStorage Options on Windows Azure
Storage Options on Windows Azure
 
MSAzure - Creativing You Own Business Web Site
MSAzure - Creativing You Own Business Web SiteMSAzure - Creativing You Own Business Web Site
MSAzure - Creativing You Own Business Web Site
 
Webinar - Learn How to Deploy Microsoft SQL in the Cloud
Webinar - Learn How to Deploy Microsoft SQL in the CloudWebinar - Learn How to Deploy Microsoft SQL in the Cloud
Webinar - Learn How to Deploy Microsoft SQL in the Cloud
 
Windows Azure for IT Pros
Windows Azure for IT ProsWindows Azure for IT Pros
Windows Azure for IT Pros
 
O365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineO365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi Roine
 
Deploy your Websites and Web Applications on Azure
Deploy your Websites and Web Applications on AzureDeploy your Websites and Web Applications on Azure
Deploy your Websites and Web Applications on Azure
 
Azure Day - il cloud ibrido con Azure
Azure Day - il cloud ibrido con AzureAzure Day - il cloud ibrido con Azure
Azure Day - il cloud ibrido con Azure
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
 
Optimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec AzureOptimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec Azure
 
Azure: PaaS or IaaS
Azure: PaaS or IaaSAzure: PaaS or IaaS
Azure: PaaS or IaaS
 
RightScale Roadtrip Boston: Accelerate to Cloud
RightScale Roadtrip Boston: Accelerate to CloudRightScale Roadtrip Boston: Accelerate to Cloud
RightScale Roadtrip Boston: Accelerate to Cloud
 
[db tech showcase Tokyo 2018] #dbts2018 #B33 『DBA 18.0 - Life after 18c』
[db tech showcase Tokyo 2018] #dbts2018 #B33 『DBA 18.0 - Life after 18c』[db tech showcase Tokyo 2018] #dbts2018 #B33 『DBA 18.0 - Life after 18c』
[db tech showcase Tokyo 2018] #dbts2018 #B33 『DBA 18.0 - Life after 18c』
 
7.habits.every.azure.admin.must.have.v082020
7.habits.every.azure.admin.must.have.v0820207.habits.every.azure.admin.must.have.v082020
7.habits.every.azure.admin.must.have.v082020
 
Cloud Computing Roadmap Public Vs Private Vs Hybrid And SaaS Vs PaaS Vs IaaS ...
Cloud Computing Roadmap Public Vs Private Vs Hybrid And SaaS Vs PaaS Vs IaaS ...Cloud Computing Roadmap Public Vs Private Vs Hybrid And SaaS Vs PaaS Vs IaaS ...
Cloud Computing Roadmap Public Vs Private Vs Hybrid And SaaS Vs PaaS Vs IaaS ...
 

Recently uploaded

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 

Recently uploaded (20)

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 

Cloud Solution Architecture for Failure

  • 1. Cloud Solution Architecture Planning for and designing for failure Aaron Saikovski Readify Lead Engineer – Platform April 2015
  • 2. Page Agenda › Intros › Design and build for Failure › How can Microsoft Azure help? › Demo › Q & A / Copyright ©2014 by Readify Pty Ltd2
  • 3. Page About Me › ReadifyLeadEngineer –Platform › 20+yearsinthe ITindustry › Former Microsoftie (5+yearveteran) › Askme about Office365, AzureandAWS › Follow me onTwitter @RuskyDuck72 › Email Aaron.Saikovski@readify.net › MCPD, MCITP, MCTS, MCT(Alumni) › AWS Solutions Architect -Associate
  • 4. Page Design and build for failure
  • 5. Page Overview › Design andbuild yourapplications withfailureinmind › Howwillyoureactandcontain the “Blast radius”? › What types offailuresareyou expecting? › VirtualMachine › ServicesorWebAPIs › Actualregionfailuresoroutages › Tampering orunauthorised access › Corruptdata › Localisedorapplication wide › Badnetworklatency? Servicesandapplications willfail.Itshowyoureactthat’simportant!! / Copyright ©2014 by Readify Pty Ltd5
  • 6. Page Service Levels - Recap / Copyright ©2014 by Readify Pty Ltd6 “Gold standard”
  • 7. Page Business Continuity Planning › RecoveryPointObjective(RPO): › definedbybusinesscontinuityplanning.Itisthemaximumtargetedperiodinwhichdatamight belostfromanITserviceduetoamajorincident. › RecoveryTimeObjective(RTO): › targeteddurationoftimeandaservicelevelwithinwhichabusinessprocessmustberestored afteradisaster(ordisruption)inordertoavoidunacceptableconsequencesassociatedwitha breakinbusinesscontinuity. › RecoveryLevelObjective(RLO): › definesthegranularitywithwhichyoumustbeabletorecoverdata—whetheryoumustbe abletorecoverthewholeinstance,databaseorsetofdatabases,orspecifictables. › MeanTimetoRepair(MTTR): › basicmeasureofthemaintainabilityofrepairableitems.Itrepresentstheaveragetimerequired torepairafailedcomponentordevice (Source:WikiPedia) / Copyright ©2014 by Readify Pty Ltd7
  • 8. Page Shared Responsibility Model / Copyright ©2014 by Readify Pty Ltd8
  • 9. Page Planning for failure › Observe the Azure SLAsesp. VMs › Automate everything –Haveversions ofyour “Stacks” › Iterate andimprove your cloud stacks (Think Agile) › Decouple yourarchitecture into elastic, scalabletiers –scaleout › Observe anyservice limits esp. network latency and throughput › Don’t forgetto build insecurity atALL tiers –NACLs andthe like › Howwilleachtierrespond to its ownorother tierfailures? / Copyright ©2014 by Readify Pty Ltd9
  • 10. Page Planning for failure..cont › Optimise network trafficbetween the tiers –Async andqueues › Monitor andgatherstatistics –Monitor everything!!!! › Always assume you have beenhackedorareabout to be › Spreadyourapplication across multiple regions › Actually test afailure–simulate a“Game day” approach › Always test acatastrophic failure.Youdon’t wantto test this whenitactually happens / Copyright ©2014 by Readify Pty Ltd10
  • 11. Page Sample: Standard H/A Design / Copyright ©2014 by Readify Pty Ltd11
  • 12. Page Sample: Better/Best Design / Copyright ©2014 by Readify Pty Ltd12
  • 13. Page Common Tools › “Ping”yourservicetiers: › http://www.pingdom.com/ › Monitoryourapplications: › OpsGenie-http://www.opsgenie.com/ › NewRelic-http://newrelic.com/ › Manageyoureventsandlogs: › AzureApplicationInsights-http://azure.microsoft.com/en-us/services/application-insights/ › LogStash-http://logstash.net/ › Automateyourcloudbuilds: › PowerShellandPowerShellDSC-http://technet.microsoft.com/en-au/library/dn249912.aspx › Salt-http://saltstack.com/ › Chef-https://www.chef.io/ › Puppet-https://puppetlabs.com/ › Vagrant-http://www.vagrantup.com/ / Copyright ©2014 by Readify Pty Ltd13
  • 14. Page How can Microsoft Azure help?
  • 15. Page How can Azure help? › Most Azureservices have a99.9%+ SLA › PricingisbilledHourly/Monthly › Use Automation to easilyprovision services–PowerShell › Geo-Redundancy isavailable –use it!! › AzureWebApps +AzureTrafficManager =SLAof 99.95% whenconfigured infailover configuration › SQLAzurehas anduptime SLAof99.99% › Virtual Networks canprovide isolation of yourstack andVPN (S2S,ExpressRoute) / Copyright ©2014 by Readify Pty Ltd15
  • 16. Page Key Azure services / Copyright ©2014 by Readify Pty Ltd16
  • 18. Page Azure Storage - Overview › Fourtypesofstorageavailable: › Blockblob: › streamingandstoringdocuments, videos, pictures, backups, andother unstructured textorbinarydata. › PageblobsandDisks: › randomreadandwriteoperations, pageblobsareidealforVHDimages. › TablesandQueues: › Tables-NoSQLstorageforunstructured andsemi-structured data. › Queues-reliable messagingsolutionforyourapps. › Files(Preview): › createsasharedfilesystemusingthestandardSMB2.1protocol. / Copyright ©2014 by Readify Pty Ltd18
  • 19. Page Azure Storage / Copyright ©2014 by Readify Pty Ltd19
  • 21. Page Azure VMs - Overview › FullsupportforLinuxandWindowsmachines › PAYGmodel–basedonanhourly/minute/monthly model › Computetiers: › BasicTier(A0-A4): › Goodfordev/testworkloads › StandardTier(A0-A7): › Goodformostworkloads › ComputeOptimised(D1-D14): › SSDbacked › 60%fasterCPUthanA-Series › PerformanceOptimised(G1-G5): › Intel®Xeon®processorE5v3family › 2Xmemoryand4XtimesSSDthantheD-series./ Copyright ©2014 by Readify Pty Ltd21
  • 22. Page Azure VMs – Overview..cont › Network Optimised (A8-A9): › 40Gbit/sInfiniBand network support › Remote direct memory access (RDMA) technology › Compute Intensive (A10-A11): › High-performance clusters, modeling andsimulations, video encoding, andother compute ornetwork intensive scenarios. / Copyright ©2014 by Readify Pty Ltd22
  • 23. Page Azure VMs – High Availability › ConfigureVMstoUseAvailabilitysetstoachieve99.95%guaranteedSLA › GroupingVMsintoAvailabilitysetsallowsforrollingupdates › ConfigurealoadbalancerwithAvailabilitysets / Copyright ©2014 by Readify Pty Ltd23
  • 25. Page Overview › Fast, easy to deploy enterprise scale web application hosting platform › Features Autoscale, A/B testing and deployment slots › Supported .NET, Java, PHP, Python or Node.js › Supports on-premises hybrid connections › Available in Free, Shared, Basic and Standard editions › Deploy code from Visual Studio Online, Git, FTP, Web Deploy and Dropbox / Copyright ©2014 by Readify Pty Ltd25
  • 26. Page Azure Web Apps - Autoscale / Copyright ©2014 by Readify Pty Ltd26
  • 27. Page Service Tiers / Copyright ©2014 by Readify Pty Ltd27
  • 29. Page Overview › OptionofhostingSQLserveronSQLAzureoronVMs › SQLServerAlwaysOntemplateavailableinAzureGallery › SQLAzurealmostonparitywithtraditionalSQL › Whichtochoose? › SQLAzure: › FullymanagedandeasilymanagedDBaaS. › Massivescaleoutand“sharding” › 500GBdatabasesizelimit › SQLIaaS: › Traditional SQLonWindowsVMs › Scaleup › Domainjoined / Copyright ©2014 by Readify Pty Ltd29
  • 30. Page SQL on Virtual Machines / Copyright ©2014 by Readify Pty Ltd30 SQL Mirroring to be deprecated/removed in SQL v.Next!!!
  • 31. Page SQL Azure Key Features › Billed per hour regardless of usage/size › Migration tools available e.g. SQL migration wizard › Can use familiar SQL tools to export/import data (.bacpac files) › Performance measured in Database Throughput Units (DTU) › Mix of CPU, memory and read/write operations / Copyright ©2014 by Readify Pty Ltd31
  • 32. Page SQL Azure Key Features..cont › Geo-replication across regions and servers › SQL Azure uses UTC DateTime by default › SQL Azure uses SQL authentication only - AD/AzureAD authentication not supported / Copyright ©2014 by Readify Pty Ltd32
  • 33. Page SQL Azure – Service Tiers / Copyright ©2014 by Readify Pty Ltd33
  • 34. Page SQL Azure – Geo-replication › Standard geo-replication › Standard and Premium tier › Secondary offline replica › Offline until an outage occurs › Billed at 75% cost of primary database › Active geo-replication › Premium tier only › Max. 4 geo-replicated online secondaries › Readable secondaries › Billed at 100% cost of primary database / Copyright ©2014 by Readify Pty Ltd34
  • 35. Page SQL Azure – Active Geo-replication / Copyright ©2014 by Readify Pty Ltd35
  • 37. Page Azure Availability Checklist › Availability checklist › Application design › Deployment and maintenance › Data management › Errors and failures Reference: https://github.com/mspnp/azure-guidance/blob/master/availability-checklist.md / Copyright ©2014 by Readify Pty Ltd37

Editor's Notes

  1. Azure fabric - upgrade and fault domain concepts - https://msdn.microsoft.com/library/azure/dn251004.aspx Upgrade domains: logical groupings within a Azure service - Any service change or upgrade only affects a single upgrade domain at a time. Fault domains: logical groupings based on the underlying hardware - automatically separating instances from underlying resources that represents a single point of failure
  2. Standard geo-replication Standard and Premium tier Secondary offline replica in paired region on separate server Offline and not accessible until an outage occurs Billed at 75% cost of primary database Active geo-replication Premium tier only Max. 4 geo-replicated secondaries that are online and readable. Can be used in a load-balanced scenario Billed at 100% cost of primary database
  3. Migrating a Web Application and SQL Database to Azure Websites & SQL Azure
  4. Migrating a Web Application and SQL Database to Azure Websites & SQL Azure