It is possible to rent the smallest VPS from a company like Digital Ocean or similar for $5 per month. VPS = virtual private server. For almost any training purpose, it will be just as good as a physical server, plus you can wipe it out and start over in literally seconds. You can set up multiple labs, paying a cent an hour each, and destroy them when you're done.