Persistent Storage for
Containerized Applications
Irshad Raihan
Product Marketing, Red Hat Storage
Container
Linux Containers
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
Greater Portability, Automation, and Integration
Code Registry
Push image
Code & Build Test Deploy
Pull image
“Linux Containers” “Docker”
Why Now?
The Road to Storage as a Service
Waterfall Monolithic Bare Metal Data Center Scale Up
Agile N-tier Virtual Servers Hosted ScaleOut
DevOps Microservices Containers Hybrid Cloud
Storage
as a Service
Development
Model
Application
Architecture
Deployment
& Packaging
Application
Infrastructure Storage
Why Persistent Storage for Containers?
Base: 194 IT operations and development decision-makers at enterprises inAPAC, EMEA, and NorthAmerica
Source:A commissioned study conducted by ForresterConsulting 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
Driving the Future of Storage
• Dedicated storage cluster
for containerized and PaaS
environments
• Supported for OpenShift
Enterprise
RHGS Container
• Containerized Red Hat Gluster Storage
serving storage from a dedicated
storage cluster
• Optimized for applications running on
RHEL 7, OpenShift Enterprise, and
RHEL Atomic Host
• Containerized Red Hat Gluster
Storage inside OpenShift Enterprise
hyper converged with application
containers
• Red Hat Gluster Storage cluster
comprised of disks from multiple
nodes in a container cluster
Convergence
of Storage
and Compute
Nov 2015 March 2016 Summer 2016
Container Node 1
NGINIX Container
Container Node 2
NGINIX Container
Dedicated Storage for Containers
Container Node 1
NGINIX Container
Container Node 3
MySQL
Container
Containerized Red Hat Gluster Storage
Container Node 1
NGINIX Container
Container Node 2
NGINIX Container
Hyper Converged Storage
Container
NGINIX Container
MASTER
OpenShift Node 2
Container
MySQL Container
OpenShift Node 3
PostGres
Container
OpenShift
Node 1
OpenShift
Node 4
RHGS Container RHGS Container
RHGS Container
• LowerTCO
• Unified Orchestration
• Ease of Use
• Greater control
BENEFITS
• New agilities allowed telco to bring a new offering to market faster
and cheaper than ever
• Lower cost than traditional storage and avoiding an endless
commitment to proprietary vendors
• Flexible, geo-replicated architecture can
grow and shrink dynamically
• Option to be tuned for price or performance (or a blend)
HYPER CONVERGED STORAGE
• Applications and storage can co-exist on the same hardware
• Allows for higher server utilization and lowers operational costs
• Storage generates only 3%–10% overhead on compute servers
Customer Success
The Red Hat Stack – From PaaS to Storage
DevOpsTools and User Experience
Language Runtimes and Middleware
Databases and Other Services
Container Orchestration and Management
Container API
Storage
Container Host
ThankYou
Automated
Configuration
Single
Control Plane
Choice of
Persistent Storage
NFS
iSCSI Fiber
Channel
Ceph
RBD
GlusterFS
Amazon
EBS
GCE
Storage Innovation for Containerized Applications
HOST OS, SHARED SVCS
SERVER, CLOUD
CONTAINER
LIBS
APP
CONTAINER
LIBS
APP
HOST OS
SERVER
VIRTUAL
MACHINE
LIBS
APP
HYPERVISOR
GUEST
OS
VIRTUAL
MACHINE
LIBS
APP
GUEST
OS
SERVER
LIBS
APP
HOST OS
• Deploy in Days or Weeks
• Single App Instance
• Deploy in Hours or Days
• 10s or 100s of Apps
• Deploy in Seconds or Minutes
• 100s or 1000s of Apps
Bare Metal Virtualization Containers
What’sThe Big Deal?
LightweightVirtualization
HOST OS, SHARED SVCS
SERVER, CLOUD
CONTAINER
LIBS
APP
CONTAINER
LIBS
APP
HOST OS
SERVER
VIRTUAL
MACHINE
LIBS
APP
HYPERVISOR
GUEST
OS
VIRTUAL
MACHINE
LIBS
APP
GUEST
OS
• Less Overhead
• Faster Instantiation
• Better Isolation
• Easier Scale
Containers vs.Virtualization
HOST OS, SHARED SVCS
SERVER, CLOUD
CONTAINER
LIBS
APP
CONTAINER
LIBS
APP
HOST OS
SERVER
VIRTUAL
MACHINE
LIBS
APP
HYPERVISOR
GUEST
OS
VIRTUAL
MACHINE
LIBS
APP
GUEST
OS
• Abstracts OS Kernel
• Limited to Linux
• One CPU and memory mgr
• Up in seconds
• 100s or 1000s
• Multiple copies of single app
• Abstracts entire device
• Any Operating System
• Two CPU and memory mgrs
• Up in hours or days
• 10s or 100s
• Multiple apps
Security & Compliance in the Era of Containers
As illustrated by the three little pigs!
Ifone house isbroken into, therestremainsecure...a lotmoremaintenancethough!
STANDALONE HOMES
Bare Metal
Hypervisor,sVirtandthe hostkernelprovideseparation...
butstill cost ofmaintainingseparateOSes
DUPLEX HOME
Virtualization
APARTMENT BUILDING
Excellent sharing of services, lower cost of maintenance…
But what if the front desk (kernel) is compromised?
Containers

