introduction to windows azure platform

36
Windows Azure Sergejus Barinovas Architect, Adform

Upload: sergejus-barinovas

Post on 14-Jan-2015

2.763 views

Category:

Technology


5 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Introduction to Windows Azure Platform

Windows AzureSergejus BarinovasArchitect, Adform

Page 2: Introduction to Windows Azure Platform

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

Contactso Email: [email protected] o Twitter: @sergejusb

Page 3: Introduction to Windows Azure Platform

Agenda• What is Cloud Computing?

• Cloud Computing Patters

• Windows Azure Platform

• How to Start?

Page 4: Introduction to Windows Azure Platform

Cloud Computing

Page 5: Introduction to Windows Azure Platform

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.

Page 6: Introduction to Windows Azure Platform

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

Page 7: Introduction to Windows Azure Platform

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

Page 8: Introduction to Windows Azure Platform

Cloud Computing Offerings

Software-as-a-Service

consume

SaaSPlatform-as-a-Service

build

PaaSInfrastructure-as-a-Service

host

IaaS

Page 9: Introduction to Windows Azure Platform

Cloud Computing Patterns

Page 10: Introduction to Windows Azure Platform

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

Page 11: Introduction to Windows Azure Platform

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

Page 12: Introduction to Windows Azure Platform

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

Com

pute

Time

Average Usage

Page 13: Introduction to Windows Azure Platform

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

Com

pute

Time

Average Usage

Page 14: Introduction to Windows Azure Platform

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

Page 15: Introduction to Windows Azure Platform

Windows Azure ComputeCloud Operating System

Provides on demand, scalable hosting capabilities

Page 16: Introduction to Windows Azure Platform

Windows Azure Compute• Instance = Virtual Machine

• Role = Type of Server (Web, Application)

• Accessible and Manageable via API

• Read-only RDP Connection

Page 17: Introduction to Windows Azure Platform

Windows Azure Compute

Page 18: Introduction to Windows Azure Platform

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

Page 19: Introduction to Windows Azure Platform

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

Page 20: Introduction to Windows Azure Platform

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$

Page 21: Introduction to Windows Azure Platform

Windows Azure StorageScalable, durable and available cloud storage

Accessible anywhere at anytime

Page 22: Introduction to Windows Azure Platform

Storage Abstractions• Blobs• Drives• Tables• Queues

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

Page 23: Introduction to Windows Azure Platform

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

Page 24: Introduction to Windows Azure Platform

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

Page 25: Introduction to Windows Azure Platform

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

Page 26: Introduction to Windows Azure Platform

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

(two-step consumption)• Partitioned by Queue name

Page 27: Introduction to Windows Azure Platform

SQL AzureScalable relational database as a service

Page 28: Introduction to Windows Azure Platform

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

Page 29: Introduction to Windows Azure Platform

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

Page 30: Introduction to Windows Azure Platform

Windows Azure AppFabricHigher application-level services in the cloud

Page 31: Introduction to Windows Azure Platform

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

Page 32: Introduction to Windows Azure Platform

[email protected] to Start?

Page 33: Introduction to Windows Azure Platform

Q & AThank you!

Page 34: Introduction to Windows Azure Platform

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

Page 35: Introduction to Windows Azure Platform

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