OpenStack Explained: How Clouds Are Built From Code

OpenStack explained in plain terms means understanding the free software that lets any organisation build its own cloud, with the same self-service machines, networks, and storage that the big public clouds offer. The central question is how a company can run a cloud on its own hardware without buying a proprietary product, and the answer is a set of open-source services that work together to turn ordinary servers into a cloud.

OpenStack is an open-source platform for building private and public clouds, started in 2010 by NASA and Rackspace and now managed by the OpenInfra Foundation. It is a collection of services, each handling one job, such as compute, networking, or storage, that together let users create virtual machines, networks, and volumes through a web dashboard or an API.

The idea is simple: treat the data centre like a cloud. Instead of asking an administrator for a server, a user requests one through OpenStack, and the platform finds capacity, creates the machine, connects it to a network, and hands it over in minutes. This article explains what OpenStack is, how it works, and where it is used.

Key takeaways

  • OpenStack is free, open-source software for building clouds.
  • It is made of services, each handling one job such as compute or storage.
  • Users create machines, networks, and volumes through a dashboard or API.
  • It runs on ordinary hardware, with no licence fees per machine.
  • It suits private clouds, telecoms, and research computing.

What OpenStack is

OpenStack is not a single program but a set of projects that share a common identity and messaging system. Nova manages virtual machines, placing them on physical hosts and starting, stopping, and resizing them. Neutron manages networks, creating virtual networks, routers, and floating IP addresses, and Cinder provides block storage volumes that attach to machines like virtual disks.

Other services fill out the picture. Swift stores objects, such as images and backups, across many disks, Glance holds the disk images that machines boot from, Keystone handles identity, deciding who each user is and what they may do, and Horizon provides the web dashboard where users manage it all. Heat adds orchestration, building whole stacks of resources from a template.

The platform is designed to scale from a single test server to thousands of physical hosts. Each service can run on many machines, and they communicate through a message queue, so adding capacity means adding servers, not replacing the platform. Our guide to containers explains the lighter packaging that often runs alongside OpenStack machines, and our guide to serverless computing explains the model where the cloud runs code without any visible server at all.

How OpenStack works

Creating a virtual machine starts with a request to Nova, either from the Horizon dashboard or through the API. The request names a flavour, which is a size such as two processors and four gigabytes of memory, an image from Glance, and a network from Neutron, and Nova’s scheduler picks a physical host with enough free capacity.

The chosen host then builds the machine. Nova talks to the hypervisor, usually KVM, which creates the virtual machine, attaches the image as its disk, connects its virtual network card to the Neutron network, and starts it. Cinder can attach extra volumes, and the machine gets an address on its network, with an optional floating IP that makes it reachable from outside.

Networking is virtualised end to end. Neutron creates isolated tenant networks, each with its own addresses, and routers connect them to the outside world. Security groups act as firewalls, deciding which traffic may reach each machine, and load balancers can spread traffic across several machines running the same service.

Identity and quotas keep the cloud orderly. Keystone authenticates users and issues tokens, projects group users and resources together, and quotas limit how many machines, volumes, or addresses each project may use. That lets one OpenStack cloud serve many teams, each seeing only its own resources.

Upgrades and failures are handled by design. Services run redundantly, so one controller failing does not stop the cloud, and operators upgrade one service at a time, moving workloads away from hosts that need maintenance. The platform also meters usage, so organisations can charge teams for what they consume, just like a public cloud.

A laptop on a dark desk with its screen showing a glowing green cloud of virtual machines, networks, and storage volumes
A laptop showing a glowing green cloud of virtual machines, networks, and storage volumes shows how OpenStack works: many services, one cloud.

Comparing OpenStack with other clouds

OpenStack is one of several ways to run a cloud, and each suits a different need. A public cloud needs no hardware of your own, VMware’s platform is a polished commercial product, and Kubernetes runs containers rather than machines, but each has its own trade-offs.

The table below sets out the main contrasts between the leading approaches.

