23
Aegir. Deploying and managing large networks of Drupal websites.

Aegir presentation

Embed Size (px)

DESCRIPTION

Made for Drupal Camp Kiev 2013

Citation preview

Page 1: Aegir presentation

Aegir. Deploying and managing large networks of Drupal websites.

Page 2: Aegir presentation

100 Drupal experts,

#1 in France for Drupal

Page 3: Aegir presentation

What is Aegir?

A Drupal that creates

Drupals (drupalception)

A set of Drush commands

that manage servers and

websites

Page 4: Aegir presentation

Why Aegir?

Easy update and

maintain Drupal core and

modules

Websites cloning

One-click websites deploy

Page 5: Aegir presentation

Use cases

Mass hosting

Dev. > Stage > Live

Upgrades of existing websites

Automatic testing

Page 6: Aegir presentation

Terminology

Server

Platform

Website

Client (user)

Task

Page 7: Aegir presentation

Servers

Database servers (MySQL and compatible)

Web servers (Apache, nginx)

SOLR servers (with extension)

Page 8: Aegir presentation

Platforms

Drupal 6+

Open Atrium

Open Publish

Drupal commerce

Panopoly

Commons

…and more

Page 9: Aegir presentation

Platforms

Drupal installations

Located in /var/aegir/platforms

Can be built with .make file

Page 10: Aegir presentation
Page 11: Aegir presentation

Website(Automatically created)

-r--r----- 1 aegir aegir 441285 May 29 16:22 drushrc.php

drwxrws--- 13 aegir www-data 4096 May 29 16:22 files

drwxrwsr-x 2 aegir aegir 4096 May 29 16:20 libraries

drwxrwsr-x 2 aegir aegir 4096 May 29 16:20 modules

drwxrws--- 4 aegir www-data 4096 May 29 16:20 private

-r--r----- 1 aegir www-data 3278 May 29 16:20 settings.php

drwxrwsr-x 2 aegir aegir 4096 May 29 16:20 themes

automatically generated!

Page 12: Aegir presentation

ArchitectureEverything is a node:

Server, Platform, Website

Correspond to a Drushalias:

@server_localhost @platform_drupal7

@music.is-amazing.com

Even task is a node:

Verify, Migrate, Clone

Correspond to command:

# drush hosting-task 88

Page 13: Aegir presentation

Architecture

Frontend Backend

Page 14: Aegir presentation
Page 15: Aegir presentation

1. Create or choose new platform.2. Upload all your contrib modules and themes to the new target

platform. 3. Re-verify the target platform in Aegir. 4. Clone your live site with working subdomain in the old platform. 5. Re-verify old platform and also just cloned site. 6. Migrate cloned site to the new platform. 7. Check if the cloned site works without any issues. 8. if the step 7 above works, you can safely migrate the live site

Upgrading your site, Aegir style

Page 16: Aegir presentation

Modules

HTTP Basic AuthHosting backup

queueHosting site gitHosting SOLRHosting VarnishHosting tasks extraHosting reinstall... and more

Page 17: Aegir presentation

Extending

Custom configuration:local.settings.php

Hooks:drush_hosting_hook_pre_hosting_task()hook_provision_apache_vhost_config()hosting_hook_hosting_service()drush_hook_provision_drupal_config()hook_hosting_site_options_alter()… more at http://api.aegirproject.org/

Page 18: Aegir presentation

Known problems

Complicated to installHard to debugOnce created – never

deleted. Manual deletion.2.x is still alpha3.x is only planned

Page 19: Aegir presentation

Want more?

BOA stack:

Barracuda

Octopus

Why? Because Drupal installing Drupal is not enough!

Aegir installing Aegirs is better

Page 20: Aegir presentation

Aegir-as-a-service

OmegaCC - http://omega8.cc/

Koumbit - http://koumbit.org

ThinkDrop - http://thinkdrop.net/

Initfour - http://www.initfour.nl/

Page 21: Aegir presentation

Roadmap

Aegir 3.0

Better services support

Port to Drupal 7

Reduce core package, more contrib

Aegir 2.0 stable

Testing, testing, testing

Better nginx support