---
title: 'Homelab clusters: LXD micro cloud on Raspberry Pi'
description: Learn how to build your own low-cost and extendable homelab with LXD
  clusters on Raspberry Pi. Read all about it here or follow our tutorial to get started
url: https://canonical.com/blog/homelab-clusters-lxd-micro-cloud-on-raspberry-pi?format=md
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Rhys Davies](https://canonical.com/blog/author/rhys-davies "More about Rhys Davies")

9 October 2020

# Homelab clusters: LXD micro cloud on Raspberry Pi

[Appliances](https://canonical.com/blog/tag/appliances)
[edge](https://canonical.com/blog/tag/edge)
[homelab](https://canonical.com/blog/tag/homelab)
[LXD](https://canonical.com/blog/tag/lxd)
[Raspberry Pi](https://canonical.com/blog/tag/raspberry-pi)
[Ubuntu Appliance](https://canonical.com/blog/tag/ubuntu-appliance)

---

Share the article

Set up and run your own homelab with the [LXD Ubuntu Appliance](http://ubuntu.com/appliance/lxd). Spin up and manage virtual machines (VMs) and containers, run and test workloads across platforms and architectures, and rest assured of security and updates with Ubuntu Core. [Follow the tutorial](https://discuss.linuxcontainers.org/t/lxd-cluster-on-raspberry-pi-4/9076) to get started or read on to learn why you might care.

## Why should I care?

Running or testing workloads at home, safely, still has issues. There are lots of ways to do it, maybe you have a dedicated homelab in your basement, or you run workloads on your main machine, or something in between. But every method has drawbacks. People want something that doesn’t take up racks of space, that is quiet enough not to be in a different room, and won’t cost an arm and a leg.

Previously you had to use cloud technology, fork out the cash, or let go of your homelab dreams forever. But this all changes with [the LXD Ubuntu Appliance.](https://ubuntu.com/appliance/lxd) A smaller, quieter and comparably inexpensive way to spin up and manage all the VMs and containers you need.

## What is LXD?

LXD is a next-generation system container and VM manager. It gives you a way to easily spin up and manage pre-made images for a [range of Linux distributions](https://images.linuxcontainers.org/) over the network with a designed to be simple REST API. Read more about it on the website where you can [start locally](https://linuxcontainers.org/lxd/getting-started-cli/).

## What’s so great about it?

The LXD appliance targets the [Raspberry Pi 4 and Intel NUCs](https://ubuntu.com/appliance/hardware) and supports mixed architecture deployments. This lowers the price tag of a homelab but also means you can test and build on the Raspberry Pi’s ARM architecture *and* x86, at the same time. And with the [growing](https://nvidianews.nvidia.com/news/nvidia-to-acquire-arm-for-40-billion-creating-worlds-premier-computing-company-for-the-age-of-ai) [interest](https://www.apple.com/uk/newsroom/2020/06/apple-announces-mac-transition-to-apple-silicon/) in ARM, this might just set you up well for developing in the future.

Ubuntu Appliances are operating system agnostic, you can set one up on Windows, macOS or Linux. And you can use the native LXD appliance on any of the above OSs too. It works the same as running LXD on your desktop but can be accessed by multiple users from any system on the network, from under the desk or behind the T.V.

And as an Ubuntu Appliance VMs and containers are significantly easier to support and maintain. Ubuntu Appliances run on Ubuntu Core, the minimal, modular and embedded version of Ubuntu. Ubuntu Core is made up of snap packages that allow Canonical and LXD upstream to keep your OS and LXD up-to-date while you focus on your workloads.

## What are these Ubuntu Appliance things?

Ubuntu Appliances are software-defined projects that enable users to download everything they need to turn a Raspberry Pi or an Intel NUC into a dedicated device. In this case LXD. [Following the tutorial](https://discuss.linuxcontainers.org/t/lxd-cluster-on-raspberry-pi-4/9076) gets you up and running and shows you how to grow to a much larger cluster in the future. You could go on to attach remote storage, use virtual networking, and integrate with MAAS or with Canonical RBAC.

This Ubuntu Appliance is part of a growing [portfolio](http://ubuntu.com/appliance/portfolio) of other projects that you can download and set up today. If while reading this you thought of another project or piece of software that you would like to see become a dedicated appliance, [let us know.](https://discourse.ubuntu.com/c/appliance)

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

By submitting this form, I confirm that I have read and agree to [Canonical's Privacy Policy](https://canonical.com/legal/dataprivacy).

Sign up

## Share on

---

## Related posts

[### Ubuntu Server: a platform made for enterprise scale](https://canonical.com/blog/ubuntu-server-a-platform-made-for-enterprise-scale)

A platform is an environment that allows software to run smoothly across the infrastructure, runtime, and application layers. The key word there is “smoothly”: a good platform...

[Rhys Knipe](https://canonical.com/blog/author/rhysknipe)

7 July 2026

[### Introducing MicroCloud Cluster Manager](https://canonical.com/blog/introducing-microcloud-cluster-manager)

Canonical introduces the beta release of MicroCloud Cluster Manager, a new way to discover, organize, and operate your MicroCloud environments from a single, unified interface.

[Miona Aleksic](https://canonical.com/blog/author/mionaalex)

20 March 2026

[### Native integration available between Canonical LXD and HPE Alletra MP B10000](https://canonical.com/blog/canonical_lxd_hpe_alletra)

Native integration available between Canonical LXD and HPE Alletra MP B10000. The integration combines efficient open source virtualization with high performance,...

[Miona Aleksic](https://canonical.com/blog/author/mionaalex)

15 December 2025

[### Generating allow-lists with DNS monitoring on LXD](https://canonical.com/blog/generating-allow-lists-with-dns-monitoring-on-lxd)

Allow-listing web traffic – blocking all web traffic that has not been pre-approved – is a common practice in highly sensitive environments. It is also a challenge for...

[Nicholas Morris](https://canonical.com/blog/author/niwamo)

26 August 2025
