windows azure cloud & building block services haishi bai technical evangelist microsoft

Post on 18-Jan-2016

222 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Windows Azure Cloud & Building Block ServicesHaishi BaiTechnical EvangelistMicrosoft

• Introduction of Windows Azure Cloud Service

• Windows Azure Cloud Service Lifecycle• Dedicated cache• Windows Azure showcase

Agenda

ManagementComplexity

Azure ecosystem

Web Sites

Cloud Services Virtual Machines

Control

Gallery

SPA

Social N-Tier

Sharing

LOB

Web APISpecialized

Legacy

Hybrid

Caching Access Control

Service Bus

CDN

TrafficManager

HPC Storage

On-prem

MediaServices

SQL Database

Flexibility

Hello World! .

Cloud Service Overview

What is a Cloud Service?

A collection of related service roles

Web Role Worker Role VM Role

Web Role

All features of a worker role + IIS 7 or 7.5ASP.NET 2.0 3.5 SP1 or 4.0HostsWebforms or MVCFastCGI applications (e.g. PHP)Multiple Websites

Http(s)Web/Worker HybridCan optionally implement RoleEntryPoint

Worker Role Patterns

Queue Polling WorkerPoll and Pop Messages within while(true) loopE.g. Map/Reduce pattern, background image processing

Listening Worker RoleCreate TcpListener or WCF Service HostE.g. Run a .NET SMTP server or WCF Service

External Process Worker RoleOnStart or Run method executes Process.Start()Startup Task installs or executes background/foreground processCustom Role Entry Point (executable or .Net assembly)E.g. Run a database server, web server, distributed cache

Roles and Instances

At runtime each Role will execute on one or more instances A role instance is a set of code, configuration, and local data, deployed in a dedicated VM

Roles are defined in a Hosted ServiceA role definition specifies:Virtual machine sizeCommunication endpointsLocal storage resourcesetc.

Roles and Instances

Cloud ServiceWeb Roles Worker Roles

Web_instance_0

Web_instance_1

Worker_instance_2

Worker_instance_1

Worker_instance_0

Hello WorldDemo

Cloud Service Lifecycle

Package

Cloud service lifecycle – Simplistic view

Upload DeployCode©

Cloud service lifecycle - Agile

Product planning

Sprintplanning

Sprint

Shippable increment

Dailyscrum

©

Team Foundation Service• Governance/Guidance over complete software

lifecycle• Integrated with Visual Studio, and now Azure

Management Portal• Support different methodologies and processes• Source repository with gated check-in• Continuous integration with auto-build• Integrated bug tracking

TFS Continuous Integration Demo

Applicationbuilding blocks

StorageBig data

Caching

CDN

Database

Identity

Media

Messaging

Networking

Traffic

Applicationbuilding blocks

StorageHPC

Caching

CDN

Database

Identity

MediaNetworking

Traffic

Messaging

What’s dedicated cache?

• Use spare memory on your VMs as high-performance cache

• Distributed cache cluster co-located with existing roles, or use dedicated roles

• Named caches with high availability option

• Notifications• Support Memcached protocol

Why dedicated cache?

FasterNo external service calls (additional network hops)Co-located in roles

CheaperNo external service calls (additional cost)Use spare memory that you already paid for

More reliableYour service is running = cache is availableNo throttling as in cotenant environment

Dedicated CacheDemo

Applicationbuilding blocks

StorageHPC

Caching

CDN

Database

Identity

MediaNetworking

Traffic

Messaging

Security challenge

Your App

Authentication

Authorization

User store

ManagementUI

Forget password?

Customersupport Data

protection

Integrationwith AD

LDAPUser

mapping

Synchronization

IntegrationWith

Facebook

MoreUser

mapping

FacebookAuth API

MoreSynchronizatio

n

Solution: Claim-based architecture

Your App

?“User is Joe”“Role is Administrator”

ACS +

WIF

Federated security with ACS

Demo

Applicationbuilding blocks

StorageHPC

Caching

CDN

Database

Identity

MediaNetworking

Traffic

Messaging

Applicationbuilding blocks

StorageHPC

Caching

CDN

Database

Identity

MediaNetworking

Traffic

Messaging

Summaries

Cloud service is a container of related service roles

Build highly scalable services using familiar tools and frameworks

Dedicated cache

Building block services

Contact me

hbai@microsoft.com

blog.haishibai.com

@haishibai2010

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

top related