I need 16GB RAM on my development machine to do some Android programming but I can't really afford to buy a new one. So, what's there to stop me from just creating a VM on Azure, use it for just a few hours every day (since its billed per second) and save a lot of costs? If I am using Azure's spot instances, I am getting a significant amount of savings, since I don't care about 24x7 deployment anyway.
AWS offer a remote desktop product which maintains state and basically acts like a normal desktop.
At first I was skeptical of how fast this kind of thing would be for heavy tasks like running a dozen VS instances etc. But I was pleasantly surprised.
If you have a good internet connection it works well.
I think you will find the cost works out more expensive than a local machine over the life time of a PC. Which you could well last for say 5 years these days.
Plus obviously you need a PC of some sort even if its low spec to access the remote machine.
One key thing with mobile development is the ability to deploy your app to a real device. If you cant plug a usb cable in directly you might find this problematic.