I spent a whole month coding my SaaS in laravel + livewire and it's been awesome. couldn't be any better.
When it came to deployment I deployed the app to a free ec2 t2.micro but it sucked big time.
tried using hostinger premium from a friend, but same. response time is very high om hostinger and on ec2 ram is getting full quickly.
website is basic openai wrapper + crud, nothing fancy.
I was thinking of hosting the landing page + main website on cloudflare pages using some static site generators.
and the dashboard to be a htmx (hosted on cloudflare pages) + axum (rust backend) hosted on my ec2 t2.micro
can I get any faster/lighter with $0?
if I can handle 1000 requests/sec with t2.micro I would be happy
> All tenancies get the first 3,000 OCPU hours and 18,000 GB hours per month for free for VM instances using the VM.Standard.A1.Flex shape, which has an Arm processor. For Always Free tenancies, this is equivalent to 4 OCPUs and 24 GB of memory.
It's a bit sketchy since... well, Oracle, but you do get a decent machine. I've been using one for a while with no complaints.
Then maybe grab a free Postgres DB from Vercel or similar to get started (as their DB isn’t cheap)
Another avenue which I find more of a hassle but it is free and scales up is static hosting (Netlify, Vercel, etc.) with Firebase. You might pay 1-2c a month if you use it a little. But wouldn’t recommend rewriting just to save money when $60 should do you for a year of hosting.
Vercel is basically a managed wrapper on top of other cloud services, including AWS and Cloudflare and various CDNs.
But it's much easier to use and doesn't require you to separately spin up a bunch of different accounts at different providers to get the same level of service.
Also the pro plan is $20 and gets you much more.
They are the owners of Next.js and my guess is their lower free and pro plans are loss leaders for their enterprise offerings. It's a great service for getting your project off the ground though. You can go from a repo to a hosted website in like 2 minutes.
I used to use Nearlyfreespeech.net before them for ultra cheap hosting, but Vercel is a much nicer platform overall.
best case you build a startup and turn your life around, worst case you build a project that improves your skillset. yc is very supportive regardless if you get in or not.
I use embedded db to serve as a disk cache and allocate 10gb ssd.