When it comes to storage, one-size-fits-all doesn’t really work. Containers and microservices differ widely – some need high-performance to meet service levels, some only need “medium” speed, and yet others are less-critical, perhaps needing deep capacity without concern for latency. Our friends at ClusterHQ had this in mind when developing a new framework for their Flocker solution called Storage Profiles. It dramatically simplifies how developers provision storage for Docker containers.
Storage Profiles are intended to provide an easy way to choose the best set of attributes for the storage underpinning your Docker container environment. ClusterHQ has defined a set of profiles that map to specific service-level classes:
- Gold – for applications that have high performance requirements, databases for example
- Silver – for applications that don’t require such high performance, suitable as a default storage option
- Bronze – for applications that have no (or low) requirements for performance, enabling a lower cost option at best-effort speed
As a follow-up to our initial storage driver for Flocker release, we’ve updated the code to now accommodate the Flocker Storage Profiles. One of the advantages of Hedvig is that our software enables you to select from a set of 12 enterprise storage services when defining a Virtual Disk for use with an application, VM, or container. The new Hedvig driver (available now on GitHub) takes advantage of this flexibility to pre-define a default set of characteristics for storage volumes used with Flocker/Docker.
The table below shows the features that we’ve pre-set, like client-side caching, pin-to-flash, dedupe, and compression to deliver a differentiated class of service for each profile.
These storage profiles provide a good starting point for delivering the needed performance levels for containers – automatically – as they are provisioned. Our goal is to make it easier for developers and DevOps to quickly provision virtual disks without having to interact with the underlying storage. In short: programmable infrastructure.
This is highly-valuable for any Docker deployment but particularly for multi-tenant and microservices environments. Service providers will find this new feature critical as customers will inevitably demand different storage performance for their apps, and Flocker Storage Profiles simplify the creation of a diversified service catalog.
You can check out more about how all this works and about Hedvig and ClusterHQ via these resources:
- Hedvig GitHub repository
- Hedvig & Flocker solution brief
- Hedvig Integration with ClusterHQ Flocker blog
- ClusterHQ website
- Flocker Storage Profiles page
I also invite you to watch our recent Hedvig & Cluster HQ webinar. To watch the replay, click the button below.