SlideShare a Scribd company logo
© 2015 Apcera
Policy-based Cloud Storage
Persisting Data in a Multi-Site, Multi-Cloud World
V 2015-09-23.1
Earl C. Ruby III
Principal Software Engineer
Apcera
earl@apcera.com
@earlruby
http://earlruby.org
© 2015 Apcera
Introduction
My name is Earl, and I work at Apcera
This is the picture I used last year at RICON
Storage covers a lot of ground, so I’m going to
focus on file system storage and policy
Q&A afterwards, but feel free to ask questions
© 2015 Apcera
What problem are we trying to solve?
© 2015 Apcera
What problem are we trying to solve?
We want to reduce application
development time by allowing engineers
to easily provision services -- network,
DNS, NoSQL, DB, Web, etc. --- without
having to request the service from some
other group and without compromising
system security or stability
© 2015 Apcera
File systems in the cloud
! Provide a temporary file system to a single job
! Provide a persistent file system to a single job
! Provide a persistent file system shared with multiple jobs
Do all of the above on any cloud, anywhere
© 2015 Apcera
Temporary file system / single job
Not too interesting...
! Job starts, has a file system (how much data?)
! Job writes data to the file system (what kind of performance?)
! Data is stored locally on the same host where the job runs (limits the
available volume size)
! Job ends, data goes away (hence the name “temporary”)
! Linux containers handle this well today
© 2015 Apcera
Persistent file system / single job
More interesting...
! Job starts, has a file system
! Job writes data to the file system (what performance?)
! Job migrates to a new host, data moves with it (but how quickly?)
! Job restarts, data persists (how durable? RAID? 3 copy?)
! Job ends, data goes away (difference between restart and end?)
© 2015 Apcera
Persistent FS / shared / multiple jobs
Very interesting...
! First job starts, gets a file system (how much data?)
! More jobs start, can access same file system (how many jobs?)
! Jobs write data to the file system (how many jobs at the same time?
same file? same directory?)
! Jobs migrate to a new cloud (all jobs or some? does the shared data
migrate and if so, when?)
! Will it scale?
© 2015 Apcera
Define “Scale”
When we say “Scale”, what are we talking about?
! Total volume of data
! Number of simultaneous read/write/update/delete operations
! Number of simultaneous connections
! Total IOPS / Gbps (“Noisy Neighbor” problem)
! Consistency / Availability / Partition Tolerance (CAP)
! Predictable performance as all of the above increase
It depends...
© 2015 Apcera
Trade-offs
Different types of storage systems have different tradeoffs
! NFS - all traffic across network, tends to degrade if many jobs write to
the same file or directory (locking issues)
! Local SSD - fast, but total space is limited to the size of the disk, SPOF
! HDFS - Optimized for large files and sequential reads
! AWS EBS - Only works on AWS, can get expensive for high IOPS
! AWS Glacier - Cheap to store, slow and expensive to read. Optimized
for large files, write once, read rarely
! Legacy SAN - fast, works for on-premises cloud, not AWS, expensive
to maintain and extend
© 2015 Apcera
Policy!
Use policy for Provisioning,
Security, Performance, and
Business Logic.
Instead of trying to redesign the
wheel, describe what you want
to happen and let the application
platform make that happen.

