Take advantage of student credits!
Even when you run out of credits, all cloud providers have a pretty generous free tier.
For example see haveibeenpwn.com's cost breakdown for running a hugely popular api for less than a dollar a month: https://www.troyhunt.com/serverless-to-the-max-doing-big-thi...