azure storage

20
Windows Azure Alexander Galkin Alexander Isakov ESP, MCSA, MCT SP, MCTS

Upload: alexander-galkin

Post on 05-Dec-2014

261 views

Category:

Technology


1 download

DESCRIPTION

Vortrag über Azure Storage im Rahmen von Team Nord Conference in Hamburg

TRANSCRIPT

Page 1: Azure storage

Windows AzureAlexander Galkin Alexander IsakovESP, MCSA, MCT SP, MCTS

Page 2: Azure storage

Ablauf1. What is Windows Azure2. Azure as Data Storage3. Azure as Application Server4. Mobile Services

Page 3: Azure storage

Cloud Computing

Software-as-a-Service

consume

SaaSPlatform-as-a-Service

build

PaaSInfrastructure-as-a-Service

host

IaaS

Page 4: Azure storage

Datenarten

Documents/Lists

Images Tables

Non-structured, binary data

Partially structured Data

Data in relational tables

Page 5: Azure storage

Blob storage Table Storage SQL AzureKurze Beschreibung BLOB-Datenbank, Dateisystem NoSQL-Datenbank, Key-Value

StorageKlassisches RDMS

Für welche Daten geeignet Binäre Daten Semi-struktirierte Daten Strukturierte Daten

Größeneinschränkung Gesamt: 100 TB, 200GB für Block- und 1TB für Seiten-BLOB

Gesamt: 100TB, 252 Spalten pro Tabelle, 1MB pro Eintrag

DB-Größe: 150 GB

Abrechnungsmodel Nach tatsächlicher Größe und Zugriffe

Nach tatsächlicher Größe und Zugriffe

Nur nach maximaler Datenbankgröße

Protokolle REST (HTTP) REST (OData) TDS

Abfragen Block- bzw,. Seitenweiser Zugriff Einfache Abfragen mit OData T-SQL

Skalierbarkeit Automatisch nach Last Automatisch nach Last Manuell durch Federations

Transaktionen Keine Über Entitätsgruppen Datenbankweit

Geo-Replikation Automatisch mit Failover mit CND-Option

Automatisch mit Failover Manuelle durch Data Sync

* Without Drive uad Queue.

Data Storage in Azure*

Page 6: Azure storage

Azure Blob Storage

Unstructured Data StorageManaged serviceHundreds of gigabytes per blob in size 100TB per storage accountREST APIGeo-replication for disaster recovery

Page 7: Azure storage

Blob Storage

BlobContainerAccount

http://<account>.blob.core.windows.net/<container>/<blobname>

Pages/ Blocks

contoso

PIC01.JPG

Block/Page

Block/Page

PIC02.JPG

images

VID1.AVIvideos

Page 8: Azure storage

1. Höhe Verfügbarkeit: 99,9% nach SLA.

2. Datenredundanz: dreifache Geo-Replikation.

3. Zwei Arten von Blobs: Blockblobs (optimiert für Streaming u.a. über CDN) und Seitenblob (optimiert für zufälliger Zugriff)

4. Dreistufige Hierarchie: Konto→ Container→BLOB

5. Drei Zugriffslevels: private, public read, full public.

6. Jeder BLOB kann bis 8KB KV-Metadaten haben.

Key Facts

Azure Blob Storage

Page 9: Azure storage

DemoBLOB Storage

Page 10: Azure storage

Azure Table StorageNoSQL Data StorageFully managed PaaSKey-valueHierarchicalREST APIGeo replication

Storage Account: MovieData

Star WarsMatrixFan Boys

Table Name: Movies

Entity

Table

Account

Page 11: Azure storage

Table Storage ConceptsEntityTableAccount

contoso

Name =…Email = …

Name =…EMailAdd=

customers

Photo ID =…Date =…

photos

Photo ID =…Date =…

Page 12: Azure storage

No Fixed Schema

FIRST LAST BIRTHDATE

Wade Wegner 2/2/1981

Nathan Totten 3/15/1965

Nick Harris May 1, 1976

FAV SPORT

Canoeing

Page 13: Azure storage

1. Höhe Verfügbarkeit: 99,9% nach SLA.

2. Datenredundanz: dreifache Geo-Replikation.

3. Drei obligatorische Spalten: PartitionKey + RowKey als String (Primärschlüssel und Sharding), und TimeStamp (optimistische Konkurrenz)

4. Bis 252 benutzerdefinierte Spalten pro Tabelle

5. Dreistufige Hierarchie: Konto→ Tabelle→Entität

Key Facts

Azure Table Storage

Page 14: Azure storage

PartitionKey(Kategorie)

RowKey(Titel)

TimeStamp Author Erschreinungsjahr

Krimi Illuminati … Dan Brown 2004

Krimi Veblendung … Stieg Larsson 2005

Sci-Fi Babylon 5 … Joe Straczynski 1998

Sci-Fi Sternkriege … George Lucas 1981

Wahl und Bedeutung von PartitionKey

Azure Table Storage

Server ATable = Books

[Krimi]

Server BTable = Books

[Sci-Fi]

Page 15: Azure storage

DemoTable Storage

Page 16: Azure storage

Windows Azure SQL Database

Relational Data StorageRelational database as a serviceFully managedHigh availability, scalability, & global reachFamiliar language and framework support

Page 17: Azure storage

• RDBMS mit Tabellen, Sichten, gespeicherten Prozeduren, Indizen, Triggern, eigenen Datentypen.

• Nicht alle Features vom MS SQL Server werden unterstützt (CLR, Mirroring, räumliche Daten, Dateigruppen fehlen)Whitepaper: http://go.microsoft.com/?linkid=9692818

• Zwei Editions: Web Edition (1-5Gb), Business Edition (10-150Gb)

• Verbingunsendpunkt liegt hinter einer Firewall und soll nicht für Internet zugänglich sein.

Key Facts

Azure SQL

Page 18: Azure storage

DemoSQL Azure

Page 19: Azure storage

Azure SQL Infrastruktur

SQL Server

DB1Web

DB2Business

Fire

wal

l

Cloud App

Title

Desktop-Anwendung

Title

Webanwendung (SL bzw. HTML5)

Page 20: Azure storage