les services de données (sql/nosql) sur azure
TRANSCRIPT
#GlobalAzure #ViseoSpirit
Les services de données (SQL/noSQL) sur AzureSamir AREZKI, MVP Azure, @itfana
Microsoft Azure #GlobalAzure #ViseoSpirit
GAB 2015 LYON ORAGANIZER
LOCAL SPONSORS
THANK YOU ALL !!
WORLDWIDE SPONSORS
…
#GlobalAzure #ViseoSpirit
Microsoft Azure #GlobalAzure #ViseoSpirit
• SQL – SQL Server VM (IaaS) – Azure SQL Database
• NoSQL– Azure Table Storage – DocumentDB– Azure Search– Redis cache
• Aller plus loin
Plan
3
Microsoft Azure #GlobalAzure #ViseoSpirit
• Infrastructure (IaaS ) : – Microsoft gère le matériel et la technologie de
virtualisation
• Plateforme (PaaS) : – Microsoft gère tout sauf les applications et les
données
Microsoft Azure : responsabilités
4
Microsoft Azure #GlobalAzure #ViseoSpirit
• Exécuter n’importe quel produit SQL sur une VM
• Prise en charge de SQL Server, Oracle, MySql
• Images disponibles depuis la Gallery • Stockage persistant utilisant des
disques connectés au stockage BLOB
SQL VM
5
Microsoft Azure #GlobalAzure #ViseoSpirit
démoSQL SERVER VM DEPUIS LE AZURE MARKETPLACE
6
Microsoft Azure #GlobalAzure #ViseoSpirit
• Database-as-a-service• Prêt pour l’entreprise
– Sauvegarde– Récupération– Réplication
• Un contrat SLA de 99,99 %
Azure SQL Database
7
Microsoft Azure #GlobalAzure #ViseoSpirit
démoAZURE SQL DATABASE
8
Microsoft Azure #GlobalAzure #ViseoSpirit
Niveaux de services Azure SQL Database
9
Basic Standard
Premium
Microsoft Azure #GlobalAzure #ViseoSpirit
Tailles et performances
10
Niveau de service
Niveau de performance
Taille maximale
Reprise d’activité
Basic Basic 2 GB • Service d'importation et d'exportation • La copie de base de données • Restauration dans le temps (7 jours)
Standard S0S1S2
250 GB • Service d'importation et d'exportation • La copie de base de données • Restaurer dans le temps (14 jours) • Géo-réplication standard
Premium P1P2P3
500 GB • Service d'importation et d'exportation • La copie de base de données • Restaurer dans le temps (35 jours) • Géo-réplication standard • Géo-réplication active
Microsoft Azure #GlobalAzure #ViseoSpirit
démoAZURE SQL DATABASE – REPRISE D’ACTIVITÉ
Microsoft Azure #GlobalAzure #ViseoSpirit
• Azure Storage– Table storage
• DocumentDB• Search• Redis Cache• ….
NoSQL
12
Microsoft Azure #GlobalAzure #ViseoSpirit
• Blob Storage (fichiers) • Table Storage (NoSQL) • Queue Storage (files d’attente)
Azure Storage
13
Microsoft Azure #GlobalAzure #ViseoSpirit
• Base de données NoSQL• Stocker et interroger de grands
ensembles de données non relationnelles structurées
Azure Table Storage
14
Microsoft Azure #GlobalAzure #ViseoSpirit
Azure Table Storage – Modèle
15
Entité TableCompte
contoso
customers
photos
Name =…Email = …
Name =…EMailAdd=
Photo ID =…Date =…
Photo ID =…Date =…
http://<storage account>.table.core.windows.net/<table>
Microsoft Azure #GlobalAzure #ViseoSpirit
démoAZURE TABLE STORAGE
16
Microsoft Azure #GlobalAzure #ViseoSpirit
• Fully managed, scalable JSON document database service
DocumentDB
17
Microsoft Azure #GlobalAzure #ViseoSpirit
Ce n’est pas ce type de document :
C’est quoi une base document ?
18
Microsoft Azure #GlobalAzure #ViseoSpirit
{ “id": “13244_user", "firstName": "John", "lastName": "Smith", "age": 25, "address": { "streetAddress": "21 2nd Str", "city": "New York", "state": "NY", "postalCode": "10021" }, “mobileNumber": "212 555-1234"}
Plutôt
19
Microsoft Azure #GlobalAzure #ViseoSpirit
• Concue, consuite et optimisée pour JSON
• Sans Schema et indexée• Procedures stockées, UDFs, triggers• Cohérence réglable• Evolutive et cles en mains
DocumentDB
20
Microsoft Azure #GlobalAzure #ViseoSpirit
DocumentDB
21
fully managed, scalable, queryable, schemafree
JSON document database service for modern
applications
fully featured RDBMS
transactional processing
rich query
managed as a service
elastic scale
internet accessible http/rest
schema-free data model
arbitrary data formats
Microsoft Azure #GlobalAzure #ViseoSpirit
DocumentDB Resource Model
22
Microsoft Azure #GlobalAzure #ViseoSpirit
• API REST• .NET• Node.JS• JavaScript• Python
Développement avec Azure DocuementDB
23
Microsoft Azure #GlobalAzure #ViseoSpirit
démoDOCUMENTDB
24
Microsoft Azure #GlobalAzure #ViseoSpirit
• Migraton vers DocumentDB : – SON files– MongoDB– SQL Server– CSV files– DocumentDB collections
DocumentDB Data Migration tool
25
Microsoft Azure #GlobalAzure #ViseoSpirit
DocumentDB Data Migration tool
26
Microsoft Azure #GlobalAzure #ViseoSpirit
démoDOCUMENTDB MIGRATION
27
Microsoft Azure #GlobalAzure #ViseoSpirit
Une solution de « search-as-a-service » qui permet aux développeurs d’ajour une expérience de recherche complète dans leurs applications sans avoir à gérer les infrastructures ou bien à devenir des experts de la recherche.
Azure Search
28
Microsoft Azure #GlobalAzure #ViseoSpirit
• Search-as-a-service • Simplification de la gestion des index
de recherche• Puissance et fiabilité des
performances• Montée en charge simplifiée
Azure Search
29
Microsoft Azure #GlobalAzure #ViseoSpirit
Using Azure Search
30
Mise à disposition du service
Création des indexes
Indexer des données
Rechercher
Affiner les résultats
Microsoft Azure #GlobalAzure #ViseoSpirit
démoAZURE SEARCH
31
Microsoft Azure #GlobalAzure #ViseoSpirit
• Key/Value store• Débit élevé• Performances élevées• Sécurisé• Jusqu'à 53 Go.
Azure Redis Cache
32
Microsoft Azure #GlobalAzure #ViseoSpirit
démoREDIS CACHE
33
Microsoft Azure #GlobalAzure #ViseoSpirit
• NOSQL– IAAS (VM)
• MongoDB : Document• Cassandra : Column• .. Anydatabasethatinstallson Windows or Linux
– Managed databases• MongoDB managed by MongoLabs• HDInsight Hbase : Column….
• SQL– SQL DatabaseElasticScale : Relational+ Sharding
Pour aller plus loin
34
Microsoft Azure #GlobalAzure #ViseoSpirit
GAB 2015 LYON ORAGANIZER
LOCAL SPONSORS
THANK YOU ALL !!
WORLDWIDE SPONSORS
…
#GlobalAzure #ViseoSpirit