SlideShare uma empresa Scribd logo
1 de 23
Baixar para ler offline
PRESENTED BY
Container Attached Storage for Redis
PRESENTED BY
1 Introduction to Kubernetes Storage
2 Challenges with Storage in Kubernetes
3 Cloud Native Storage Solutions
Agenda:
4
5 Demos
Benefits of Container Attached Storage Solutions for Redis
PRESENTED BY
“Applications have changed and somebody
forgot to tell storage”—@JeffryMolanus
PRESENTED BY
Introduction to K8s Persistent Storage Primitives
Storage Terminology
• Storage Class (SC)
○ Dynamic provisioning of Volumes
• Persistent Volume (PV)
• Persistent Volume Claim (PVC)
• Redis Persistent Data
○ AOF
○ RDB Snapshots
Physical Storage
Persistent Volume Claims
(PVC)
Persistent Volume
(PV)
Cluster
Application
Pod
Redis volumeMounts: /foo
Volumes:
-PVC
claimName
Persistent Volume Claim (PVC)
- 50Gi
- Selector
- StorageClassName
Storage Class
- name: StorageClassName
- annotations:
- name: parameterA value: "x"
- Provisioner: VolumeProvisionerName
PRESENTED BY
How does Kubernetes improve storage?
● PVs and PVCs are new terms for known storage concepts
● Kubernetes is
○ Open-source
○ Ubiquitous
○ Extensibility
● Storage Classes provide data agility
■ Enable per workload policies
■ Infrastructure agnostic dynamic provisioning
This will allow for innovation the same way Linux becoming the ubiquitous server
OS allowed for massive innovation
PRESENTED BY
Challenges with Kubernetes Persistent Storage
SSD
HDD
SAN
Vendor
Lock In
Storage systems are not multi cloud
Plugin
Solutions
Not flexible and can’t scale
(manual LUN management)
Data
portability
Data needs to follow rescheduled
containers efficiently
Scalability How do you scale and provision storage
PRESENTED BY
Cloud Native Storage Solution provides
Cloud and
On-Premises
Software defined storage platform
aggregate capacity & provide scalability
CSI based
APIs
Standardization like RBACs, AuthZ,
AuthN
Data
portability
Data Replication, Encryption & High
availability with scheduler (K8s) of choice
Scalability Dynamic & Thin Provisioning
SSD
HDD
SAN
PRESENTED BY
Cloud Native Storage for Stateful applications
● Application centric
○ Present storage to Redis application
● Declarative Configuration
○ YAMLs for SC, PV, PVCs
● API centric
○ Take Volume snapshots via API
● Security features
○ RBACs - CSI interface
○ Encryption
PRESENTED BY
Cloud Native Storage for Stateful applications
● Observability
○ Prometheus Integration
○ Grafana Integrations
● Kubernetes Operators
○ Custom Controller
○ Custom Resource Definitions (CRD)
PRESENTED BY
It takes two to tango
PRESENTED BY
DBaaS-like Experience
The bar - user expectations - has been set by AWS and others
My data is just there - accessible via NoSQL - and works without me
needing to do anything or even think about storage vs. DBs
Why would anyone want to run their own environment, as opposed to
relying on a cloud-provider-service?
Freedom from lock-in & control resulting in greater agility including the
ability to operate across clouds
To achieve these benefits, operations have to be simple and
completely automated with multiple layers of resilience
PRESENTED BY
DBs vs. Storage - Summary
Databases:
- Provide application friendly semantics
- Different flavors of databases are optimized for different requirements; for
example ACID compliance vs. eventual consistency
- Depend on a storage layer whether consuming raw disk or using file systems
and virtual disks
Storage:
- Reads/writes data to underlying disks / SSDs or cloud volumes
- May provide HA capabilities for applications - for example ensuring that
Kubernetes will find data when workloads are rescheduled
- Typically provides disaster recovery capabilities, such as cross region or cross
cloud replication so that an entire workload can be restored when needed
- Can provide more efficient incremental backup and faster restore times
PRESENTED BY
Benefits of Container Attached Storage (CAS)
for Redis
PRESENTED BY
How container attached storage helps Redis
● No need to manage the local disks, they are managed by CAS
● Start with small storage and add disks as needed on the fly
● Nodes are under utilized for eg CPU 40% yet storage is full
○ Ability to increase volumes attached to DB
○ Save costs in cloud and on prem environments
● Redis can be deployed both as deployment or as statefulset. When Redis deployed
as statefulset, you don't need to replicate the data again at CAS level.
● When Redis is deployed as deployment, consider 3 CAS replicas, choose the
StorageClass accordingly.
PRESENTED BY
How container attached storage helps Redis
● Take backup of the Redis data periodically and back them up to S3
● Restoration of the same data is possible to the same or any other Kubernetes
cluster
● Database’s consistent snapshots can be cloned and mounted in CI/CD pipeline
○ Helps with blue/green deployment and use of copy data in Dev and Staging
○ Storage can also be used for efficient backup and restore
■ See journal requirements
● Without storage, DB snaps and backups typically not efficient and require that a
new LUN is attached databases dumped to text file(s)
● Cloud native storage can mount backups (DB dumps or storage snaps) in available
environments to avoid backup hit on production environments
PRESENTED BY
More benefits to tuned CAS
● Cloud by means of storage classes provides different types of “disks” for the
different type of DB requirements
○ Use PDIM for WAL/Journal over NVMF
○ Use NVMe for caches/oplog (DB depended)
○ Use iSCSI for data dirs
● OpenEBS & Portworx solutions allow for transparent data movement online to
higher tiers without any DB disruption
○ Move data dirs from rotational to SSD (backend)
○ Switch backend protocol from iSCSI to NVMe to reduce latency
PRESENTED BY
TCO - Cost Savings
Costs:
● Your devs spin up containers
○ 10-100x the rate of VMs
○ Many storage systems cannot
handle rate of attach / detach
● And 25-30% are stateful requiring
storage
○ Storage from clouds is 5-10x more
expensive than ephemeral disks
Solution:
● Per container storage
○ Granular control
○ Eliminates attach / detach
challenges
● Runs across direct attached
storage including ephemeral
○ Saves 25-30% directly
● Thin provisioning reduces need to
reprovision or over provision
○ Additional 20-25% savings
45-50% $ savings
PRESENTED BY
How to build your DBaaS?
To be like a cloud DB as a service, must be:
● No Ops - just works
● Scales
Plus:
● Costs Less
● More flexibility
PRESENTED BY
OpenEBS Demo Here
https://github.com/openebs/openebs/tree/master/k8s/demo/redis
https://www.katacoda.com/openebs/scenarios/openebs-intro
PRESENTED BY
Portworx Demo
HA Redis on K8s
https://katacoda.com/portworx/scenarios/px-k8s-redis
or
https://www.katacoda.com/portworx/training/redisconf
PRESENTED BY
Resources
https://github.com/container-storage-interface
https://github.com/openebs
https://github.com/libopenstorage
https://github.com/operator-framework
https://redis.io/topics/persistence
https://mayadata.io/mdap
https://portworx.com/products/introduction/
Thank you!
PRESENTED BY

