The founder, Vlad, used to rent out cheap dedicated boxes with about 500gb of bandwidth per box for $60 to $80 per month. He'd cycle upload machines - eg 123.imagevenue.com - and fill up the drives on them until no more space was available; when bandwidth was exhausted, that was that for the month. Typically image file downloads would decline on any given upload over time, so machine resources would free back up in terms of bandwidth and deleting images that weren't viewed after N amount of time.
I made a Skylake Xeon system with all enterprise components for $2k. You can't even rent Skylake Xeons anywhere right now.
It of course depends on your provider.
Rent vs buy depends a lot on the circumstances. Maybe if your requirements don't change and you don't upgrade your server hardware it's cheaper in the long run to buy. However, when I've kept a server for more than a year, I've always been able to negotiate a discount.
You didn't post your config, so I can't tell how exotic your requirements are.