SlideShare a Scribd company logo
Running, improving and
maintaining a site
in the real world
Dave Voyles
Dvoyles@Microsoft.com
Agenda
1) Scenario: Scale
2) Scenario: Adapt to Change
3) Scenario: Environments
Let’s get Real
Scenario: Scale
Scenario description
Your site load varies over time.
You need to adapt.
Smoothly.
5
Load profiles
6
INCREASING
BATCHLoad
No
load
Load PREDICTABLE
UNPREDICTABLE
Step 1: Preserve server bandwidth
PROBLEM:
Your servers are wasting bandwidth serving static files.
7
Step 1: Preserve server bandwidth
SOLUTION:
Serve static files from blob storage.
This is a step towards to delivering content from a
content delivery network (CDN).
8
Step 2: Caching
PROBLEM:
Your servers have finite resources.
You don’t want to repeat work you don’t have to.
9
Step 2: Caching
SOLUTION:
Store ASP.NET page output cache in
Windows Azure Caching Service.
10
Step 3: Manual scale
PROBLEM:
You need more server resources.
11
Step 2: Manual Scale
SOLUTION:
Add more servers (horizontal scaling).
Use more powerful servers (vertical scaling).
12
13
Step 3: Auto-scale
PROBLEM:
Manual scaling reaction time means outages.
Manual scaling is busy work.
14
Step 2: Auto-scale
SOLUTION:
Use auto-scale.
15
16
Demo
Scenario: Scale
Scenario: Change
Scenario description
Your site isn’t done when you deploy to production.
You need to add new features.
Change adds risk.
19
Step 1: Manage database schema
PROBLEM:
Your database and application code need to stay in
sync.
20
Step 1: Manage database schema
SOLUTION:
Use Entity Framework Data Migrations.
21
Demo
Scenario: Data migrations
Step 2: Manage deployments
PROBLEM:
People sometimes make misteaks.
23
Step 2: Manage deployments
SOLUTION:
Use deployment rollback.
24
25
Demo
Scenario: Deployment rollback
Step 3: Leverage services
PROBLEM:
Large changes often require you to add new features
quickly.
27
Step 3: Leverage services
SOLUTION:
Take advantage of available Windows Azure services.
28
Demo
Scenario: Windows Azure Active Directory
Scenario:
Multiple Environments
Scenario description
Running a real site requires multiple internal
environments.
Global availability requires multiple worldwide
deployments.
31
Step 1: Dev / Test environments
PROBLEM:
Setting up development web server environments is
time consuming.
You need to see your code running somewhere other
than deployment before deploying.
32
Step 1: Dev / Test environments
SOLUTION:
Environment consistency via deployment setup in
Windows Azure Web Sites or VM images.
Cost savings by paying only for what you need.
33
DISCOUNT
VIRTUAL MACHINES
33% 25%DISCOUNT
RESERVED WEB SITES
CLOUD SERVICES, HDINSIGHT
MONTHLY CREDIT
VISUAL STUDIO ULTIMATE
WITH MSDN
$150
CREDIT CARD REQUIRED
NO
MONTHLY CREDIT
VISUAL STUDIO PREMIUM
WITH MSDN
$100 MONTHLY CREDIT
VISUAL STUDIO PROFESSIONAL
WITH MSDN
$50
Step 2: Global Reach
PROBLEM:
It’s hard to deploy a consistent environment in
multiple datacenters.
35
Step 2: Global Reach
SOLUTION:
Use automated deployment workflow to ensure
consistency in deployment process.
36
Step 3: Continuous Delivery
PROBLEM:
Bugs and issues in your code get harder to fix
the longer it takes to find out about them.
Deployment is a risky, error-prone operation.
37
Step 3: Continuous Delivery
SOLUTION:
Use continuous integration to automate build, unit &
integration testing.
Use automated deployment workflow to ensure
consistency in deployment process.
38
Running, improving & maintaining a site in the real world

More Related Content

