Top Banner
1 Jeremy Brown Docker and DevOps Why it matters Jeremy Brown Head of Middleware UK&I, Red Hat [email protected] @tenfourty
27
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Docker and DevOps - Why it matters

1

Jeremy Brown

Docker and DevOps

Why it matters

Jeremy BrownHead of Middleware UK&I, Red [email protected]@tenfourty

Page 2: Docker and DevOps - Why it matters

2

Jeremy Brown

Agenda

●DevOps

●Linux Containers AKA Docker

●OpenShift V3

Page 3: Docker and DevOps - Why it matters

3

Jeremy Brown

In the beginning...

Page 4: Docker and DevOps - Why it matters

4

Jeremy Brown

Page 5: Docker and DevOps - Why it matters

5

Jeremy Brown

Traditional relationship between Dev and Ops

●Communication between teams is non existent as they are in different silos.

●Developers wait weeks for a testing environment

●Developers develop on one platform and deployment to another

●Code is not in version control, so rollback is almost impossible

●Code breaks in prod as testing and prod environments do not look the same ( The blame game )

Page 6: Docker and DevOps - Why it matters

6

Jeremy Brown

Traditional relationship between Dev and Ops

●Operations does not understand how to install and run the application neither does the developer

●Developers have no clue about the actual load they will face in a real production environment

●Let's be honest. This sucks!

Page 7: Docker and DevOps - Why it matters

7

Jeremy Brown

I pushed my codewhy is it not in prod?

Do you have aticket?

Page 8: Docker and DevOps - Why it matters

Let there be DevOps!

Page 9: Docker and DevOps - Why it matters

DevOps integrates developers and operations teams in order to improve collaboration and productivity by automating infrastructure, automating workflows and continuously measuring application performance.

Key concepts:●Small changes -> Less Risk●Fail fast and recover vs. Never fail●Culture change: Acceptance of failure

Page 10: Docker and DevOps - Why it matters
Page 11: Docker and DevOps - Why it matters
Page 12: Docker and DevOps - Why it matters
Page 13: Docker and DevOps - Why it matters

Linux Containers AKA Docker!

Page 14: Docker and DevOps - Why it matters

Linux Containers AKA Docker!

Page 15: Docker and DevOps - Why it matters

Linux Containers AKA Docker!

Page 16: Docker and DevOps - Why it matters

16

Jeremy Brown

WHAT ARE LINUX CONTAINERS?

Software packaging concept that typically includes an application and all of its runtime dependencies.

● Easy to deploy and portable across host systems

● Isolates applications on a host operating system

● In RHEL, this is done through:

● Control Groups (cgroups)

● kernel namespaces

● SELinux, sVirt, iptables

● Docker

HOST OS

SERVER

CONTAINER

LIBS

APP

Page 17: Docker and DevOps - Why it matters

17

Jeremy Brown

WHAT ARE LINUX CONTAINERS?

Software packaging concept that typically includes an application and all of its runtime dependencies.

● Easy to deploy and portable across host systems

● Isolates applications on a host operating system

● In RHEL, this is done through:

● Control Groups (cgroups)

● kernel namespaces

● SELinux, sVirt, iptables

● Docker

HOST OS

SERVER

CONTAINER

LIBS

APP

Dockah Dockah Dockah!!!

Page 18: Docker and DevOps - Why it matters

18

Jeremy Brown

“Everything at Google, from Search to Gmail, is packaged and run in a Linux container.”1

- Eric Brewer, VP of Infrastructure, Google

SOME OF THE MOST ADVANCED INFRASTRUCTURES RUN ON CONTAINERS

1 Source: http://googlecloudplatform.blogspot.com/2014/06/an-update-on-container-support-on-google-cloud-platform.html

Page 19: Docker and DevOps - Why it matters

19

Jeremy Brown

APPLICATION DELIVERY VIA CONTAINERS

Page 20: Docker and DevOps - Why it matters

20

Jeremy Brown

MANY SEE CONTAINERS AS THE UTOPIA OF APPLICATION DELIVERY

Provide app high availability

Consolidate servers

Lower deployment costs

Streamline dev and test

Reduce effort to deploy apps

Deploy apps faster

0 0.1 0.2 0.3 0.4 0.5 0.6

24%

25%

30%

38%

51%

54%

% of respondents

Source: TechValidate survey of 79 IT professionals

“What top benefits do you see with containers?”

Page 21: Docker and DevOps - Why it matters

21

Jeremy Brown

BENEFITS OF CONTAINERS

DEPLOYMENTFLEXIBILITY

FASTER APPDELIVERY

OPERATIONALEFFICIENCY

LOWEREDDEPLOYMENT

COSTS

Containers transform the way you deliver applications to accelerate innovation.

Page 22: Docker and DevOps - Why it matters

22

Jeremy Brown

TOP 5 FACTS ABOUT CONTAINERS

Containers are not new.Containers do not equal virtualization.Containers are not universally portable.Containers do not contain.Containers are enterprise-ready.

1

2

3

4

5

Page 23: Docker and DevOps - Why it matters

OpenShift

Page 24: Docker and DevOps - Why it matters

OPENSHIFT V3 INTEGRATES DOCKER

● Multi-version packaging format and isolation

● Simplified container API (Docker libcontainer)

● Easy to create (Dockerfile)

● Atomic deployment (Docker images)

● Large ecosystem (Docker Hub)

Page 25: Docker and DevOps - Why it matters

25

● Container orchestration at scale

● Wiring of multi-container, multi-host application topologies

● Scheduling / placement

● Manage container health

OPENSHIFT V3 BUILT ON KUBERNETES

Page 26: Docker and DevOps - Why it matters

Sebastian Faulhaber ([email protected])26

WITH DEVOPS POWERED BY OPENSHIFT…

IDEA CODE PRODUCTION

INMINUTES / HOURS / DAYS

INSTEAD OFWEEKS / MONTHS / YEARS

Page 27: Docker and DevOps - Why it matters