Open source your daily work! What happens if your daily work is - - PowerPoint PPT Presentation

β–Ά
open source your daily work
SMART_READER_LITE
LIVE PREVIEW

Open source your daily work! What happens if your daily work is - - PowerPoint PPT Presentation

Open source your daily work! What happens if your daily work is happening in the open? DrupalEurope Darmstadt Bastian Widmer - @dasrecht | @amazeeio We will talk about: open source, challenges, benefits, a bit of history a recap on our past


slide-1
SLIDE 1

Open source your daily work!

What happens if your daily work is happening in the open?

DrupalEurope Darmstadt Bastian Widmer - @dasrecht | @amazeeio

slide-2
SLIDE 2

We will talk about: open source, challenges, benefits, a bit of history a recap on our past year.

slide-3
SLIDE 3

$> whoami bastian

System Engineer at amazee.io Open Source Containers in Production πŸ‘Ό πŸ€— Zurich, Switzerland @dasrecht Too many side projects!

  • DevOpsDays Zurich
  • CommunityRack.org
  • TEDxBern
slide-4
SLIDE 4

πŸ™Œο™‹πŸ™Œο™‹πŸ™ŒπŸ™Œο™‹πŸ™Œο™‹πŸ™Œ

slide-5
SLIDE 5

Who uses open source software daily?

slide-6
SLIDE 6

Raise your hand if you use one of the following tools:

slide-7
SLIDE 7

Drupal

slide-8
SLIDE 8

Drupal, Composer

slide-9
SLIDE 9

Drupal, Composer, MariaDB

slide-10
SLIDE 10

Drupal, Composer, MariaDB, Redis

slide-11
SLIDE 11

Drupal, Composer, MariaDB, Redis, Node.js

slide-12
SLIDE 12

Drupal, Composer, MariaDB, Redis, Node.js, Nginx

slide-13
SLIDE 13

Drupal, Composer, MariaDB, Redis, Node.js, Nginx, Apache

slide-14
SLIDE 14

Drupal, Composer, MariaDB, Redis, Node.js, Nginx, Apache, PHP

slide-15
SLIDE 15

Drupal, Composer, MariaDB, Redis, Node.js, Nginx, Apache, PHP, Linux

slide-16
SLIDE 16

Let’s agree: Open source is everywhere!

slide-17
SLIDE 17

So, amazee.io?

slide-18
SLIDE 18

amazee.io

  • Hosting Platform tailored to Drupal
  • Part of the Amazee Group
  • Team of 11
  • Hosting since 8 years
  • High-Performance and High-Traffic sites
  • We’re a remote team
  • Hosting in 16 different countries
  • Cloud and on-premise
slide-19
SLIDE 19

Local Development Iterations

From Vagrant to Docker in 3 Years

slide-20
SLIDE 20

We went from Vagrant to Containers!

  • many many System Engineers
slide-21
SLIDE 21

Iterations

  • 2014
  • Hey Vagrant is cool! = Vagrant & Chef
  • 2015
  • Ok Vagrant and Puppet it is!
  • 2016
  • It’s not flexible, uses a lot of space and

updating is a pain!

  • Let’s take look at Docker
  • Building tooling around Docker - pygmy
  • Customer Demand: Decoupled Websites
  • Why using Containers just locally?

Pygmy: https://github.com/amazeeio/pygmy

slide-22
SLIDE 22

Iterations

  • 2017
  • First Website running on Docker!
  • Eureka! This actually works!
  • Open Source?
  • Open Source! - Lagoon
  • Default stack for new projects hosted

with us

  • 2018
  • Project is gaining traction
  • CLI Tool
  • The long awaited UI
  • and much more (it’s just September now)
slide-23
SLIDE 23

Lagoon?

  • 4. Iteration of our hosting stack
  • Microservices
  • Deployment pipeline for Drupal and
  • ther web projects
  • Local development environment
slide-24
SLIDE 24

Microservices!

slide-25
SLIDE 25

TL;DR

Local Lagoon Openshift Kubernetes

slide-26
SLIDE 26

More Details

Local

