Micro clouds are small footprint clusters of compute nodes with distributed storage and networking, optimised for repeatable, reliable remote deployments. Micro clouds are aimed at edge computing, as well as for anyone in need of a small-scale private cloud.
MicroCloud snap drives three other snaps (LXD, MicroCeph and MicroOVN) enabling automated deployment of a highly available LXD cluster for compute with Ceph as a storage backend and OVN as network backend.
A minimum of 3 systems are required.
Once the simple bootstrapping 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, MicroOVN and MicroCloud snaps are needed. Users can install them at once with the command:
snap install lxd microceph microcloud microovn
The bootstrapping process starts with running
Following the simple CLI prompts, a working micro cloud will be ready within minutes.
Swap out openSUSE_Leap_15.5 for openSUSE_Leap_15.4 or openSUSE_Tumbleweed if you’re using a different version of openSUSE.
With the repository added, import its GPG key:
sudo zypper --gpg-auto-import-keys refresh
Finally, upgrade the package cache to include the new snappy repository:
sudo zypper dup --from snappy
Snap can now be installed with the following:
sudo zypper install snapd
You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.
Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands: