41
Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation [email protected] http://www.dankasun.com Building Solutions with Windows Azure

Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation [email protected] [email protected]

Embed Size (px)

Citation preview

Page 1: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Dan KasunSr. Director, US Public Sector Developer & Platform EvangelismMicrosoft [email protected]://www.dankasun.com

Building Solutions with Windows Azure

Page 2: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Agenda 1 WHAT is Windows Azure?

2 WHY would use Windows Azure?

3 HOW do I build a Windows Azure solution?

4 WHEN is it best to consider Windows Azure?

5 WHERE do I get more information?

Page 3: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Agenda 1 WHAT is Windows Azure?2 WHY would use Windows Azure?

3 HOW do I build a Windows Azure solution?

4 WHEN is it best to consider Windows Azure?

5 WHERE do I get more information?

Page 4: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

It’s an Operating System In the Could.Simple Answer?

Page 5: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Introducing Windows Azure

ON-PREMISES

WEB & CLOUDS Third party cloudWeb applications

LOB ApplicationsComposite applications

Compute Storage Management ManagementRelational data Connectivity Access control

Developer ExperienceUse existing skills and tools

Page 6: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Windows Azure

Compute – Applications, Web Services, Workers

Storage – Blobs, Queues, Tables

Management – Fabric, Staging & Production

Compute Storage Management

Compute Storage Management ManagementRelational data Connectivity Access control

Page 7: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

SQL Azure

Core Database Functionality, Subset of SQL Server

Database available in limited sizes 1GB, 10GB

Management

SQL Data Sync

ManagementRelational dataCompute Storage Management ManagementRelational data Connectivity Access control

Page 8: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

AppFabric

Service Bus

Access Control Service

Management

Compute Storage Management ManagementRelational data Connectivity Access control

Page 9: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Developer Experience

Leverage Existing Skills in .NET, SQL Server, WCF

Use Familiar tools – Visual Studio, SSMS

RESTful HTTP cloud services, supports PHP, Python

Eclipse integration

Cloud apps can be developed locally / offline

SDK Cloud Simulator – Dev Fabric, Dev Storage

Developer ExperienceUse existing skills and tools

Page 10: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Windows Azure Platform Consumption Prices

Elastic, scalable, secure, & highly available automated service platform

Compute

$0.12/hour

+ Variable Instance Sizes

Per service hour

Highly available, scalable, and self managed distributed database

service

Per database/month

$9.99/month(up to 1 GB DB/month)

$99.99/month

(up to 10 GB DB/month)

Per database/month Per GB stored &

transactions$0.15 GB/month

$0.01/10K transactions

Prices shown in USD only

Windows Azure platform AppFabric Service Bus & Access ControlScalable, automated, highly available services for secure connectivity

$0.015/10k Message Operations

Per Message Operation $0.015/10k Message

Operations

Per Message Operation

International prices are available

Pay as you go and grow

Storage

Service Bus

Web Edition Business Edition

Access Control

Page 11: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Agenda 1 WHAT is Windows Azure?

2 WHY would use Windows Azure?3 HOW do I build a Windows Azure solution?

4 WHEN is it best to consider Windows Azure?

5 WHERE do I get more information?

Page 12: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com
Page 13: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Get Your Costs Under Control

Lower TCO Predictable,

controllable cost model

Convert CapEx to OpEx

Eliminate idle IT capacity

Efficient use of IT dollars

Windows Azure Benefits

Increase Agility

Bypass procurement process

Fast deployment

No competing with other projects

Instant scale Agile IT

enables an agile business

Less I.T. Headache

Outsource scalability, HA, reliability, SLA

No need to anticipate future capacity

One-click promotion

Automated patching and updating

Reduced complexity

Focus on Your Business

IT becomes invisible and democratized

Competitive edge through innovation

Reduce risk Freedom to

experiment Freedom to

experiment

Get Your Costs Under Control

Faster Time to Market

OutsourceIT Headaches

Focus on Business not Infrastructure

Page 14: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Competitive Differentiators

• Automated service management

• Leverage existing skills and developer tools

• Breadth of Microsoft’s cloud offerings—many services beyond hosting and storage

• S+S strategy—cloud and enterprise software offerings

• Cloud-enterprise integration at security, data, communication, or network level

• Marketplace for data and applications

Page 15: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Agenda 1 WHAT is Windows Azure?

2 WHY would use Windows Azure?

3 HOW do I build a Windows Azure solution?

4 WHEN is it best to consider Windows Azure?

5 WHERE do I get more information?

Page 16: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Main Components

Cloud Fabric

Web Roles

Worker Roles

Storage (Including SQL Azure)