Develop with docker-compose

Lagoon

  • Reads docker-

compose.yml

  • Build Images
  • Setup Project
  • Push Images to

Registry

  • Configure

Resources

  • Monitor Rollouts

OpenShift / Kubernetes

Orchestration

Notifications

Webhooks Git push

slide-27
SLIDE 27

Why open source?

slide-28
SLIDE 28

Since our beginnings, it has troubled us to see an

  • pen source project like Drupal being hosted on

proprietary hosting platforms. Today, we are making conscious decision to change that.

  • Michael Schmid , CTO amazee.io
slide-29
SLIDE 29

Opensource

  • Let’s look at conventional hosting stacks
slide-30
SLIDE 30

Hosting Stack

  • pensourceness?
  • βœ” CMS / Drupal
  • ❌ Hosting Platform
  • βœ” PHP
  • βœ” Nginx
  • βœ” MySQL / MariaDB / PostgreSQL
  • βœ” Operating System
  • βœ” Linux-Kernel
slide-31
SLIDE 31

Hosting Stack

  • pensourceness

with Lagoon

  • βœ” CMS / Drupal
  • βœ” Hosting Platform 🎊
  • βœ” PHP
  • βœ” Nginx
  • βœ” MySQL / MariaDB
  • βœ” Operating System
  • βœ” Linux-Kernel

🎊

slide-32
SLIDE 32

Lagoon is completely open source

  • All Docker Images
  • All Configurations
  • Build & Deploy Scripts
  • Testing Infrastructure

GitHub: github.com/amazeeio/lagoon

slide-33
SLIDE 33

Use Open Source to build Open Source

  • OpenShift
  • Kubernetes
  • Alpine Linux Docker Images
  • MariaDB
  • Redis
  • Node.js
slide-34
SLIDE 34
slide-35
SLIDE 35

What happened afterwards?

slide-36
SLIDE 36
slide-37
SLIDE 37

But your code is open… isn’t that insecure?

β€” someone

slide-38
SLIDE 38

When your product is free how are you going to make money?

β€” a human being

slide-39
SLIDE 39

Trust & Transparency

🀞

slide-40
SLIDE 40

We can just run it our own!

β€” potential customer

YES!

β€” our team

slide-41
SLIDE 41

We can just run it our own!

β€” potential customer

YES!

β€” our team

slide-42
SLIDE 42

Good Things

  • Everyone sees the status of the

development

slide-43
SLIDE 43

Good Things

  • Big Problems get more visibility (and

get resolved quicker)

  • A fix of one customer can help

another

  • Public Roadmap
  • Ideas Space 🎊 - Feature Requests
  • More Interaction with your

customers

slide-44
SLIDE 44

Challenges

  • But why is there your company name all over the place? 


True, let’s fix it!

slide-45
SLIDE 45

Challenges

  • Telling people that it is open source and that they can change it and open a pull

request :)

  • Not everyone is happy with having all his comments openly available
  • People expect everything we do is open source (even the legacy things)
  • Think trough your code more - make sure the next person also understands the code
slide-46
SLIDE 46

Challenges

  • Putting a price tag on open source work - e.g. Feature requests for customer

projects

slide-47
SLIDE 47

One year in - An inside view

slide-48
SLIDE 48

1 Year+

  • 357 closed Pull Requests
  • 106 Open Issues (yes, that’s a lot!)
  • 41 forks


There are actually people running a fork!

  • 23 contributors
slide-49
SLIDE 49

1 year +

People want to use it Exceeding our expectations More than just seeing the code Pull Requests are coming in! All happens in the open Hiring people to work on an open source ❀

slide-50
SLIDE 50
slide-51
SLIDE 51

Ask yourself: Could others benefit from your work if you just open source it?

slide-52
SLIDE 52

Maybe your code could be the shoulder people can stand on in the future!

slide-53
SLIDE 53

Thank you for your attention!

Bastian Widmer - @dasrecht | @amazeeio

slide-54
SLIDE 54

Thank you for your attention!

Bastian Widmer - @dasrecht | @amazeeio

slide-55
SLIDE 55