33
Migrera befintliga system till Windows Azure Robert Folkesson Active Solution

Migrera befintliga system till Windows Azure

  • Upload
    mircea

  • View
    55

  • Download
    0

Embed Size (px)

DESCRIPTION

Migrera befintliga system till Windows Azure. Robert Folkesson. Active Solution. Vem är jag?. Varför migrera till Azure?. Varför migrera till Azure?. Varför migrera till Azure?. “ Startupdröm ”. “ Batchjobb ”. Belastning. Belastning. Belastning. Belastning. Inaktivitet. - PowerPoint PPT Presentation

Citation preview

Page 1: Migrera befintliga  system till Windows Azure

Migrera befintliga system till Windows AzureRobert FolkessonActive Solution

Page 2: Migrera befintliga  system till Windows Azure

VEM ÄR JAG?

Page 3: Migrera befintliga  system till Windows Azure

Varför migrera till Azure?

Page 4: Migrera befintliga  system till Windows Azure

Varför migrera till Azure?

Page 5: Migrera befintliga  system till Windows Azure

Tid

Bela

stni

ng

Inaktivitet

Kapacitets behovTid

Bela

stni

ng

kapacitetsbehov

Tid

Bela

stni

ng

KapacitetsbehovTid

Bela

stni

ngKapacitetsbehov

“Det oväntade”“Det förutsägbara”

“Batchjobb” “Startupdröm”

Varför migrera till Azure?

Page 6: Migrera befintliga  system till Windows Azure

Varför migrera till Azure?

Page 7: Migrera befintliga  system till Windows Azure

Inför en migrering• Fokuserad 2-3 dagars workshop• Mål

– Göra en praktisk POC och lyfta så mycket av systemet som möjligt, utan hänsyn till ”ideal”-arkitektur

– Identifiera utmaningar, föreslå en väg runt dessa– Ha en fungerande demo så långt som möjligt– Få en bra uppfattning över omfattning av ett komplett

migreringsprojekt• Resurser: utvecklare och/eller arkitekt med tillgång till

källkod/projekt + någon med Azure-erfarenhet

Page 8: Migrera befintliga  system till Windows Azure

Ett enkelt scenario

• ASP.NET-baserad applikation• Använder SQL-Server som backend

Page 9: Migrera befintliga  system till Windows Azure

Ett angreppssätt1. Migrera SQL Server2. Testa befintlig kod mot SQL Azure3. Skapa Azure-projekt, testa i

Windows Emulator4. Testa i Windows Azure

Page 10: Migrera befintliga  system till Windows Azure

1. Migrera SQL Server

Page 11: Migrera befintliga  system till Windows Azure

http://www.codeplex.com/sqlazuremw

Page 12: Migrera befintliga  system till Windows Azure

Begränsningar i SQL Azure• Integrated Full-Text Search• FILESTREAM Data• Resource Governor• Table Partitioning• …http://msdn.microsoft.com/en-us/library/ff394115.aspx

Page 13: Migrera befintliga  system till Windows Azure

2. Testa befintlig kod mot SQL Azure

Page 14: Migrera befintliga  system till Windows Azure

3. Skapa Azure-projekt, testa i Windows Azure-emulator

Page 15: Migrera befintliga  system till Windows Azure

Client Relying Party

DomainController

1

2

Kerberos Service Ticket

proof

claims name: Robert, groups : … …

Trust

Page 16: Migrera befintliga  system till Windows Azure

Client

KerberosServiceTicket

DomainController

Applikationen migreras till Azure

Page 17: Migrera befintliga  system till Windows Azure

Client

Token

DomainController

Trust

Token

SecurityTokenService

Page 18: Migrera befintliga  system till Windows Azure

Mer om ADFS/WIFSession imorgon…

Page 19: Migrera befintliga  system till Windows Azure

4. Testa i Windows Azure

Page 20: Migrera befintliga  system till Windows Azure

Vanliga fallgropar

Page 21: Migrera befintliga  system till Windows Azure
Page 22: Migrera befintliga  system till Windows Azure

Vanliga fallgropar• Inga ”sticky sessions” tillgängliga i Azure

– Lägg sessions-state i SQL Azure eller Azure Caching• Applikationen skriver till lokal disk/registret

– Skriv till Azure Blob/Table storage/SQL Azure/Azure Caching

• Systemet integrerar med annat system via specifika brandväggsöppningar– Så länge applikationen inte raderas kommer IP-adressen

i Azure inte ändras. Alternativt använd Azure Connect

Page 23: Migrera befintliga  system till Windows Azure

Internet

StorageTables

LB

Blobs

Worker Service

Worker ServiceWorker Role

Web Site(ASPX, ASMX, WCF)Web Site

(ASPX, ASMX, WCF)Web Role

(ASPX, WCF, etc.)

Queues

SQL Azure LB LB

LBLB

Service BusAccess Control Cache

Page 24: Migrera befintliga  system till Windows Azure

Använd möjligheterna i Azure• Service Bus för integration mellan

löst kopplade system

Page 25: Migrera befintliga  system till Windows Azure

Mer om Azure Service bus17:45 - Clemens Vasters: Windows Azure Service Bus Introduction and Future

Imorgon 12.30 – Clemens Vasters: Windows Azure Service Bus Deep Dive

Page 26: Migrera befintliga  system till Windows Azure

Automatisera

Page 27: Migrera befintliga  system till Windows Azure
Page 28: Migrera befintliga  system till Windows Azure
Page 29: Migrera befintliga  system till Windows Azure
Page 30: Migrera befintliga  system till Windows Azure

“COA” – Cost Oriented Architecture

Page 31: Migrera befintliga  system till Windows Azure

Learning by doing: snabbaste sättet att komma igång med en migrering till Windows Azure

Page 32: Migrera befintliga  system till Windows Azure

Tack!

Robert Folkesson | Active [email protected] | @rfolkes

www.robertfolkesson.se

Page 33: Migrera befintliga  system till Windows Azure