© 2015 Apcera
Storage creation policy
! Max capacity (disk quota)
! Geo-replicated / HA fail-over required? (Y/N)
! Data Durability
○ Durability affects performance during recovery from hardware failure
○ Let the system decide if an app’s requirements means 1-copy, 2-
copy, 3-copy, RAID level, or erasure encoded
! Thick provisioning required? (Y/N)
© 2015 Apcera
Storage performance policy
! Min / Max IOPS (or best effort)
! Min / Max bandwidth
! Max Latency
! Max Concurrent Access
DO NOT define SSD / HDD / SAN -- define the performance you require,
let the platform figure out how to deliver that performance
© 2015 Apcera
Data handling policy
! Deduplication (Y/N)
! Compression (Y/N)
! At-rest encryption (None, LUKS, etc.)
! Point-in-time recovery required? (Y/N)
○ At what points ? (schedule)
© 2015 Apcera
Business policy
! Max Cost / GB
! Location - where is this data allowed to be physically located?
! Retention - keep data forever or delete after some date?
© 2015 Apcera
Play nice with others
In a multi-cloud world, your platform has to play nice with others
! Connect to other vendors’ storage solutions
! Be able to determine what policies those solutions support
! Apply policies that are supported by those solutions
! React gracefully when policies are not supported
! Self-heal if policy is not supported (or permitted) in any cloud -- give
the user a suggestion on how to move forward
© 2015 Apcera
Where are we now?
! We currently provide NFS volumes to Apcera jobs
! Provide persistent storage to Docker containers
! We are actively engaged with ClusterHQ/Flocker, ObjectiveFS, and
ConvergeIO, among others
! We are part of the Open Container Initiative
! Quotas and access permissions are supported by policy today
© 2015 Apcera
Policy example 1
The following is a basic
quota policy that limits
package size, RAM, disk,
and network resources for
the user Sam’s sandboxed
namespace. Without such
policy, Sam has an
unrestricted use of
resources.
quota::/sandbox/sam {
{ max.package.size 2GB }
{ total.package.size 6GB }
{ total.memory 5GB }
{ total.disk 15GB }
{ total.network 1Gbps }
}
© 2015 Apcera
Policy example 2
The following policy block
limits the maximum amount
of resources individual jobs
and job instances in the /
dev namespace may
consume.
quota::/dev {
{ max.job.cpu 200 }
{ max.instance.cpu 100 }
{ max.job.memory 64GB }
{ max.instance.memory 32GB }
{ max.job.disk 50TB }
{ max.instance.disk 25TB }
{ max.job.network 10Mbps }
{ max.instance.network 5Mbps }
}
© 2015 Apcera
Policy example 3
The following policy block
limits the total amount of
resources all jobs in the /
prod/website namespace
may consume.
quota::/prod/website {
{ total.cpu 1000 }
{ total.memory 100GB }
{ total.disk 10TB }
{ total.network 250Gbps }
}
© 2015 Apcera
Policy example 4
The following policy block
limits the maximum
memory and disk space all
job instances in the /prod
namespace may consume,
and the maximum memory
and disk space each job
instance in the /prod
namespace may consume.
quota::/prod {
{ max.instance.memory 256MB }
{ total.memory 20GB }
{ max.instance.disk 5GB }
{ total.disk 100GB }
}
© 2015 Apcera
When will we get there?
"WHERE ARE WE GOING?"
"PLANET TEN!"
"WHEN WILL WE GET THERE?"
"REAL SOON!"
-- Buckaroo Banzai
© 2015 Apcera
Thanks for listening!
Earl C. Ruby III
Principal Software Engineer
Apcera
earl@apcera.com
@earlruby
http://earlruby.org

More Related Content

PDF
Kubernetes, The Day After
Apcera
 
PPTX
Docker & Apcera Better Together
Simone Morellato
 
PPTX
Private cloud cloud-phoenix-april-2014
Miguel Zuniga
 
PPTX
Leveraging OpenStack to Run Mesos/Marathon at Charter Communications
Tesora
 
PPTX
OpenStack in the Enterprise
Tesora
 
PDF
When flexibility met simplicity: the friendship of OpenStack and Ansible
Major Hayden
 
PDF
OpenStack Momentum
openstackindia
 
PDF
Practical Guide to Securing Kubernetes
Lacework
 
Kubernetes, The Day After
Apcera
 
Docker & Apcera Better Together
Simone Morellato
 
Private cloud cloud-phoenix-april-2014
Miguel Zuniga
 
Leveraging OpenStack to Run Mesos/Marathon at Charter Communications
Tesora
 
OpenStack in the Enterprise
Tesora
 
When flexibility met simplicity: the friendship of OpenStack and Ansible
Major Hayden
 
OpenStack Momentum
openstackindia
 
Practical Guide to Securing Kubernetes
Lacework
 

What's hot (20)

PPTX
Containers for the Enterprise: It's Not That Simple
Mirantis
 
