Migrer vers le cloud grâce au Model-Driven

53
Xavier Warzee Microsoft France http://blogs.msdn.com/x avierw http://warzee.fr MIGRER VERS LE CLOUD GRÂCE AU MODEL- DRIVEN Pascal Roques A2 Artal Innovation http://consultants.a2-artal.fr/proqu es

description

 

Transcript of Migrer vers le cloud grâce au Model-Driven

Page 1: Migrer vers le cloud grâce au Model-Driven

Xavier WarzeeMicrosoft Francehttp://blogs.msdn.com/xavierwhttp://warzee.fr

MIGRER VERS LE CLOUD GRÂCE AU MODEL-DRIVEN

Pascal RoquesA2 Artal Innovationhttp://consultants.a2-artal.fr/proques

Page 2: Migrer vers le cloud grâce au Model-Driven

A2 - ARTAL INNOVATION

A2 est constituée d’une équipe de consultants expérimentés issus de groupes de conseil IT

Basés à Paris et Toulouse20% de R&D

Adossée à Artal Technologies (55% du capital) SSII de plus de 100 personnes100% spécialisée dans les nouvelles technologies,

J2EE, Mobilité, Virtualisation, Sécurité Processus agiles (Scrum), certification ISO 9001 (en cours)Orientation métier et projet

Des synergies fortes entre les deux sociétés

22

A2

Artal

Décrypter et

filtrer l’innovati

on

R&D

Trouver des

solutions

Consulting

Construire des

applications

Projets

Partager l’innovati

on

Training

Consulting

Evénements

Page 3: Migrer vers le cloud grâce au Model-Driven

A2 Modeling Team

Equipe pilotée par Pascal Roques,

Consultant Sénior, + de 20 ans d’expérience Certifié UML2 par l’OMG et ScrumMaster Co-fondateur de l’association SysML France

Auteur des ouvrages les plus lus en France sur UML et SysML

Séminaires techniquesPrésentations courtes et ciblées à vos équipes, dans vos locaux, pour répondre à vos questions

Conseil, accompagnement

Coaching, transfert de compétences, audit de modèles… Production de modèles, support outils, rédaction de guides méthodologiques

Formations Formations standard SysML et UML2 du catalogue A2 Elaboration de formations sur mesure Formations outils (EA, etc.)

MODÉLISATION : SERVICES

Page 4: Migrer vers le cloud grâce au Model-Driven

AGENDA Contexte : pourquoi migrer vers le Cloud ?

Principes d’Oslo

Retour d’expérience A2-Artal Innovation Modélisation du SI : focus sur le niveau

applicatif Usage d’un DSL pour faciliter la modélisation Usage d’un IDE pour configurer une application Comparaison UML / Oslo

Page 5: Migrer vers le cloud grâce au Model-Driven

CONTEXTE

Page 6: Migrer vers le cloud grâce au Model-Driven

POURQUOI LE CLOUD ?

Hype Cycle for Emerging Technologies: 2008

Page 7: Migrer vers le cloud grâce au Model-Driven

POURQUOI LE CLOUD ?

Hype Cycle for Emerging Technologies: 2009

Source : Gartner July 2009

Page 8: Migrer vers le cloud grâce au Model-Driven

UNE ÉVOLUTION NORMALE

Source: Forrester Research, Inc

Page 9: Migrer vers le cloud grâce au Model-Driven

APPORTER DE L’ÉLASTICITÉ AU SI

Cf. Above the Clouds: A Berkeley View of Cloud Computing, UC Berkeley

Page 10: Migrer vers le cloud grâce au Model-Driven

APPORTS DU CLOUD

agilité pour le stockage : gestion simplifiée des grands volumes

agilité pour le calcul : provisionning/deprovisionning à la

demande ou automatique (fonction de la charge)

agilité d’intégration /collaboration: bus internet mutualisé, disponible, tenant la charge …

Page 11: Migrer vers le cloud grâce au Model-Driven

CONTEXTES D’ENTREPRISES

SI urbanisé(services)

Page 12: Migrer vers le cloud grâce au Model-Driven

COMMENT MODÉLISER CE TYPE D’ENJEU ?

Modéliser les données, les applications, les processus métier, policies (accès, ..)

Dimension entreprise : business, architecture, développement, production

Intervenants multiples Backgrounds et objectifs variés

Solutions particulières BPMN pour les processus métier UML pour le développement

Variante d’UML : SysML au niveau SI DSL pour des parties prenantes non techniques : fonctionnels, financiers, … SQL pour les données ITIL, …

Comment partager ces informations pour identifier les enjeux de migration vers le « cloud » ?

Page 13: Migrer vers le cloud grâce au Model-Driven

DÉMARCHE DE MODÉLISATION

• Identifier quoi migrer• Données, Services, Processus métier

• Adapter la Gouvernance • Policies

