Provision machine and monitor java app with moskito