SlideShare a Scribd company logo
Selecting the Right Persistent Storage Options for Apps in
Containers
Bipin Kunal & Niels de Vos, Red Hat
Who are Bipin and Niels?
Bipin:
Product lead for Gluster Support and Maintenance
Engineer.
Niels:
Developer and Maintainer at the Gluster community
and involved in related projects.
Agenda
• What is persistent storage
• Why do we need persistent storage
• Type of persistent volumes
• Access modes for your PVs
• Performance details between different Access Modes
What is Persistent Storage?
● Persistent storage is any data storage device
that retains data after power to that device is
shut off.
Why do we need persistent storage?
• Containers are mostly stateless, but produce or
gather data for later consumption.
• Containers may not always be running or
available, the data should be kept so that a next
run can continue where it left off.
POD
RHGS
POD
RHGS
POD
RHGS
POD
RHGS
POD
INFRA
POD
INFRA
PERSISTENT
VOLUME CLAIM
OpenShift: Container-Native Storage
NFS
iSCSI
Azure Disk
GCE Disk
Ceph RBD
GlusterFS
AUTOMATED CONFIGURATION
SINGLE CONTROL PANEL
CHOICE OF PERSISTENT STORAGE
Amazon EBS
Storage Options for OpenShift
NFS WELL UNDERSTOOD, EASY TO DEMO
PROVIDES RWX STORAGE
NO HA, NOT AVAILABLE IN THE CLOUD
REQUIRES PRE-PROVISIONING
Storage Options for OpenShift: NFS
WELL UNDERSTOOD IN THE DC
BLOCK STORAGE, NO RWX SUPPORT
NOT AVAILABLE IN THE CLOUD
REQUIRES PRE-PROVISIONING
iSCSI
NFS
Storage Options for OpenShift: iSCSI
AVAILABLE IN THE CLOUD ;)
NOT AVAILABLE ACROSS AZs
PERFORMANCE DEPENDS ON SIZE
BLOCK STORAGE, NO RWX SUPPORT
Amazon EBS
Azure Disk
GCE Disk
iSCSI
NFS
Storage Options for OpenShift: Cloud Provider Storage
BLOCK STORAGE, NO RWX SUPPORT
SCALABLE, HA
CINDER PREFERRED FOR OCP on OSP
Ceph RBD
Amazon EBS
Azure Disk
GCE Disk
iSCSI
NFS
Storage Options for OpenShift: Ceph
GlusterFS
RUNS ON TOP OF OPENSHIFT
AVAILABLE OUT OF THE BOX
SCALABLE FILE STORAGE, RWX SUPPORT
AVAILABLE EVERYWHERE
GEO-REPLICATION, SNAPSHOTS
Ceph RBD
Amazon EBS
Azure Disk
GCE Disk
iSCSI
NFS
Storage Options for OpenShift: Gluster
Access modes for your PV’s
• ReadWriteOnce (RWO)
– Single node is allowed to read/write
• ReadOnlyMany (ROX)
– Multiple nodes can read at the same time
• ReadWriteMany (RWX)
– Multiple nodes can read and write at the same time
ReadWriteOnce (RWO)
• Applications that do not need to share a
filesystem among instances
• Optimizations possible, block-storage mounted
in the container
• Fewer filesystem operations, only read/write
data
ReadOnlyMany (ROX)
• Static content that was generated
• Snapshot of RWO/X promoted to ROX
• Read-only mounted NFS-export
ReadWriteMany (RWX)
• Dropbox like applications, Wordpress with
uploading images, Jenkins Artifacts
• Performs best with limited create/write, many
read
• Mounted NFS-export
Example: ReadWriteMany (RWX)
• Mounted NFS-export
• 'git clone /srv/glusterfs.git' into the mountpoint
• Repository after clone ~80 MB
50 seconds, 17133 NFSv4 operations
Example: ReadWriteOnce (RWO)
• Disk-image stored on NFS-export
• Mounted NFS-export on the host
• Mounted (loopback) disk-image on the host
< 1 second, ~1 NFSv4 operation
8 seconds, 195 NFSv4 operations (+ sync)
Thank you!
● Red Hat is still
not in shipping
business!
● Visit the Red
Hat stand
register for a
workshop
● Visit for cool
pictures
Selecting the right persistent storage options for apps in containers Open Source Summit Europe 2017

