I've built a web application that serves as an index for various items sourced from around the globe. Everything is in place, including an open API, but I'm struggling to find a way to deploy it without incurring costs while it's not actively used. I need a solution that only charges me when people actually visit the site. Additionally, I'm looking for ways to generate revenue to keep it running.
4 Answers
You might want to consider using Cloudflare Workers for your backend. It's serverless, so you won't get charged until you start making calls. For your frontend, deploying it on a platform like Netlify could also be a solid choice since they offer free tiers.
If you're looking for a more scalable option, try containerizing your app and deploying it on a cloud service like AWS, Azure, or Google Cloud. Just set it up so instances only run when there's traffic; however, be aware that it might take a moment for your application to spin up when there's a request due to the way Cloud Run and similar services operate.
Another great option is using Firebase. It's user-friendly and has a free tier that could suit your needs, especially if you're concerned about keeping costs low while starting out.
Consider this: launching a business isn't just about building an app, it's also about having a solid business plan. Have you thought about how you'll sustain costs as you grow? You might want to draft a financial forecast and plan for how you can keep things going until your app starts bringing in revenue.

I appreciate the suggestions! I'm keen on anything that can minimize costs in the early stages.