PPTX
Running, improving and maintaining a site in the real world
POTX
Jenkins, jclouds, CloudStack, and CentOS by David Nalley
PDF
SQL Server DevOps Jumpstart
PPTX
Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...
PDF
Boyan Krosnov - Building a software-defined cloud - our experience
PPTX
CloudStack Meetup - Introduction
PDF
Cornel Popescu - Protectia datelor in cloud: de ce si cum se face
PDF
Wido den Hollander - building highly available cloud with Ceph and CloudStack
Running, improving and maintaining a site in the real world
Jenkins, jclouds, CloudStack, and CentOS by David Nalley
SQL Server DevOps Jumpstart
Java dans Windows Azure Cloud Services, big data avec hd insight et les nouve...
Boyan Krosnov - Building a software-defined cloud - our experience
CloudStack Meetup - Introduction
Cornel Popescu - Protectia datelor in cloud: de ce si cum se face
Wido den Hollander - building highly available cloud with Ceph and CloudStack

What's hot (20)

PPTX
Build 2017 SQL Server in Dev Ops
PPTX
Secret Techniques to Manage Apache Cloudstack with ActOnCloud
PDF
Dag Sonstebo - CloudStack usage service
PPTX
Nested CloudStack with VMware
PPTX
Paul Angus - CloudStack Container Service
PDF
Mihai Tataran - Dev/Test Continuous Delivery Automation cu Microsoft Azure
PPTX
vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
PPTX
Windows Server Containers
PPTX
2016 NDC - 모바일 게임 서버 엔진 개발 후기
PDF
Florin Loghiade - Azure Site Recovery si Backup in Microsoft Azure
PPTX
Vmworld 2012 recap
PDF
PuppetConf 2016 Customer Keynote: Cloud, Containers & the Impact on IT - Jeff...
PDF
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
PDF
Nginx Tutorial | Learn Nginx Fundamentals | Deploy a Web Application Using Ng...
PDF
Building software defined clouds - Boyan Ivanov
PDF
Tudor Damian - Microsoft Azure ca si solutie pentru backup sau disaster recovery
PDF
Learn Kubernetes in One Hour with Scalyr
PDF
Paul Angus – Backup & Recovery in CloudStack
PDF
PaaS on top of CloudStack
PDF
Paul Angus - what's new in ACS 4.11
Build 2017 SQL Server in Dev Ops
Secret Techniques to Manage Apache Cloudstack with ActOnCloud
Dag Sonstebo - CloudStack usage service
Nested CloudStack with VMware
Paul Angus - CloudStack Container Service
Mihai Tataran - Dev/Test Continuous Delivery Automation cu Microsoft Azure
vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
Windows Server Containers
2016 NDC - 모바일 게임 서버 엔진 개발 후기
Florin Loghiade - Azure Site Recovery si Backup in Microsoft Azure
Vmworld 2012 recap
PuppetConf 2016 Customer Keynote: Cloud, Containers & the Impact on IT - Jeff...
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
Nginx Tutorial | Learn Nginx Fundamentals | Deploy a Web Application Using Ng...
Building software defined clouds - Boyan Ivanov
Tudor Damian - Microsoft Azure ca si solutie pentru backup sau disaster recovery
Learn Kubernetes in One Hour with Scalyr
Paul Angus – Backup & Recovery in CloudStack
PaaS on top of CloudStack
Paul Angus - what's new in ACS 4.11
Ad

Similar to Running, improving & maintaining a site in the real world (20)