Mais conteúdo relacionado

Mais procurados

Glusterfs and openstack
Glusterfs  and openstackGlusterfs  and openstack
Glusterfs and openstack
openstackindia
 

Mais procurados (20)

State of Gluster Performance
State of Gluster PerformanceState of Gluster Performance
State of Gluster Performance
 
The Future of GlusterFS and Gluster.org
The Future of GlusterFS and Gluster.orgThe Future of GlusterFS and Gluster.org
The Future of GlusterFS and Gluster.org
 
Red Hat Gluster Storage : GlusterFS
Red Hat Gluster Storage : GlusterFSRed Hat Gluster Storage : GlusterFS
Red Hat Gluster Storage : GlusterFS
 
CEPH DAY BERLIN - WHAT'S NEW IN CEPH
CEPH DAY BERLIN - WHAT'S NEW IN CEPH CEPH DAY BERLIN - WHAT'S NEW IN CEPH
CEPH DAY BERLIN - WHAT'S NEW IN CEPH
 
GlusterFS And Big Data
GlusterFS And Big DataGlusterFS And Big Data
GlusterFS And Big Data
 
Glusterfs and openstack
Glusterfs  and openstackGlusterfs  and openstack
Glusterfs and openstack
 
Red Hat Gluster Storage, Container Storage and CephFS Plans
Red Hat Gluster Storage, Container Storage and CephFS PlansRed Hat Gluster Storage, Container Storage and CephFS Plans
Red Hat Gluster Storage, Container Storage and CephFS Plans
 
