Introduction to Windows Azure Platform

Preview:

DESCRIPTION

Overview of Cloud Computing and its patterns. Introduction to Windows Azure, SQL Azure and Windows Azure AppFabric

Citation preview

Windows AzureSergejus BarinovasArchitect, Adform

Who am I?• Architect at Adform• Microsoft MVP• Blogger (http://sergejus.blogas.lt)• User Group Lead (http://dotnetgroup.lt)

Contactso Email: sergejus.barinovas@gmail.com o Twitter: @sergejusb

Agenda• What is Cloud Computing?

• Cloud Computing Patters

• Windows Azure Platform

• How to Start?

Cloud Computing

What is Cloud Computing?

Cloud computing is the provision of dynamically scalable and often virtualized resources as a service over the Internet on a utility basis.

What is Cloud Computing?

Cloud computing is an elastic & scalable compute resource on demand

Cloud computing is not a technology, it’s a way of THINKING

Cloud as a way of THINKING• Existing technologies adopted in a new way

• Utility model is welcomed by small companies and

enterprises

• Symbiosis of IT Professionals and Developers called

DevOps

Cloud Computing Offerings

Software-as-a-Service

consume

SaaSPlatform-as-a-Service

build

PaaSInfrastructure-as-a-Service

host

IaaS

Cloud Computing Patterns

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

Usage

Com

pute

Time

Average

InactivityPeriod

Growing Fast• Successful services needs to grow/scale • Keeping up with growth is big IT challenge • Complex lead time for deployment

Average UsageCom

pute

Time

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

Com

pute

Time

Average Usage

Predictable Bursting• Services with micro seasonality trends • Peaks due to periodic increased demand• IT complexity and wasted capacity

Com

pute

Time

Average Usage

Windows Azure Family• Data

o SQL Azureo SQL Azure Reportingo SQL Data Sync

• Connectivityo Windows Azure

AppFabric ServiceBus

• Securityo Windows Azure

AppFabric Access Control

• Computeo Windows Azure

Compute

• Storageo Table Storageo Blob Storageo Queueo Driveo CDN

• Virtual Private Network

Windows Azure ComputeCloud Operating System

Provides on demand, scalable hosting capabilities

Windows Azure Compute• Instance = Virtual Machine

• Role = Type of Server (Web, Application)

• Accessible and Manageable via API

• Read-only RDP Connection

Windows Azure Compute

Windows Azure Compute

• Windows Server x64 2008 / 2008 R2

• .NET Framework 3.5 SP1 / 4.0

• Native Code, PHP, Java, <your runtime here>

• Full Trust and Admin Mode

Web RoleWorker Role

Windows Azure Compute

• Role is an executable

• HTTP(S) and TCP

• <your process here>

• Role is hosted on IIS

• HTTP(S)

• ASP.NET

• Fast CGI + PHP

Web RoleWorker Role

VM Instances• 3 copies of each VM instance are stored• OS updates and patches are applied automatically• Scale-up VM instance

VM Instance Size CPU Memory Instance

StorageI/O Performance Cost

Extra Small Shared 768 MB 20 GB Low 0.05$Small 1.6 GHz 1.75 GB 225 GB Moderate 0.12$Medium 2 x 1.6 GHz 3.5 GB 490 GB High 0.24$Large 4 x 1.6 GHz 7 GB 1,000 GB High 0.48$Extra large 8 x 1.6 GHz 14 GB 2,040 GB High 0.96$

Windows Azure StorageScalable, durable and available cloud storage

Accessible anywhere at anytime

Storage Abstractions• Blobs• Drives• Tables• Queues

• Every storage abstraction is accessible viao REST API (platform agnostic)o Windows Azure SDK Client Library

Blob Storage• Binary large object storage• Objects stored in containers• Block Blob

o Targeted at streaming workloads (limit 200GB)

• Page Blobo Targeted at random read/write workloads (limit 1TB)

• CDN Deliverable (26 locations)• Partitioned by Blob name

Drive Storage• Provides durable NTFS volumes for Windows Azure

applications to useo Read/Write 1:1o Read-only 1:N

• Use existing NTFS APIs to access Cloud Drive

Table Storage• No schema stored for a table (NoSQL)• Table = group of entities• Entity = key + name/value pairs• Partitioned by key• Scale out to billions of entities

Queue Storage• Simple message queue• Not transactional• Guarantee delivery / processing of messages

(two-step consumption)• Partitioned by Queue name

SQL AzureScalable relational database as a service

SQL Azure• A subset of full SQL Server 2008

o Goal is to achieve full symmetry with SQL Server

• Self-provisioning and capacity on demand• Automatically high available and fault-tolerant

o 3 replicas of each database

• Existing tools just work (via TDS protocol)• Federations (horizontal partitioning)• Automated maintenance

o Software updates, infrastructure and hardware

Reporting and Data Sync• SQL Azure Reporting

o SQL Server Reporting provided as a serviceo Integration with the existing tools

• SQL Azure Data Synco Geo-replicationo Sync between SQL Server and SQL Azure

Windows Azure AppFabricHigher application-level services in the cloud

Windows Azure AppFabric• Totally independent from other Azure services• Windows Azure AppFabric Service Bus

o Connectivity across network boundaries

• Windows Azure Access Controlo Single sign-on claims-based AuthN and AuthZ as a service

• Windows Azure Cachingo Distributed scalable in-memory caching service

tdagys@microsoft.comHow to Start?

Q & AThank you!

Windows Azure Pricing• Compute

o Extra small instance: $0.05 per houro Small instance (default): $0.12 per houro Medium instance: $0.24 per houro Large instance: $0.48 per houro Extra large instance: $0.96 per hour

• Data Transferso North America and Europe regions: $0.10 per GB in / $0.15 per GB outo Asia Pacific Region: $0.10 per GB in / $0.20 per GB out

• Storageo $0.15 per GB stored per montho $0.01 per 10,000 storage transactions

SQL Azure Pricing• Web Edition

o $9.99 per database up to 1GB per montho $49.95 per database up to 5GB per month

• Business Editiono $99.99 per database up to 10GB per montho $199.98 per database up to 20GB per montho $299.97 per database up to 30GB per montho $399.96 per database up to 40GB per montho $499.95 per database up to 50GB per month