PDF
Running OpenStack in Production
Nati Shalom
 
PPTX
25 12 18 meetup - road to k8s
Daniel Borovsky
 
PPTX
CloudConnect 2012: The cloud application stack
Geva Perry
 
PDF
Big Data and OpenStack, a Love Story: Michael Still, Rackspace
OpenStack
 
PPTX
Introduction to Cloudify for OpenStack users
Nati Shalom
 
PPTX
Protecting Yourself from the Container Shakeout
Mirantis
 
PPTX
Stateful Applications On the Cloud: A PayPal Journey
Tesora
 
PPTX
Summit openshift-on-openstack
Pippo620677
 
PDF
Better, Faster, Cheaper Infrastructure: Apache CloudStack and Riak CS
John Burwell
 
PDF
Apcera: Agility and Security in Docker Delivery
Apcera
 
PDF
Cassandra summit 2015 - Simplifying Streaming Analytics
Brenden Matthews
 
PDF
Mesos meetup @ shutterstock
Brenden Matthews
 
PPTX
Interoperability: The Elephants in the Room & What We're Doing About Them
Mark Voelker
 
PDF
10 Good Reasons: NetApp for DevOps
NetApp
 
PPTX
Running OpenStack in Production
Tesora
 
PDF
Microsoft loves Linux
OpenStack Korea Community
 
PPTX
Cloud patterns
Nicolas De Loof
 
PDF
Chef for OpenStack: OpenStack Spring Summit 2013
Matt Ray
 
PDF
Level up your SQL and Azure, by using Rubrik
Jaap Brasser
 
Containers for the Enterprise: It's Not That Simple
Mirantis
 
Running OpenStack in Production
Nati Shalom
 
25 12 18 meetup - road to k8s
Daniel Borovsky
 
CloudConnect 2012: The cloud application stack
Geva Perry
 
Big Data and OpenStack, a Love Story: Michael Still, Rackspace
OpenStack
 
Introduction to Cloudify for OpenStack users
Nati Shalom
 
Protecting Yourself from the Container Shakeout
Mirantis
 
Stateful Applications On the Cloud: A PayPal Journey
Tesora
 
Summit openshift-on-openstack
Pippo620677
 
Better, Faster, Cheaper Infrastructure: Apache CloudStack and Riak CS
John Burwell
 
Apcera: Agility and Security in Docker Delivery
Apcera
 
Cassandra summit 2015 - Simplifying Streaming Analytics
Brenden Matthews
 
Mesos meetup @ shutterstock
Brenden Matthews
 
Interoperability: The Elephants in the Room & What We're Doing About Them
Mark Voelker
 
10 Good Reasons: NetApp for DevOps
NetApp
 
Running OpenStack in Production
Tesora
 
Microsoft loves Linux
OpenStack Korea Community
 
Cloud patterns
Nicolas De Loof
 
Chef for OpenStack: OpenStack Spring Summit 2013
Matt Ray
 
Level up your SQL and Azure, by using Rubrik
Jaap Brasser
 
Ad

Similar to Policy-based Cloud Storage: Persisting Data in a Multi-Site, Multi-Cloud World (20)

PDF
ApceraPlatformFeatures_WP
Simone Morellato
 
PDF
Inter connect2016 yss1841-cloud-storage-options-v4
Tony Pearson
 
PPTX
Migrate Existing Applications to AWS without Re-engineering
Buurst
 
PPTX
Elastic storage in the cloud session 5224 final v2
BradDesAulniers2
 
PPTX
MCSA 70-412 Chapter 02
Computer Networking
 
PDF
S104873 nas-sizing-jburg-v1809d
Tony Pearson
 
PPTX
The Right Approach To Cloud Storage
Stephen Foskett
 
PPTX
Designing Effective Storage Strategies to Meet Business Needs
Eagle Technologies
 
PPTX
Designing Effective Storage Strategies to Meet Business Needs
Brian Anderson
 
PPTX
Solve 3 Enterprise Storage Problems Today
Stephen Foskett
 
PDF
SoftLayer Object Storage Overview
Michael Fork
 
