Will containers kill the virtual machine?

Will containers kill the virtual machine? As container hype sweeps across technology, what does it mean for VMs? By Brandon Butler Network World | Apr...
Author: Alicia Barber
0 downloads 0 Views 81KB Size
Will containers kill the virtual machine? As container hype sweeps across technology, what does it mean for VMs? By Brandon Butler Network World | Apr 15, 2015 12:31 PM PT

Two years ago when Frank Macreery started Aptible to help companies host sensitive healthcare data in the cloud, as CTO he decided that containers would play a pivotal role in the company’s operations. “Running our service just on top of VMs (virtual machines) would be ugly,” he says. “I couldn’t envision doing it without containers.” Container hype is sweeping across the cloud computing and virtualization industry. Many developers have realized the advantage of the lightweight way of packaging application code and in turn big-name tech vendors, from Amazon Web Services, Red Hat, IBM and even VMware are jumping aboard the container bandwagon. And it’s leading some to wonder: Will the rise of containers mark an end to virtualization and virtual machines? A structural disruption “There is a structural disruption happening right now,” says Bryan Cantrill, the CTO of cloud provider Joyent, which is a heavy user of container technology. “We’re now doing to VMs what VMs did to physical machines.” Containers are not a new technology: the earliest iterations of containers have been around in open source Linux code for decades. But in the past year they’ve captured the hearts and minds of many developers for building and running applications. Containers isolate specific code, applications or processes. Doing so gives whatever is inside the container a neat envelope for managing it, including moving it across various hosts. Whereas you can think of a virtual machine slicing up a server into multiple operating systems, containers run atop the OS so unlike a VM, they don’t require an OS to boot up when they’re created. In essence they can virtualize an operating system to provide a more lightweight package of an application compared to a VM. 1 19 April 2015 From www.networkworld.com/article/2910559/cloud-computing/will-containers-kill-the-virtual-machine.html

Cantrill says that means it’s best to run containers on bare metal servers, meaning one that does not have a hypervisor and virtual machines. “VMs (virtual machines) just don’t make sense in a container world,” he says, noting that Joyent has built its SmartOS operating system that powers it cloud on containers. So will the rise of containers kill the VM? “I don’t think Bryan is alone in thinking that,” says Jay Lyman of the 451 Research Group. But, Lyman’s not quite ready to declare VMs dead. “The reality is that VMs are part and parcel of enterprise IT today and nothing will be replacing them or killing them off anytime soon.” Instead, containers are good in some situations, but they’re not a panacea. “You have to think of containers as another weapon in the arsenal of cloud developers,” says David Linthicum, a respected industry pundit and consultant at Cloud Technology Partners. “They fit well in some situations, but not all.” Determining where and when to use containers may be the big question then. A natural fit For Macreery of Aptible, containers were a natural fit for his company’s hosting platform for sensitive health care data. The company, which started in 2013 and made its product generally available a year later, uses Amazon Web Services’ Elastic Compute Cloud (EC2) service, and runs Docker container images on top of those cloud-based virtual machines. Because the company deals with sensitive healthcare information, Aptible creates a separate virtual private cloud (VPC) running containers for each customer. Containers allow significantly easier management compared to if Aptible was just using virtual machines. For one, containers provide consistent design architecture for all the data Aptible manages – everything is stored in containers. If customers or Aptible need to update anything then a new container is created and launched, which takes less than a second. VMs, on the other hand, can take up to a minute to boot up. The flexibility of containers is another benefit: Aptible is able to spread multiple containers over a single virtual machine, or spread a large container over multiple VMs, if needed. The point though is that it’s much easier for Aptible to manage its service when all of the data and apps look the same, because they’re packaged neatly into containers. They act as a least common denominator. That architecture works well for Aptible, but having consistent services may not be a reality for everyone. Gartner analyst Lydia Leong says even with the rise of containers, users with heterogeneous environments that include multiple operating systems and different security controls will likely still use a VM-focused architecture. Containers need to all run on the same OS and can’t be mixed between Linux and Windows, for example. But, there’s no reason why a large enterprise environment could have a mix of virtualized servers, bare-metal physical hosts with containers mixed into both.

2 19 April 2015 From www.networkworld.com/article/2910559/cloud-computing/will-containers-kill-the-virtual-machine.html

Getting started So how do you get started with containers? Vendors in the cloud and virtualization market have jumped on containers in a big way. Docker, which is an open source project for spinning up containers and the name of a company, has been central to the container movement recently. Other open source projects like Google’s Kubernetes, help manage multiple containers and are gaining popularity as well. Take Amazon Web Services, the market-leading IaaS company last fall announced the Amazon Elastic Container Service (ECS), and just this month the company made it generally available. After an AWS customer spins up a container, ECS will take care of scaling them and providing a central management portal for keeping track of them. Microsoft this month released a new “nano” operating system that will support containers running on Windows OS (read more about Windows Server Container here.) Expect other companies to come out for support of containers too. VMware, for example is the predominant purveyor of virtualization software and has announced initial commitment to supporting containers. Mathew Lodge, one of the company’s cloud executives, says that running containers inside a VM allows users to maintain the security and management controls they are used to while using the new technology. Running containers directly on bare metal would require the provisioning of network and security connections, which the VM can handle in a management system like its software.