CEPH DAY BERLIN - CEPH MANAGEMENT THE EASY AND RELIABLE WAY
CEPH DAY BERLIN - CEPH MANAGEMENT THE EASY AND RELIABLE WAYCEPH DAY BERLIN - CEPH MANAGEMENT THE EASY AND RELIABLE WAY
CEPH DAY BERLIN - CEPH MANAGEMENT THE EASY AND RELIABLE WAY
 
Erasure codes and storage tiers on gluster
Erasure codes and storage tiers on glusterErasure codes and storage tiers on gluster
Erasure codes and storage tiers on gluster
 
Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
 
GlusterFs Architecture & Roadmap - LinuxCon EU 2013
GlusterFs Architecture & Roadmap - LinuxCon EU 2013GlusterFs Architecture & Roadmap - LinuxCon EU 2013
GlusterFs Architecture & Roadmap - LinuxCon EU 2013
 
Accessing gluster ufo_-_eco_willson
Accessing gluster ufo_-_eco_willsonAccessing gluster ufo_-_eco_willson
Accessing gluster ufo_-_eco_willson
 
Integration of Glusterfs in to commvault simpana
Integration of Glusterfs in to commvault simpanaIntegration of Glusterfs in to commvault simpana
Integration of Glusterfs in to commvault simpana
 
Challenges with Gluster and Persistent Memory with Dan Lambright
Challenges with Gluster and Persistent Memory with Dan LambrightChallenges with Gluster and Persistent Memory with Dan Lambright
Challenges with Gluster and Persistent Memory with Dan Lambright
 
Stor4NFV: Exploration of Cloud native Storage in OPNFV - Ren Qiaowei, Wang Hui
Stor4NFV: Exploration of Cloud native Storage in OPNFV - Ren Qiaowei, Wang HuiStor4NFV: Exploration of Cloud native Storage in OPNFV - Ren Qiaowei, Wang Hui
Stor4NFV: Exploration of Cloud native Storage in OPNFV - Ren Qiaowei, Wang Hui
 
Lisa 2015-gluster fs-introduction
Lisa 2015-gluster fs-introductionLisa 2015-gluster fs-introduction
Lisa 2015-gluster fs-introduction
 
Gluster Storage
Gluster StorageGluster Storage
Gluster Storage
 
Gluster Data Tiering
Gluster Data TieringGluster Data Tiering
Gluster Data Tiering
 
Deploying pNFS over Distributed File Storage w/ Jiffin Tony Thottan and Niels...
Deploying pNFS over Distributed File Storage w/ Jiffin Tony Thottan and Niels...Deploying pNFS over Distributed File Storage w/ Jiffin Tony Thottan and Niels...
Deploying pNFS over Distributed File Storage w/ Jiffin Tony Thottan and Niels...
 
Sdc challenges-2012
Sdc challenges-2012Sdc challenges-2012
Sdc challenges-2012
 

Semelhante a Redis Conf 2019--Container Attached Storage for Redis

Semelhante a Redis Conf 2019--Container Attached Storage for Redis (20)