Aspect OpenStack Public cloud VMware vSphere
Ownership Your hardware, open source Rented, pay as you go Your hardware, licensed
Cost model Hardware and staff only Pay for what you use Licences plus hardware
Control Full, including the code Limited to the API Full, within the product
Effort to run High, needs skilled operators None, provider runs it Moderate
Best for Private clouds at scale Variable, fast-changing needs Traditional virtualisation

The practical result is that OpenStack is the right choice for an organisation that wants a private cloud it fully controls, a public cloud wins when demand varies and no hardware is wanted, and VMware suits teams that prefer a supported commercial product.

Where OpenStack is used

Telecoms are the largest users. Mobile operators run network functions, such as firewalls and packet gateways, as virtual machines on OpenStack, which lets them scale capacity up and down and replace hardware appliances with software, a shift known as network functions virtualisation.

Large enterprises use OpenStack for private clouds. A bank or retailer with thousands of servers can offer its developers self-service machines with the speed of a public cloud, while keeping data inside its own data centres for regulatory reasons.

Research computing uses OpenStack to share large clusters. Universities and laboratories run simulations, genomics, and physics workloads on OpenStack clouds, where researchers create the machines they need and release them when the job is done.

Public cloud providers use OpenStack to sell cloud services of their own. Smaller providers, and providers in countries with data residency rules, build their offerings on OpenStack rather than developing a platform from scratch.

Government uses OpenStack where control matters. Agencies that must keep data within national borders, or audit every layer of their systems, value the fact that OpenStack’s code is open and the cloud runs on hardware they own.

Strengths and limits

The greatest strength of OpenStack is its openness. There are no licence fees, the code can be read and changed, and no single vendor controls it, which means organisations avoid lock-in and can choose from many suppliers for support, hardware, and distributions.

It is also a strength that OpenStack is proven at scale. It runs some of the largest clouds in the world, with tens of thousands of physical hosts, and its modular design means an organisation can start with compute and storage and add services as needs grow.

The limits are real, though. Running OpenStack takes skilled operators, upgrades can be painful, and the project moves fast, so keeping up with releases is work in itself. Smaller organisations often find a public cloud, or a managed OpenStack service, a better use of their time.

OpenStack checklist

  • Start small, with compute, networking, and one storage service.
  • Use a supported distribution, rather than assembling it by hand.
  • Separate control, storage, and compute traffic onto different networks.
  • Run controllers redundantly, so one failure does not stop the cloud.
  • Set quotas, so one project cannot consume the whole cloud.
  • Back up the databases, since they hold the state of everything.
  • Test upgrades on a copy of the cloud before touching production.
  • Monitor capacity, since a full cloud cannot create new machines.
  • Train operators, because OpenStack rewards skill and punishes guessing.

Frequently asked questions

What is OpenStack in simple terms?

OpenStack is free software that turns a room full of servers into a cloud. Users request virtual machines, networks, and storage through a dashboard, and OpenStack builds them automatically on the available hardware.

What is the difference between OpenStack and AWS?

AWS is a public cloud run by Amazon that you rent, while OpenStack is software you install on your own hardware to build a cloud yourself. AWS needs no hardware; OpenStack gives you full control and no usage bills.

What is Nova in OpenStack?

Nova is the compute service. It manages virtual machines: choosing which physical host runs each one, starting and stopping them, and resizing them, by talking to the hypervisor on each host.

What is Neutron in OpenStack?

Neutron is the networking service. It creates virtual networks, routers, floating IP addresses, and security groups, so that virtual machines can talk to each other and to the outside world safely.

Is OpenStack free?

The software is free and open source, with no licence fees. The costs are the hardware it runs on, the staff to operate it, and optionally a support contract from a distribution vendor.

Do I need OpenStack for a private cloud?

Not always. Small environments are often better served by a simpler virtualisation platform or a managed service. OpenStack earns its complexity at scale, where self-service and automation matter most.

The bottom line

OpenStack explained in one line is this: a set of open-source services that turns ordinary servers into a cloud, where machines, networks, and storage are created on demand.

It is the platform that proved a cloud does not have to belong to a single company, and it remains the foundation of private clouds, telecom networks, and research computing around the world.

This article is general information about how OpenStack works, not advice about choosing a cloud platform for a particular organisation.

Latest articles

Scroll to Top