Automate Drupal deployments with Linux Containers, Docker and Vagrant
DrupalCon Prague 2013: AUTOMATE DRUPAL DEPLOYMENTS WITH LINUX CONTAINERS, DOCKER AND VAGRANT
The problem(s) of Full virtual servers:
- Consume another layer of system memory.
- IO is slower than the actual real system and makes Drupal sluggish to respond.
- Are very complex to configure.
- Drupal needs faster automated deployments solutions.
- Costumers need full shell access, with services admin.
The proposed solution:
- Linux containers with vagrant & docker automatic deployments.
https://github.com/ricardoamaro/drupal-lxc-vagrant-docker
https://github.com/ricardoamaro/docker-drupal
LXC is a lightweight virtualization method that provides operating system-level virtualization optional to an heavy full virtual machine. It relies on the Linux kernel cgroups functionality that became available in version 2.6.24, It provides a virtual environment that has its own process and network space. This option makes the perfect option for deploying several contained Drupal dev environments independent of the distribution.
Docker is a solution from dotCloud, which simplifies and improves the process of creating and managing Linux containers.
Vagrant 1.1+ lxc plugin allows it to control and provision Linux Containers as an alternative to the built in (and heavy) Vagrant VirtualBox provider for Linux hosts.
Comments
anarcat replied on Permalink
aegir q&a overflow
awesome, an aegir-related session, I will be there! :)
i have scheduled an Aegir Q&A BOF following this so that we can take our time answering users questions. Unfortunately, only the lunch area was available:
https://prague2013.drupal.org/bof/aegir-users-and-admins-qa
anarcat replied on Permalink
aegir q&a overflow
awesome, an aegir-related session, I will be there! :)
i have scheduled an Aegir Q&A BOF following this so that we can take our time answering users questions. Unfortunately, only the lunch area was available:
https://prague2013.drupal.org/bof/aegir-users-and-admins-qa
anarcat replied on Permalink
wrong session
oops! posted this to the wrong session, sorry! (and twice, even ;)
anarcat replied on Permalink
video?
is there a video of this?
ricardoamaro replied on Permalink
Screencasts on youtube:
Screencasts on youtube:
Drupal deployment on lxc using Vagrant:
https://www.youtube.com/watch?v=HjUOwDzXNBM
Docker lxc container with drupal
https://www.youtube.com/watch?v=OIYRa8Y5D04