3 19 April 2015 From www.networkworld.com/article/2910559/cloud-computing/will-containers-kill-the-virtual-machine.html

CLOUD CHRONICLES By Brandon Butler

Amazon’s argument for running your containers in its cloud Google’s Kubernetes has some company in the container world now Network World | Apr 9, 2015 1:35 PM PT As part of a slew of announcements made during Amazon Web Service’s Summit in San Francisco today was the general availability of the AWS EC2 Container Service, and with it the company launched a fancy new tool that could make managing containers on the company’s cloud much easier too. Containers are a hot technology topic in cloud circles nowadays. Lauded for their ease of use and lightweight nature compared to virtual machines, developers can package applications into a container and then move that container around between various hosts – such as a public cloud or on-premises infrastructure. Containers can also scale up or down, and across various infrastructure stacks to hold as much or as little code as needed. Many of the biggest tech companies have jumped on the container bandwagon, attempting to convince curious users that their platform is the best place to manage containers.

AWS launched a variety of new tools for managing containers on its cloud. 4 From www.networkworld.com/article/2908440/cloud-computing/amazon-s-argument-for-running-your-containers-inits-cloud.html 19 April 2015

But AWS took a big step forward in its argument today. In addition to announcing the GA of the Elastic Compute Cloud (EC2) Container Service, the company also announced a new management dashboard for users to centrally track all of their containers, including how many they have deployed and which users spun them up. AWS will automatically scale containers to fit whatever type of application is placed in them, and if necessary the Container Service will spread the container out over multiple EC2 instances. AWS in the past few months has already launched a repository for storing container images in its cloud. The moves bring new competition to the container market, specifically for a service that Google launched last year named Kubernetes. Google’s open source container project does many of the same things that AWS’s new services do – but there’s a big difference: Kubernetes is meant to run on customers’ own premises, not just in the cloud. The container hype is spreading like wildfire across the cloud and AWS wants to be out in front of it. With moves like today, it’s making the argument that it’s cloud can be container-friendly.

5 From www.networkworld.com/article/2908440/cloud-computing/amazon-s-argument-for-running-your-containers-inits-cloud.html 19 April 2015

Microsoft creates a container for Windows By Joab Jackson IDG News Service | Apr 8, 2015 11:10 AM PT Hoping to build on the success of Docker-based Linux containers, Microsoft has developed a container technology to run on its Windows Server operating system. “We’re finding that interest in containers is very high,” said Mike Schutz, who runs cloud platform product marketing for Microsoft. Twenty percent of Azure users deploy Linux and a significant number of those users run Docker containers, he said. The Windows Server Container can be used to package an application so it can be easily moved across different servers. It uses a similar approach to Docker’s, in that all the containers running on a single server all share the same operating system kernel, making them smaller and more responsive than standard virtual machines. Unlike Docker, which uses Linux as its core operating system, Windows Server Container will rely on the Windows Server operating system. This will allow organizations to package into containers their applications specifically built to run on Windows Server, and Microsoft’s .Net framework. In addition to the Windows Server Containers, Microsoft will also release a container for applications that require strong security, based on Microsoft’s Hyper-V virtual machine. The Hyper-V Container “helps ensure that the code running remains isolated and can’t impact the host that it is running on, or the other containers running along besides it.” The Docker software has been criticized for inadequate security. Both Ubuntu and CoreOS have also developed secure container technologies to address these issues. The new technologies will arrive with the next release of Windows Server, due in 2016. Microsoft will offer a stripped-down version of Windows Server designed only to run containers, called Nano Server, which will take up only about 1/20th the size on disk compared to a regular copy of Windows Server. Both Windows Server Containers and Hyper-V Containers can be controlled through the Docker engine, allowing administrators to manage both Docker and Microsoft containers in the same environment. 6 From www.networkworld.com/article/2908440/cloud-computing/amazon-s-argument-for-running-your-containers-inits-cloud.html 19 April 2015

Since its debut in 2013, Docker has become extremely popular with developers and organizations, and has been downloaded over 100 million times. The software provides a way to package an application along with its dependent libraries so it can be easily and quickly run on any Linux platform. Microsoft was one of the first cloud providers to support Docker with its Azure cloud service, and the technology also quickly found a home in other enterprise focused cloud services from Amazon, Google, IBM, and Hewlett-Packard. Microsoft will demonstrate these new container technologies at its Build developer conference in San Francisco this month.

7 From www.networkworld.com/article/2908440/cloud-computing/amazon-s-argument-for-running-your-containers-inits-cloud.html 19 April 2015