© Copyright 2015 Hewlett -Packard Development Company, L.P ...h41382. · default_type:...

Post on 17-Aug-2020

0 views 0 download

Transcript of © Copyright 2015 Hewlett -Packard Development Company, L.P ...h41382. · default_type:...

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

L’applicatif mange le monde…

$18 MilliardTransport

$5 MilliardEntertainment

$35 MilliardPhotography

$16 MilliardCommunication

$10 MilliardTravel & Hospitality

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Déploie de codes toutes les

11 secondes.Déploiement d’une nouvelle release tous les

6 mois

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Avez-vous déjàrencontré un

développeur?(un vrai)

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

SERVER

DATABASE

NETWORK

MIDDLEWARE SECU

RITY

CODE

(beaucoup)

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

SERVER DATABASENETWORK MIDDLEWARE

CODE

(beaucoup)

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

1 VM ATTENDRE

INSTALL OS MIDDLEWARE

DATABASE CONFIG

RESEAUX COPIER CODE

TESTS

push « my app »

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

target <cloud>

push <mon app>

bind <services>

scale <mon app> --instances +10

#HPWorldTourFR@ecointet

Où Suis-je ?

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

App

Plateforme

Infrastructure

Gmail, Salesforce, Flickr, Google Docs, HP Snapfish…

Google AppEngine,Heroku, Cloud Foundry, Helion

Development Platform, Apprenda...

Amazon EC2, Google CE,OpenStack, vCloud,

Joyent, HP Helion Openstack,…

#HPWorldTourFR@ecointet

Old Fashion VS New Style

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

elastic pool

databaseapp instance

app instance

Network load balancer

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

[mysqld]user = foobarport = 3306basedir = /usrbind-address = 172.58.77.101key_buffer = 16Mthread_stack = 128Kthread_cache_size = 8

[nginx]http.include mime.types;default_type: application/octet;log_format: main ‘$remote_addr[]…’

[tomcat]<Connector redirectPort=“8443” emptySessionPath…/><bean id=“sessionFactory” class=“org.springframework…/>

[frontend]dependencies:- mysqlclient- rubyfiles:- core/app/fe/**/*- core/common/**/*

[blah]- blah blah blah

elastic pool

databaseapp instance

app instance

Network load balancer

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

target mycloud

push myapp–instances 2–mem 64

create-servicemysql –name mydb

elastic pool

databaseapp instance

app instance

Network load balancer

Cloud Foundry : principes

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Platform

ConsumersNetwork

DNS / LB/ …

Services

Service(s)

WEB

Cloud-Native App

…Instance(s)

BUIL

DPA

CK

Cloud Foundry : L’Architecture

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Infrastructure WEB

Consumers

Developers

CloudController App App

Execution Agents (DEA) Pool

HealthManager

Messaging

Routers

Services

#HPWorldTourFR@ecointet

Une Application Cloud-Native

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Définir les dépendances(frameworks, libs)

Définir un fichier de configuration

Demander les services utiles

Build version

(release, debug…)

Release XX.YY

Port d’écoute

Déplaçable

Logs

Un code uniqueMy App

Services

N instances

#HPWorldTourFR@ecointet

Comment héberger Cloud Foundry?

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Compute Storage Network

Identity Security

Web

Inte

rfac

e

Database

Private cloud Public cloudManaged virtual private cloud

Managed private cloud

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Compute Storage Network

Identity Security

OPE

NST

ACK

Database

Private cloud Public cloudManaged virtual private cloud

Managed private cloud

CloudController App App

Execution Agents (DEA) Pool HealthManager

Messaging

Routers

Services

App App

CLO

UD

FO

UN

DRY

COD

EAPPLICATION

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Private cloud Public cloudManaged virtual private cloud

Managed private cloud

Développercloud-native applications

Déployeracross clouds

Délivrerhighly available and scalable

apps

HP Helion OpenStack

HP Helion Development Platform

Openstack

Dev Platform

OPE

NST

ACK

CLO

UD

FO

UN

DRY

COD

E#HPWorldTourFR

@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

IaaS

Minutes to code

Utiliser Helion OpenStackpour créer un Cluster PaaS

Fournir un environnement avec toutes les ressources nécessaires

Le développeur pousse du code avec eclipse ou autre

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

« C’est du vrai PaaS.Je suis un développeur, je code, rien d’autre. »

Etienne Cointet, HP World Tour 2015,

#HPWorldTourFR@ecointet

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.