windows azure web sites

24
Windows Azure Web Sites Kris van der Mast 1

Upload: kris-van-der-mast

Post on 24-May-2015

1.429 views

Category:

Technology


3 download

DESCRIPTION

The slide deck accompanying my talk for Microsoft at the Azure track. Read more about it at http://blog.krisvandermast.com/PresentationAboutWindowsAzureWebSites.aspx.

TRANSCRIPT

Page 1: Windows Azure Web Sites

Windows Azure Web SitesKris van der Mast

1

Page 2: Windows Azure Web Sites

Your presenter

Kris van der Mast

www.krisvandermast.com

@KvdM

Since 2007

Page 3: Windows Azure Web Sites

Agenda

Portal & IntroDeploymentScalingPricingArchitecture

Page 4: Windows Azure Web Sites

New and improved portal available (preview)

Quickly add new services

HTML 5 based

Portal

Page 5: Windows Azure Web Sites

DemoSetup Wordpress

Portal

5

Page 6: Windows Azure Web Sites

Deployment

Picture placeholder

Page 7: Windows Azure Web Sites

What?Classic ASPASP.NETPHPNode.js

How?FTPWebdeployGit (Github + Codeplex)TFS

Deployment

Page 8: Windows Azure Web Sites

Deployment

01010111001010101010001010100011101010100101

01010111001010101010001010100011101010100101

01010111001010101010001010100011101010100101

GIT : FTP

GIT : FTP

GIT : FTP : Web Deploy : TFS Deploy

Page 9: Windows Azure Web Sites

DemoFTP, WebDeploy, Git

Deployments

9

Page 10: Windows Azure Web Sites

Scaling

Page 11: Windows Azure Web Sites

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: Windows Azure Web Sites

Scaling

12

Free account Free mode Move to

Shared

Map domain name

Traffic increase +

revenueScale

Page 13: Windows Azure Web Sites

DemoFree, Shared, Reserved

Scaling

13

Page 14: Windows Azure Web Sites

Pricing

Page 15: Windows Azure Web Sites

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: Windows Azure Web Sites

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: Windows Azure Web Sites

Picture placeholder

Architecture

17

Page 18: Windows Azure Web Sites

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: Windows Azure Web Sites

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: Windows Azure Web Sites

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: Windows Azure Web Sites

Summary

Portal & IntroDeploymentScalingPricingArchitecture

Page 22: Windows Azure Web Sites

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

http://blog.krisvandermast.com/

Page 23: Windows Azure Web Sites

23

Thank you!

Page 24: Windows Azure Web Sites

© 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.