Deploy an isolated web app in 5 mins with KVM, multipass and HAproxy
Hi there!
As the title suggests this is going to be a “how-to” post on installing virtual machine hypervisor (KVM), creating a new virtual machine (VM) using a tool called multipass
, installing a web server inside this new VM, then configuring a loadbalancer (HAproxy) on the host in order to expose the web server from the VM to the public.
Let’s get started!
KVM⌗
$ sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm
Multipass⌗
ivnilv@sa584:~$ sudo apt install snapd
ivnilv@sa584:~$ sudo snap install multipass
ivnilv@sa584:~$ multipass launch --name gomastodon-social
HAproxy⌗
Read other posts