Welcome!

Microservices Expo Authors: Flint Brenton, Liz McMillan, Pat Romanski, Elizabeth White, Charles Araujo

Related Topics: @DevOpsSummit, Microservices Expo, Containers Expo Blog, @CloudExpo

@DevOpsSummit: Blog Post

Virtualization, an Implementation Detail By @bcferrycoder | @CloudExpo #DevOps #Microservices

Nowhere has virtualization made more of an impact than in Cloud Computing

In the Cloud, Virtualization Is an Implementation Detail

Virtualization is everywhere. Enormous and highly profitable companies have been built on nothing but virtualization. And nowhere has virtualization made more of an impact than in Cloud Computing, the rampant and unprecedented adoption of which has been the direct result of the wide availability of virtualization software and techniques that enabled it. But does the cloud actually require virtualization?

I think not.

What Makes Cloud Computing Cloud Computing?
According to NIST Cloud Computing has a handful of defining characteristics including on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured services. Nowhere does this say anything about virtualization, and all of these features can be obtained without a hypervisor in site.

Why Virtualization?
Without a doubt, virtualization is the fastest track to enable these cloud features. Virtualization provides:

  • Resource pooling
  • Isolation
  • multitenancy
  • Mostly instant availability
  • snapshots
  • Over-provisioning of resources
  • Server consolidation
  • Efficient disaster recovery responses
  • Reduced hardware vendor lock-in

and a host of other capabilities that ease the burden of providing cloud capabilities.

Importantly, the time-consuming and clunky manual tasks of building, installing, loading, booting, configuring, and connecting a physical server can be fully accomplished in software, which means the entire process can be encapsulated and served behind an API. This results in major gains in productivity for ops and developers and is, as discussed above, the reason that virtualization is the enabling technology for cloud.

Why Not Virtualization?
Virtualization does come at a cost, mostly in the areas of agility, performance and security. VMs are beefy, with large memory footprint, and they're not exactly quick to start up.

Performance necessarily takes a hit. Fundamentally, a virtual machine or hypervisor will allow "user" code to execute unimpeded, but when "privileged" operations are invoked, the VM must intercept and intervene, making sure these operations behave and do not interfere with the rest of the system. This interception and intervention introduces overhead.

More generally, virtualization enables multi-tenancy where several workloads or tenants share a single physical host. The process of sharing and swapping between these tenants necessarily introduces inefficiencies.

I recently had a discussion with a DevOps engineer from a significant player in the cloud security industry. He told me that their cloud-based security application services hundreds of millions of requests a day, and that by eliminating the virtualization layer they were able to realize a 5% performance increase.

Virtualization also changes the security landscape. Security architects often take advantage of hardware acceleration and other bare-metal features for encryption, entropy, and performance, and these are obscured or unavailable in a virtual environment. Also physical isolation is always more secure than anything a hypervisor can provide.

Additional downsides include potentially inconsistent performance, unpredictable behavior due to the noisy neighbor problem, and increased complexity of failure analysis due to the additional VM layer.

However, for most applications and workloads the benefits of virtualization far outweigh these downsides. But workloads with very high throughput, or those that deal with highly sensitive data, might benefit from running on a stack where virtualization isn't present.

Metal-as-a-Service: Virtual Private Cloud without the Virtual
MaaS, or Metal-as-a-Service, is basically cloud sans virtualization, and allows the delivery of cloud solutions without some of the disadvantages that virtualization brings to the table. Many cloud providers are diving into bare-metal cloud offerings.

Take a look at Canonical's MaaS which treats compute, storage, and network as commodities, much like virtualization does, but without the overhead of the virtualization layer. From their site: Metal-as-a-Service lets you treat farms of servers as a malleable resource for allocation to specific problems, and re-allocation on a dynamic basis. No virtualization here.

This is a powerful concept that allows complex full-stack apps to be deployed to the cloud, with all the above-mentioned cloud features (on demand, self-service, etc.) yet avoiding many of the downsides of virtualization.