PDF
IBM Object Storage and Software Defined Solutions - Cleversafe
Diego Alberto Tamayo
 
PPTX
Storage As A Service (StAAS)
Shreyans Jain
 
PDF
S014066 scale-ess-orlando-v1705a
Tony Pearson
 
PPTX
Make a Move to AWS Now
Buurst
 
PDF
The Foundations of Cloud Data Storage
Jan-Erik Finlander
 
PPT
ParaScale Cloud Storage Customer overview presentation
ParaScale Marketing
 
PDF
Cloud Storage for all
Tony Ramos de la Torre
 
PPTX
Managing storage on Prem and in Cloud
Howard Marks
 
PPTX
Storage tiering for Oracle Database on AWS and Oracle EBusiness Suite on AWS ...
Tom Laszewski
 
ApceraPlatformFeatures_WP
Simone Morellato
 
Inter connect2016 yss1841-cloud-storage-options-v4
Tony Pearson
 
Migrate Existing Applications to AWS without Re-engineering
Buurst
 
Elastic storage in the cloud session 5224 final v2
BradDesAulniers2
 
MCSA 70-412 Chapter 02
Computer Networking
 
S104873 nas-sizing-jburg-v1809d
Tony Pearson
 
The Right Approach To Cloud Storage
Stephen Foskett
 
Designing Effective Storage Strategies to Meet Business Needs
Eagle Technologies
 
Designing Effective Storage Strategies to Meet Business Needs
Brian Anderson
 
Solve 3 Enterprise Storage Problems Today
Stephen Foskett
 
SoftLayer Object Storage Overview
Michael Fork
 
IBM Object Storage and Software Defined Solutions - Cleversafe
Diego Alberto Tamayo
 
Storage As A Service (StAAS)
Shreyans Jain
 
S014066 scale-ess-orlando-v1705a
Tony Pearson
 
Make a Move to AWS Now
Buurst
 
The Foundations of Cloud Data Storage
Jan-Erik Finlander
 
ParaScale Cloud Storage Customer overview presentation
ParaScale Marketing
 
Cloud Storage for all
Tony Ramos de la Torre
 
Managing storage on Prem and in Cloud
Howard Marks
 
Storage tiering for Oracle Database on AWS and Oracle EBusiness Suite on AWS ...
Tom Laszewski
 
Ad

More from Apcera (20)

PDF
Gopher fest 2017: Adding Context To NATS
Apcera
 
PDF
How Clarifai uses NATS and Kubernetes for Machine Learning
Apcera
 
PPTX
Modernizing IT in the Platform Era
Apcera
 
PDF
Debugging Network Issues
Apcera
 
PDF
IT Modernization Doesn’t Mean You Leave Your Legacy Apps Behind
Apcera
 
PDF
How Greta uses NATS to revolutionize data distribution on the Internet
Apcera
 
PDF
Simple and Scalable Microservices: Using NATS with Docker Compose and Swarm
Apcera
 
PDF
The Zen of High Performance Messaging with NATS
Apcera
 
PDF
Implementing Microservices with NATS
Apcera
 
PPTX
NATS for Modern Messaging and Microservices
Apcera
 
PDF
Actor Patterns and NATS - Boulder Meetup
Apcera
 
PDF
NATS Connector Framework - Boulder Meetup
Apcera
 
PDF
Simple Solutions for Complex Problems - Boulder Meetup
Apcera
 
PPTX
Patterns for Asynchronous Microservices with NATS
Apcera
 
PDF
NATS vs HTTP
Apcera
 
PDF
Micro on NATS - Microservices with Messaging
Apcera
 
PDF
NATS: A Central Nervous System for IoT Messaging - Larry McQueary
Apcera
 
PDF
Securing the Cloud Native Stack
Apcera
 
PDF
Simple Solutions for Complex Problems
Apcera
 
PDF
How to Migrate to Cloud with Complete Confidence and Trust
Apcera
 
Gopher fest 2017: Adding Context To NATS
Apcera
 
How Clarifai uses NATS and Kubernetes for Machine Learning
Apcera
 
