With a database, the data itself is the important part- using something like Kubernetes combined with persistent volumes (GCE or EBS) lets you easily move a running database between VMs with minimal effort. You run the program however you want, and let the orchestration layer bring the persistent data to wherever that program is running.