Other IaaS Providers Joining the Metal Party
Other infrastructure providers are taking the leap into MaaS. Sign up for Mirantis OpenStack and you can instantly access a dedicated cluster of bare-metal hosts guaranteed to be yours and yours alone, with no noisy neighbors to keep you awake at night.

Other bare metal offerings are coming into play including Rackspace OnMetal single-tenant bare-metal IaaS, IBM Softlayer Bare Metal Servers, and Internap.

And you might find it Ironic that the OpenStack project, mostly focused on provisioning VMs, also has a bare-metal component well underway.

Google and Virtualization
If virtualization incurs a 5% overhead, then Google, with their gazillions of servers, could probably unplug an entire datacenter by eliminating the virtualization layer. Obviously Google is more forward thinking than this and has been building non-virtualized infrastructure for ages. The secretive Borg project and, more recently, the Omega cluster management system, provide a unified view of compute resources without the need for a virtualization layer.

Apache Mesos provides similar functionality and its adoption by Twitter shows that they too see the value of a non-virtualized infrastructure.

Containers vs. Virtualization
Containerization is like virtualization off steroids. Containers provide a homogeneous and isolated environment in which applications can safely run, much like virtualization does. But containers are less bulky, more nimble, more lightweight. Instead of the several minutes it takes to boot a VM, a fully equipped container can "boot" in under a second.

Today most container-based applications run in virtual environments, but this seems almost redundant: containerization on top of virtualization. Why not eliminate the VM layer altogether and provision the containers on bare metal?

Joshua McKenty from Pivotal has strong opinions on this matter. At a recent Cloud Foundry meetup he said: "Containers on bare metal is like having unprotected sex with the Internet."

I wouldn't go quite that far, at least not until the third date, but Josh clearly has more experience in these activities than I do. And he does have a point. Docker, for example, does not provide the full isolation between different "guests" that hypervisors do. Just ask Google: they run containers everywhere, but when they need true isolation (for example, in Google Compute Engine) they run their containers on VMs.

Naysayers aside, there's considerable work being done by Joyant and others building powerful platforms that provision and manage containers directly on the hardware.

What About Stackato?
Does Stackato run on bare metal? The short answer is yes but we don't officially support it.

A slightly longer answer: Stackato is delivered as a VM appliance, intended to be provisioned from within a hypervisor. But Stackato at its essence is a bootable Ubuntu image, highly evolved and enhanced to support all the things that make it an enterprise hardened PaaS suitable for any production workload. But it's a bootable Ubuntu image none-the-less, and Ubuntu images can be booted on physical hardware just as easily as from a hypervisor.

We don't officially support bare-metal Stackato...yet. But we could: all you have to do is ask.

In the Cloud, Virtualization Is an Implementation Detail
But really, the bare-metal vs. virtualization shouldn't matter. Virtualization is just an implementation detail. For the vast majority of applications, services, and workloads running in the cloud, the specifics of the underlying infrastructure just don't matter. Unless you're in the .0001% of applications that need crazy high performance or have security requirements that aren't acceptable to the rest of the world, then what's under the hood makes no difference.

The other 99.9999% should not be concerned with such matters. If you are, as I'm fond of saying, then you're in the weeds. Let's step back and look at the big picture. What are we really trying to achieve?

The Big Picture
This quote, from Gigaom, sums it up nicely:

We believe the simpler path for the New Stack is to give power to developers to write modern data center-scale applications against an aggregation of all of the resources in the data center, to build operational support into apps as they are created, and to avoid management of individual machines and other low-level infrastructure.

That's it! Application teams should not get mired in the complexities of the infrastructure. Instead they should be free to define their platform in terms of resource requirements, policies, SLAs, and high level security constraints, independent of the underlying architecture of the infrastructure. And this precisely is what PaaS, and other modern deployment platforms like Apache Mesos, provide.

Mesos says pretty much the same thing:

...we are also using commodity hardware. So, today, this VM model doesn't make as much sense any more. Rather than splitting up the applications onto multiple machines, we have to aggregate all the machines and present them to the application as a pool of resources.

The Bottom Line
The panacea here is to allow an app team to deliver and provision software to the data center just as easily as it can be provisioned to a laptop. The interface exposed to the development team has nothing to do with VMs, instead providing a unified view that looks the same whether deploying to a laptop or to multiple datacenters.

If you want to experience it today, in less time than it took you to read this blog, download the Stackato microcloud right now, and see for yourself what's it's like to program to your data center from the comfort of your own laptop.

The post In the Cloud, Virtualization Is an Implementation Detail appeared first on ActiveState.

More Stories By John Wetherill

Originally from Canada, John has spent much of his career designing and building software at a handful of startups, at Sun Microsystems, NeXT Inc., and more recently in the smart grid and energy space. His biggest passion is for developer tools, or more generally any tool, language, process, or system that improves developer productivity and quality of life. Without question, Stackato is one such tool and the reason why he is here. No stranger to technology evangelism, John spent several years in the late 1990's on Sun's Technology Evangelism Team spreading the Java Gospel across the globe and focusing on the prolific number of Java technologies. Now John is now returning to his roots, as a technology evangelist working for a Canadian company, albeit remotely from Santa Cruz.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@MicroservicesExpo Stories
Don’t go chasing waterfall … development, that is. According to a recent post by Madison Moore on Medium featuring insights from several software delivery industry leaders, waterfall is – while still popular – not the best way to win in the marketplace. With methodologies like Agile, DevOps and Continuous Delivery becoming ever more prominent over the past 15 years or so, waterfall is old news. Or, is it? Moore cites a recent study by Gartner: “According to Gartner’s IT Key Metrics Data report, ...
In his keynote at 19th Cloud Expo, Sheng Liang, co-founder and CEO of Rancher Labs, discussed the technological advances and new business opportunities created by the rapid adoption of containers. With the success of Amazon Web Services (AWS) and various open source technologies used to build private clouds, cloud computing has become an essential component of IT strategy. However, users continue to face challenges in implementing clouds, as older technologies evolve and newer ones like Docker c...
All organizations that did not originate this moment have a pre-existing culture as well as legacy technology and processes that can be more or less amenable to DevOps implementation. That organizational culture is influenced by the personalities and management styles of Executive Management, the wider culture in which the organization is situated, and the personalities of key team members at all levels of the organization. This culture and entrenched interests usually throw a wrench in the work...
We all know that end users experience the internet primarily with mobile devices. From an app development perspective, we know that successfully responding to the needs of mobile customers depends on rapid DevOps – failing fast, in short, until the right solution evolves in your customers' relationship to your business. Whether you’re decomposing an SOA monolith, or developing a new application cloud natively, it’s not a question of using microservices - not doing so will be a path to eventual ...
The next XaaS is CICDaaS. Why? Because CICD saves developers a huge amount of time. CD is an especially great option for projects that require multiple and frequent contributions to be integrated. But… securing CICD best practices is an emerging, essential, yet little understood practice for DevOps teams and their Cloud Service Providers. The only way to get CICD to work in a highly secure environment takes collaboration, patience and persistence. Building CICD in the cloud requires rigorous ar...
"This all sounds great. But it's just not realistic." This is what a group of five senior IT executives told me during a workshop I held not long ago. We were working through an exercise on the organizational characteristics necessary to successfully execute a digital transformation, and the group was doing their ‘readout.' The executives loved everything we discussed and agreed that if such an environment existed, it would make transformation much easier. They just didn't believe it was reali...
Without lifecycle traceability and visibility across the tool chain, stakeholders from Planning-to-Ops have limited insight and answers to who, what, when, why and how across the DevOps lifecycle. This impacts the ability to deliver high quality software at the needed velocity to drive positive business outcomes. In his general session at @DevOpsSummit at 19th Cloud Expo, Eric Robertson, General Manager at CollabNet, will discuss how customers are able to achieve a level of transparency that e...
"DivvyCloud as a company set out to help customers automate solutions to the most common cloud problems," noted Jeremy Snyder, VP of Business Development at DivvyCloud, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
We all know that end users experience the Internet primarily with mobile devices. From an app development perspective, we know that successfully responding to the needs of mobile customers depends on rapid DevOps – failing fast, in short, until the right solution evolves in your customers' relationship to your business. Whether you’re decomposing an SOA monolith, or developing a new application cloud natively, it’s not a question of using microservices – not doing so will be a path to eventual b...
"Opsani helps the enterprise adopt containers, help them move their infrastructure into this modern world of DevOps, accelerate the delivery of new features into production, and really get them going on the container path," explained Ross Schibler, CEO of Opsani, and Peter Nickolov, CTO of Opsani, in this SYS-CON.tv interview at DevOps Summit at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Docker is sweeping across startups and enterprises alike, changing the way we build and ship applications. It's the most prominent and widely known software container platform, and it's particularly useful for eliminating common challenges when collaborating on code (like the "it works on my machine" phenomenon that most devs know all too well). With Docker, you can run and manage apps side-by-side - in isolated containers - resulting in better compute density. It's something that many developer...
The “Digital Era” is forcing us to engage with new methods to build, operate and maintain applications. This transformation also implies an evolution to more and more intelligent applications to better engage with the customers, while creating significant market differentiators. In both cases, the cloud has become a key enabler to embrace this digital revolution. So, moving to the cloud is no longer the question; the new questions are HOW and WHEN. To make this equation even more complex, most ...
Your homes and cars can be automated and self-serviced. Why can't your storage? From simply asking questions to analyze and troubleshoot your infrastructure, to provisioning storage with snapshots, recovery and replication, your wildest sci-fi dream has come true. In his session at @DevOpsSummit at 20th Cloud Expo, Dan Florea, Director of Product Management at Tintri, provided a ChatOps demo where you can talk to your storage and manage it from anywhere, through Slack and similar services with...
What's the role of an IT self-service portal when you get to continuous delivery and Infrastructure as Code? This general session showed how to create the continuous delivery culture and eight accelerators for leading the change. Don Demcsak is a DevOps and Cloud Native Modernization Principal for Dell EMC based out of New Jersey. He is a former, long time, Microsoft Most Valuable Professional, specializing in building and architecting Application Delivery Pipelines for hybrid legacy, and cloud ...
Many organizations are now looking to DevOps maturity models to gauge their DevOps adoption and compare their maturity to their peers. However, as enterprise organizations rush to adopt DevOps, moving past experimentation to embrace it at scale, they are in danger of falling into the trap that they have fallen into time and time again. Unfortunately, we've seen this movie before, and we know how it ends: badly.
"I focus on what we are calling CAST Highlight, which is our SaaS application portfolio analysis tool. It is an extremely lightweight tool that can integrate with pretty much any build process right now," explained Andrew Siegmund, Application Migration Specialist for CAST, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"We view the cloud not as a specific technology but as a way of doing business and that way of doing business is transforming the way software, infrastructure and services are being delivered to business," explained Matthew Rosen, CEO and Director at Fusion, in this SYS-CON.tv interview at 18th Cloud Expo (http://www.CloudComputingExpo.com), held June 7-9 at the Javits Center in New York City, NY.
You often hear the two titles of "DevOps" and "Immutable Infrastructure" used independently. In his session at DevOps Summit, John Willis, Technical Evangelist for Docker, covered the union between the two topics and why this is important. He provided an overview of Immutable Infrastructure then showed how an Immutable Continuous Delivery pipeline can be applied as a best practice for "DevOps." He ended the session with some interesting case study examples.
In his session at Cloud Expo, Alan Winters, U.S. Head of Business Development at MobiDev, presented a success story of an entrepreneur who has both suffered through and benefited from offshore development across multiple businesses: The smart choice, or how to select the right offshore development partner Warning signs, or how to minimize chances of making the wrong choice Collaboration, or how to establish the most effective work processes Budget control, or how to maximize project result...
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at @ThingsExpo, James Kirkland, Red Hat's Chief Archi...