SlideShare a Scribd company logo
1© 2018 PORTWORX | CONFIDENTIAL: DO NOT DISTRIBUTE
Securing Cloud Native Storage
2
● About Portworx
● About Autopilot
● Securing Stateful Applications with Autopilot
Agenda
● ~100 Customers in production
● Largest number of stateful container deployments in the
ecosystem
● Portworx Deployments are Large scale
○ Support for 100k volumes
○ Scales to 1000 nodes per cluster
○ Multi cluster and Hybrid cloud support
○ Very high density support
● Loyal customer base
(https://portworx.com/category/architects-corner/)
The most widely used Cloud Native Storage Solution
https://www.katacoda.com/portworx https://docs.portworx.com
Portworx is a Cloud Native Storage Overlay
WordPress
MySQL
Global
File
Block
SSD
HDD
SAN
Cloud
Portworx
SSD
EBS
- POD-aware Provisioning
- 3D snapshots
- Encryption
- HA, Backup and DR
- High Density Volumes
- Global Namespace
- CoS, SLA and Quotas
TensorFlow
Replicated
File
Container Native Storage Overlay
HOST
…
HOST
Storage Cluster 2
Container Storage Overlay
HOST HOST
Storage Cluster 1
Provides a storage virtualization layer in order to
1. Container granular high density volumes
2. HA volumes - containers can access volumes from any host and any availability zone
3. Multi host, Multi Cluster - Application consistent operations
What a Storage Overlay Does
CATEGORY EXAMPLES
Virtualize Physical Drives Reduce compute costs by 40-60%
Reduce storage costs by 30% or more
Reduce ops and support costs by $1.8 million annually
High Application Density Support You can run upto 200 volumes per host with over 2000 containers on just a 6 node
cluster - with just 6 EBS volumes
Multi Cloud Application Level
Availability
You can failover an entire Cassandra cluster to a different region or cloud within
seconds - and automatically restore your namespace, PVCs and PODs
Application Centric Volume
Management
You can migrate an entire 500GB Wordpress website from staging to production in
a matter of minutes
Tight Kubernetes Integration and
DevOps driven automation
You can create, operate and provision storage automatically via Kubernetes
You can achieve no-downtime upgrades - No application disruption while upgrading
any component in your PaaS
CONFIDENTIAL - NO NOT DISTRIBUTE
Portworx is part of the CNCF stack
Kubernetes - Cloud Native Scheduling
OCI - Cloud Native Execution Runtime
CSI CNI
Portworx
Other Weave Contiv
Prometheus
Portworx allows you to
move this stack across
various infrastructure
types
......
network compute
storage
(ebs)
AWS
network compute
storage
(MD)
AZURE
network compute
storage
(G-PD)
GOOGLE
network compute
storage
(v-SAN)
BARE METAL
VMWARE
Your Portable Cloud Stack
Runs on any interchangeable infrastructure
Multi Cloud
8
Securing Cloud Native Volumes
● POD volumes are supposed to be bound to a POD, not a machine
○ Common mistake is to use host volumes - what happens when the POD
exits and the volume is still mounted?
● What happens when a rogue process on the host can access any
host volume?
● Putting data directly on cloud volumes - what happens when that
cloud volume can be directly attached outside of a namespace or
any security context?
● An application is not just one container - you have multiple volumes
that need to be treated with the same security policies
○ Enforced on different hosts
9
Kubernetes RBAC
● In version 1.8, Kubernetes introduced role based access control (RBAC) for
regulating user access to persistent volume claims.
● Users are given permissions to access certain namespaces. As PVCs are
namespaced, this controls which PVCs the user has access to.
However:
● Cannot achieve multiple users sharing a namespace but not sharing PVCs
● Cannot govern access by components not under Kubernetes control
10
Encrypting Persistent Volumes
● Most clouds provide an encrypted network attached block storage. Ex., EBS
volumes
● Storage providers like Portworx, leverage the linux dm-crypt library to encrypt
block devices.
● These volumes are encrypted using passphrases which need to be provided
when Attaching/Mounting the volume
However:
● Once the volume is attached to the node, it can be used by anyone having
root access to the node
11
Still not secure….
● Software failures occur at different levels
○ Kubernetes level - Pod fails to terminate holding a reference to the volume
○ Storage level - An EBS volume fails to detach from an ec2 instance
● Leftover host mounts
○ A persistent volume lying attached and mounted on an instance can be easily accessed by a
pod or a malicious container
● Rogue containers
○ A rogue container started directly on a host which bind mounts /var/lib/kubelet, has access to
all the attached and mounted persistent volumes
Autopilot
Application Runtime Monitoring Engine
Application Runtime Management
…
Container Storage Overlay
Application Runtime Management
Ensures an applications 5 9’s availability and security for cloud native applications
1. Ensures an application and its containers are performing at the required levels with the required security policies
2. Ensures high availability via redundancy
3. Facilitates multi-cloud operations (Blue Green, Migration)
4. Facilitates with Backup and DR
5. Allows for POD scaling and application level rebalancing
Application Runtime Management
…
Container Storage Overlay
Application Runtime Management
STORK
- Aides with optimal application deployment
- Assists with application volume life cycle
management
- Provides application aware functionality
during volume life cycle operations
- Multi-cloud operations
AUTO PILOT
- Continual application performance monitoring
and AI based recommendations
- Security scanning and processing
- Auto POD scaling and rebalancing
15
Autopilot - Monitor and React
● A rule-based analytical engine
● Input to Autopilot
○ A set of metrics/logs/traces to monitor
○ A set of application level conditions based of the metrics/logs/traces
● Output from Autopilot
○ A set of actions to take if the conditions are triggered
● Autopilot input rules and output actions are well defined CRDs that guide its
application runtime management engine
How it works
Detecting Breadcrumbs
Monitor usage patterns of persistent volumes with Autopilot
18
Metrics from cAdvisor
● cAdvisor provides container users an understanding of the resource
usage and performance characteristics of their running containers.
● It can provide us information about which device or filesystem a
container is reading and writing to
● Metric: container_fs_read_bytes_total
container_fs_reads_bytes_total{device="/dev/sdc",endpoint="http",id
="/kubepods/besteffort/pode89e319b-235c-11e9-a94a-000c291348
2c",instance="10.233.99.127:8080",job="cadvisor",namespace="kub
e-system",pod="cadvisor-ttd5r",service="cadvisor"}
● The above metric indicates that /dev/sdc is being used by a pod with
ID 89e319b-235c-11e9-a94a-000c2913482c under the /kubepods
cgroup
19
Storage Policy CRD
apiVersion: autopilot.libopenstorage.org/v1alpha1
kind: StoragePolicy
metadata:
name: breadcrumbs-policy
spec:
enforcement: required
##### object is the entity on which to check the conditions
object:
type: openstorage.io.object.volume
matchLabels:
app: postgres
##### condition is the symptom to evaluate
conditions:
# get container_fs_bytes_read_total
- key: container_fs_reads_bytes_total
operator: NotIn
values:
- "/kubepods/"
##### action is the action to perform when condition is true
action:
name: openstorage.io.action.container/stop
Name of the Storage
Policy
App & Volume to monitor
cadvisor metric
containers not under the
/kubepods kubernetes cgroup
Stop the container if the
condition is met
20
DEMO
21
Summary
● Extensible and Programmable Rules Engine.
● It relies on Kubernetes primitives and is self contained.
● Both input and output can be CRDs, making it easily integrable with other
operators.
● Volume Security is just one use case. Autopilot can also monitor other
application and volume health and take necessary actions.
● And again persistent volumes are just one use case, Autopilot can be
extended for other resources as well.

More Related Content

PDF
Introduction to MANTL Data Platform
PDF
Introducing Cloud Native, Event Driven, Serverless, Micrsoservices Framework ...
PPTX
Cloud Native Summit 2019 Summary
PPTX
Java EE Modernization with Mesosphere DCOS
PPT
Enabling Fast IT using Containers, Microservices and DevOps Model
PDF
Machine learning services with SQL Server 2017
PPTX
Why cloud native matters
PPTX
Webinar: What's New in DC/OS 1.11
Introduction to MANTL Data Platform
Introducing Cloud Native, Event Driven, Serverless, Micrsoservices Framework ...
Cloud Native Summit 2019 Summary
Java EE Modernization with Mesosphere DCOS
Enabling Fast IT using Containers, Microservices and DevOps Model
Machine learning services with SQL Server 2017
Why cloud native matters
Webinar: What's New in DC/OS 1.11

What's hot (20)

PDF
Discover the all new Mesosphere DC/OS 1.10
PPTX
Introduction to ibm cloud paks concept license and minimum config public
PPTX
CWIN17 london becoming cloud native part 2 - guy martin docker
PDF
Cloud foundry presentation
PPTX
PKS - Solving Complexity for Modern Data Workloads
PPTX
CNCF Introduction - Feb 2018
PDF
Migrating to Cloud Native Solutions
PDF
Cloud Native Security: New Approach for a New Reality
PPTX
AnsibleFest 2020 - Automate cybersecurity solutions in a cloud native scenario
PPTX
SOCstock 2021 The Cloud-native SOC
PPT
Dissecting The PaaS Landscape
PDF
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
PPTX
Synnefo @ LinuxCon/CloudOpen North America 2014
PDF
Introducing github.com/open-cluster-management – How to deliver apps across c...
PDF
OpenStack Architected Like AWS (and GCP)
PPTX
Episode 4: Operating Kubernetes at Scale with DC/OS
PDF
RHTE2015_CloudForms_Containers
PPTX
Enabling Microservices Frameworks to Solve Business Problems
PPTX
Cache-Aside Cloud Design Pattern
PPTX
Episode 1: Building Kubernetes-as-a-Service
Discover the all new Mesosphere DC/OS 1.10
Introduction to ibm cloud paks concept license and minimum config public
CWIN17 london becoming cloud native part 2 - guy martin docker
Cloud foundry presentation
PKS - Solving Complexity for Modern Data Workloads
CNCF Introduction - Feb 2018
Migrating to Cloud Native Solutions
Cloud Native Security: New Approach for a New Reality
AnsibleFest 2020 - Automate cybersecurity solutions in a cloud native scenario
SOCstock 2021 The Cloud-native SOC
Dissecting The PaaS Landscape
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Synnefo @ LinuxCon/CloudOpen North America 2014
Introducing github.com/open-cluster-management – How to deliver apps across c...
OpenStack Architected Like AWS (and GCP)
Episode 4: Operating Kubernetes at Scale with DC/OS
RHTE2015_CloudForms_Containers
Enabling Microservices Frameworks to Solve Business Problems
Cache-Aside Cloud Design Pattern
Episode 1: Building Kubernetes-as-a-Service
Ad

Similar to Autopilot : Securing Cloud Native Storage (20)

PPTX
OpenEBS Technical Workshop - KubeCon San Diego 2019
PDF
Containerized Storage for Containers: Why, What and How OpenEBS Works
PPTX
Containerized Storage for Containers- Kubernetes LA Meetup , July 2017
PPTX
Orchestrating Stateful Applications with PKS and Portworx
PPTX
Orchestrating stateful applications with PKS and Portworx
PDF
Open ebs 101
PPTX
OpenEBS hangout #4
PPTX
Docker Chennai Meetup - OpenEBS Overview
PDF
South Bay Kubernetes DevOps
PPTX
Containerized Storage for Containers - Meetup #3
PPTX
Containerized Storage for Containers Meetup #3
PDF
OpenEBS; asymmetrical block layer in user-space breaking the million IOPS bar...
PDF
Container Attached Storage with OpenEBS - CNCF Paris Meetup
PDF
MayaData Datastax webinar - Operating Cassandra on Kubernetes with the help ...
PDF
Solving k8s persistent workloads using k8s DevOps style
PPTX
Robust Applications in Mesos using External Storage
PPTX
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
PDF
CoreOS and cloud provider integration: simple cloud-init example at Exoscale
PPTX
Storage As A Service (StAAS)
PPTX
Storage for containers and cloud-native deployments - Rancher Online Meetup -...
OpenEBS Technical Workshop - KubeCon San Diego 2019
Containerized Storage for Containers: Why, What and How OpenEBS Works
Containerized Storage for Containers- Kubernetes LA Meetup , July 2017
Orchestrating Stateful Applications with PKS and Portworx
Orchestrating stateful applications with PKS and Portworx
Open ebs 101
OpenEBS hangout #4
Docker Chennai Meetup - OpenEBS Overview
South Bay Kubernetes DevOps
Containerized Storage for Containers - Meetup #3
Containerized Storage for Containers Meetup #3
OpenEBS; asymmetrical block layer in user-space breaking the million IOPS bar...
Container Attached Storage with OpenEBS - CNCF Paris Meetup
MayaData Datastax webinar - Operating Cassandra on Kubernetes with the help ...
Solving k8s persistent workloads using k8s DevOps style
Robust Applications in Mesos using External Storage
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
CoreOS and cloud provider integration: simple cloud-init example at Exoscale
Storage As A Service (StAAS)
Storage for containers and cloud-native deployments - Rancher Online Meetup -...
Ad

Recently uploaded (20)

PPTX
L1 - Introduction to python Backend.pptx
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Download FL Studio Crack Latest version 2025 ?
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Cost to Outsource Software Development in 2025
PPTX
Transform Your Business with a Software ERP System
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Salesforce Agentforce AI Implementation.pdf
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
assetexplorer- product-overview - presentation
L1 - Introduction to python Backend.pptx
Digital Systems & Binary Numbers (comprehensive )
Download FL Studio Crack Latest version 2025 ?
How to Choose the Right IT Partner for Your Business in Malaysia
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Cost to Outsource Software Development in 2025
Transform Your Business with a Software ERP System
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
Monitoring Stack: Grafana, Loki & Promtail
Advanced SystemCare Ultimate Crack + Portable (2025)
Autodesk AutoCAD Crack Free Download 2025
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Navsoft: AI-Powered Business Solutions & Custom Software Development
Designing Intelligence for the Shop Floor.pdf
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Salesforce Agentforce AI Implementation.pdf
Oracle Fusion HCM Cloud Demo for Beginners
Reimagine Home Health with the Power of Agentic AI​
assetexplorer- product-overview - presentation

Autopilot : Securing Cloud Native Storage

  • 1. 1© 2018 PORTWORX | CONFIDENTIAL: DO NOT DISTRIBUTE Securing Cloud Native Storage
  • 2. 2 ● About Portworx ● About Autopilot ● Securing Stateful Applications with Autopilot Agenda
  • 3. ● ~100 Customers in production ● Largest number of stateful container deployments in the ecosystem ● Portworx Deployments are Large scale ○ Support for 100k volumes ○ Scales to 1000 nodes per cluster ○ Multi cluster and Hybrid cloud support ○ Very high density support ● Loyal customer base (https://portworx.com/category/architects-corner/) The most widely used Cloud Native Storage Solution https://www.katacoda.com/portworx https://docs.portworx.com
  • 4. Portworx is a Cloud Native Storage Overlay WordPress MySQL Global File Block SSD HDD SAN Cloud Portworx SSD EBS - POD-aware Provisioning - 3D snapshots - Encryption - HA, Backup and DR - High Density Volumes - Global Namespace - CoS, SLA and Quotas TensorFlow Replicated File
  • 5. Container Native Storage Overlay HOST … HOST Storage Cluster 2 Container Storage Overlay HOST HOST Storage Cluster 1 Provides a storage virtualization layer in order to 1. Container granular high density volumes 2. HA volumes - containers can access volumes from any host and any availability zone 3. Multi host, Multi Cluster - Application consistent operations
  • 6. What a Storage Overlay Does CATEGORY EXAMPLES Virtualize Physical Drives Reduce compute costs by 40-60% Reduce storage costs by 30% or more Reduce ops and support costs by $1.8 million annually High Application Density Support You can run upto 200 volumes per host with over 2000 containers on just a 6 node cluster - with just 6 EBS volumes Multi Cloud Application Level Availability You can failover an entire Cassandra cluster to a different region or cloud within seconds - and automatically restore your namespace, PVCs and PODs Application Centric Volume Management You can migrate an entire 500GB Wordpress website from staging to production in a matter of minutes Tight Kubernetes Integration and DevOps driven automation You can create, operate and provision storage automatically via Kubernetes You can achieve no-downtime upgrades - No application disruption while upgrading any component in your PaaS
  • 7. CONFIDENTIAL - NO NOT DISTRIBUTE Portworx is part of the CNCF stack Kubernetes - Cloud Native Scheduling OCI - Cloud Native Execution Runtime CSI CNI Portworx Other Weave Contiv Prometheus Portworx allows you to move this stack across various infrastructure types ...... network compute storage (ebs) AWS network compute storage (MD) AZURE network compute storage (G-PD) GOOGLE network compute storage (v-SAN) BARE METAL VMWARE Your Portable Cloud Stack Runs on any interchangeable infrastructure Multi Cloud
  • 8. 8 Securing Cloud Native Volumes ● POD volumes are supposed to be bound to a POD, not a machine ○ Common mistake is to use host volumes - what happens when the POD exits and the volume is still mounted? ● What happens when a rogue process on the host can access any host volume? ● Putting data directly on cloud volumes - what happens when that cloud volume can be directly attached outside of a namespace or any security context? ● An application is not just one container - you have multiple volumes that need to be treated with the same security policies ○ Enforced on different hosts
  • 9. 9 Kubernetes RBAC ● In version 1.8, Kubernetes introduced role based access control (RBAC) for regulating user access to persistent volume claims. ● Users are given permissions to access certain namespaces. As PVCs are namespaced, this controls which PVCs the user has access to. However: ● Cannot achieve multiple users sharing a namespace but not sharing PVCs ● Cannot govern access by components not under Kubernetes control
  • 10. 10 Encrypting Persistent Volumes ● Most clouds provide an encrypted network attached block storage. Ex., EBS volumes ● Storage providers like Portworx, leverage the linux dm-crypt library to encrypt block devices. ● These volumes are encrypted using passphrases which need to be provided when Attaching/Mounting the volume However: ● Once the volume is attached to the node, it can be used by anyone having root access to the node
  • 11. 11 Still not secure…. ● Software failures occur at different levels ○ Kubernetes level - Pod fails to terminate holding a reference to the volume ○ Storage level - An EBS volume fails to detach from an ec2 instance ● Leftover host mounts ○ A persistent volume lying attached and mounted on an instance can be easily accessed by a pod or a malicious container ● Rogue containers ○ A rogue container started directly on a host which bind mounts /var/lib/kubelet, has access to all the attached and mounted persistent volumes
  • 13. Application Runtime Management … Container Storage Overlay Application Runtime Management Ensures an applications 5 9’s availability and security for cloud native applications 1. Ensures an application and its containers are performing at the required levels with the required security policies 2. Ensures high availability via redundancy 3. Facilitates multi-cloud operations (Blue Green, Migration) 4. Facilitates with Backup and DR 5. Allows for POD scaling and application level rebalancing
  • 14. Application Runtime Management … Container Storage Overlay Application Runtime Management STORK - Aides with optimal application deployment - Assists with application volume life cycle management - Provides application aware functionality during volume life cycle operations - Multi-cloud operations AUTO PILOT - Continual application performance monitoring and AI based recommendations - Security scanning and processing - Auto POD scaling and rebalancing
  • 15. 15 Autopilot - Monitor and React ● A rule-based analytical engine ● Input to Autopilot ○ A set of metrics/logs/traces to monitor ○ A set of application level conditions based of the metrics/logs/traces ● Output from Autopilot ○ A set of actions to take if the conditions are triggered ● Autopilot input rules and output actions are well defined CRDs that guide its application runtime management engine
  • 17. Detecting Breadcrumbs Monitor usage patterns of persistent volumes with Autopilot
  • 18. 18 Metrics from cAdvisor ● cAdvisor provides container users an understanding of the resource usage and performance characteristics of their running containers. ● It can provide us information about which device or filesystem a container is reading and writing to ● Metric: container_fs_read_bytes_total container_fs_reads_bytes_total{device="/dev/sdc",endpoint="http",id ="/kubepods/besteffort/pode89e319b-235c-11e9-a94a-000c291348 2c",instance="10.233.99.127:8080",job="cadvisor",namespace="kub e-system",pod="cadvisor-ttd5r",service="cadvisor"} ● The above metric indicates that /dev/sdc is being used by a pod with ID 89e319b-235c-11e9-a94a-000c2913482c under the /kubepods cgroup
  • 19. 19 Storage Policy CRD apiVersion: autopilot.libopenstorage.org/v1alpha1 kind: StoragePolicy metadata: name: breadcrumbs-policy spec: enforcement: required ##### object is the entity on which to check the conditions object: type: openstorage.io.object.volume matchLabels: app: postgres ##### condition is the symptom to evaluate conditions: # get container_fs_bytes_read_total - key: container_fs_reads_bytes_total operator: NotIn values: - "/kubepods/" ##### action is the action to perform when condition is true action: name: openstorage.io.action.container/stop Name of the Storage Policy App & Volume to monitor cadvisor metric containers not under the /kubepods kubernetes cgroup Stop the container if the condition is met
  • 21. 21 Summary ● Extensible and Programmable Rules Engine. ● It relies on Kubernetes primitives and is self contained. ● Both input and output can be CRDs, making it easily integrable with other operators. ● Volume Security is just one use case. Autopilot can also monitor other application and volume health and take necessary actions. ● And again persistent volumes are just one use case, Autopilot can be extended for other resources as well.