PPTX
ASPNET-in-Production.pptx
PPTX
Azure appservice
PPTX
Directions on microsoft_web_and_cloud_development
PDF
Download full ebook of Azure in Action 1st Edition Chris Hay instant download...
PPTX
Building enterprise platforms - off the beaten path - SharePoint User Group U...
PDF
10 things ever architect should know about the Windows Azure Platform - ericnel
PPTX
Building SharePoint Enterprise Platforms - Off the beaten path - SharePoint S...
PPTX
Development and QA dilemmas in DevOps
PPTX
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
PPTX
Building azure applications ireland
PPTX
Migration Concentrate
PPTX
Microsoft Azure: Deploy and Scale Modern Websites
PDF
SharePoint for Startups, Tales from the Trenches
PDF
Class 7: Introduction to web technology entrepreneurship
PDF
Best Practices for Building Scalable Web Applications.pdf
PDF
Building SharePoint Enterprise Platforms - Off the beaten path
PPT
Best Practices for Large-Scale Web Sites
PDF
Moving Applications to the Cloud on Windows Azure 3rd Edition Dominic Betts
PPTX
WindowsAzureWebSites cucuxuxifuztays7(,7,6,8?)
PDF
DevOps in the Cloud with Microsoft Azure
ASPNET-in-Production.pptx
Azure appservice
Directions on microsoft_web_and_cloud_development
Download full ebook of Azure in Action 1st Edition Chris Hay instant download...
Building enterprise platforms - off the beaten path - SharePoint User Group U...
10 things ever architect should know about the Windows Azure Platform - ericnel
Building SharePoint Enterprise Platforms - Off the beaten path - SharePoint S...
Development and QA dilemmas in DevOps
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
Building azure applications ireland
Migration Concentrate
Microsoft Azure: Deploy and Scale Modern Websites
SharePoint for Startups, Tales from the Trenches
Class 7: Introduction to web technology entrepreneurship
Best Practices for Building Scalable Web Applications.pdf
Building SharePoint Enterprise Platforms - Off the beaten path
Best Practices for Large-Scale Web Sites
Moving Applications to the Cloud on Windows Azure 3rd Edition Dominic Betts
WindowsAzureWebSites cucuxuxifuztays7(,7,6,8?)
DevOps in the Cloud with Microsoft Azure
Ad

More from David Voyles (20)

PPTX
Developing games for consoles as an indie in 2019
PPTX
Developing for consoles as an indie in 2019
PPTX
Overview Microsoft's ML & AI tools
PPTX
Intro to deep learning
PPTX
What is a Tech Evangelist?
PPTX
Microsoft on open source and security
PPTX
Students: How to get started in the tech world
PPTX
Students -- How to get started in the tech world
PPTX
Getting started with Emscripten – Transpiling C / C++ to JavaScript / HTML5
PPTX
How to win a hackathon - Penn APps 2015
PPTX
ASP.NET 5
PPTX
Building web front ends using single page applications
PPTX
Web standards and Visual Studio web tools
PPTX
Build and deploy an ASP.NET applicaton
PPTX
Cluster puck99 postmortem
PPTX
Joe Healy - How to set up your DreamSpark account
PPTX
Joe Healy - Students as App Publishers
PPTX
Using prime[31] to connect your unity game to azure mobile services
PPTX
An Introdouction to Venture Capital and Microsoft Ventures
PPTX
Intro to WebGL and BabylonJS
Developing games for consoles as an indie in 2019
Developing for consoles as an indie in 2019
Overview Microsoft's ML & AI tools
Intro to deep learning
What is a Tech Evangelist?
Microsoft on open source and security
Students: How to get started in the tech world
Students -- How to get started in the tech world
Getting started with Emscripten – Transpiling C / C++ to JavaScript / HTML5
How to win a hackathon - Penn APps 2015
ASP.NET 5
Building web front ends using single page applications
Web standards and Visual Studio web tools
Build and deploy an ASP.NET applicaton
Cluster puck99 postmortem
Joe Healy - How to set up your DreamSpark account
Joe Healy - Students as App Publishers
Using prime[31] to connect your unity game to azure mobile services
An Introdouction to Venture Capital and Microsoft Ventures
Intro to WebGL and BabylonJS

Running, improving & maintaining a site in the real world

Editor's Notes

  • #35: Fastest Growing Hypervisor, taking share from VMWare” 2 releases of Hyper-V since ESX 5.1 (WS2012 and WS2012 R2) Hyper-V share is growing 3x that of VMW over the past 2 years Hyper-V steadily taking over a point of share per quarter Microsoft in the Gartner Virtualization Magic Quadrant for the 3rd straight year and is the only vendor moving up and to the right Over 50 new services released this year Compute & Storage Capacity doubling every 6 – 9 months