This repo will help auto deploy and configure the database and webserver and your themes and plugins for Moodle installation
chmod 755 all scripts
run logging server install.sh 1st on logging server
then run install.sh on database server - note the private IP
then go to webserver machine and change the private IP to match