windows azure platform intro sssantos

42
Uma Visão da Plataforma Windows Azure Eng. Prof. Sylvio Silveira Santos Inovação Tecnológica – Desenvolvimento Estruturado de Sistemas PUC Minas - Curso de Sistemas de Informação - 2011

Upload: sylvio-silveira-santos

Post on 08-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 1/44

Uma Visão da PlataformaWindows Azure

Eng. Prof. Sylvio Silveira SantosInovação Tecnológica – Desenvolvimento EstSistemasPUC Minas - Curso de Sistemas de Informaçã

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 2/44

O que é a nuvem?Uma abordagem da computaçãodiz respeito à escala de abrangê

da Internet e à conexão globatravés de diversos dispositivo

terminais, como desktops, palm

tablets, celulares, etc.

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 3/44

3

TEMPO   C   A   P   A   C   I   D   A   D

   E

   D   O   S

   S   I   S   T .   D   E

   I   N   F .

CargaAtual

Capacidades

de TI Alocadas

Excesso deCapacidade

CapacidadeInsuficiente

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 4/44

Carga atual

Capacidadesob demanda

Capacidadebaixa

Nenhum

capital édesperdiçado

Os clientes nãoreclamam

TEMPO

   C   A   P   A   C   I   D   A   D

   E

   D   O   S

   S   I   S   T .   D

   E

   I   N   F .

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 5/44

Modelos da Computação emNuvem

Utilização   C  o  m  p

  u   t  a  ç

   ã  o

Tempo

Média

Período de

Inatividade

“On & Off “

Cargas On & off (p. ex. “batch job”)Desperdicio de capacidade provisionada

 Tempo para o mercado é complicado

   C  o  m  p  u   t  a  ç

   ã  o

Tempo

“Salto Previsivel

UtilizaçãoMédia

Pico de demanda inesperado ou nãoplanejado

Picos súbitos impactam performanceNão se pode fazer provisionamento futuro

U   C  o  m  p  u   t  a  ç

   ã  o

Tempo

“Crescimento R

Serviços OK precisam creuniformementeAcompanhar o crescimen

 TI

Não se pode fornecer harrapidamente

   C  o  m  p  u   t  a  ç

   ã  o

Tempo

“Saltos Previsi

Serviços com micro-oscilaPicos devido aumento de

periodicidadeComplexidade de TI e cap

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 6/44

Serviços em Nuvem

SoftwScon

“SaPlatform-as-a-Service

construir

“PaaS”Infrastructure-as-a-

Servicehospedar

“IaaS”

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 7/44

Serviços em Nuvem

Pacotes de

Software

Armazenamento

Servidores

Redes

O/S

Middleware

Virtualização

Dados

Aplicações

RuntimeV  o c  ê  a

 d mi  ni   s t r  a

Infrastrutura

(Como Serviço)

Armazenamento

Servidores

Redes

O/S

Middleware

Virtualização

Dados

Aplicações

Runtime

A  d mi  ni   s t r  a d  o p /  v en d  e d  o

V  o c  ê  a d mi  ni   s t r  a

Plataforma

(Como Serviço)

A  d mi  ni   s t r  a d  o p /  v en d  e d  o

V  o c  ê  a d mi  ni   s t r  a

Armazenamento

Servidores

Redes

O/S

Middleware

Virtualização

Aplicações

Runtime

Dados

Softwa

(Como Se

Armazenao

Servido

Rede

O/S

Middlew

Virtualiza

Aplicaçõ

Runtim

Dado

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 8/44

Plataforma Windows AzureComputação e armazenamento de alta

escalabilidade

Administração automatizada de serviçFerramentas familiares, tecnologias,

linguagensArmazenamento relacional para as

nuvensModelo de desenvolvimento

consistenteGestão de base de dados

automatizadaConexão de aplicações existentes à

nuvemConexão através dos limites da redeControle fácil de autorização para

aplicações

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 9/44

Windows AzureCloud Operating System

ViNeCompute Storage

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 10/44

Hello Windows Azure

de

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 11/44

Demo: Hello Windows Azure

Simple ASP.NET app

Visual Studio 2010

Roles & instances are modelsin XML config

Local F5 debugging

Deployed to the cloud

New portal experience

Switched from staging to

What you saw… What Windows Azur

Environments to rapps

Machines, rack spswitches, connect

Automated deploconfiguration

Isolation, redundabalancing

Abstraction & Flex

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 12/44

Windows Azure StorageScalable storage in the cloud

100tb per storage account

Auto-scale to meet massive volume and through

Accessible via RESTful Web Service API

Access from Windows Azure ComputeAccess from anywhere via internet

Supporting .NET Client Library

Various storage types

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 13/44

Windows Azure CDN

 Browse to

cdn.customer.comGET

foo.jpg

Window

 

ECN NODE…

 

ECN NODE 2 - TOKYO

 

ECN NODE 1 - LONDON

EDGE CACHING SERVERS

Create Storage

Accountvia Portal

Enable CDN forStorage account

Enables a better user experience, global reach,increased engagement, more revenue

Broad reach with 22+ locations globally

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 14/44

Windows Azure November 20UpdateWindows Azure SDK & Tools 1.3

New Windows Azure Platform Management Portal

Remote Desktop

Multiple Service Administrators

Windows Server 2008 R2 & IIS 7.5

Full IIS

Elevated Privileges (Admin mode)

Windows Azure Virtual Machine Role

Windows Azure Connect (formerly “Sydney”)

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 15/44

SQL AzureExtending SQL Server to the Cloud

DatSynDatabase Reporting

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 16/44

SQL Azure DatabaseFamiliar SQL Server relational database model de

a serviceSupport for existing APIs & tools

Built for the cloud with high availability & fault toleran

Easily provision and manage databases across multip

datacenters

SQL Azure provides logical server

Gateway server that understands TDS protocol

Looks like SQL Server to TDS Client

Actual data stored on multi le backend data nodes

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 17/44

Reporting & Data SyncSQL Azure Reporting

SQL Server Reporting provided as a service

Reports authored using existing tools (BIDS) and uplocloud

Reports can have rich Data Visualizations (Maps, Chaand be exported to variety of rendering formats (Exce

Reports can be rendered as part of an app using the Rcontrol

Directly view the reports in the browser

Web Service interface to render and manage reports

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 18/44

Windows Azure AppFabriBuilding Block Services for developing connec

applications

CacServiceBus

Access Control

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 19/44

AppFabric Caching

Distributed, in-memory application cache for Win

Azure apps

Primary use cases

Session state provider for Windows Azure applications

Cache layer for Windows Azure applications that lever

in SQL Azure Databases or Windows Azure storage

Provided as a service

Provision, configure, and use

No installation or management of machines/instances

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 20/44

Windows Azure Marketplace

Apps

Find and publish applicationsand building block services forWindows Azure

Directory available in beta.

http://windowsazure.pinpoint.microsoft.com

Commerce capabilities comingin the future.

Data

Information marketplacediscovering, purchasing,

Data can be hosted in Wby the data provider

Data exposed as OData

Data providers include:

Data.gov, Navteq, Greg Lo

Directory & Commerce a

http://datamarket.azure.

i d l f

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 21/44

Windows Azure Platform DataCenters

 

North AmericaRegion

EuropeRegion

Asia PReg

6 datacenters across 3 continentsSimply select your data center of choice when deploying an ap

 

S. Central –

U.S.

W.Europe

N. Central –U.S.

N.Europe

Wi d A Pl tf I t ti l

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 22/44

Windows Azure Platform InternationalAvailability1. Australia

2. Austria

3. Belgium4. Brazil

5. Canada

6. Chile

7. Colombia

8. Costa Rica9. Czech Republic

10.Cyprus

11.Denmark

12.Finland

13.France

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 23/44

Windows Azure Platform Appli

Windows Azure Platform in your datacenter

Designed for unlimited scale & multi-tenancy

Identical to the hardware in Microsoft’s datacenters

Delivered by a choice of hardware partners

Benefits

Platform as a Service

Physical Control

Geographic Proximity

Regulatory Compliance

Windows Azure Platform Consump

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 24/44

Windows Azure Platform ConsumpPrices

Elastic, scalable, secure, and highly availableautomated service platform

Pay as you go and grow for only what you use when you use it

Highly available, scalable, distributed databa

 Compute

$0.05-0.96/hour + Variable Instance Sizes

Per service hour  

Web EditionPer database/month

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

S

StoragePer GB stored and transactions

$0.15 GB/month$0.01/10k transactions

Windows Azure AppFabric Service Bus and Access Control SScalable, automated, highly available services for secure connectivity

Prices shown in USD only

  Access Control

$1.99/10k transactions

Per Message Operation  

$3.99/month per connection

Per Message Operation

Service Bus

In

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 25/44

Summary

Windows Azure Platform is a comprehensive PaaS o

including:Windows Azure

SQL Azure

Windows Azure AppFabric

Fundamental concepts:

Windows Azure Service Definition & Configuration

Windows Azure Roles

Commercially available today in 41 countries and 6

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 26/44

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks anand/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. Beto changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy ofthe date of this presentation.

Wi d A Pl tf

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 27/44

Windows Azure Platform

Reporting Data Database

CCompute StorageManageme

nt

CachService

Bus

Access

Control

M i A t th Cl

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 28/44

Moving Apps to the ClouCompatible with

WindowsAzure

Applications canrun in a Windows

Azure VM roleManaged by thecustomer

Choice of deployment

Requires patching

Uses the WindowsAzure Service

ModelApplicationmanaged by thecustomer

OS patching &

maintenance

Designed for

WindowsAzure

ManagISV

Multi-tisolate

Latest for cus

Flexibl

model

Deliv

Ser

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 29/44

Windows Azure Web & WorkerRoles

Role is hosted

HTTP/HTTPS

ASP.NET

Fast CGI + PH

Role is an executableCreate your own web server, hosta database, etc.

Inbound onAny TCP Port

HTTP/HTTPS

Web RoWorker Role

Windows Server 2008 x64 (R2 coming soon)

.NET Framework – 3.5 SP1 and 4.0

Native Code, PHP, Java, etc. – Bring your own run

Supports Full Trust today (admin mode coming so

Fabric manages role lifecycle

Full IIS

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 30/44

Full IIS

Web Roles previously using Hosted Web Co

Only supports a single HTTP or HTTPS endpoint

Web Roles now supporting Full IIS 7.0/7.5

Enables new scenarios

Multiple IIS web sitesMultiple virtual directories

Configure IIS extensions

Web Deploy for rapid development

New Windows Azure Platf

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 31/44

New Windows Azure PlatfPortal& Full IIS

 James ConardSr. DirectorMicrosoft Corporation

demo

Admin Mode & Startup Tasks

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 32/44

Admin Mode & Startup TasksEnables short, unattended setups on role startup

Silent MSIs, COM Components, Registry Keys, Configuring Windo

etc.

Configured in the .csdef 

 Task Type

Simple – System waits for the task to exit

Background – System does not wait for the task to exit

Foreground – same as background, but blocks role restart until t

<WebRole name=“FabrikamShipping.App.Web">

<Startup>

<Task commandline="relative\path\ToSetupExecutable" 

executionContext="limited|elevated"

taskType=“simple|foreground|background"/>

</Startup>

</WebRole>

Virtual Machine Role

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 33/44

Virtual Machine RoleProvided to help you move applications to Windows Azur

Enables you to have full control over the OS Image

Create your VHD locally

Upload the VHD to storage

Deploy a service package that uses the custom OS image

 The role is your VM – Specify <OsImage href="20101020BaseVthe .cscfg

Key considerations

Image must be Windows Server 2008 R2 Enterprise

Designed for long or non-automated installs

No durability of OS image

VM Role

Abstraction Control

Web/Worker Role

Windows Azure Connect

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 34/44

Windows Azure ConnectSecure network connectivitybetween on-premises and

cloudSupports standard IP protocols

Enables hybrid apps access

to on-premises serversAllows remote administrationof Windows Azure apps

Sim le setu and

Enterpri

Windows A

Windows Azure Connect

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 35/44

Windows Azure Connect

Network policy managedthrough Windows Azure

portal

Granular control of connectivity between WA rolesand external machines

Automatic setup of IPsec Tunnel firewalls/NAT’s throughhosted SSL-based relay

Network policies enforced &traffic secured via end-to-end

certificate-based IPSec

Enterprise

Windows

Dev machines

Relay

Role A

Role C(multiple VM

Working with SQL Azure Datab

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 36/44

Working with SQL Azure Datab

SQL Azure TDS

 Your

App

hange Connection String

SQL A D t S

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 37/44

SQL Azure Data Sync

Geo-replication of SQL Azure data

and spanning on-premises with cloudCTP1 released in June withgeo-replication

CTP2 to be released Q4CY10;adds sync between SQL Server andSQL Azure

Builds on Sync Framework

Sync data between SQL Azure, SQL Compact and SQL

Sync Fx 2.1 RTW on August 18th

On-Premises

Clod

M thl S i L l A

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 38/44

Monthly Service Level Agreem

 All runningroles willbecontinuouslymonitored

If role is notrunning, wewill detect andinitiatecorrective state>99.9%

 Instancemonitoring

and restart

Database isconnected tothe internetgateway

 All databases

will becontinuouslymonitored

>99.9%

 Databaseavailability

Your service isconnected andreachable viaweb. Internetfacing roles willhave externalconnectivity

>99.95%

 Computeconnectivity

>99.9%

Storage servicewill beavailable/reachable(connectivity)

Your storagerequests will beprocessedsuccessfully

 Storageavailability

Wi d A St

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 39/44

Windows Azure Storage Tables

 Table = group of entities

Entity = name/value pairsPartitioned by key

Scale out to Bns of entities

Not an RDBMS

Blobs

Large binary st

Stored in conta

Unlimited contai

CDN Deliverable

Partitioned by BlQueues

Simple message queueNot transactional

Read at least once

Delete to remove message,otherwise is returned to queue

Partitioned by Queue Name

Drives

NTFS VHD moinstance

Read/Write 1:1

Read only 1:N

Backed by Pag

Cannot remot

N Wi d A Pl tf

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 40/44

New Windows Azure Platform Faster and more user friendlyportal for Windows Azure

Platform services

More visibility and control

Supports multiple serviceadministrators (co-admins)

Enable and connect toWindows Azure instancesusing Remote Desktop

Built on the Windows AzureService Management APIs

Ne Applications Ne Challe

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 41/44

New Applications - New Challe

Access ControlCache

ReportingASP.NET

Storage

DataService

DataService

DataService

AppFabric Composition Model

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 42/44

AppFabric Composition Model

.NET-based declarative model for composin

applications for the Windows Azure platformWill enable you to define, deploy, and mancloud application as a single logical entity

Rich designer experience in Visual Studio

Runtime services in the cloud provide depl& management of the application

Layers on the Windows Azure Service Mode

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 43/44

AppFabric Composition

8/6/2019 Windows Azure Platform Intro SSSantos

http://slidepdf.com/reader/full/windows-azure-platform-intro-sssantos 44/44

AppFabric CompositionModel