London .NET Developers Azure Websites

Post on 07-Jul-2015

181 views 4 download

Tags:

description

Slides from my talk from London .NET Developers Azure Camp Sat Nov 15, 2014 on Azure Websites.

transcript

Azure WebsitesTom WalkerFounder and principal consultant for 13North

Microsoft Azure

AgendaSite creation

Language Support

Deployment

Source Control Integration

Scale

Web Jobs

Site Slots

Traffic Manager

Backup

Hybrid Connections

Redis Cache

Fastest way to build for the cloud

DemoAzure Website Creation

.NET

Python

Develop apps with…

Node.js

Java

PHP

Visual Studio + Azure Websites

• Create Azure Resources during File / New

• Create Azure Website during deploy

• Manage with Server Explorer

DemoVisual Studio Support

GitHubVisual Studio

Online

Git BitBucketCodePlex DropBox FTP

Choose your own Adventure!

10

Deployments

Scale

Manual Scaling

1 6Instance Count Instances

AutoScale

AutoScale

AutoScale

Auto-Scaling (Metric)

2 6

60 80

Instance Count

CPU Percentage | Memory Percentage | Disk Queue Length | HTTP Queue Length | Data In | Data Out

Percent

Instances

[Metric]

DemoManual Scale

Auto Scale

Auto-Scale Considerations

•Only Scales the Web Tier

•Scale Up/Down is not instantaneous

Site Slots

Staging

Staging

Staging

Staging

Web Jobs

WebJobs

WebJobs

DemoWebJobs

Traffic Manager

Azure

Websites

footprint

14 regions worldwide in 2014

Intelligent customer routing with Traffic Manager

www.yourapp.com

Intelligent customer routing with Traffic Manager

www.yourapp.com

Backup

Backups

Websites Settings ManifestDatabase (Optional)Websites Files

Hybrid Connections

Web Sites

Mobile Services

Corporate Network

Microsoft SQL Server

Hybrid Connection

Other published

resourcesHybrid

Connection

Manager

Hybrid Connections

Redis Cache

Redis Cache Service

• Full Functionality Redis Cache Cluster

• Master/Slave Configuration

• Up to 26GB

• SSL Supported

DemoRedis Cache

Application Insights

Application Insights

Get startedVisit azure.microsoft.com

Web Sites Service Architecture

Microsoft Azure

Load Balancer

Runtime Database

Application Database

API Endpoint

Frontend (IIS ARR)

Publish Endpoint Blob Storage

File Server

Metering

Deployment

Server(s)

Debug Console (Kudu)

https://[website-name].scm.azurewebsites.net

Environment Debug Console Diagnostics & Logs Web Hooks REST API

Web Site

Microsoft Azure Web Site

Public Site Extensions Private Site Extensions

Web Site Kudu Web Jobs

Monaco MSDeploy Build/Upload Your Own

Gallery

Customizing the Deployment

>: azure site deploymentscript –hhelp:help: Generate custom deployment scripthelp: Usage: site deploymentscript [options]help:help: Options:help: --aspWAP <projectFilePath> help: --aspWebSitehelp: --nodehelp: --phphelp: --pythonhelp: --basic

Microsoft Azure Cross Platform Command-Line Tools

Fortune 500 using Azure

>57% >250kActive websites

Greater than

1,000,000SQL Databases in Azure

>20TRILLIONstorageobjects >300 MILLION

AD users

>13 BILLIONauthentication/wk>2

MILLIONrequests/sec >1

MILLIONDevelopers

registered with

Visual Studio

Online

Site Extensions

WebSockets

5Concurrent

Connections

Tier Free

35Shared

350Basic / Standard Premium

Unlimited

Persistent Connection

Web Hosting Plan

Azure Subscription

$Pricing Tier Geographic Region

+ +