create postgresql database via a virtual machine