Unless you have free power and a huge server with lot's of cores it's a waste of time, not to mention electricity. These free 1 core type stuff just is not good for mining.
Also with VPS some companies will shutdown your account if you use to much processor power. As a company they really don't want customers maxing out their VPS, they like customers who pay for well more then they use.
It's been a LONG time since mining with VPS was profitable. But at one time it was profitable and a fun time. I know digital ocean locked my account and wanted all kinds of info before they would unlock it. (They could have changed for better been a long time since then). But I had to jump through hoops to get it back. And it was all set off as I had a high usage on my VPS's.
Then there are some such as Amazon that really don't care as long as your paying. Never had a problem with them back then, but they were higher priced.