Choose the Right Container Storage for Kubernetes
Choose the Right Container Storage for KubernetesChoose the Right Container Storage for Kubernetes
Choose the Right Container Storage for Kubernetes
 
MayaData Datastax webinar - Operating Cassandra on Kubernetes with the help ...
MayaData  Datastax webinar - Operating Cassandra on Kubernetes with the help ...MayaData  Datastax webinar - Operating Cassandra on Kubernetes with the help ...
MayaData Datastax webinar - Operating Cassandra on Kubernetes with the help ...
 
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...
VMworld 2015: The Future of Software- Defined Storage- What Does it Look Like...
 
OSDC 2015: John Spray | The Ceph Storage System
OSDC 2015: John Spray | The Ceph Storage SystemOSDC 2015: John Spray | The Ceph Storage System
OSDC 2015: John Spray | The Ceph Storage System
 
Revolutionary Storage for Modern Databases, Applications and Infrastrcture
Revolutionary Storage for Modern Databases, Applications and InfrastrctureRevolutionary Storage for Modern Databases, Applications and Infrastrcture
Revolutionary Storage for Modern Databases, Applications and Infrastrcture
 
Save 60% of Kubernetes storage costs on AWS & others with OpenEBS
Save 60% of Kubernetes storage costs on AWS & others with OpenEBSSave 60% of Kubernetes storage costs on AWS & others with OpenEBS
Save 60% of Kubernetes storage costs on AWS & others with OpenEBS
 
OpenEBS CAS SDC India - 2018
OpenEBS CAS SDC India - 2018OpenEBS CAS SDC India - 2018
OpenEBS CAS SDC India - 2018
 
Examining Technical Best Practices for Veritas and AWS Using a Detailed Refer...
Examining Technical Best Practices for Veritas and AWS Using a Detailed Refer...Examining Technical Best Practices for Veritas and AWS Using a Detailed Refer...
Examining Technical Best Practices for Veritas and AWS Using a Detailed Refer...
 
OpenEBS Technical Workshop - KubeCon San Diego 2019
OpenEBS Technical Workshop - KubeCon San Diego 2019OpenEBS Technical Workshop - KubeCon San Diego 2019
OpenEBS Technical Workshop - KubeCon San Diego 2019
 
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
 
New Ceph capabilities and Reference Architectures
New Ceph capabilities and Reference ArchitecturesNew Ceph capabilities and Reference Architectures
New Ceph capabilities and Reference Architectures
 
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?
 
Cloud Architecture best practices
Cloud Architecture best practicesCloud Architecture best practices
Cloud Architecture best practices
 
Containerized Storage for Containers
Containerized Storage for ContainersContainerized Storage for Containers
Containerized Storage for Containers
 
Containerized Storage for Containers
Containerized Storage for ContainersContainerized Storage for Containers
Containerized Storage for Containers
 
Jaspreet webinar-cns
Jaspreet webinar-cnsJaspreet webinar-cns
Jaspreet webinar-cns
 
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
 
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...
 
AWS CSA Associate 04-07
AWS CSA Associate 04-07AWS CSA Associate 04-07
AWS CSA Associate 04-07
 
Hadoop 3 @ Hadoop Summit San Jose 2017
Hadoop 3 @ Hadoop Summit San Jose 2017Hadoop 3 @ Hadoop Summit San Jose 2017
Hadoop 3 @ Hadoop Summit San Jose 2017
 

Mais de OpenEBS

Volume Policies in OpenEBS 0.7
Volume Policies in OpenEBS 0.7Volume Policies in OpenEBS 0.7
Volume Policies in OpenEBS 0.7
OpenEBS
 

Mais de OpenEBS (20)

Data Agility for Devops - OSI 2018
Data Agility for Devops - OSI 2018Data Agility for Devops - OSI 2018
Data Agility for Devops - OSI 2018
 
