You can try use SSH tunneling for that, it could be the easiest way.
Take a look here for few examples: https_//serversuit.com/community/technical-tips/view/things-to-do-with-ssh-ssh-tunneling.html
I'm using that myself often.
It's mostly about the budget and your resources needs.
Cloud usually cost you more for the same resources but you can be flexible with your server resources and count.
Dedicated server can be cheaper but you can't discard it in a minute and request a new tomorrow.
So it's up to you.