MicroCloud is the easiest way to get a fully highly available LXD cluster up and running.
It’s a snap package that can automatically configure both LXD and Ceph across a set of servers. It relies on mDNS to automatically detect other servers on the network, making it possible to set up a complete cluster by running a single command on one of the machines.
MicroCloud creates a small footprint cluster of compute nodes with distributed storage and secure networking, optimized for repeatable, reliable remote deployments. MicroCloud is aimed at edge computing, and anyone in need of a small-scale private cloud.
A minimum of 3 systems and at least 3 additional disks for use by Ceph are required.
Once the simple initialisation is complete, users can launch, run and manage their workloads using system containers or VMs, and otherwise utilise regular LXD functionality.
To get started, install the LXD, MicroCeph and Micro Cloud snaps. You can install them all at once with the following command:
snap install lxd microceph microcloud
Then start the bootstrapping process with the following command:
microcloud init
Following the simple CLI prompts, a working MicroCloud will be ready within minutes.
The MicroCloud snap drives two other snaps (LXD and MicroCeph), enabling automated deployment of a highly available LXD cluster for compute with Ceph as a storage backend.
After the first initialisation steps, MicroCloud will detect the other servers, set up a cluster and finally prompt you to add disks to Ceph.
At the end of this, you’ll have both a Ceph and a LXD cluster, and LXD itself will have been configured with both networking and storage suitable for use in a cluster.
For networking, MicroCloud uses a default network bridge. MicroOVN is in development and will be added once completed.
This is just the beginning of MicroCloud. We’re very excited about what’s coming up next, starting with the addition of OVN to the mix, providing distributed networking alongside the distributed storage provided by Ceph.
- Introduction: https://discuss.linuxcontainers.org/t/introducing-microcloud/15871
- Find the package at the Snap Store: