Juju 2.x have the ability to add
LXD as a
provisioner, by default it can
easily use a local lxd (juju bootstrap lxd), but how could we use a remote
lxd?, the following instructions will guide you to achieve this:

SSH into the remote server (e.g. 192.168.10.2) and configure lxd to accept
incoming connections and set a password.