MicroCloud is the easiest way to get a fully highly available LXD cluster up and running.
It’s a snap package which 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 setup 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, optimised 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 initialization is completed, users can launch, run and manage their workloads using system containers or VMs, and otherwise utilize regular LXD functionalities.
To get started, LXD, MicroCeph and Micro Cloud snaps are needed. Users can install them all at once with the command:
snap install lxd microceph microcloud
The bootstrapping process starts with running
microcloud init
Following the simple CLI prompts, a working Micro cloud will be ready within minutes.
Micro Cloud 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 initialization steps MicroCloud will detect the other servers, setup a cluster and finally prompt you to add disks to Ceph.
At the end of this, you’ll have both a Ceph and LXD cluster and LXD itself will have been configured with both networking and storage suitable for use in a cluster.
For networking, MicroCloud will use 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: