SlideShare une entreprise Scribd logo
1  sur  21
Télécharger pour lire hors ligne
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.

Contenu connexe

Tendances

Discover the all new Mesosphere DC/OS 1.10
Discover the all new Mesosphere DC/OS 1.10Discover the all new Mesosphere DC/OS 1.10
Discover the all new Mesosphere DC/OS 1.10Mesosphere Inc.
 
Introduction to ibm cloud paks concept license and minimum config public
Introduction to ibm cloud paks concept license and minimum config publicIntroduction to ibm cloud paks concept license and minimum config public
Introduction to ibm cloud paks concept license and minimum config publicPetchpaitoon Krungwong
 
CWIN17 london becoming cloud native part 2 - guy martin docker
CWIN17 london   becoming cloud native part 2 - guy martin dockerCWIN17 london   becoming cloud native part 2 - guy martin docker
CWIN17 london becoming cloud native part 2 - guy martin dockerCapgemini
 
Cloud foundry presentation
Cloud foundry presentation Cloud foundry presentation
Cloud foundry presentation Vivek Parihar
 
PKS - Solving Complexity for Modern Data Workloads
PKS - Solving Complexity for Modern Data Workloads PKS - Solving Complexity for Modern Data Workloads
PKS - Solving Complexity for Modern Data Workloads Carlos Andrés García
 
CNCF Introduction - Feb 2018
CNCF Introduction - Feb 2018CNCF Introduction - Feb 2018
CNCF Introduction - Feb 2018Krishna-Kumar
 
Migrating to Cloud Native Solutions
Migrating to Cloud Native SolutionsMigrating to Cloud Native Solutions
Migrating to Cloud Native Solutionsinwin stack
 
Cloud Native Security: New Approach for a New Reality
Cloud Native Security: New Approach for a New RealityCloud Native Security: New Approach for a New Reality
Cloud Native Security: New Approach for a New RealityCarlos Andrés García
 
AnsibleFest 2020 - Automate cybersecurity solutions in a cloud native scenario
AnsibleFest 2020 - Automate cybersecurity solutions in a cloud native scenarioAnsibleFest 2020 - Automate cybersecurity solutions in a cloud native scenario
AnsibleFest 2020 - Automate cybersecurity solutions in a cloud native scenarioRoberto Carratala
 
SOCstock 2021 The Cloud-native SOC
SOCstock 2021 The Cloud-native SOC SOCstock 2021 The Cloud-native SOC
SOCstock 2021 The Cloud-native SOC Anton Chuvakin
 
Dissecting The PaaS Landscape
Dissecting The PaaS LandscapeDissecting The PaaS Landscape
Dissecting The PaaS LandscapeRishidot Research
 
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Innovation with Open Sources and App Modernization for Developers | Ian Y. ChoiInnovation with Open Sources and App Modernization for Developers | Ian Y. Choi
Innovation with Open Sources and App Modernization for Developers | Ian Y. ChoiVietnam Open Infrastructure User Group
 
Synnefo @ LinuxCon/CloudOpen North America 2014
Synnefo @ LinuxCon/CloudOpen North America 2014Synnefo @ LinuxCon/CloudOpen North America 2014
Synnefo @ LinuxCon/CloudOpen North America 2014Vangelis Koukis
 
Introducing github.com/open-cluster-management – How to deliver apps across c...
Introducing github.com/open-cluster-management – How to deliver apps across c...Introducing github.com/open-cluster-management – How to deliver apps across c...
Introducing github.com/open-cluster-management – How to deliver apps across c...Michael Elder
 
OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)Randy Bias
 
Episode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OSEpisode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OSMesosphere Inc.
 
RHTE2015_CloudForms_Containers
RHTE2015_CloudForms_ContainersRHTE2015_CloudForms_Containers
RHTE2015_CloudForms_ContainersJerome Marc
 
Enabling Microservices Frameworks to Solve Business Problems
Enabling Microservices Frameworks to Solve  Business ProblemsEnabling Microservices Frameworks to Solve  Business Problems
Enabling Microservices Frameworks to Solve Business ProblemsKen Owens
 
Episode 1: Building Kubernetes-as-a-Service
Episode 1: Building Kubernetes-as-a-ServiceEpisode 1: Building Kubernetes-as-a-Service
Episode 1: Building Kubernetes-as-a-ServiceMesosphere Inc.
 

Tendances (20)

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

Similaire à Autopilot : Securing Cloud Native Storage

stackconf 2022: Data Management in Kubernetes – Backup, DR, HA
stackconf 2022: Data Management in Kubernetes – Backup, DR, HAstackconf 2022: Data Management in Kubernetes – Backup, DR, HA
stackconf 2022: Data Management in Kubernetes – Backup, DR, HANETWAYS
 
DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...
DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...
DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...Docker, Inc.
 
Introduction to containers, k8s, Microservices & Cloud Native
Introduction to containers, k8s, Microservices & Cloud NativeIntroduction to containers, k8s, Microservices & Cloud Native
Introduction to containers, k8s, Microservices & Cloud NativeTerry Wang
 
Build cloud native solution using open source
Build cloud native solution using open source Build cloud native solution using open source
Build cloud native solution using open source Nitesh Jadhav
 
Introduction to containers a practical session using core os and docker
Introduction to containers  a practical session using core os and dockerIntroduction to containers  a practical session using core os and docker
Introduction to containers a practical session using core os and dockerAlessandro Martellone
 
Red Hat multi-cluster management & what's new in OpenShift
Red Hat multi-cluster management & what's new in OpenShiftRed Hat multi-cluster management & what's new in OpenShift
Red Hat multi-cluster management & what's new in OpenShiftKangaroot
 
Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3Velocidex Enterprises
 
Containers and Nutanix - Acropolis Container Services
Containers and Nutanix - Acropolis Container ServicesContainers and Nutanix - Acropolis Container Services
Containers and Nutanix - Acropolis Container ServicesNEXTtour
 
Kubernetes in Docker
Kubernetes in DockerKubernetes in Docker
Kubernetes in DockerDocker, Inc.
 
Docker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platformsDocker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platformsFederico Michele Facca
 
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...NETWAYS
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftKubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftDevOps.com
 
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: https://youtu.be/KnjnQj-FvfQKubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: https://youtu.be/KnjnQj-FvfQRahul Malhotra
 
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storageWebinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storageMayaData Inc
 
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE PlatformsFIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE PlatformsFIWARE
 
Docker Application to Scientific Computing
Docker Application to Scientific ComputingDocker Application to Scientific Computing
Docker Application to Scientific ComputingPeter Bryzgalov
 
State of the Container Ecosystem
State of the Container EcosystemState of the Container Ecosystem
State of the Container EcosystemVinay Rao
 

Similaire à Autopilot : Securing Cloud Native Storage (20)

stackconf 2022: Data Management in Kubernetes – Backup, DR, HA
stackconf 2022: Data Management in Kubernetes – Backup, DR, HAstackconf 2022: Data Management in Kubernetes – Backup, DR, HA
stackconf 2022: Data Management in Kubernetes – Backup, DR, HA
 
OpenStack on SmartOS
OpenStack on SmartOSOpenStack on SmartOS
OpenStack on SmartOS
 
DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...
DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...
DCEU 18: Use Cases and Practical Solutions for Docker Container Storage on Sw...
 
Santander DevopsandCloudDays 2021 - Hardening containers.pdf
Santander DevopsandCloudDays 2021 - Hardening containers.pdfSantander DevopsandCloudDays 2021 - Hardening containers.pdf
Santander DevopsandCloudDays 2021 - Hardening containers.pdf
 
Introduction to containers, k8s, Microservices & Cloud Native
Introduction to containers, k8s, Microservices & Cloud NativeIntroduction to containers, k8s, Microservices & Cloud Native
Introduction to containers, k8s, Microservices & Cloud Native
 
Build cloud native solution using open source
Build cloud native solution using open source Build cloud native solution using open source
Build cloud native solution using open source
 
Introduction to containers a practical session using core os and docker
Introduction to containers  a practical session using core os and dockerIntroduction to containers  a practical session using core os and docker
Introduction to containers a practical session using core os and docker
 
Red Hat multi-cluster management & what's new in OpenShift
Red Hat multi-cluster management & what's new in OpenShiftRed Hat multi-cluster management & what's new in OpenShift
Red Hat multi-cluster management & what's new in OpenShift
 
Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3
 
Containers and Nutanix - Acropolis Container Services
Containers and Nutanix - Acropolis Container ServicesContainers and Nutanix - Acropolis Container Services
Containers and Nutanix - Acropolis Container Services
 
Kubernetes in Docker
Kubernetes in DockerKubernetes in Docker
Kubernetes in Docker
 
Docker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platformsDocker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platforms
 
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftKubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
 
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: https://youtu.be/KnjnQj-FvfQKubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: https://youtu.be/KnjnQj-FvfQ
 
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storageWebinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
 
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE PlatformsFIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
 
Kubernetes Intro
Kubernetes IntroKubernetes Intro
Kubernetes Intro
 
Docker Application to Scientific Computing
Docker Application to Scientific ComputingDocker Application to Scientific Computing
Docker Application to Scientific Computing
 
State of the Container Ecosystem
State of the Container EcosystemState of the Container Ecosystem
State of the Container Ecosystem
 

Dernier

%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 Bahrainmasabamasaba
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
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 pastPapp Krisztián
 
%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 masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
%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 tembisamasabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 

Dernier (20)

%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
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
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
 
%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
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%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
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 

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.