I think it’s cool you’re trying to find ways to get into this. If the goal is to learn, why not deploy the services on your laptop? They won’t be available when the computer is off of course, but you would still get the full experience. Even a low-spec laptop will be better than a cheap VPS.
~/github/
and~/gitea/