Lagoon
OpenSource Build & Deployment System for OpenShift & Kubernetes
Melbourne Drupal User Group
Pain points of Development
- Locally not the same as in Production
- Every site needs something different
- Branches & Pull Requests but no testing for them
- Deployments are scarry
![](https://i.imgflip.com/251t77.jpg)
History
- 2015
- Local Development on Vagrant
- 2016:
- Too much pain - need something faster
- Local Development in Docker
- Decoupled Requirements
- First Production Site in Docker
- 2017:
- We like that!
- Open Source FTW - Lagoon
Open Source
Proprietary Hosting
vs.
![](https://media.giphy.com/media/lYKvaJ8EQTzCU/giphy.gif)
![](https://media.giphy.com/media/1M9fmo1WAFVK0/giphy.gif)
![](https://media.giphy.com/media/Qh2MZDIHvZavK/giphy.gif)
![](https://media.giphy.com/media/jI5r0JsdscSZy/giphy.gif)
![](https://media.giphy.com/media/ujFnFvzBcx2M0/giphy.gif)
Proprietary Hosting
Open Sourceness of Drupal Hosting
- ✅ Drupal
- ❌ Hosting Platform
- ✅ PHP
- ✅ Nginx
- ✅ MySQL
- ✅ Operating System
- ✅ Linux
Lagoon is fully Open Source
- All Docker Images
- All Service Configurations
- Build & Deploy Scripts
- Test Infrastructure
Lagoon uses Open Source
- OpenShift
- Kubernetes
- Alpine Docker Images
TL;DR;
Local
OpenShift
Kubernetes
Lagoon
Too Short; Want More.
Local
OpenShift
Kubernetes
Lagoon
![](https://s3.amazonaws.com/media-p.slid.es/uploads/60553/images/4097954/git-logo.png)
- Reads docker-compose.yml
- Build Images
- Setup OS Projects
- Push Images to OS Registry
- Configure Resources
- Monitor Deployments
![](https://s3.amazonaws.com/media-p.slid.es/uploads/60553/images/4097967/slack_monochrome_white_icon-195d441f6af955a10f6d309d334d4230.png)
Develop with docker-compose
Notifications
Webhooks
Git Push
Orchestration
Microservices
![](https://s3.amazonaws.com/media-p.slid.es/uploads/60553/images/4098037/OpenShift_Web_Console.jpg)
Runs itself in OpenShift
Lagoon deploys Lagoon
![](https://s3.amazonaws.com/media-p.slid.es/uploads/60553/images/4098042/Slack_-_Amazee.jpg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/60553/images/4098064/giphy__7_.gif)
Lagoon is integration tested
Lagoon runs Docker Images
- Whatever you can put into Docker
- It deploys with Lagoon
Lagoon runs allows your processes
- No forced workflows
- Define your own tasks during build & rollout
Goodies for Developers
- Locally the exact same Configs, Services and Versions as in Production
- Individual Sites for every Branch & PullRequest
- Automated Testing
Goodies for Site Builders
- Full support for Configuration Management and Features
- Want to change something in Production but unsure? Create a Test Site and test first!
Goodies for Clients
- Happy Developers :)
- Automated deploy system makes releases easy and painless
Demo
Wanna help?
- https://github.com/amazeeio/lagoon
- Don't worry - everything tested
- Native Kubernetes support?
- More CMS support?
- Your ideas!
Lagoon Melbourne Drupal User Group May 2017
By Michael Schmid
Lagoon Melbourne Drupal User Group May 2017
- 1,312