Modernizing IT in the Platform Era
Apcera
 
Debugging Network Issues
Apcera
 
IT Modernization Doesn’t Mean You Leave Your Legacy Apps Behind
Apcera
 
How Greta uses NATS to revolutionize data distribution on the Internet
Apcera
 
Simple and Scalable Microservices: Using NATS with Docker Compose and Swarm
Apcera
 
The Zen of High Performance Messaging with NATS
Apcera
 
Implementing Microservices with NATS
Apcera
 
NATS for Modern Messaging and Microservices
Apcera
 
Actor Patterns and NATS - Boulder Meetup
Apcera
 
NATS Connector Framework - Boulder Meetup
Apcera
 
Simple Solutions for Complex Problems - Boulder Meetup
Apcera
 
Patterns for Asynchronous Microservices with NATS
Apcera
 
NATS vs HTTP
Apcera
 
Micro on NATS - Microservices with Messaging
Apcera
 
NATS: A Central Nervous System for IoT Messaging - Larry McQueary
Apcera
 
Securing the Cloud Native Stack
Apcera
 
Simple Solutions for Complex Problems
Apcera
 
How to Migrate to Cloud with Complete Confidence and Trust
Apcera
 

Recently uploaded (20)

PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Doc9.....................................
SofiaCollazos
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 

