3 ms·
Classical web hosting still exists. Probably even has less vendor lock-in and is less likely to bankrupt you if someone posts the small utility web app on HN.
by welterde 6y ago
Classical web hosting still exists. Probably even has less vendor lock-in and is less likely to bankrupt you if someone posts the small utility web app on HN.
- umvi 6y agoLambda is $0.20 per 1M requests, + $0.0000000021 per ms of runtime (assuming the "small utility" takes 128 MB RAM or less). So by my estimates, even if the small utility is #1 on HN for a whole day, it's not going to cost more than a dollar. Maybe there are more hidden costs, or maybe the small utility uses a lot of runtime though, so you could be right in the right circumstances.
- welterde 6y agoReally depends on how long the page rendering time is. And you also didn't account for any traffic yet - that's another 0.09$/GB on top. Taking the statistics from some old Ask HN thread [0] (which is probably an underestimate?) you would need to render your site in less than 2ms to stay below 1$ for that day. And serve less than 51kB of data per page view to stay in the free 1GB of traffic region (this part should be pretty doable if you don't include any large images). Of course assuming you don't have any existing VM or web hosting you could reuse for that. Edit: Ups.. Used per-second billing instead of per-ms by accident. So even up to >1s per request it's below 1$ for that actually. So only leaves significant more traffic and lots of bandwidth usage as possible sore points for tiny web services. [0] https://news.ycombinator.com/item?id=8107658 https://news.ycombinator.com/item?id=8107658