Introduction to cStor replica - Contributors Meet 5th Oct 2018
Introduction to cStor replica - Contributors Meet 5th Oct 2018Introduction to cStor replica - Contributors Meet 5th Oct 2018
Introduction to cStor replica - Contributors Meet 5th Oct 2018
 
Running OpenEBS on GPDs - Weekly Contributors Meet 28th Sep 2018
Running OpenEBS on GPDs - Weekly Contributors Meet 28th Sep 2018Running OpenEBS on GPDs - Weekly Contributors Meet 28th Sep 2018
Running OpenEBS on GPDs - Weekly Contributors Meet 28th Sep 2018
 
Container Attached Storage (CAS) with OpenEBS - SDC 2018
Container Attached Storage (CAS) with OpenEBS -  SDC 2018Container Attached Storage (CAS) with OpenEBS -  SDC 2018
Container Attached Storage (CAS) with OpenEBS - SDC 2018
 
Volume Policies in OpenEBS 0.7
Volume Policies in OpenEBS 0.7Volume Policies in OpenEBS 0.7
Volume Policies in OpenEBS 0.7
 
Thoughts on heptio's ark - Contributors Meet 21st Sept 2018
Thoughts on heptio's ark - Contributors Meet 21st Sept 2018Thoughts on heptio's ark - Contributors Meet 21st Sept 2018
Thoughts on heptio's ark - Contributors Meet 21st Sept 2018
 
Latest (storage IO) patterns for cloud-native applications
Latest (storage IO) patterns for cloud-native applications Latest (storage IO) patterns for cloud-native applications
Latest (storage IO) patterns for cloud-native applications
 
Deploying OpenEBS with Availability Zones
Deploying OpenEBS with Availability ZonesDeploying OpenEBS with Availability Zones
Deploying OpenEBS with Availability Zones
 
Kubernetes Monitoring and Troubleshooting using Weavescope- Kubernetes Meetup...
Kubernetes Monitoring and Troubleshooting using Weavescope- Kubernetes Meetup...Kubernetes Monitoring and Troubleshooting using Weavescope- Kubernetes Meetup...
Kubernetes Monitoring and Troubleshooting using Weavescope- Kubernetes Meetup...
 
OpenEBS Visualization and Monitoring using Weave-scope - Contributors Meet 1s...
OpenEBS Visualization and Monitoring using Weave-scope - Contributors Meet 1s...OpenEBS Visualization and Monitoring using Weave-scope - Contributors Meet 1s...
OpenEBS Visualization and Monitoring using Weave-scope - Contributors Meet 1s...
 
BDD Testing Using Godog - Bangalore Golang Meetup # 32
BDD Testing Using Godog - Bangalore Golang Meetup # 32BDD Testing Using Godog - Bangalore Golang Meetup # 32
BDD Testing Using Godog - Bangalore Golang Meetup # 32
 
Container Attached Storage - Chennai Kubernetes Meetup #2 - April 21st 2018
Container Attached Storage - Chennai Kubernetes Meetup #2 - April 21st 2018Container Attached Storage - Chennai Kubernetes Meetup #2 - April 21st 2018
Container Attached Storage - Chennai Kubernetes Meetup #2 - April 21st 2018
 
Kubernetes Visualization-and-Monitoring-using-Weave-scope
Kubernetes Visualization-and-Monitoring-using-Weave-scopeKubernetes Visualization-and-Monitoring-using-Weave-scope
Kubernetes Visualization-and-Monitoring-using-Weave-scope
 
South Bay Kubernetes DevOps
South Bay Kubernetes DevOps South Bay Kubernetes DevOps
South Bay Kubernetes DevOps
 
Containerized Storage for Containers Meetup #3
Containerized Storage for Containers Meetup #3Containerized Storage for Containers Meetup #3
Containerized Storage for Containers Meetup #3
 
Containerized Storage for Containers- Kubernetes LA Meetup , July 2017
Containerized Storage for Containers- Kubernetes LA Meetup , July 2017Containerized Storage for Containers- Kubernetes LA Meetup , July 2017
Containerized Storage for Containers- Kubernetes LA Meetup , July 2017
 
