1. kris van der mast @kvdm since 2007

24
Windows Azure Web Sites Kris van der Mast 1

Upload: marie-hillock

Post on 28-Mar-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 1. Kris van der Mast  @KvdM Since 2007

Windows Azure Web SitesKris van der Mast

1

Page 2: 1. Kris van der Mast  @KvdM Since 2007

Your presenter

Kris van der Mast

www.krisvandermast.com

@KvdM

Since 2007

Page 3: 1. Kris van der Mast  @KvdM Since 2007

Agenda

Portal & IntroDeploymentScalingPricingArchitecture

Page 4: 1. Kris van der Mast  @KvdM Since 2007

New and improved portal available (preview)

Quickly add new services

HTML 5 based

Portal

Page 5: 1. Kris van der Mast  @KvdM Since 2007

DemoSetup Wordpress

Portal

5

Page 6: 1. Kris van der Mast  @KvdM Since 2007

Deployment

Picture placeholder

Page 7: 1. Kris van der Mast  @KvdM Since 2007

What?Classic ASPASP.NETPHPNode.js

How?FTPWebdeployGit (Github + Codeplex)TFS

Deployment

Page 8: 1. Kris van der Mast  @KvdM Since 2007

Deployment

01010111001010101010001010100011101010100101

01010111001010101010001010100011101010100101

01010111001010101010001010100011101010100101

GIT : FTP

GIT : FTP

GIT : FTP : Web Deploy : TFS Deploy

Page 9: 1. Kris van der Mast  @KvdM Since 2007

DemoFTP, WebDeploy, Git

Deployments

9

Page 10: 1. Kris van der Mast  @KvdM Since 2007

Scaling

Page 11: 1. Kris van der Mast  @KvdM Since 2007

ScalingFree

• 10 sites• No domain mapping

• $0• 165Mb/day

Shared

• 100 sites• Domain mapping

• $0.02/hour• First 5Gb/month free

Reserved

• 100 sites• Domain mapping

• $0.12/hour• Pay as you go

Page 12: 1. Kris van der Mast  @KvdM Since 2007

Scaling

12

Free account Free mode Move to

Shared

Map domain name

Traffic increase +

revenueScale

Page 13: 1. Kris van der Mast  @KvdM Since 2007

DemoFree, Shared, Reserved

Scaling

13

Page 14: 1. Kris van der Mast  @KvdM Since 2007

Pricing

Page 15: 1. Kris van der Mast  @KvdM Since 2007

Pricing

Free

• $0

Shared

• $0.02/hour/site

Reserved

• $0.12/hour

Size CPU cores RAM Cost / Hour ($)

Small 1 1.7 Gb .12

Medium 2 3.5 Gb .24

large 4 7 Gb .48

Page 16: 1. Kris van der Mast  @KvdM Since 2007

16

Pricing

During preview 33% reduction on price for Reserved

calculator1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97

0

200

400

600

800

1000

1200

1400

1600

Pricing: Shared vs Reserved / month

Shared Reserved

Page 17: 1. Kris van der Mast  @KvdM Since 2007

Picture placeholder

Architecture

17

Page 18: 1. Kris van der Mast  @KvdM Since 2007

Azure LB

Hosting DB

Storage Controller

IIS ARR(LB)

Web Worker

Site’sContent DB

1

2

3

4

5

5

5

5

1. Request for a foo.com arrives to ARR/Load Balancer2. ARR gets info from Hosting DB about foo.com and determines which Web Worker (web server(s)) should host the site.

(WAWS is actively monitoring all Web Servers in the farm..3. ARR forwards request to the designated web Worker using4. Web Worker provisions site * de-provision inactive sites

5. Web Worker executes request accessing site’s content and site’s DB

Request Process Flow – Inactive Site (Cold Site)

Page 19: 1. Kris van der Mast  @KvdM Since 2007

Azure LB

Storage Controller

IIS ARR(LB)

Web Worker

Site’sContent

DB

1 2

3

3

3

3

1. Request for a foo.com arrives on ARR/Load Balancer, which already “familiar” with foo.com 2. ARR remembers foo.com and route the request to the right web worker(s).

* Subsequent requests to this site get automatically routed to fully provisioned Web Worker.

3. Web Worker executes request accessing site’s content and site’s DB

Request Process Flow – Active Site (Hot Site)

Page 20: 1. Kris van der Mast  @KvdM Since 2007

Hosting Sites DB

Azure LB

Storage Controller

IIS ARR(LB)

Web Worker

X-DriveDeploymen

t Server

SQL Databas

e

All DBs are running on SQL Azure

Azure Blobs as durable storage

Windows Azure Worker Role

Provisioning / API

Frontend

Metering

DWAS

Site (W3WP.exe)Site (W3WP.exe)

Site (W3WP.exe)

Monitor resources usage

Dynamic Web Activation Service

W3WP.exe IIS Application Pool Process

WAWS on Windows Azure Block Diagram

Page 21: 1. Kris van der Mast  @KvdM Since 2007

Summary

Portal & IntroDeploymentScalingPricingArchitecture

Page 22: 1. Kris van der Mast  @KvdM Since 2007

Resources https://www.windowsazure.com/en-us/home/scenarios/web-sites/ http://www.meetwindowsazure.com/DigitalChalkTalks

http://blog.krisvandermast.com/

Page 23: 1. Kris van der Mast  @KvdM Since 2007

23

Thank you!

Page 24: 1. Kris van der Mast  @KvdM Since 2007

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.