Persistent Storage for Containerized Applications

  • 1.
    Persistent Storage for ContainerizedApplications Irshad Raihan Product Marketing, Red Hat Storage
  • 2.
  • 3.
    Linux Containers Software packagingconcept 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.
    Greater Portability, Automation,and Integration Code Registry Push image Code & Build Test Deploy Pull image
  • 5.
  • 6.
    The Road toStorage as a Service Waterfall Monolithic Bare Metal Data Center Scale Up Agile N-tier Virtual Servers Hosted ScaleOut DevOps Microservices Containers Hybrid Cloud Storage as a Service Development Model Application Architecture Deployment & Packaging Application Infrastructure Storage
  • 7.
    Why Persistent Storagefor Containers? Base: 194 IT operations and development decision-makers at enterprises inAPAC, EMEA, and NorthAmerica Source:A commissioned study conducted by ForresterConsulting 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
  • 8.
    Driving the Futureof Storage • Dedicated storage cluster for containerized and PaaS environments • Supported for OpenShift Enterprise RHGS Container • Containerized Red Hat Gluster Storage serving storage from a dedicated storage cluster • Optimized for applications running on RHEL 7, OpenShift Enterprise, and RHEL Atomic Host • Containerized Red Hat Gluster Storage inside OpenShift Enterprise hyper converged with application containers • Red Hat Gluster Storage cluster comprised of disks from multiple nodes in a container cluster Convergence of Storage and Compute Nov 2015 March 2016 Summer 2016
  • 9.
    Container Node 1 NGINIXContainer Container Node 2 NGINIX Container Dedicated Storage for Containers Container Node 1 NGINIX Container Container Node 3 MySQL Container
  • 10.
    Containerized Red HatGluster Storage Container Node 1 NGINIX Container Container Node 2 NGINIX Container
  • 11.
    Hyper Converged Storage Container NGINIXContainer MASTER OpenShift Node 2 Container MySQL Container OpenShift Node 3 PostGres Container OpenShift Node 1 OpenShift Node 4 RHGS Container RHGS Container RHGS Container • LowerTCO • Unified Orchestration • Ease of Use • Greater control
  • 12.
    BENEFITS • New agilitiesallowed telco to bring a new offering to market faster and cheaper than ever • Lower cost than traditional storage and avoiding an endless commitment to proprietary vendors • Flexible, geo-replicated architecture can grow and shrink dynamically • Option to be tuned for price or performance (or a blend) HYPER CONVERGED STORAGE • Applications and storage can co-exist on the same hardware • Allows for higher server utilization and lowers operational costs • Storage generates only 3%–10% overhead on compute servers Customer Success
  • 13.
    The Red HatStack – From PaaS to Storage DevOpsTools and User Experience Language Runtimes and Middleware Databases and Other Services Container Orchestration and Management Container API Storage Container Host
  • 14.
  • 15.
    Automated Configuration Single Control Plane Choice of PersistentStorage NFS iSCSI Fiber Channel Ceph RBD GlusterFS Amazon EBS GCE Storage Innovation for Containerized Applications
  • 16.
    HOST OS, SHAREDSVCS SERVER, CLOUD CONTAINER LIBS APP CONTAINER LIBS APP HOST OS SERVER VIRTUAL MACHINE LIBS APP HYPERVISOR GUEST OS VIRTUAL MACHINE LIBS APP GUEST OS SERVER LIBS APP HOST OS • Deploy in Days or Weeks • Single App Instance • Deploy in Hours or Days • 10s or 100s of Apps • Deploy in Seconds or Minutes • 100s or 1000s of Apps Bare Metal Virtualization Containers What’sThe Big Deal?
  • 17.
    LightweightVirtualization HOST OS, SHAREDSVCS SERVER, CLOUD CONTAINER LIBS APP CONTAINER LIBS APP HOST OS SERVER VIRTUAL MACHINE LIBS APP HYPERVISOR GUEST OS VIRTUAL MACHINE LIBS APP GUEST OS • Less Overhead • Faster Instantiation • Better Isolation • Easier Scale
  • 18.
    Containers vs.Virtualization HOST OS,SHARED SVCS SERVER, CLOUD CONTAINER LIBS APP CONTAINER LIBS APP HOST OS SERVER VIRTUAL MACHINE LIBS APP HYPERVISOR GUEST OS VIRTUAL MACHINE LIBS APP GUEST OS • Abstracts OS Kernel • Limited to Linux • One CPU and memory mgr • Up in seconds • 100s or 1000s • Multiple copies of single app • Abstracts entire device • Any Operating System • Two CPU and memory mgrs • Up in hours or days • 10s or 100s • Multiple apps
  • 19.
    Security & Compliancein the Era of Containers As illustrated by the three little pigs!
  • 20.
    Ifone house isbrokeninto, therestremainsecure...a lotmoremaintenancethough! STANDALONE HOMES Bare Metal
  • 21.
    Hypervisor,sVirtandthe hostkernelprovideseparation... butstill costofmaintainingseparateOSes DUPLEX HOME Virtualization
  • 22.
    APARTMENT BUILDING Excellent sharingof services, lower cost of maintenance… But what if the front desk (kernel) is compromised? Containers