Red Hat Storage Day LA - Persistent Storage for Linux Containers
1. Persistent Storage for Linux Containers
Louis Gordon
Senior Storage Solutions Architect, Red Hat
2. Linux Containers in brief
A Software packaging concept that typically includes an application and all of its runtime dependencies
• Higher Quality Software
Releases
• Shorter Test Cycles
• Easier Application
Management
HOST OS
SERVER
CONTAINER
LIBS
APP
CONTAINER
LIBS
APP
Benefits
4. The Red Hat Stack – From PaaS to Storage
DevOps Tools and User Experience
Language Runtimes and Middleware
Databases and Other Services
Container Orchestration and Management
Container API
Storage
Container Host
5. Typical workloads for Containers
Base: 194 IT operations and development decision-makers at enterprises in APAC, EMEA, and North America
Source: A commissioned study conducted by Forrester Consulting on behalf of Red Hat, January 2015
“For which workloads or application use cases have you used/do you anticipate to use containers?”
Scalable, Cost Effective, Distributed Storage for Containers
6. Why Containers require persistent Storage?
• Web & presentation layers should be stateless ... but ...
• That’s probably < 5% of all application instances in a DC
• Most other infrastructure applications / services require persistence for
storing application and configuration data
• Building a different infrastructure for stateful vs. stateless apps ?
• Modern IT requires Standardization (e.g. Cloud Computing)
• Software-defined DC is a hybrid cloud enabler
7. The requirements for Container Storage?
• Scalable – Scale out capacity & performance
• Resilient – Likely there will be important data
• Flexible – Allow different application access profiles
• Software-defined – To allow flexible deployment models
• Open – For customer choice and lowest TCO
RED HAT
STORAGE➔
8. Current Options for Persistent Storage
Shared Filesystems:
• NFS
• GlusterFS
Block Storage:
• Ceph RBD
• iSCSI or FC
• GCE Persistent Disk
• AWS Elastic Block Store
9. Storage Options Comparison
NFS-Filer GlusterFS Ceph
RBD
iSCSI / FC GCE PD AWS EBS
Scalability - + ++ - ++ ++
Availability + ++ ++ + + +
Cost - ++ + ++ - -
Deploymen
t
Flexibility
- ++ ++ - - -
Data
Privacy
++ ++ ++ ++ -- --
Sharing
Data
++ ++ +/- - - -
Use Cases Generic Data
Sharing
Generic Data
Sharing
Very Large
Deployments,
Object Store
High
Performance
Block
Cheap Block
Storage
Cheap Block
Storage
12. Persistent Storage requires Redundancy
• Red Hat Storage includes important data redundancy features
• 2-way and 3-way replication
• Erasure Coding
• Geo-Replication
• Snapshots
23. Customer Case Study: CapitalOne
Business Challenge:
• A leading diversified bank with 65 million customers
• Fast growing business and customer base
• Need to be disruptive and different
• Analytics plays a big role in growth strategy
Solution Description:
• Predefined docker images with a wide variety of analytics
tools
• Self-service Portal for developers to pick and instantiate
• Integrated monitoring and metrics
• Automated lifecycle management of containers
• High availability through MESOS
• Shared and consolidated Storage Platform with Gluster
Solution Benefits:
• More agile application development
• Larger choice of technologies
• Optimal resource usage and
performance
25. Customer Case Study: Verizon
D
o
c
k
e
r
c
o
n
t
a
i
n
e
r
s
r
u
n
n
i
n
Business Challenge:
• Verizon is the largest provider of cellular services in the United States with
more than 100 million subscribers. Pretty much every subscriber takes
‘selfies’ and snaps of the kittens and these need to be backed up. Whilst many
users use Apple’s iCloud, or Yahoo’s Flickr, Verizon also has their own branded
Cloud offering – Verizon Cloud.
• Verizon wished to use a file-based format rather than converting all these
images to Objects and to have an extremely efficient architecture in terms of
the use of their server infrastructure.
Solution Description:
• Simplified Deployment via containers
• Seamless upgrade and rollback
• Dedicated and Containerized Gluster for FSaaS
• Dynamic scaling (up) of capacity as needed
• Performance and health metrics collection via container monitoring agents
and sending alerts.
Solution Benefits:
• Quicker time to market for new services
• Increased subscriber ‘stickiness’ and improving customer
satisfaction.
• Reduced infrastructure Costs
• Infrastructure can grow as demand grows
26. ETH/IB
app app app
app app app
Converged Computing Architecture
Mixed App and Storage Workloads
App-only servers
Converged servers
app
app +
Storage-only servers
app app app app
app app app app
app app app app
app app
app
Storage stack imposes only
3% - 10% load on compute
processing
• Applications and storage
stacks can co-exist on same
compute substrate.
• This achieves higher server
utilization and lower
operational costs across the
cloud
Customer Case Study: Verizon
27. Summary
• Most containerized applications will require Persistent Storage
• Software-defined Storage allows hyper-convergence for applications and
storage
• Red Hat Storage and OpenShift Enterprise provide a complete PaaS solution
with full deployment flexibility from on-premise to hybrid clouds