Why you should be using Aegir: The Drupal-oriented hosting system
-
Upload
seth-viebrock -
Category
Technology
-
view
3.133 -
download
2
description
Transcript of Why you should be using Aegir: The Drupal-oriented hosting system
![Page 1: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/1.jpg)
Why you should be using AegirSeth Viebrock - Origin Eight
![Page 2: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/2.jpg)
Ægenda
• Intro to Aegir
• Installing Aegir
• Aegir in the workplace
• Using Aegir
• Aegir platform maintenance
• Aegir deployment
![Page 3: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/3.jpg)
Intro to Aegir
![Page 4: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/4.jpg)
Intro to Aegir
• What is Aegir?
• Who is using Aegir?
• Why use Aegir?
![Page 5: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/5.jpg)
What is Aegir?
![Page 6: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/6.jpg)
•A Hosting Management System (HMS)
•A Control Panel
•A Drupal platform management tool
•A site deployment tool
![Page 7: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/7.jpg)
Who is using Aegir?
![Page 8: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/8.jpg)
•Individual developers
•Web development companies
•Universities
•Hosting companies
![Page 9: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/9.jpg)
Why use Aegir?
![Page 10: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/10.jpg)
•Only takes minutes to install Aegir itself!
•Easy site spin-up
•Easy platform management
•Allows you to focus on Drupal over sysadmin
![Page 11: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/11.jpg)
Installing Aegir
![Page 12: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/12.jpg)
• Where to install Aegir
• Installation demo
• Securing your server
Installing Aegir
![Page 13: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/13.jpg)
Where to install Aegir
![Page 14: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/14.jpg)
•A VPS or dedicated server with root access
•A Virtual Machine on your own computer
•Check out the “aegir-up” project, or at least Vagrant.
•Don’t install on a machine that is already flushed out.
![Page 15: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/15.jpg)
Installation demo
![Page 16: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/16.jpg)
• Basic command line skills
• The ability to type “apt-get” and copy-paste instructions.
• Basic UNIX text editor skills (i.e. vim, emacs, nano, pico, etc)
• For production use: Ability to handle basic server maintenance and security, or the ability to pay someone to do it for you.
• Willingness to let go, and do things The Aegir Way.
Prerequisites
![Page 17: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/17.jpg)
•This demo uses the the “Automatic install on Debian” approach outlined at http://community.aegirproject.org/node/400
•Uses a Debian 6 install on a Linode (linode.com)
![Page 18: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/18.jpg)
Versus a manual install
![Page 19: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/19.jpg)
Linode install
![Page 20: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/20.jpg)
![Page 21: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/21.jpg)
Aegir install
![Page 22: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/22.jpg)
![Page 23: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/23.jpg)
![Page 24: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/24.jpg)
Aegir Platform install
![Page 25: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/25.jpg)
![Page 26: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/26.jpg)
Linode install
![Page 27: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/27.jpg)
Securing your server
![Page 28: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/28.jpg)
•Install it on a bare server or VPS
•Keep Aegir up to date
•Follow basic security measures for your particular server, i.e. http://www.thefanclub.co.za/how-to/how-secure-ubuntu-1204-lts-server-part-1-basics
![Page 29: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/29.jpg)
Aegir IN The workplace
![Page 30: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/30.jpg)
•Do you have to make a request to a sysadmin just to get a new dev site set up?
•Do you have a hackneyed or nonexistent process for upgrading Drupal core and performing security updates?
•Do you have to ask someone to find out where any given site is hosted?
•Are permissions on your files and folders unpredictable?
![Page 31: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/31.jpg)
Using aegir
![Page 32: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/32.jpg)
1.Create a platform (say, Drupal 7.14)
2.Create one or many sites in the platform. Clone a site if you wish!
3.Create another platform (say, with security updates in place, i.e. Drupal 7.18)
4.Migrate a site on another platform to the new platform.
5.Repeat
Basic workflow
![Page 33: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/33.jpg)
1.Add SSL certs via the Aegir UI.
2.Delete sites. Disable sites. Backup sites.
3. Optional: drush sql-drop -y && drush sqlc < some-other-database.sql
OTHER workflow
![Page 34: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/34.jpg)
1.Sites, tasks, platforms are “content” (nodes) in Aegir.
2.Content is mapped to configuration on the filesystem.
3.drushrc files
HMS
![Page 35: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/35.jpg)
interesting use cases• Create throw-away experimental sites in seconds.
• Want to try a new distribution? i.e. Panopoly? Just download it, point a new Aegir platform at it, and create a site in that platform with a path to the .make file.
• If you have developers, just give them access! You can restrict access perms as needed. Let them spin up sites. Don’t make them ask and wait for sysadmins!
• Use it to provision dev environments for developers, in the case where each dev instance has its own database.
![Page 36: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/36.jpg)
•I’ll give a quick look at the UI. (Live demo!)
•Does anyone have any questions on how to do something specific?
![Page 37: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/37.jpg)
Eccentricities
• Can’t install a new site on a custom platform a client handed over to you? Just install a site on your own platform and migrate to this platform.
• The aegir UNIX user owns all the code, and the www-data user owns the files. We’ve found that individual developer user accounts should be placed in the www-data and aegir groups to avoid permissions issues and allow access to modify the code.
![Page 38: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/38.jpg)
Aegir Platform maintenance
![Page 39: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/39.jpg)
•Live demo!
![Page 40: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/40.jpg)
Aegir Deployment
![Page 41: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/41.jpg)
•If you have a really beefy server, especially one that can scale on demand, and/or you have very few sites to manage, dev/integration/staging/production could technically be on the same server.
•Recommend having separate server for dev and integration, and a separate server for staging and production.
•Can only deploy the first release of a site (i.e. the first release from dev/integration to production).
![Page 42: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/42.jpg)
Why should you be using aegir?
![Page 43: Why you should be using Aegir: The Drupal-oriented hosting system](https://reader034.fdocuments.us/reader034/viewer/2022051610/5495b156b47959fa5e8b457b/html5/thumbnails/43.jpg)
•Aegir is awesome! And free! And extensible!
•Aegir as a SaaS business model.
•It helps ease awkward tasks:
•platform maintenance and security upgrades
•site installation and multisite architecture
•These awkward tasks are pain points for many users that might prevent them from using Drupal.
•Aegir and Drupal are symbiotic.