45
Introduction to Microsoft Windows Azure Lynn Langit @lynnlangit http://www.LynnLangit.com

Windows Azure Introduction

Embed Size (px)

DESCRIPTION

presentation deck from March 2010 MSDN event in Irvine, CA

Citation preview

Page 1: Windows Azure Introduction

Introduction to Microsoft Windows Azure

Lynn Langit

@lynnlangit

http://www.LynnLangit.com

Page 2: Windows Azure Introduction

It’s an Operating System In the Cloud

Simple Answer?

Page 3: Windows Azure Introduction

Microsoft Data CentersVision Go Inside Energy EfficientContainers

San Antonio

Chicago

Dublin

Amsterdam

Hong Kong

Singapore

North American Data Centers European Data Centers Asian Data Centers

Page 4: Windows Azure Introduction
Page 5: Windows Azure Introduction
Page 6: Windows Azure Introduction

IaaS, PaaS and SaaS

• Infrastructure as a Service• Platform as a Service• Software as a Service

InfrastructureServers · Storage · Network

IaaSPlatform

OS & Application Stack

InfrastructureServers · Storage · Network

PaaSApplications

Packaged Software

PlatformOS & Application Stack

InfrastructureServers · Storage · Network

SaaS

Page 7: Windows Azure Introduction
Page 8: Windows Azure Introduction

Upgrades

Patching

Zero downtime

Memory

Hard drive failure

Network

Server acquisition

Environments

Routers

Load balancers

Installing OS

Storage

Page 9: Windows Azure Introduction

Where the Cloud is Compelling

App Characteristic Example

Massive scale Outback promo on Facebook

High reliability eCommerce apps (Coke, Dominos)

Variable load Online tax preparation (CCH)

Unpredictable lifetime Hurricane relief site

Requiring parallel processing Genome sequencing

Scale fast or fail fast Web sites (Kelley Blue Book)

Not good fit for in-house data center Frequently updated app

Needing external storage Online video archive

No desire to manage infrastructure SaaS apps (Quark’s Promote app)

Page 10: Windows Azure Introduction

Main Components

Cloud Fabric Web RolesWorker RolesStorage (Including SQL Azure)Dev FabricApp Fabric (Access Control, Service Bus)

Page 11: Windows Azure Introduction

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 12: Windows Azure Introduction

Windows Azure Roles

Page 13: Windows Azure Introduction

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 14: Windows Azure Introduction

Windows Azure Role Details

• Web Roles– single HTTP endpoint and a single HTTPS endpoint for external

clients

• Worker Roles– internal endpoints for HTTP, TCP – may receive work from Windows Azure Storage Queues

• Web and Worker Roles• can make outbound HTTP/S or .NET Framework class library

socket connections to Internet accessible resources• can access Windows Azure Storage services via REST APIs or the

Windows Azure Storage Client Library

Page 15: Windows Azure Introduction

Websites

• Support for up to 10 websites during trial• Support for SQL Server or MySQL• Included gallery – Drupal, DNN, Wordpress,

more..

Page 16: Windows Azure Introduction

Quick create website tools

Page 17: Windows Azure Introduction

Portal

Page 18: Windows Azure Introduction

Demo

Spinning up a VM

With Microsoft Windows Azure

Page 19: Windows Azure Introduction
Page 20: Windows Azure Introduction

Developer Experience

Page 21: Windows Azure Introduction

The Windows Azure SDK - 1

Page 22: Windows Azure Introduction

The Windows Azure SDK - 2

Page 23: Windows Azure Introduction

Windows Azure SDK Features

• C# and VB Visual Studio project templates and more – 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 builderNote:• No SDK Required for SQL Azure

Page 24: Windows Azure Introduction

Windows Azure Roles in Visual Studio

Page 25: Windows Azure Introduction
Page 26: Windows Azure Introduction

MSDN Offer

Page 27: Windows Azure Introduction

Storage

• Blobs – Large Data Store• Queues – Background work processing• Tables – Very Fast / Scalable Storage• Drives – NTFS Formatted Page Blobs • SQL Azure – Relational SQL in the Cloud

Page 28: Windows Azure Introduction
Page 29: Windows Azure Introduction
Page 30: Windows Azure Introduction
Page 31: Windows Azure Introduction

Getting Started with Windows Azure Data Storage

Page 32: Windows Azure Introduction

Account Name / Key

• AccountName– A unique name identifying the Azure Data Storage

• AccountKey– A blob of encrypted data used for authentication

Page 33: Windows Azure Introduction

Windows Azure Data Storage Blobs

• Unstructured data storage• Partitioned by container• Unlimited containers

Page 34: Windows Azure Introduction

Azure Storage Explorer

Page 35: Windows Azure Introduction

Azure Storage Explorer• “Azure Storage Explorer is a useful GUI tool for inspecting and

altering the data in your Azure cloud storage projects including the logs of your cloud-hosted applications. All three types of cloud storage can be viewed: blobs, queues, and tables.”

• http://azurestorageexplorer.codeplex.com/

Page 36: Windows Azure Introduction

Examining Windows Azure Data Storage

Page 37: Windows Azure Introduction

Windows Azure Data Storage - Tables

• provides scalable, available, and durable structured (or semi-structured) storage in the form of tables.

• contain entities, and the entities contain properties.• are scalable to billions of entities and terabytes of data, and

may be partitioned across thousands of servers.• support ACID transactions over single entities and rich queries

over the entire table.• Simple and familiar .NET and REST programming interfaces are

provided via ADO.NET Data Services. • http://go.microsoft.com/fwlink/?LinkId=153401

Page 38: Windows Azure Introduction

Windows Azure Data Storage – Tables (Terms Part 1)• Table – contains a set of entities. • Entity (Row) – Entities are the basic data items stored in a

table. • Property (Column) – This represents a single value in an entity.

• PartitionKey – The first key property of every table. The

system uses this key to automatically distribute the table’s entities over many storage nodes.

Page 39: Windows Azure Introduction

Windows Azure Data Storage – Tables (Terms Part 2)• RowKey – A second key property for the table. This is the

unique ID of the entity within the partition it belongs to. • Timestamp – Every entity has a version maintained by the

system.• Partition – A set of entities in a table with the same partition

key value.• Sort Order – There is a single index provided for the CTP, where

all entities in a table are sorted by PartitionKey and then RowKey

Page 40: Windows Azure Introduction

SQL Azure Management Portal

Page 41: Windows Azure Introduction

SQL Azure and Windows Azure Table Comparison

SQL Azure Tables• Fully structured• Strongly typed• Relational (RDMS)• Highly scalable

Windows Azure Tables• Semi-structured• Loosely typed• Non-Relational (Not RDMS)• Massively scalable

Page 42: Windows Azure Introduction

Management

Page 43: Windows Azure Introduction

Summary

What is AzureInfrastructure Web RolesWorker RolesStorage (Including SQL Azure)Cloud Fabric, Dev Fabric, App Fabric

Page 44: Windows Azure Introduction

TeachingKidsProgramming.org

Do a Recipe Teach a Kid (Ages 10 ++)SmallBasic or Java Free Courseware (recipes)

Page 45: Windows Azure Introduction

Toward Data Craftsmanship…

Follow me @LynnLangit

RSS my blog www.LynnLangit.com

Hire me• To help build your BI/Big Data solution• To teach your team next gen BI• To learn more about using NoSQL

solutions