The top questions that could be lingering on the enterprise architect mind in an enterprise are
- How do I build a true container service in my enterprise?
- Do I really have to depend on the popular clouds such as Google, AWS, Digital Ocean to start my container journey?
Building container services on AWS or GCP is practial today. These cloud platforms provide the infrastructure to start building your container platform. You get VMs for hosting K8s minions and masters and persistent disks (EBS disks or GP disks) to persist the block storage of your applications. If you want to build the similar container service in your enterprise on-premise data center, what are the choices for container infrastructure?
Well, the troubling infrastructure piece to build the true container service in your enterprise is the persistent storage for your applications. No surprise there. VMs or baremetal can be deployed using the well known tools such as OpenStack and KVM, but for deploying EBS or GPD equivalent, you would need something like OpenEBS.
OpenEBS helps the enterprises to build an AWS EBS equivalent or GPD equivalent platforms on-premise. OpenEBS is architected to ease the provisioning and management of persistent volumes at scale. It will have most the elements of the popular AWS EBS. I had discussed the comparison between AWS EBS and OpenEBS with few community members in our last meetup. The slides are posted at https://www.slideshare.net/OpenEBS/openebs-containerized-storage-for-containers-meetup-2
Containerization of block storage volumes gives the benefit of flexible storage upgrade schedules, treating the storage volume as part of your K8s POD etc. However, there is more to consider as benefits of OpenEBS. OpenEBS is “Open source” EBS. A quick feature comparison is as follows
Next, provisioning and consuming persistent volumes through OpenEBS is very similar and simple to that of AWS EBS
In AWS EBS a user creates and attaches a disk to an EC2 instance. The nuances of underlying storage protocols is hidden underneath and not exposed to the consumer/user.
In OpenEBS, it is very similar. Once the OpenEBS volumes are expressed as intent in the application yaml config file, the volumes are automatically created on the OpenEBS platform,mounted on K8s minions and the persistent storage is made available to the application.
Example of OpenEBS volumes getting consumed through iSCSI:
Example of OpenEBS volumes getting dynamically provisioned and consumed using k8s-openebs provider is shown below
The next comparison of OpenEBS to AWS EBS is how the volume snapshots are managed for data protection.
As shown above, using OpenEBS, you will have a standard S3 snapshot upload capability so that you can choose your S3 provider. With on-premise S3 technologies like Minio, you can have the container backup infrastructure also as on-prem.
On the advanced features comparison, OpenEBS steps up to match AWS EBS. Granular QoS control, advanced IOPs management features such as using burst and credit IOPS are some of the features that will be home at OpenEBS
Building reliable storage platforms in open source is a hard thing. With all the expertise in serving for large enterprises, the team seems to be up for the challenge. We hope to see the incresing levels of community engagement in the months to come !!