Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Achieving Hybrid Cloud Without the Least Common Denominator

DZone's Guide to

Achieving Hybrid Cloud Without the Least Common Denominator

In this post, Nati Shalom breaks down how a hybrid cloud model can be used to its full potential and not just a place for computing, storage, and networking.

· Cloud Zone
Free Resource

See how the beta release of Kubernetes on DC/OS 1.10 delivers the most robust platform for building & operating data-intensive, containerized apps. Register now for tech preview.

TOSCA | Hybrid Cloud | Cloud Portability | Cloud Orchestration | Hybrid IT | Open Source Cloud Automation | Cloud Orchestration Tools | Kubernetes | Containers

Surveys say that hybrid cloud, what once was perceived as virtually mission impossible, is becoming pretty much mainstream. According to this survey, and this survey, some users are currently running on as many as six clouds simultaneously on average per organization with an even split between private and public clouds — both for real deployments as well as for experimentation. Meanwhile, 74% of enterprises are currently leveraging two or more cloud infrastructure vendors, making the need for robust cloud portability mission critical, not just nice to have.

From my experience, though, when people refer to hybrid cloud, they oftentimes don't necessarily mean the same thing. With the diversity of use cases for hybrid cloud, where each one of them drives a different strategy or approach, it is difficult to lump hybrid cloud into one simplistic category.

On top of this, most of the discussion, and even the tooling built for this purpose, is focused on bridging specific aspects of the infrastructure, e.g. computing and networking, and quite often caters to a wider market, forcing a "least common denominator" approach, which inherently limits the use of the underlying cloud (I will get into this more below).

In addition, many of the existing tools are missing the key part in such deployment models; the actual application itself. Running an application in a hybrid cloud environment requires the handling of the entire application stack in which the infrastructure is really only one component. This includes the configuration management, containers, monitoring, logging, and policies as well as maintenance of the application itself through its entire lifecycle.

I find myself writing a post on just this subject every couple of months because the landscape changes so rapidly (see my disruption cycle post if you want more on that). That said, recent developments have gotten me thinking again, and I wanted to revisit the different hybrid cloud use cases and suggest a different approach to hybrid cloud that doesn't force a least common denominator and handles the entire application lifecycle and stack.

So just to set the stage, and to make sure we're all on the same page, let's start with the obvious — the definition of hybrid cloud and identifying the diversity of use cases.


In layman terms:

Hybrid cloud is, in simple terms, the use of multiple clouds simultaneously, where cloud portability is the enabler of this deployment model.

Where Cloud Portability Comes In

Cloud portability is the ability to run the same application on multiple cloud infrastructures, private or public. This is basically what makes hybrid cloud possible.

The distinction between the two is important. In the case of hybrid cloud, we're talking about multiple clouds attempting to act as one unified infrastructure, and with the second, we're basically talking about the option to run on multiple clouds, but not necessarily at the same time.

This post will dive into use cases for both.

Cloud Portability Use Cases

We often tend to associate cloud portability with cloud bursting, and many times it's even used erroneously interchangeably with hybrid cloud, but these only represent a couple of use cases, and, truthfully, not even the most common ones. In fact, the need for cloud portability spans across a vastly wider number of use cases that are much more common, but at the same time less known, ironically. Let me explain with the following:

  • Future proofing: With the uncertainty around VMware or OpenStack and the emergence of a new class of cloud-native infrastructure, it has become abundantly clear that we're going to continue to experience more disruption on the infrastructure level. In order for the strategy to "future proof" your application from those changes and keep your options open to benefit from new developments as they happen, it is important to decouple the application from the underlying infrastructure by designing the application for cloud portability.
  • Application deployment portability: Many software vendors that develop software applications need to allow application portability to give their customers a simple way to provision and deploy their software products on their cloud of choice. In this context, cloud portability can be analogous to operating system portability between Windows, Linux, and Mac — or even mobile app portability across iOS and Android. Cloud represents a market, and by designing for portability, you maximize the reach of your products to those markets.
  • Same application across multiple clouds: The previous use case describes a situation in which we allow portability at deployment time, i.e. users are able to choose the target environment for deploying their application, but once they have completed the moving process from that environment, it would be considered a completely separate deployment.

There are a number of cases in which the same application would need to span its resources and services across multiple clouds at the same time. Here are a few:

  • Cloud Bursting: Probably the most common use case for spanning application resources across clouds is known as cloud bursting. This use case is aimed to handle the need for on-demand access capacity and optimize the cost of those resources by allowing to run on a fixed pool of resources during the steady state periods and span to on-demand cloud resources during peak loads.
  • Migration: Another lesser known use case for cloud portability is cloud migration. A common example would be an organization that is migrating from their VMware environment into OpenStack or from private cloud into public cloud. In this case, portability allows you to smooth out the process and reduce risk by providing a common management layer across the two environments, thus allowing the organization to selectively transition the application between the two environments while at the same time manage them as one.
  • Portability between the same cloud versions: Another lesser known, but probably the most common, cloud portability use case is the move between versions of the same infrastructure. One of the common strategies to allow upgrade of the infrastructure is to create new instances (cloud sites) of a newer version, and then gradually transition apps onto this new version. Cloud portability makes that process simpler as it decouples the application from the infrastructure and, in this way, from the changes between versions.

The Least Common Denominator Approach

The number of use cases that would benefit from cloud portability could be fairly vast. As noted above, though, the reality is that many of the existing solutions for cloud portability are fairly limited and are not well-suited to fit into all of those use cases.

One of the main reasons for this is that most solutions take a least common denominator approach in which they rely on a common layer of API abstraction (mostly around the compute API and to a lesser degree storage and networking) across all clouds and, by doing so, force limited use of the underlying cloud infrastructure.

Cloud is Much More than Compute, Storage, and Network

The common API abstraction already limits itself to Compute, Storage, and Network, and even at that layer, the abstraction tends to be fairly simplistic and quite often doesn't expose many of the more advanced features of the underlying infrastructure. There are many exciting features constantly being rolled out in the cloudsphere.

In addition to features, cloud infrastructure today provides a rich set of services, such as database services, analytics services, LBaaS, you name it. That just cannot be easily abstracted.

The result is that relying on this layer of abstraction comes with a high toll of compromising on the least common denominator, one size fits all model, and thus losing many of the benefits that modern clouds provide today. And we are rarely one size fits all.

In my next post, I'll dive into how to achieve true cloud portability without forgoing all of the benefits hybrid cloud deployments actually make possible.

New Mesosphere DC/OS 1.10: Production-proven reliability, security & scalability for fast-data, modern apps. Register now for a live demo.

Topics:
portability ,environment ,hybrid cloud ,infrastructure

Published at DZone with permission of Nati Shalom, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}