The control plane, in one picture

Video 004 of 140 in Virtualization Foundations, in the unit “The whole stack in one picture”. 2:45, with English and Hindi audio.

When you click start on a cloud virtual machine, several programs respond in turn. Together they form the cloud's control plane. This article explains the two kinds of work in a cloud, the control plane that decides and records and the data plane that does the work. It follows one start request step by step, then shows what goes wrong when parts of the control plane fail and how to notice it.

What you will learn

Two planes with two jobs

A cloud has two kinds of work. The control plane is the set of programs that decide and record what should happen. It answers questions such as what should exist, who may change it, and where it runs.

The data plane does the actual work. It runs the virtual machines, carries their traffic, and reads and writes their disks. The two planes depend on each other, but each one has a different job.

One start request, travelling through the control plane

Follow one request. You click start on a web page, and the page sends the request to the control plane API. The API checks the request. Is the user allowed, and is the request complete?

Next, the scheduler picks a host with enough free CPU and memory, and passes the job on. The host's agent asks the hypervisor to boot the virtual machine, and the machine starts. Finally, the host reports back, and the control plane shows the machine as running.

The picture from the bottom up

Orders go down, and reports come back up. The record is only accurate when the hosts report back honestly and on time.

What goes wrong, and how you notice it

Note: If a host stops reporting, check the host itself, not only the web page. The page shows what the record says, which may be out of date.

Terms

Control plane
The programs that decide and record what should exist in a cloud, who may change it, and where it runs.
Data plane
The part of a cloud that does the work: it runs virtual machines, carries their traffic, and reads and writes their disks.
Scheduler
The control plane program that picks a host with enough free CPU and memory for a new machine.
Agent
A program on each host that carries out orders from the control plane and reports back.

Check yourself

What is the difference between the control plane and the data plane?

The control plane decides and records what should happen. The data plane does the actual work, such as running virtual machines and carrying their traffic.

What does the scheduler do when you start a machine?

It picks a host with enough free CPU and memory, and passes the job on to that host.

What usually happens to running machines if the control plane fails?

They usually keep running, but you cannot start new machines or make new changes until the control plane recovers.

Previous: Where storage and networking sit. Next: A cloud operations engineer's day.