Policy-based Cloud Storage: Persisting Data in a Multi-Site, Multi-Cloud World

  • 1. © 2015 Apcera Policy-based Cloud Storage Persisting Data in a Multi-Site, Multi-Cloud World V 2015-09-23.1 Earl C. Ruby III Principal Software Engineer Apcera [email protected] @earlruby http://earlruby.org
  • 2. © 2015 Apcera Introduction My name is Earl, and I work at Apcera This is the picture I used last year at RICON Storage covers a lot of ground, so I’m going to focus on file system storage and policy Q&A afterwards, but feel free to ask questions
  • 3. © 2015 Apcera What problem are we trying to solve?
  • 4. © 2015 Apcera What problem are we trying to solve? We want to reduce application development time by allowing engineers to easily provision services -- network, DNS, NoSQL, DB, Web, etc. --- without having to request the service from some other group and without compromising system security or stability
  • 5. © 2015 Apcera File systems in the cloud ! Provide a temporary file system to a single job ! Provide a persistent file system to a single job ! Provide a persistent file system shared with multiple jobs Do all of the above on any cloud, anywhere
  • 6. © 2015 Apcera Temporary file system / single job Not too interesting... ! Job starts, has a file system (how much data?) ! Job writes data to the file system (what kind of performance?) ! Data is stored locally on the same host where the job runs (limits the available volume size) ! Job ends, data goes away (hence the name “temporary”) ! Linux containers handle this well today
  • 7. © 2015 Apcera Persistent file system / single job More interesting... ! Job starts, has a file system ! Job writes data to the file system (what performance?) ! Job migrates to a new host, data moves with it (but how quickly?) ! Job restarts, data persists (how durable? RAID? 3 copy?) ! Job ends, data goes away (difference between restart and end?)
  • 8. © 2015 Apcera Persistent FS / shared / multiple jobs Very interesting... ! First job starts, gets a file system (how much data?) ! More jobs start, can access same file system (how many jobs?) ! Jobs write data to the file system (how many jobs at the same time? same file? same directory?) ! Jobs migrate to a new cloud (all jobs or some? does the shared data migrate and if so, when?) ! Will it scale?
  • 9. © 2015 Apcera Define “Scale” When we say “Scale”, what are we talking about? ! Total volume of data ! Number of simultaneous read/write/update/delete operations ! Number of simultaneous connections ! Total IOPS / Gbps (“Noisy Neighbor” problem) ! Consistency / Availability / Partition Tolerance (CAP) ! Predictable performance as all of the above increase It depends...
  • 10. © 2015 Apcera Trade-offs Different types of storage systems have different tradeoffs ! NFS - all traffic across network, tends to degrade if many jobs write to the same file or directory (locking issues) ! Local SSD - fast, but total space is limited to the size of the disk, SPOF ! HDFS - Optimized for large files and sequential reads ! AWS EBS - Only works on AWS, can get expensive for high IOPS ! AWS Glacier - Cheap to store, slow and expensive to read. Optimized for large files, write once, read rarely ! Legacy SAN - fast, works for on-premises cloud, not AWS, expensive to maintain and extend
  • 11. © 2015 Apcera Policy! Use policy for Provisioning, Security, Performance, and Business Logic. Instead of trying to redesign the wheel, describe what you want to happen and let the application platform make that happen.

  • 12. © 2015 Apcera Storage creation policy ! Max capacity (disk quota) ! Geo-replicated / HA fail-over required? (Y/N) ! Data Durability ○ Durability affects performance during recovery from hardware failure ○ Let the system decide if an app’s requirements means 1-copy, 2- copy, 3-copy, RAID level, or erasure encoded ! Thick provisioning required? (Y/N)
  • 13. © 2015 Apcera Storage performance policy ! Min / Max IOPS (or best effort) ! Min / Max bandwidth ! Max Latency ! Max Concurrent Access DO NOT define SSD / HDD / SAN -- define the performance you require, let the platform figure out how to deliver that performance
  • 14. © 2015 Apcera Data handling policy ! Deduplication (Y/N) ! Compression (Y/N) ! At-rest encryption (None, LUKS, etc.) ! Point-in-time recovery required? (Y/N) ○ At what points ? (schedule)
  • 15. © 2015 Apcera Business policy ! Max Cost / GB ! Location - where is this data allowed to be physically located? ! Retention - keep data forever or delete after some date?
  • 16. © 2015 Apcera Play nice with others In a multi-cloud world, your platform has to play nice with others ! Connect to other vendors’ storage solutions ! Be able to determine what policies those solutions support ! Apply policies that are supported by those solutions ! React gracefully when policies are not supported ! Self-heal if policy is not supported (or permitted) in any cloud -- give the user a suggestion on how to move forward
  • 17. © 2015 Apcera Where are we now? ! We currently provide NFS volumes to Apcera jobs ! Provide persistent storage to Docker containers ! We are actively engaged with ClusterHQ/Flocker, ObjectiveFS, and ConvergeIO, among others ! We are part of the Open Container Initiative ! Quotas and access permissions are supported by policy today
  • 18. © 2015 Apcera Policy example 1 The following is a basic quota policy that limits package size, RAM, disk, and network resources for the user Sam’s sandboxed namespace. Without such policy, Sam has an unrestricted use of resources. quota::/sandbox/sam { { max.package.size 2GB } { total.package.size 6GB } { total.memory 5GB } { total.disk 15GB } { total.network 1Gbps } }
  • 19. © 2015 Apcera Policy example 2 The following policy block limits the maximum amount of resources individual jobs and job instances in the / dev namespace may consume. quota::/dev { { max.job.cpu 200 } { max.instance.cpu 100 } { max.job.memory 64GB } { max.instance.memory 32GB } { max.job.disk 50TB } { max.instance.disk 25TB } { max.job.network 10Mbps } { max.instance.network 5Mbps } }
  • 20. © 2015 Apcera Policy example 3 The following policy block limits the total amount of resources all jobs in the / prod/website namespace may consume. quota::/prod/website { { total.cpu 1000 } { total.memory 100GB } { total.disk 10TB } { total.network 250Gbps } }
  • 21. © 2015 Apcera Policy example 4 The following policy block limits the maximum memory and disk space all job instances in the /prod namespace may consume, and the maximum memory and disk space each job instance in the /prod namespace may consume. quota::/prod { { max.instance.memory 256MB } { total.memory 20GB } { max.instance.disk 5GB } { total.disk 100GB } }
  • 22. © 2015 Apcera When will we get there? "WHERE ARE WE GOING?" "PLANET TEN!" "WHEN WILL WE GET THERE?" "REAL SOON!" -- Buckaroo Banzai
  • 23. © 2015 Apcera Thanks for listening! Earl C. Ruby III Principal Software Engineer Apcera [email protected] @earlruby http://earlruby.org