Dev Fabric

App Fabric (Access Control, Service Bus)

Page 17: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Windows Azure Cloud Fabric

Multiple virtual instances

Easy provision of applications

Detect failures

Spin up new instances to replace the failed ones

How many instances and what role they will play

Load balances and DNS

Elasticity of the service… scaling up/down number of instances

Page 18: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Windows Azure Roles

Page 19: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Windows Azure Roles

Web Role for web application programming in ASP.NET or

PHP

Worker Role for performing work on behalf of the web role may be written in .NET, Ruby, Java to improve scalability by increasing parallelism

and asynchronicity used for background work

Page 20: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Developer Experience

Leverage Existing Skills in .NET, SQL Server, WCF

Use Familiar tools – Visual Studio, SSMS

RESTful HTTP cloud services, supports PHP, Python

Cloud apps can be developed locally / offline

SDK Cloud Simulator – Dev Fabric, Dev Storage

Page 21: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

The Windows Azure SDK

Page 22: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Windows Azure SDK Features

C# and VB Visual Studio project templates Windows Azure Cloud Service solution with multiple roles.

Tools to manage and configure roles

Local Development Fabric

Local Development Storage services

Local Cloud Service debugging support

Cloud Service package and deployment builder

Note:

No SDK Required for SQL Azure

Page 23: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Storage

Blobs, Drives, Tables, Queues

Designed for the cloud 3 replicas Guaranteed consistency

Accessible directly from the internet via REST API .NET Client library supported

Does not require compute

Storage account drives unique URL, e.g.: https://<youraccount>.blob.core.windows.net

Page 24: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Service Lifecycle

Create service packageBinaries + Content + Service Metadata

Deploy via web portal or Service Management API

Add & remove capacity via web portal or API

Deployed across fault domains

Upgrade with zero downtime

Page 25: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Management Experience

Provision

Deploy

Promote

Stop/Start

Scale

Upgrade

Delete

Page 26: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Design Considerations

Scale and availability are the design points

Storage isn’t a relational database

Stateless Stateless front ends, store state in storage

Use queues to decouple components

Instrument your application (Trace)

Once you are on - stay on

Think about patching & updates

Page 27: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Step by Step Development Guide

1. Set up a Windows Azure account Configure account and storage

2. Get a developer tool, like Visual Studio 20008 or 2010

3. Download and install the SDK and add-in Note, the dev fabric requires SQLExpress

4. Build and test application locally5. Configure Windows Azure Storage

Through code when your app starts Using a storage management tool (links at end)

6. Package application for deployment7. Deploy app into staging or production8. Start the application9. Much rejoicing!

Page 28: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Demo

Building Our First Cloud Application

With Microsoft Windows Azure

Page 29: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Agenda 1 WHAT is Windows Azure?

2 WHY would use Windows Azure?

3 HOW do I build a Windows Azure solution?

4 WHEN should I consider Windows Azure?

5 WHERE do I get more information?

Page 30: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Usage

Com

pu

te

Time

Average

Inactivity

Period

“On and Off “

On & off workloads (e.g. batch job)Over provisioned capacity is wasted Time to market can be cumbersome

Com

pu

te

Time

“Unpredictable Bursting“

Average Usage

Unexpected/unplanned peak in demand Sudden spike impacts performance Can’t over provision for extreme cases

Average Usage

Com

pu

te

Time

“Growing Fast“

Successful services needs to grow/scale Keeping up w/ growth is big IT challenge Complex lead time for deployment

Com

pu

te

Time

Average Usage

“Predictable Bursting“

Services with micro seasonality trends Peaks due to periodic increased demandIT complexity and wasted capacity

Workload Patterns Optimal For Cloud

Page 31: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Common Scenarios

Scenario Example

Hosting of consumer web sites • Online store• Social networking site• Health portal

Hosting corporate/department apps

• HR benefits employee portal• Business intelligence dashboard

ISV Multi-tenant SaaS applications

• Sales force automation• Project management portal

B2B hubs for apps/data sharing • Supply chain management• Industry exchange

Data archiving & content repositories

• Online digital library• Video archive

Page 32: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Where the Cloud is Compelling

Characteristic Example

Apps that need massive scale Social networking site

Apps that need high reliability 911 call center

Apps with variable load Online tax preparation

Apps with unpredictable lifetime Hurricane relief site

Apps requiring parallel processing

Genome sequencing

Apps that must scale fast or fail fast

Start-up online service

Not good fit for in-house data center

Frequently updated app

Apps needing external storage Online video archive

Page 33: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

http://www.microsoft.com/windowsazure/tco/

Quickly determine “quantitative” value of using Windows Azure Platform services

