Upload
jeremy-brown
View
287
Download
0
Tags:
Embed Size (px)
Citation preview
1
Jeremy Brown
Docker and DevOps
Why it matters
Jeremy BrownHead of Middleware UK&I, Red [email protected]@tenfourty
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 )
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!
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
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
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!!!
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
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?”
21
Jeremy Brown
BENEFITS OF CONTAINERS
DEPLOYMENTFLEXIBILITY
FASTER APPDELIVERY
OPERATIONALEFFICIENCY
LOWEREDDEPLOYMENT
COSTS
Containers transform the way you deliver applications to accelerate innovation.
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
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)
25
● Container orchestration at scale
● Wiring of multi-container, multi-host application topologies
● Scheduling / placement
● Manage container health
OPENSHIFT V3 BUILT ON KUBERNETES
Sebastian Faulhaber ([email protected])26
WITH DEVOPS POWERED BY OPENSHIFT…
IDEA CODE PRODUCTION
INMINUTES / HOURS / DAYS
INSTEAD OFWEEKS / MONTHS / YEARS