Configuration Management vs. Container Automation

23
Configuration Management vs. Container Automation Arnold Bechtoldt, Johannes M. Scheuermann Gent, 02.02.2016

Transcript of Configuration Management vs. Container Automation

Page 1: Configuration Management vs. Container Automation

Configuration Management vs. Container Automation

Arnold Bechtoldt, Johannes M. Scheuermann

Gent, 02.02.2016

Page 2: Configuration Management vs. Container Automation

Arnold Bechtoldt Systems Engineer @ inovex (Germany)

〉  Software-Defined Datacenters (XaaS)

〉  Infrastructure as Code

〉  Continuous Integration/Delivery

〉  High Availability & Scale-Out

〉  DevOps & Consulting

2

Page 3: Configuration Management vs. Container Automation

Johannes M. Scheuermann Student @ inovex (Germany)

〉  Software-Defined Datacenters (XaaS)

〉  Container (Docker, rkt)

〉  Orchestration (Kubernetes, Mesos)

〉  High Availability & Scale-Out

〉  OpsDev

3

Page 4: Configuration Management vs. Container Automation

1.  Motivation 2.  Pitfalls & Lessons Learned

3.  Use Cases

4.  Conclusions

5.  Q&A

Agenda

4

Page 5: Configuration Management vs. Container Automation

〉  Several backgrounds 〉  Different opinions

〉  Experience in small to large scaled enterprise environments

〉  (Some) beers and discussions

〉  Goal: Share ideas/lessons learned

Motivation

5

Page 6: Configuration Management vs. Container Automation

Pitfalls & Lessons Learned

Page 7: Configuration Management vs. Container Automation

〉  Software development „at its best“ §  VCS/refactoring/pair programming/CI/CD

§  Code quality is important

〉  Over-Engineering (Generic Code) §  KISS

〉  „Configuration Management is Legacy (OS) Management!“ §  Lightweight containers (process isolation) to reduce OS management „overhead“?

„Config Management sucks“ (Pitfalls)

7

Page 8: Configuration Management vs. Container Automation
Page 9: Configuration Management vs. Container Automation

〉  „Docker is still a hype!“ §  Gives you lots of opportunities

§  Choose your tool stack wisely

§  Avoid „Bing Bang“ changes

〉  Lack of well-known/established open standards §  Open Container Initiative

§  CNI (CoreOS) vs. CNM (Docker)

„Containers suck, too“ (Pitfalls)

9

Page 10: Configuration Management vs. Container Automation

〉  „Docker security is a mess!“ §  Basic understanding of cgroups/caps/ns are helpful

§  Physical separation!

§  Talk & work with your devs

〉  „Images on Docker Hub are insecure!“ §  Just community contributions

§  Docker images are packages/artifacts, treat them like VMDK/VHD/VDI/DEB/RPM

§  Build your own (lightweight) (base) images

§  Use base images without lots of userland tools if possible (e.g. Alpine Linux)

„Containers suck, too“ (Pitfalls)

10

Page 11: Configuration Management vs. Container Automation

〉  Over-Engineered Dockerfiles („/bin/bash“) §  KISS

§  Software/Process isolation

§  Replace large shell scripts with CM running outside the container

〉  Scheduling/Orchestration is a whole new area §  KISS if possible

§  Step-by-step/Smooth migration

„Containers suck, too“ (Pitfalls)

11

Page 12: Configuration Management vs. Container Automation

12

Page 13: Configuration Management vs. Container Automation

Use Cases

Page 14: Configuration Management vs. Container Automation

14

Private

Public

Cloud

IaaS

PaaS/CaaS

VMs

Containers

Apps

Setup CM

CM CM?

Page 15: Configuration Management vs. Container Automation

〉  Continuous integration & delivery 〉  Microservices (rapid deployment)

〉  Blue/Green Deployment (immutability)

Use Cases

15

Page 16: Configuration Management vs. Container Automation

Conclusions

Page 17: Configuration Management vs. Container Automation

〉  Containers aren‘t the holy grail, but enhance architecture 〉  Containers have lower overhead compared to VMs

〉  Containers and CM share the same problems

〉  Containers won‘t work without Dev(+)Ops cooperation

〉  Containers and CM Systems will coexist J

Conclusions

17

Page 18: Configuration Management vs. Container Automation
Page 19: Configuration Management vs. Container Automation
Page 20: Configuration Management vs. Container Automation
Page 21: Configuration Management vs. Container Automation

21

We are hiring

http://www.inovexperts.com

Page 22: Configuration Management vs. Container Automation

Q&A

Page 23: Configuration Management vs. Container Automation

Arnold Bechtoldt inovex GmbH

CC BY-NC-ND +ArnoldBechtoldtGER

github.com/bechtoldt

arbe.io

@johscheuer inovex.de +JohannesScheuermann

github.com/johscheuer

youtube.com/inovexGmbH

[email protected]

Johannes M. Scheuermann inovex GmbH

[email protected]