TCO of development and running Windows Azure Platform vs. traditional delivery channels

Estimation “of” and conversion “to” on-premise solution to Windows Azure Platform services

TCO Analyzer Tool

Page 34: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

(TCO estimate over 3-year period)

Lower TCO from dynamic scaling & automated service

management

Persistent Systems

Public sector governance suite of applications & services

Needs secure, scalable, elastic, & comprehensive platform

On Premises Azure

$62K$74K

Alinean Inc.

Leading provider of B2B sales & marketing solutions to F100

Reduce IT complexity & shift resources to core businesses

Lower TCO from efficient utilization of resources & service

management

On Premises Azure

$277K$540K

49% 16%

Real World TCO Analysis

Page 35: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Agenda 1 WHAT is Windows Azure?

2 WHY would use Windows Azure?

3 HOW do I build a Windows Azure solution?

4 WHEN is it best to consider Windows Azure?

5 WHERE do I get more information?

Page 36: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Getting Started

SET UP AN ACCOUNT TODAY! http://www.microsoft.com/windowsazure/offers/

Intro offer is FREE (up to 25 hours) MSDN Subscribers should use the MSDN offers A credit card is required to set up the account

Learn about Azure http://azure.com/partnerquickstart Training Kit: http://bit.ly/AzureTraining http://channel9.msdn.com/azure

Download Azure SDKs and tools http://microsoft.com/windowsazure/tools/

Build with Azure

Get involved with local community User Groups · Code Camps · Cloud Camps

Page 37: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Development Accelerator Accelerates cloud development. Flexible (on/off) consumption for scaling. Predictable payment and discounted price.

•6 mo subscription (38%-45% discount)

•Offered as a unit (can order multiple)

•Cancel first 30 days; or after first 6 mos

•Overage at Standard Consumption rates

Introductory FREE Offer No-cost developer starter offer. Provides no-cost allocation to run a cloud service.

•Available to all partner/customers

•Limit of one per customer

•Overage at Standard Consumption rates

MSDN Premium Mobilize committed .NET developer base. Enable them to build, deploy, manage multiple cloud projects within MSDN subscription.

• Available to MSDN Premium subscribers

• 12-month term, 1 per subscription

• Overage at partner Consumption rates

• Limited time to sign up (thru 6/30/10)

Amount of No-Cost Service:

Windows AzureCompute 25 Hrs/moStorage 0.5 GB/moBandwidth 0.5 GB/mo*Storage Transactions 10K/mo

SQL Azure1 Web Edition DB (1GB DB)90 day trial

Service Bus and Access Control Service Messages 100K/mo

CORE: $59.95/mo ($55.95 for partners)

Amount Included in BaseCompute 750 hrs/mo Storage 10 GB/mo Storage Transactions 1M/mo NET - Messages 1M/moData Transfers 7GB In / 14GB Out*

EXTENDED: $109.95/mo ($104.45 for partners)

Amount Included in BaseSame as Core except also includes* 1 SQL Azure Business Edition DB (10 GB)

Amount of No-Cost Service:

Windows AzureCompute 750 hrs Storage 10 GBStorage Transaction 1M

SQL Azure - 3 Web DB (1 GB)

Service Bus and Access Control Service Messages 1 Million

Data Transfer 7GB In/14GB Out*

Promotions

Page 38: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

MSDN / BizSpark Offer

Page 39: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Resources

Partner Quickstart http://www.azure.com/partnerquickstart

Channel 9 videos http://channel9.msdn.com/azure

Microsoft Learning Plans http://microsoftlearningplans.com

Windows Azure Training Kit & Whiteboard Videos http://www.azure.com

Windows Azure Storage Tools Azure Storage Explorer (open source on CodePlex)

http://azurestorageexplorer.codeplex.com/ Cerebrata Cloud Storage Studio

http://www.cerebrata.com/Products/CloudStorageStudio/Default.aspx

Page 40: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Summary

WHAT is Windows Azure?

WHY would use Windows Azure?

HOW do I build a Windows Azure solution?

WHEN is it best to consider Windows Azure?

WHERE do I get more information?

Page 41: Dan Kasun Sr. Director, US Public Sector Developer & Platform Evangelism Microsoft Corporation dankas@microsoft.com  dankas@microsoft.com

Thanks and Q&A

[email protected]

http://www.dankasun.com

http://blogs.msdn.com/publicsector

SET UP AN ACCOUNT TODAY! http://www.microsoft.com/windowsazure/offers/

Intro offer is FREE (up to 25 hours) MSDN Subscribers should use the MSDN offers A credit card is required to set up the account

Training Kit: http://bit.ly/AzureTraining