29
Power your Website with Windows Azure João Pedro Martins (jota) - [email protected]

Power your website with Windows Azure

Embed Size (px)

DESCRIPTION

Slides of Microsoft Portugal "Developer Tech Refresh" event held in September 2013. Mostly a demo-based session.

Citation preview

Page 1: Power your website with Windows Azure

Power your Website withWindows AzureJoão Pedro Martins (jota) - [email protected]

Page 2: Power your website with Windows Azure

• Windows Azure Web Sites:• Main Features

• Platform Architecture

• Demo: “the demo everybody makes”

• Demo: “the more complicated demo where Murphy might strike”

• Demo: “the dns custom domain demo”

• Demo: “the services demo”

• Demo: “the kudu demo”

• Plaform Scaling, use cases and pricing

Agenda

Page 3: Power your website with Windows Azure

Azure Web Sites Feature Overview

Page 4: Power your website with Windows Azure

Cloud First by Design

SQL based configuration

Dynamic provisioning of sites on demand

Network Storage (Azure xDrive, SMB, NAS, SAN)

Stateless web servers (no synchronization required)

How does it work?

Page 5: Power your website with Windows Azure

Windows Azure Web Sites Architecture

Page 6: Power your website with Windows Azure

HTTP WebWorkerWebWorkerWebWorker

Frontend(IIS ARR)

SQL Azure VHD blobs

SQL Azure / MySQL / Mongo

API endpoint

Publish endpoint

File Server

WebWorker

Serving HTTP(s) Traffic – Inactive Site (‘cold’ site)

http://site1..../

Page 7: Power your website with Windows Azure

HTTP Frontend(IIS ARR)

SQL Azure VHD blobs

SQL Azure

API endpoint

Publish endpoint

File Server

Serving HTTP(s) Traffic – Inactive Site (‘cold’ site)

http://site1..../WebWorker

site1site1

Page 8: Power your website with Windows Azure

HTTP WebWorkerWebWorkerWebWorker

SQL Azure VHD blobs

SQL Azure

API endpoint

Publish endpoint

File Server

Serving HTTP(s) Traffic – Active Site (‘hot’ site)

http://site1..../

site1

WebWorker

Frontend(IIS ARR)

Page 9: Power your website with Windows Azure

… but how easy is it? (a true story)

Page 10: Power your website with Windows Azure

Web Matrix

demo

Page 11: Power your website with Windows Azure

• Create a site in WebMatrix using one of the existing templates

• Apply a theme using Twitter Bootstrap

• Migrate blogposts to it from another blog provider

• … how simple are these scenarios.

What did we see?

Page 12: Power your website with Windows Azure

Continuous integration, testand deploymentdemo

Page 13: Power your website with Windows Azure

• Start with a working local web site

• Configure a Azure WebSite and publish to it

• Add project to source control

• See the automated builds

• See the automated deployments• (much more to see here)

• See the automated test runs

What did we see?

Page 14: Power your website with Windows Azure

Deployment Pipeline

Page 15: Power your website with Windows Azure

Custom Domains

demo

Page 16: Power your website with Windows Azure

• Configuration of CNAME and A record including validation

• Configure web site to use custom domain name

• Access web site using custom domain

• Note: not available for Free websites.

What did we see?

Page 17: Power your website with Windows Azure

Host wcf services in web site

demo

Page 18: Power your website with Windows Azure

• Expose WCF web services in Azure Web Site

• Programattically access SQL Azure DB (one of many ways!)

• Consume WCF services from Win8 app to display the data locally

What did we see?

Page 19: Power your website with Windows Azure

Kudu

demo

Page 20: Power your website with Windows Azure

• Debug and trace information

• Console to browse on site’s contents

• Transparent

What did we see?

Page 21: Power your website with Windows Azure

• Scale Up

• Scale Out• Up to 10 instances (VMs)

• Autoscaling (currently) configurable based on CPU usage

Scaling – Standard Instances

Page 22: Power your website with Windows Azure

• Optimizing cost

• Optimize response times

Auto - Scale

Page 23: Power your website with Windows Azure

• Over 1.8b hits per month.

• Over 115K sites hosted.

• 99.9% monthly average SLA• Even with single website

instance!

Service performance

0

100

200

300

400

500

600

700

800

900

1000

99,5

99,55

99,6

99,65

99,7

99,75

99,8

99,85

99,9

99,95

100

2012/07 2012/08 2012/09 2012/10 2012/11 2012/12 2013/01

Monthly SLA

Availablity Latency

Page 24: Power your website with Windows Azure

Use cases - Customer adoption

Over 80k Subscriptions Since June’12

Page 25: Power your website with Windows Azure

Pricing

Page 26: Power your website with Windows Azure

• Using Web Matrix to create and customize a blog from the gallery and migratecontents to it

• Integration of Team Foundation Server for building, testing and deployingsolutions

• Set up custom domain names

• Expose WCF web services in web site and consume from Windows 8

• Kudo & diagnostics

Summary

Page 27: Power your website with Windows Azure

Why Using Windows Azure Web Sites

Scalable, secure and flexible platform for building and hosting powerful web applications.

Page 28: Power your website with Windows Azure

• A cobrir todos os temas do evento relacionados com Windows Azure

• 27/Set @ Microsoft LX (0900-1800)

• Gratuito!• Almoço não incluído

• Inscrições:• Mail para [email protected] indicando:

• Nome, telefone, email

Free Azure Training @ Microsoft LX – 27/Set (Sexta)

Page 29: Power your website with Windows Azure

Obrigado! Questões?João Pedro Martins (jota) - [email protected]