Dynamic Instrumentation- OpenEBS Golang Meetup July 2017
Dynamic Instrumentation- OpenEBS Golang Meetup July 2017Dynamic Instrumentation- OpenEBS Golang Meetup July 2017
Dynamic Instrumentation- OpenEBS Golang Meetup July 2017
 
Kubernetes Bangalore Meetup- July 2017
Kubernetes Bangalore Meetup- July 2017Kubernetes Bangalore Meetup- July 2017
Kubernetes Bangalore Meetup- July 2017
 
OpenEBS Hangout #2 - Deploying Jupyter
OpenEBS Hangout #2 - Deploying Jupyter OpenEBS Hangout #2 - Deploying Jupyter
OpenEBS Hangout #2 - Deploying Jupyter
 
Docker Meetup Chennai - OpenEBS JIVA
Docker Meetup Chennai - OpenEBS JIVADocker Meetup Chennai - OpenEBS JIVA
Docker Meetup Chennai - OpenEBS JIVA
 

Último

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

Último (20)

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 

Redis Conf 2019--Container Attached Storage for Redis

  • 2. PRESENTED BY 1 Introduction to Kubernetes Storage 2 Challenges with Storage in Kubernetes 3 Cloud Native Storage Solutions Agenda: 4 5 Demos Benefits of Container Attached Storage Solutions for Redis
  • 3. PRESENTED BY “Applications have changed and somebody forgot to tell storage”—@JeffryMolanus
  • 4. PRESENTED BY Introduction to K8s Persistent Storage Primitives Storage Terminology • Storage Class (SC) ○ Dynamic provisioning of Volumes • Persistent Volume (PV) • Persistent Volume Claim (PVC) • Redis Persistent Data ○ AOF ○ RDB Snapshots Physical Storage Persistent Volume Claims (PVC) Persistent Volume (PV) Cluster Application Pod Redis volumeMounts: /foo Volumes: -PVC claimName Persistent Volume Claim (PVC) - 50Gi - Selector - StorageClassName Storage Class - name: StorageClassName - annotations: - name: parameterA value: "x" - Provisioner: VolumeProvisionerName
  • 5. PRESENTED BY How does Kubernetes improve storage? ● PVs and PVCs are new terms for known storage concepts ● Kubernetes is ○ Open-source ○ Ubiquitous ○ Extensibility ● Storage Classes provide data agility ■ Enable per workload policies ■ Infrastructure agnostic dynamic provisioning This will allow for innovation the same way Linux becoming the ubiquitous server OS allowed for massive innovation
  • 6. PRESENTED BY Challenges with Kubernetes Persistent Storage SSD HDD SAN Vendor Lock In Storage systems are not multi cloud Plugin Solutions Not flexible and can’t scale (manual LUN management) Data portability Data needs to follow rescheduled containers efficiently Scalability How do you scale and provision storage
  • 7. PRESENTED BY Cloud Native Storage Solution provides Cloud and On-Premises Software defined storage platform aggregate capacity & provide scalability CSI based APIs Standardization like RBACs, AuthZ, AuthN Data portability Data Replication, Encryption & High availability with scheduler (K8s) of choice Scalability Dynamic & Thin Provisioning SSD HDD SAN
  • 8. PRESENTED BY Cloud Native Storage for Stateful applications ● Application centric ○ Present storage to Redis application ● Declarative Configuration ○ YAMLs for SC, PV, PVCs ● API centric ○ Take Volume snapshots via API ● Security features ○ RBACs - CSI interface ○ Encryption
  • 9. PRESENTED BY Cloud Native Storage for Stateful applications ● Observability ○ Prometheus Integration ○ Grafana Integrations ● Kubernetes Operators ○ Custom Controller ○ Custom Resource Definitions (CRD)
  • 10. PRESENTED BY It takes two to tango
  • 11. PRESENTED BY DBaaS-like Experience The bar - user expectations - has been set by AWS and others My data is just there - accessible via NoSQL - and works without me needing to do anything or even think about storage vs. DBs Why would anyone want to run their own environment, as opposed to relying on a cloud-provider-service? Freedom from lock-in & control resulting in greater agility including the ability to operate across clouds To achieve these benefits, operations have to be simple and completely automated with multiple layers of resilience
  • 12. PRESENTED BY DBs vs. Storage - Summary Databases: - Provide application friendly semantics - Different flavors of databases are optimized for different requirements; for example ACID compliance vs. eventual consistency - Depend on a storage layer whether consuming raw disk or using file systems and virtual disks Storage: - Reads/writes data to underlying disks / SSDs or cloud volumes - May provide HA capabilities for applications - for example ensuring that Kubernetes will find data when workloads are rescheduled - Typically provides disaster recovery capabilities, such as cross region or cross cloud replication so that an entire workload can be restored when needed - Can provide more efficient incremental backup and faster restore times
  • 13. PRESENTED BY Benefits of Container Attached Storage (CAS) for Redis
  • 14. PRESENTED BY How container attached storage helps Redis ● No need to manage the local disks, they are managed by CAS ● Start with small storage and add disks as needed on the fly ● Nodes are under utilized for eg CPU 40% yet storage is full ○ Ability to increase volumes attached to DB ○ Save costs in cloud and on prem environments ● Redis can be deployed both as deployment or as statefulset. When Redis deployed as statefulset, you don't need to replicate the data again at CAS level. ● When Redis is deployed as deployment, consider 3 CAS replicas, choose the StorageClass accordingly.
  • 15. PRESENTED BY How container attached storage helps Redis ● Take backup of the Redis data periodically and back them up to S3 ● Restoration of the same data is possible to the same or any other Kubernetes cluster ● Database’s consistent snapshots can be cloned and mounted in CI/CD pipeline ○ Helps with blue/green deployment and use of copy data in Dev and Staging ○ Storage can also be used for efficient backup and restore ■ See journal requirements ● Without storage, DB snaps and backups typically not efficient and require that a new LUN is attached databases dumped to text file(s) ● Cloud native storage can mount backups (DB dumps or storage snaps) in available environments to avoid backup hit on production environments
  • 16. PRESENTED BY More benefits to tuned CAS ● Cloud by means of storage classes provides different types of “disks” for the different type of DB requirements ○ Use PDIM for WAL/Journal over NVMF ○ Use NVMe for caches/oplog (DB depended) ○ Use iSCSI for data dirs ● OpenEBS & Portworx solutions allow for transparent data movement online to higher tiers without any DB disruption ○ Move data dirs from rotational to SSD (backend) ○ Switch backend protocol from iSCSI to NVMe to reduce latency
  • 17. PRESENTED BY TCO - Cost Savings Costs: ● Your devs spin up containers ○ 10-100x the rate of VMs ○ Many storage systems cannot handle rate of attach / detach ● And 25-30% are stateful requiring storage ○ Storage from clouds is 5-10x more expensive than ephemeral disks Solution: ● Per container storage ○ Granular control ○ Eliminates attach / detach challenges ● Runs across direct attached storage including ephemeral ○ Saves 25-30% directly ● Thin provisioning reduces need to reprovision or over provision ○ Additional 20-25% savings 45-50% $ savings
  • 18. PRESENTED BY How to build your DBaaS? To be like a cloud DB as a service, must be: ● No Ops - just works ● Scales Plus: ● Costs Less ● More flexibility
  • 19. PRESENTED BY OpenEBS Demo Here https://github.com/openebs/openebs/tree/master/k8s/demo/redis https://www.katacoda.com/openebs/scenarios/openebs-intro
  • 20. PRESENTED BY Portworx Demo HA Redis on K8s https://katacoda.com/portworx/scenarios/px-k8s-redis or https://www.katacoda.com/portworx/training/redisconf