3. … Animé par une plateforme collaborative,
développée sous Drupal
4. Les avantages d’Aegir pour la gestion
d’une offre SaaS : c’est FACILE
4
• Facile de lancer un nouveau client
• Facile de migrer vers la dernière
version de code
• Facile de lancer des instances de test
• Facile de gérer tous les instances clients
• Facile d’étendre les fonctionnalités de
l’interface admin (si on connait déjà bien
Drupal et Drush)
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
5. Architecture modulable, avec une codebase commune
partagée sur plusieurs clients et des migrations faciles
5
Version Delta Version Gamma
Drupal Core 6.22 Drupal Core 6.25
Module Module Module Module Module Module
Code PHP
Contrib A Givco P Givco Q Tiers A Givco P Givco Q
Module Module MIGRATION Module Module Module
Contrib B Givco R Tiers B Givco R Givco S
CREATION
Instance Instance Instance Site Instance Instance
Config &
Fichiers
Client 1 Client 2 Client 3 Client 3 Client 3β Client 4
TEST
données
Base de
Client 1 Client 2 Client 3 Client 3β Client 4
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
6. Amazon Web Services: Leader de l’IaaS
(Infrastructre as a Service)
6
• Serveurs virtualisés « nus » : EC2
• Stockage : EBS & S3 (99.999999999% durabilité)
• Content Delivery Network : CloudFront
• Load balancer : ELB
• DNS: Route 53
• Service e-mailing: Amazon SES
• Service Mysql: RDS
• Service Memcached: Elasticache
7. Les avantages d’Amazon Web Services
7
• Mise en place facile et immédiate
• Allégement des taches administratives avec des
« Managed Services »
• Scalabilité, durabilité et redondance
• « Rapid Prototyping » d’une infrastructure
• Intégration de la gestion de l’infrastructure dans
vos applications avec des APIs très complets
en PHP
8. Option basique: une seule instance EC2 pour Apache,
Mysql, l’administration Aegir et nos installs clients
8
Cloud
Amazon Web Services
Instance EC2
Stockage
Stockage pérenne
virtualisé
AWS Backups sur
EBS AWS
S3
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner
9. Option intermédiaire: des instances EC2 pour Apache
(Aegir + installs clients) et Mysql géré par RDS
9
Cloud
Amazon Web Services
Instances EC2 avec Apache
pour Aegir
Stockage
virtualisé
AWS
EBS
Backups sur
Instances EC2 avec AWS
Apache pour sites clients S3
Base AWS RDS
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner
10. 10
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
11. 11
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
12. 12
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
13. 13
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
14. 14
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
15. 15
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
16. 16
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
17. 17
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
18. 18
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
19. 19
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner 4/27/2012
21. The Whole Enchilada: Une infrastructure complète,
redondante, et performante sur AWS
21
Cloud
AWS
File Servers
sur AWS EC2 Stockage
virtualisé
AWS
SES AWS
EBS
AWS Elastic Load Balancer Cluster(s) Apache
avec termination SSL
en Autoscale
Stockage
sur AWS EC2
pérenne
Backups sur
AWS
AWS
Elasticache
S3
Base AWS RDS
Multi AZ
(redondant)
AWS
Route 53
Instance EC2 avec
DNS Apache pour Aegir
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner
22. Cluster Autoscaling sur AWS avec Aegir:
Quelques points
22
• Création d’une image machine « AMI » standard pour la
création d’instances à la volée
• Paramétrage AWS de groupe d’autoscale et ses conditions
• Répertoire « sites » de chaque plateforme sur disque
partagé (NFS, GlusterFS, …) → utiliser script Drush
• Mise à jour des plateformes poussée à chaque instance du
clusteur au moment de son instantiation
• Aegir ne communique à qu’une seule instance « maitre » →
les changements dans la BDD et le fichier partagé sont
reprises par tous les autres instances « esclaves »
23. Contacts:
Tim LOVELOCK
tim@givingcorner.com
tel: +33 (0)685870854
Giving Corner SAS
27 rue du Chemin Vert
75011 Paris, France
www.givingcorner.com
STRICTLY CONFIDENTIALThis document may not be distributed without the express written permission of Giving Corner