Mining on Google Cloud as an example. Don't you dare do it, you'll get blocked! Strictly for educational purposes, it's against Google Cloud ToS agreement!
I registered with Google Cloud free 1 year testing, created an instance, installed Ubuntu 14 from the snapshot, installed all the dependencies and modules, then mining software, then ran it from the command line.
Bittube Bugs and Glitches - When The Fuck Will You Fix? https://bittube.tv/post/9dc7d69d-73fc-4567-b5ef-9bba6300c843