3 ms·
A pi is a viable solution up to at least a few thousand visitors a day, depending on how spread out they are. You will need to find a way to give your pi/NUC a
by WJW 4y ago
A pi is a viable solution up to at least a few thousand visitors a day, depending on how spread out they are. You will need to find a way to give your pi/NUC a static IP address though. Many ISPs will give you a static IP, then you can simply set up port forwarding for port 80/443 on your router and be off. If not, ngrok or a similar service can work as well.
That said, unless you have an ideological reason for hosting it from your own home there are many platforms out there that can comfortably fit most non-critical webapps in their free tier with even less hassle than setting up a pi.
- fsloth 4y ago"there are many platforms out there that can comfortably fit most non-critical webapps in their free tier with even less hassle than setting up a pi." What are "the best" at the moment? (best being whatever metric one feels is relevant for this scope)
- lytedev 4y agoI use netlify for serving frontend assets and have used fly.io's free tier, supabase's free tier, and all the major public cloud free tiers (though the latter is the most difficult to manage from a cost perspective).
- 0xCMP 4y agoAnd fly.io has a special feature to serve the static files for you so you can do it all in one place without putting load on your app server. Simply need to specify what folder to look in for the static files in your fly config file.
- revicon 4y agoWith AWS you can host a very robust website using API Gateway, (AWS Lambda or ECS) and either RDS or DynamoDB for a datastore. All of this can come in under their free tier for a huge amount of traffic.