More Related Content

What's hot (20)

PDF
2015 open storage workshop ceph software defined storage
Andrew Underwood
 
PDF
Ceph Day Taipei - Bring Ceph to Enterprise
Ceph Community
 
PDF
Making Ceph awesome on Kubernetes with Rook - Bassam Tabbara
Ceph Community
 
PDF
Open Source vs. Open Standards by Sage Weil
Red_Hat_Storage
 
PDF
Ceph Object Storage at Spreadshirt
Jens Hadlich
 
PPTX
MySQL Head-to-Head
Patrick McGarry
 
PDF
Stor4NFV: Exploration of Cloud native Storage in OPNFV - Ren Qiaowei, Wang Hui
Ceph Community
 
PPTX
Ceph Day San Jose - Enable Fast Big Data Analytics on Ceph with Alluxio
Ceph Community
 
PPTX
vBrownBag @ VMworld - Apache CloudStack (ACS) & vSphere
Aaron Delp
 
PDF
SVC / Storwize: cost effective storage planning (BVQ use case)
Michael Pirker
 
PDF
CEPH DAY BERLIN - CEPH ON THE BRAIN!
Ceph Community
 
PPTX
«Oracle on AWS»
Provectus
 
PPTX
WIndows Azure Virtual Machines - deep dive session
Microsoft
 
PPTX
Ceph Day Seoul - The Anatomy of Ceph I/O
Ceph Community
 
PDF
BlueStore: a new, faster storage backend for Ceph
Sage Weil
 
PPTX
Ceph and Openstack in a Nutshell
Karan Singh
 
PDF
Ceph Day Seoul - Ceph: a decade in the making and still going strong
Ceph Community
 
PDF
Ceph Object Storage at Spreadshirt (July 2015, Ceph Berlin Meetup)
Jens Hadlich
 
PDF
Ceph & OpenStack talk given @ OpenStack Meetup @ Bangalore, June 2015
Deepak Shetty
 
PDF
CEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOK
Ceph Community
 
2015 open storage workshop ceph software defined storage
Andrew Underwood
 
Ceph Day Taipei - Bring Ceph to Enterprise
Ceph Community
 
Making Ceph awesome on Kubernetes with Rook - Bassam Tabbara
Ceph Community
 
Open Source vs. Open Standards by Sage Weil
Red_Hat_Storage
 
Ceph Object Storage at Spreadshirt
Jens Hadlich
 
MySQL Head-to-Head
Patrick McGarry
 
Stor4NFV: Exploration of Cloud native Storage in OPNFV - Ren Qiaowei, Wang Hui
Ceph Community
 
Ceph Day San Jose - Enable Fast Big Data Analytics on Ceph with Alluxio
Ceph Community
 
vBrownBag @ VMworld - Apache CloudStack (ACS) & vSphere
Aaron Delp
 
SVC / Storwize: cost effective storage planning (BVQ use case)
Michael Pirker
 
CEPH DAY BERLIN - CEPH ON THE BRAIN!
Ceph Community
 
«Oracle on AWS»
Provectus
 
WIndows Azure Virtual Machines - deep dive session
Microsoft
 
Ceph Day Seoul - The Anatomy of Ceph I/O
Ceph Community
 
BlueStore: a new, faster storage backend for Ceph
Sage Weil
 
Ceph and Openstack in a Nutshell
Karan Singh
 
Ceph Day Seoul - Ceph: a decade in the making and still going strong
Ceph Community
 
Ceph Object Storage at Spreadshirt (July 2015, Ceph Berlin Meetup)
Jens Hadlich
 
Ceph & OpenStack talk given @ OpenStack Meetup @ Bangalore, June 2015
Deepak Shetty
 
CEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOK
Ceph Community
 

Similar to Selecting the right persistent storage options for apps in containers Open Source Summit Europe 2017 (20)

PPTX
Jaspreet webinar-cns
Jaspreet Kaur
 
PDF
Red Hat Storage Day New York - Persistent Storage for Containers
Red_Hat_Storage
 
PPTX
Red Hat Storage Day Seattle: Persistent Storage for Containerized Applications
Red_Hat_Storage
 
PDF
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red_Hat_Storage
 
PDF
Red Hat Storage Day Boston - Persistent Storage for Containers
Red_Hat_Storage
 
PDF
Red Hat Storage Day LA - Persistent Storage for Linux Containers
Red_Hat_Storage
 
PDF
Red Hat Storage Day Dallas - Storage for OpenShift Containers
Red_Hat_Storage
 
PPTX
Persistent Storage for Containerized Applications
Red_Hat_Storage
 
PDF
Red Hat Storage Server Administration Deep Dive
Red_Hat_Storage
 
PPTX
Robust Applications in Mesos using External Storage
David vonThenen
 
PPTX
Red Hat Gluster Storage, Container Storage and CephFS Plans
Red_Hat_Storage
 
PPTX
Red Hat Storage Day Dallas - Defiance of the Appliance
Red_Hat_Storage
 
PDF
Redhat - rhcs 2017 past, present and future
inwin stack
 
PDF
Red hat storage objects, containers and Beyond!
andreas kuncoro
 
PDF
Choose the Right Container Storage for Kubernetes
Yusuf Hadiwinata Sutandar
 
PDF
Red Hat Gluster Storage - Direction, Roadmap and Use-Cases
Red_Hat_Storage
 
PPTX
Red Hat Storage Day Atlanta - Red Hat Gluster Storage vs. Traditional Storage...
Red_Hat_Storage
 
PDF
Red Hat Storage 2014 - Product(s) Overview
Marcel Hergaarden
 
PDF
Persistence patterns for containers
Stephen Watt
 
PDF
Red Hat Gluster Storage Performance
Red_Hat_Storage
 
Jaspreet webinar-cns
Jaspreet Kaur
 
Red Hat Storage Day New York - Persistent Storage for Containers
Red_Hat_Storage
 
Red Hat Storage Day Seattle: Persistent Storage for Containerized Applications
Red_Hat_Storage
 
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red_Hat_Storage
 
Red Hat Storage Day Boston - Persistent Storage for Containers
Red_Hat_Storage
 
Red Hat Storage Day LA - Persistent Storage for Linux Containers
Red_Hat_Storage
 
Red Hat Storage Day Dallas - Storage for OpenShift Containers
Red_Hat_Storage
 
Persistent Storage for Containerized Applications
Red_Hat_Storage
 
Red Hat Storage Server Administration Deep Dive
Red_Hat_Storage
 
Robust Applications in Mesos using External Storage
David vonThenen
 
Red Hat Gluster Storage, Container Storage and CephFS Plans
Red_Hat_Storage
 
Red Hat Storage Day Dallas - Defiance of the Appliance
Red_Hat_Storage
 
Redhat - rhcs 2017 past, present and future
inwin stack
 
Red hat storage objects, containers and Beyond!
andreas kuncoro
 
Choose the Right Container Storage for Kubernetes
Yusuf Hadiwinata Sutandar
 
Red Hat Gluster Storage - Direction, Roadmap and Use-Cases
Red_Hat_Storage
 
Red Hat Storage Day Atlanta - Red Hat Gluster Storage vs. Traditional Storage...
Red_Hat_Storage
 
Red Hat Storage 2014 - Product(s) Overview
Marcel Hergaarden
 
Persistence patterns for containers
Stephen Watt
 
Red Hat Gluster Storage Performance
Red_Hat_Storage
 
Ad

Recently uploaded (20)

PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PPTX
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Ad

