Power to the People How using containers can make your life easier - - PowerPoint PPT Presentation

power to the people
SMART_READER_LITE
LIVE PREVIEW

Power to the People How using containers can make your life easier - - PowerPoint PPT Presentation

Power to the People How using containers can make your life easier B DrupalCon Vienna! B $> whoami bastian System Engineer at amazee.io @dasrecht Too many sideprojects! TEDxBern DevOpsDays Zurich Openair


slide-1
SLIDE 1

Power to the People

How using containers can make your life easier

B

slide-2
SLIDE 2

DrupalCon Vienna!

B

slide-3
SLIDE 3

$> whoami bastian

  • System Engineer at amazee.io
  • @dasrecht
  • Too many sideprojects!

○ TEDxBern ○ DevOpsDays Zurich ○ Openair Cinema ○ I forgot at least two others…

B

slide-4
SLIDE 4

$> whoami tyler

  • also Systems Engineer at amazee.io
  • former Drupal developer
  • Oh the hobbies: ♥ VWs, woodworking,

homebrewing, and more…

  • PNW Drupal Summit 2018 organizing

committee (come to Portland!)

T

slide-5
SLIDE 5

Agenda

  • What are containers (and what are they not)
  • Benefits and pitfalls
  • Our journey into containers
  • Where are containers taking us
  • Drupal specific container tools
  • Discussion / Questions

B

slide-6
SLIDE 6

What are containers?

T

slide-7
SLIDE 7

What are containers not?

  • A VM or server
  • Docker
  • Magic solution to problems
  • DevOps/NoOps

T

slide-8
SLIDE 8

What are containers?

  • Small, fast, lightweight
  • Shared resources

○ Kernel ○ Firewalls ○ Networking

  • Secure

○ Process running in container can only see inside that container ○ Orchestration systems enforce security ○ Images are immutable

T

slide-9
SLIDE 9

What are containers?

T

slide-10
SLIDE 10

Benefits & Pitfalls

B

slide-11
SLIDE 11

“Containers will not fix your broken culture”

Bridget Kromhout

B

slide-12
SLIDE 12

Pitfalls

Tech is easy - Humans are hard (and we resist change) Hierarchical Structure of your Docker Files is important Don’t reinvent the wheel - base off of actively maintained images (e.g. Alpine / CentOS) A monolith in a container is still a monolith! Be good at OPS - BE VERY GOOD (you can easily scale your problems)!

B

slide-13
SLIDE 13

Pitfalls - Containers make it hard to ...

Monitor “correctly” Store logs consistently (because a container can just fade away and get rescheduled somewhere else) KISS, the ‘simple’ things can become not so simple anymore

B

slide-14
SLIDE 14

Benefits

  • ‘Doesn’t work on production’ goes goodbye
  • Platform independent - Build it once - run it anywhere
  • Sharing is caring, whole team can run the exact same stack
  • Multiple projects, multiple stacks, multiple versions
  • Speed - create and destroy containers in seconds
  • More flexibility / responsibility as a Developer
  • OPS is a Software Development Skill

B

slide-15
SLIDE 15

Have fun!

What can run in a docker container?

  • Ansible
  • Youtube_dl
  • tiny_care_terminal
  • FIREFOX!
  • Docker in Docker (ok that’s taking it a bit too far!)
  • But totally doable - https://hub.docker.com/_/docker/

B

slide-16
SLIDE 16

Our journey into containers

T

slide-17
SLIDE 17

It’s not going to be easy

  • 1st - Custom built by us - NIH!
  • 2nd - Managed by external Company
  • 3rd - Puppet & Ansible
  • 4th iteration of our Hosting - Containers & Microservices!

At this point in time you might skip a step and leapfrog an iteration or two :)

T

slide-18
SLIDE 18

But how did you actually get started?

  • Everyone in the room

T

slide-19
SLIDE 19

How amazee.io got started

Build local development environment Start with ‘accessory’ services PHP 5.3 Support! (no, really) Jenkinsfiles, Pipelines, Openshift Lagoon : https://www.github.com/amazeeio/lagoon

T

slide-20
SLIDE 20

Containers - TO THE FUTURE

MI CRO SER VI CES for all the things!

http://www.bttfstore.com/bttf_fire_trails.jpg

B

slide-21
SLIDE 21

The Future™

  • Cloud Native development will become the standard of application development
  • More Flexibility
  • Container Based Operating Systems (Rancher OS)
  • Containers in a Car? (Exchangeable Software Components - think Autopilots, Navigation Systems)
  • Linux containers on Windows
  • Windows Containers on Linux
  • Maybe not “Docker” anymore
  • OPS becomes a Software Development skill

B

slide-22
SLIDE 22

Who uses containers?

T

slide-23
SLIDE 23

Who uses containers?

  • Netflix - one million containers launched per week
  • Visa (100’000 transactions per day)
  • Alibaba (12 billion dollars on a `Singles Day`)
  • Drupal Hosting Providers

○ Pantheon ○ Platform.sh ○ amazee.io

T

slide-24
SLIDE 24

Drupal specific container tools

T

slide-25
SLIDE 25

Drupal Tools

  • Docker \ docker-compose
  • Kalabox\Lando
  • docker4drupal
  • ddev
  • utrigger
  • Pygmy / Cachalot

T

slide-26
SLIDE 26

Questions & Discussion

Hi I’m XYZ and I’m working with containers in production...

slide-27
SLIDE 27

We are hiring!

System Engineer x 2 (UTC Timezone Hours)

slide-28
SLIDE 28

Thank you DrupalCon Vienna!

Take the survey! https://www.surveymonkey.com/r/drupalconvienna

slide-29
SLIDE 29

References

Netflix Container Usage - https://medium.com/netflix-techblog/the-evolution-of-container-usage-at-netflix-3abfc096781b Alibaba - https://medium.com/@chatradhi.jyotsna/docker-conference-day-2-5d2ff6d9cfdc Tech is easy - Humans are Hard - Hannah Foxwell -

https://www.devopsdays.org/events/2017-zurich/program/hannah-foxwell/

slide-30
SLIDE 30

References

Tiny-care-terminal - https://hub.docker.com/r/dasrecht/tiny-care-terminal-docker/ Youtube_dl https://hub.docker.com/r/dasrecht/youtube_dl/