How to deploy dgraph in google cloud

I am using Ubutu 20 LTS

Well, if you want to do it the old school way, the deploy docs are here:

https://dgraph.io/docs/deploy/overview/

If you want to use Dgraph Cloud, then GCP is available if you launch a dedicated instance (hourly cost of $0.26 onwards)