Mining bitcoins on a cloud platform is a net loss even if the CPU time is free: it'll take you more labor time to set up than you'll gain. If you burn $100k in Google Cloud compute time on mining across hundreds of machines, you'll net something like $30.