who's who in container land
TRANSCRIPT
© 2015 Cloud Technology Partners, Inc. / Confidential 1v
Tampa Bay Cloud Computing Meetup
Who’s Who in Containers
© 2015 Cloud Technology Partners, Inc. / Confidential 2
• Intros
• Why Containers?
– Use Cases
• Containers vs VMs
• Who’s Who
• Open Discussion
Agenda
© 2015 Cloud Technology Partners, Inc. / Confidential 3
A useful analogy…
Source: Docker
© 2015 Cloud Technology Partners, Inc. / Confidential 4
Mu
ltip
licit
y
of
Go
od
sM
ult
ipilic
ity
of
meth
od
s
for
tran
sp
ort
ing
/ sto
rin
g
Do
I wo
rry
ab
ou
t ho
w
go
od
s
inte
ract
(e.g
. co
ffee
bean
s n
ext
to s
pic
es)
Can
I
tran
sp
ort
qu
ickly
an
d
sm
oo
thly
(e.g
. from
bo
at to
train
to tru
ck)
Cargo Transport Pre-1960
Source: Docker
© 2015 Cloud Technology Partners, Inc. / Confidential 5
? ? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ?
Creates an NxN Matrix
Source: Docker
Resulted in non-optimal use of shipping vessels
© 2015 Cloud Technology Partners, Inc. / Confidential 6
Solution: Intermodal Shipping Container
…in between, can be loaded and
unloaded, stacked, transported
efficiently over long distances,
and transferred from one mode
of transport to another
A standard container that is
loaded with virtually any
goods, and stays sealed
until it reaches final delivery.
Source: Docker
© 2015 Cloud Technology Partners, Inc. / Confidential 7
This eliminated the NXN problem…
Source: Docker
© 2015 Cloud Technology Partners, Inc. / Confidential 8
Static website Web frontend User DB Queue Analytics DB
Development
VMQA server Public Cloud Contributor’s
laptop
Containers are ‘shipping containers’ for code
Production
ClusterCustomer Data
Center
An engine that enables any
payload to be encapsulated
as a lightweight, portable,
self-sufficient container…
Source: Docker
…that can be manipulated using
standard operations and run
consistently on virtually any
hardware platform
© 2015 Cloud Technology Partners, Inc. / Confidential 9
Static website Web frontend User DB Queue Analytics DB
Development
VMQA server Public Cloud Contributor’s
laptopProduction
ClusterCustomer Data
Center
Source: Docker
Or…put more simply
Developer: Build Once, Run
Anywhere (Finally)
Operator: Configure Once, Run
Anything
© 2015 Cloud Technology Partners, Inc. / Confidential 10
Static website
Web frontend
Background workers
User DB
Analytics DB
Queue
Development VM QA ServerSingle Prod
ServerOnsite Cluster Public Cloud
Contributor’s
laptop
Customer
Servers
Containers solves the NXN problem
Source: Docker
© 2015 Cloud Technology Partners, Inc. / Confidential 11
• Common Benefits
– Agility
– Scalability/High Availability
– Cost Optimization
– Portability
Why Containers?
• Common Use Cases
– CI/CD Automation
– Auto scaling micro-services architectures
– Containers as a Service
– Hybrid cloud architectures
© 2015 Cloud Technology Partners, Inc. / Confidential 12
Use Case – CI/CD Pipelines
© 2015 Cloud Technology Partners, Inc. / Confidential 13
Use Case – Autoscaling Highly Available Architectures
Source: Google
Move scalability, availability, resiliency IT plumbing work from the app to the
container management solutions
© 2015 Cloud Technology Partners, Inc. / Confidential 14
Use Case - Containers as a Service
Old Way New Way
• Bring your own technologies
• Standardize
• Portability
• Roll your own PaaS
• Inefficient use of resources
• Solving same problems over & over
• Patching nightmare
• High overhead on management & Ops
VS.
© 2015 Cloud Technology Partners, Inc. / Confidential 15
Use Case – Hybrid Cloud
© 2015 Cloud Technology Partners, Inc. / Confidential 16
Containers vs VMs
© 2015 Cloud Technology Partners, Inc. / Confidential 17
Containers vs VMs
© 2015 Cloud Technology Partners, Inc. / Confidential 18
Containers vs VMs
Value Containers Virtual Machines
Boot speed
Footprint size
Maturity
Security
Ease of Patching
Developer Agility
Containers within VMs give you the best of both worlds!
© 2015 Cloud Technology Partners, Inc. / Confidential 19
Virtual Machines (VM) plus Containers
VMs are very mature and have years of production usage
- Many companies use VMs to deliver highly secured containers
Container
1
Container
2
Container
3
VM
Pros
- Increase security
- Data protection
- Standard
Cons
- Additional overhead
- Slight performance
hit
© 2015 Cloud Technology Partners, Inc. / Confidential 20
Who’s Who in Container Land
© 2015 Cloud Technology Partners, Inc. / Confidential 21
Who are the Key Players?
© 2015 Cloud Technology Partners, Inc. / Confidential 22
Docker
Leader and innovator in this space Docker is the leader of the container ecosystem
- Pivoted from dotCloud PaaS provider
- Open Sourced in 2013
- Raised $190M last 2 years
- Currently most popular container
technology
© 2015 Cloud Technology Partners, Inc. / Confidential 23
Docker
© 2015 Cloud Technology Partners, Inc. / Confidential 24
The Docker “Trio” - Machine, Swarm, Compose
Zero to Docker in 1 command
- Supports multicloud
- Simplifies creating
containers
- Powerful commands
Native Clustering for Docker
- API access
- Integrates w/Discovery
services
- Scale applications
Compose complete stacks
- Define multi-container app
in a single Dockerfile
- Run app in a cluster w/a
single command
© 2015 Cloud Technology Partners, Inc. / Confidential 25
Docker Compose
Running a docker
cluster is a simple as
creating a YML file
and running a 1 line
command !!!!
© 2015 Cloud Technology Partners, Inc. / Confidential 26
CoreOS has a suite of products
© 2015 Cloud Technology Partners, Inc. / Confidential 27
Rkt – aka Rocket
• Build in response to security concerns with Docker Daemon approach
• Root access to daemon creates risks
• Rkt & Docker are both driving Open Container Project
• Integrates with entire ecosystem
• Use cases with running Docker containers in prod for additional
security
© 2015 Cloud Technology Partners, Inc. / Confidential 28
Kubernetes
Orchestration & Management Most mature solution on the marketplace
- Has been used internally by Google since 2004
- Google launches 2B containers a week
- Uses it for their own products, cloud platform
- Allows for policy management, orchestration,
registry
- Supports for OpenStack announced
- Announced Ubernetes for multi-site clustering
© 2015 Cloud Technology Partners, Inc. / Confidential 29
Kubernetes components
Replication controllers create
new pod "replicas" from a
template and ensures that a
configurable number of those
pods are running.
A Service offers low overhead
way to route requests to a
logical set of pod backends in
the cluster based on a label
selector.
Services also provide a
mechanism for surfacing
legacy components such as
databases with a cluster
Replication
ControllersServicesLabels
Labels are metadata that are
attached to objects, such as
pods.
They enable organization and
selection of subsets of objects
with a cluster.
Pods
Pods are ephemeral units that
are used to manage one or
more tightly coupled
containers.
They enable data sharing and
communication among their
constituent components.
Source: Google
© 2015 Cloud Technology Partners, Inc. / Confidential 30
Kubernetes – Resilient HA Architectures
Source: Google
© 2015 Cloud Technology Partners, Inc. / Confidential 31
Apache Mesos
© 2015 Cloud Technology Partners, Inc. / Confidential 32
Mesos – Resilient HA Architectures
Source: Mesos
© 2015 Cloud Technology Partners, Inc. / Confidential 33
Mesos/Mesospher - Frameworks
© 2015 Cloud Technology Partners, Inc. / Confidential 34
The Container Ecosystem
© 2015 Cloud Technology Partners, Inc. / Confidential 35
Rounding out the Container Ecosystem
Source: Wikibon
© 2015 Cloud Technology Partners, Inc. / Confidential 36
Rounding out the Container Ecosystem
Source: Wikibon
© 2015 Cloud Technology Partners, Inc. / Confidential 37
Open Discussion
© 2015 Cloud Technology Partners, Inc. / Confidential 38
Thanks to the various sources used in this presentation.
• Read this great post from Wikibon and watch all the videos
• Cloud Technology Partners – Blogs, videos, whitepapers
• DockerCon 2015 YouTube channel
Further research
© 2015 Cloud Technology Partners, Inc. / Confidential 39vv