In the cloud everything costs.
What Azure will offer you is this:
- Build in the cloud with an Azure free account: they will give you around $200 for free. Then you pay.
- If you use Azure SQL Database
Basic
orS0
you will have contained costs at least at the beginning with bad performances. - Azure SQL Database Serverless: your database will go to sleep after 1h of no connections. But you will pay a bit more when in use.
You cannot escape the costs when you are in the cloud.
Maybe try to put everything on a NAS at home if it's an amateur project.
EDIT:EDIT: There is also this new cloud which is apparently very cheap: https://neon.tech/
EDIT: Since a few days Microsoft is providing 100,000 seconds of vCore (which translates to 27 hours). But if you use Serverless this time might increase. https://learn.microsoft.com/en-us/azure/azure-sql/database/free-offer?view=azuresql