• Définir les objectifs à atteindre • Réduire les coûts d’investissements• Augmenter l’agilité du SI (consolider, virtualiser, …)• Réduire des délais de calcul (marché concurrentiel, TTM)• Éviter des investissements pour des projets exploratoires• Améliorer la qualité de services (simplifier la gestion des gros

volumes de données, …)

Définir une trajectoire vers le cloud

• Manipulation simple des instances• Création des modèles multi-niveaux et multi-vues• Mise à jour simple du modèle par différents métiers

Contraintes sur la modélisation du SI

Page 14: Migrer vers le cloud grâce au Model-Driven

PRINCIPES D’OSLO

Page 15: Migrer vers le cloud grâce au Model-Driven

Bus de Services

Repository

Cloud

Outils de modélisation

Runtimes

Langage de modélisation

Analyste Arch Dev IT Pro

OSLO : LA DÉMARCHE

Page 16: Migrer vers le cloud grâce au Model-Driven

L’ENVIRONNEMENT OSLO

Le langage L’éditeur de texte « Intellipad »

Extensible and configurable Support du langage « M »

Le référentiel « Oslo » Référentiel des modèles basé sur « SQL Server » Des domaines (méta-modèles) disponibles (e.g.,

CLR, UML) « Quadrant »

Éditeur graphique configurable pour visualiser les modèles

Page 17: Migrer vers le cloud grâce au Model-Driven

LA LANGUAGE M

Page 18: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION AVEC QUADRANT

Page 19: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION AVEC QUADRANT

Page 21: Migrer vers le cloud grâce au Model-Driven

OSLO : DU SI AU CLOUD

Page 22: Migrer vers le cloud grâce au Model-Driven

A2 Artal Innovation

RETOUR D’EXPÉRIENCE

Page 23: Migrer vers le cloud grâce au Model-Driven

URBANISATION DU SI

Page 24: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION DU S.I.

•Diagramme d’activité

Architecture Métier

•Diagramme de composant

•Diagramme de séquence

Architecture Fonctionnell

e

•Diagramme de composant

•Diagramme de séquence

Architecture Applicative

•Diagramme de déploiement

Architecture Technique

Page 25: Migrer vers le cloud grâce au Model-Driven

NIVEAU MÉTIER UML : diagramme d’activité

Page 26: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION AVEC QUADRANT

Page 27: Migrer vers le cloud grâce au Model-Driven

FOCUS SUR LE NIVEAU APPLICATIF

• Application :• Nom des applications• Type d’applications

• Collaboratif, Business, Prototype, Spécifique

Modèle au niveau applicatif

• Réduction des coûts,• Simplification par consolidation des ressources• Profiter rapidement de nouvelles capacités de traitement, de

stockage

Objectifs de passage au Cloud

• Conformité à des cadres réglementaires, légaux, …• Données sensibles de l’entreprise

Contraintes

Page 28: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION DES APPLICATIONS

UML : classe Oslo/M : MSchéma

Page 29: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION DES APPLICATIONS

UML : composant Oslo/M : MSchema

Page 30: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION DES APPLICATIONS

SysML : block ? Pour utiliser les Flow Ports !

Et les FlowSpecification

Page 31: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION DES APPLICATIONS

UML : créer un profil ?

Oslo/M : Mschéma Profil UML => Module

!

Stéréotype UML => Type !

Page 32: Migrer vers le cloud grâce au Model-Driven

CATÉGORIES D’APPLICATIONS DANS UN SI

Application runs on-premises

Application runs at a hoster

Application runs using cloud

platform

“Packaged”Application

An application that I buy “off the shelf” and

run myself

“Home Built”Application

An application that I develop and run myself

Hosted “Home Built”

An application that I develop

myself, but run at a hoster

Hosted “Packaged”

An application that I buy “off the shelf” and then run at a

hoster

Cloud Platform

An application that I develop

myself, that I run in the cloud

“Software as a Service”

A hosted application that I

buy from a vendor

Page 33: Migrer vers le cloud grâce au Model-Driven

QUELLES APPLICATIONS MIGRER VERS LE CLOUD ?

Application runs on-premises

Application runs at a hoster

Application runs using cloud

platform

“Packaged”Application

“Home Built”Application

Hosted “Home Built”

Hosted “Packaged”

Cloud Platform

“Software as a Service”

CRM / Email

Clinical Trial

MRI Imaging

HR Application

Viral Marketing

Molecule Research

“CRM and Email are commodity services. We have few customizations, and it should be cheaper for someone else to run these.”

Page 34: Migrer vers le cloud grâce au Model-Driven

QUELLES APPLICATIONS MIGRER ?

Application runs on-premises

Application runs at a hoster

Application runs using cloud

platform

“Packaged”Application

“Home Built”Application

Hosted “Home Built”

Hosted “Packaged”

Cloud Platform

“Software as a Service”

CRM / Email

Clinical Trial

MRI Imaging

HR Application

Viral Marketing

Molecule Research

“This application runs at full capacity for short periods of time at the end of each month.”

