Hello there! How do you guys approach hosting your applications?
I have been wondering how you guys approach this. I hosted a simple app on DigitalOcean (Very simple app to scrap a website, make a couple API calls on Godaddy) then email me the report on a $5 droplet (private IP address).
Then I wanted to add a database, split the app into micro services, firewall for security, etc. The idea was to put everything on 1 droplet. But this sounds like a bad idea, because if the machine goes down, I lose all the data along.
The question is, how do you guys host your application for cheap, especially when they need database.
If you do not require do run the app constantly consider serverless solutions. For AWS this would be:
I would use a managed product if at all possible, unless you know what you are doing.
Do you have any familiarity with Docker? I would dockerize your application so that it is stateless (any data that you need is stored somewhere else, ideally s3 or DB.) You can set a cron job to run the container on a set schedule in something like Google Cloud Run or AWS Lamda. This way you only pay for the resources your application uses (sounds like very little.)
This will also give you some Docker and cloud experience that can be very valuable.
I would give a try for google cloud. They have free tiers for app engine, firebase. For front-end part I prefer vercel, I used them often recently.
For my entrepreneurs community I use Netlify for the website and firebase for the DB
Thank you! I will look into that!
Use deta.sh, it's no brainer solution, they offer NoSQL DB, fast micros (like Faas, but faster than the others, no joke, have use it for a while), and storage for generous 10Gb limit.
Niice! Thank you for sharing! Let me check them out!
I use AWS, you get a decent amount with the free tier, particularly if you use a serverless design with lambdas. For the database, I use AWS dynamoDB which you again get a lot of throughput for free each month. My current side project is an AI tool which currently runs completely for free each month all hosted in AWS. I know Firebase is also very popular, but I have not tried it yet. Hope this helps!
Thank you! I always thought anything with AWS was costly (well, maybe I scepter S3)!!