Selecting the right persistent storage options for apps in containers Open Source Summit Europe 2017

  • 1. Selecting the Right Persistent Storage Options for Apps in Containers Bipin Kunal & Niels de Vos, Red Hat
  • 2. Who are Bipin and Niels? Bipin: Product lead for Gluster Support and Maintenance Engineer. Niels: Developer and Maintainer at the Gluster community and involved in related projects.
  • 3. Agenda • What is persistent storage • Why do we need persistent storage • Type of persistent volumes • Access modes for your PVs • Performance details between different Access Modes
  • 4. What is Persistent Storage? ● Persistent storage is any data storage device that retains data after power to that device is shut off.
  • 5. Why do we need persistent storage? • Containers are mostly stateless, but produce or gather data for later consumption. • Containers may not always be running or available, the data should be kept so that a next run can continue where it left off.
  • 7. NFS iSCSI Azure Disk GCE Disk Ceph RBD GlusterFS AUTOMATED CONFIGURATION SINGLE CONTROL PANEL CHOICE OF PERSISTENT STORAGE Amazon EBS Storage Options for OpenShift
  • 8. NFS WELL UNDERSTOOD, EASY TO DEMO PROVIDES RWX STORAGE NO HA, NOT AVAILABLE IN THE CLOUD REQUIRES PRE-PROVISIONING Storage Options for OpenShift: NFS
  • 9. WELL UNDERSTOOD IN THE DC BLOCK STORAGE, NO RWX SUPPORT NOT AVAILABLE IN THE CLOUD REQUIRES PRE-PROVISIONING iSCSI NFS Storage Options for OpenShift: iSCSI
  • 10. AVAILABLE IN THE CLOUD ;) NOT AVAILABLE ACROSS AZs PERFORMANCE DEPENDS ON SIZE BLOCK STORAGE, NO RWX SUPPORT Amazon EBS Azure Disk GCE Disk iSCSI NFS Storage Options for OpenShift: Cloud Provider Storage
  • 11. BLOCK STORAGE, NO RWX SUPPORT SCALABLE, HA CINDER PREFERRED FOR OCP on OSP Ceph RBD Amazon EBS Azure Disk GCE Disk iSCSI NFS Storage Options for OpenShift: Ceph
  • 12. GlusterFS RUNS ON TOP OF OPENSHIFT AVAILABLE OUT OF THE BOX SCALABLE FILE STORAGE, RWX SUPPORT AVAILABLE EVERYWHERE GEO-REPLICATION, SNAPSHOTS Ceph RBD Amazon EBS Azure Disk GCE Disk iSCSI NFS Storage Options for OpenShift: Gluster
  • 13. Access modes for your PV’s • ReadWriteOnce (RWO) – Single node is allowed to read/write • ReadOnlyMany (ROX) – Multiple nodes can read at the same time • ReadWriteMany (RWX) – Multiple nodes can read and write at the same time
  • 14. ReadWriteOnce (RWO) • Applications that do not need to share a filesystem among instances • Optimizations possible, block-storage mounted in the container • Fewer filesystem operations, only read/write data
  • 15. ReadOnlyMany (ROX) • Static content that was generated • Snapshot of RWO/X promoted to ROX • Read-only mounted NFS-export
  • 16. ReadWriteMany (RWX) • Dropbox like applications, Wordpress with uploading images, Jenkins Artifacts • Performs best with limited create/write, many read • Mounted NFS-export
  • 17. Example: ReadWriteMany (RWX) • Mounted NFS-export • 'git clone /srv/glusterfs.git' into the mountpoint • Repository after clone ~80 MB 50 seconds, 17133 NFSv4 operations
  • 18. Example: ReadWriteOnce (RWO) • Disk-image stored on NFS-export • Mounted NFS-export on the host • Mounted (loopback) disk-image on the host < 1 second, ~1 NFSv4 operation 8 seconds, 195 NFSv4 operations (+ sync)
  • 19. Thank you! ● Red Hat is still not in shipping business! ● Visit the Red Hat stand register for a workshop ● Visit for cool pictures