In case it is successful, we’re interested to see if the cloud would help us scale better.”

Page 35: Migrer vers le cloud grâce au Model-Driven

QUELLES APPLICATIONS MIGRER ?

Application runs on-premises

Application runs at a hoster

Application runs using cloud

platform

“Packaged”Application

“Home Built”Application

Hosted “Home Built”

Hosted “Packaged”

Cloud Platform

“Software as a Service”

CRM / Email

Clinical Trial

MRI Imaging

HR Application

Viral Marketing

Molecule Research

“MRI images are very large and exponentially growing. Is there a better way of storing these?”

“Can the cloud help us in providing compute power on an as needed basis?”

Page 36: Migrer vers le cloud grâce au Model-Driven

QUELLES APPLICATIONS MIGRER ?

Application runs on-premises

Application runs at a hoster

Application runs using cloud

platform

“Packaged”Application

“Home Built”Application

Hosted “Home Built”

Hosted “Packaged”

Cloud Platform

“Software as a Service”

CRM / Email

Clinical Trial

HR Application

Viral Marketing

Molecule Research

“Does the cloud give me the storage I’m after?”

MRI Imaging“We need to share results from our H1N1 trials with government entities.”

Page 37: Migrer vers le cloud grâce au Model-Driven

QUELLES APPLICATIONS MIGRER ?

Application runs on-premises

Application runs at a hoster

Application runs using cloud

platform

“Packaged”Application

“Home Built”Application

Hosted “Home Built”

Hosted “Packaged”

Cloud Platform

“Software as a Service”

CRM / Email

Clinical Trial

MRI Imaging

HR Application

Viral Marketing

Molecule Research

“I can’t afford to maintain this old HR application written in VB – it’s driving me mad!”

“…but due to regulatory issues, I can’t store my data off premise.”

“Does the cloud provide anything for inter-organization communication?”

Page 38: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION DES APPLICATIONS

UML : comment modéliser les instances ?

Oslo/M : MSchema

Instance avec Oslo

Page 39: Migrer vers le cloud grâce au Model-Driven

MODÉLISATION DES APPLICATIONS

UML : comment modéliser le déploiement des instances ?

Oslo/M : MSchema

Page 40: Migrer vers le cloud grâce au Model-Driven

SIMPLIFIER LA MODÉLISATION AVEC UN DSL ?

Page 41: Migrer vers le cloud grâce au Model-Driven

MON PETIT DSL

Page 42: Migrer vers le cloud grâce au Model-Driven

UN DSL POUR QUALIFIER LES APPLICATIONS

Page 43: Migrer vers le cloud grâce au Model-Driven

UN DSL POUR QUALIFIER LES APPLICATIONS

Page 44: Migrer vers le cloud grâce au Model-Driven

DU MSCHEMA AU RÉFÉRENTIEL

Page 45: Migrer vers le cloud grâce au Model-Driven

DU DSL AU RÉFÉRENTIELQuadra

nt

DSL

Référentiel

Page 46: Migrer vers le cloud grâce au Model-Driven

« M » AVEC VISUAL STUDIO 2010

Création du modèle

Page 47: Migrer vers le cloud grâce au Model-Driven

SCHÉMA & DONNÉES CRÉÉS AVEC « M »

Page 48: Migrer vers le cloud grâce au Model-Driven

APPLICATION ASP.NET MVC GÉNÉRÉE AVEC « M »

Page 49: Migrer vers le cloud grâce au Model-Driven

COMPARAISON UML / OSLO

GraphiqueStandard

Multi points de vues

TextuelDescription fine

des donnéesInstances

BD et outils

Page 50: Migrer vers le cloud grâce au Model-Driven

UML 2.1.2 DANS QUADRANT

Page 51: Migrer vers le cloud grâce au Model-Driven

CONCLUSION

UML est trop complexe dans ce cas

Un DSL permet mieux de manipuler les concepts pertinents et uniquement ceux-là

Page 52: Migrer vers le cloud grâce au Model-Driven

QUESTIONS

Page 53: Migrer vers le cloud grâce au Model-Driven

SQL Server Modeling (codename « Oslo ») Portail : http://msdn.com/data Forum : http://social.msdn.microsoft.com/Forums/en-US/oslo/threads/ La spécification du langage « M » :

http://msdn.microsoft.com/en-us/library/dd285282.aspx Professional Developers Conference (PDC) 2009 :

http://microsoftpdc.com/Sessions#/tags/Modeling http://microsoftpdc.com/Sessions#/tags/Cloud

Twitter HashTag : #sqlmodeling

Modélisation http://consultants.a2-artal.fr/proques

Architecture (Cloud, SOA, Enterprise Architecture, …) Portail : http://msdn.com/architecture The Architecture Journal : http://www.architecturejournal.net Article « Model-Driven SOA with “Oslo” »

http://msdn.microsoft.com/en-us/architecture/aa699436.aspx

RESSOURCES