4 ms·
I don't have "real life" numbers yet, since I just set it up yesterday. I've used up my free tier, so I should be able to get real numbers from Cost Explorer. I
by jimpick 10y ago
I don't have "real life" numbers yet, since I just set it up yesterday. I've used up my free tier, so I should be able to get real numbers from Cost Explorer. I'm not sure if everything is tagged nicely for that.
On paper, it should cost under a dollar per month. The main cost is just the DynamoDB instance. I don't think it's going to consume much S3 storage.
I guess if your blog has a lot of traffic, the network transfer might add up -- but it's just little JSON files.
- cdnsteve 10y agoWith the HN burst traffic, it would be good to report back costs after things settle down :)
- jimpick 10y agoCost report: https://jimpick.com/2016/05/05/introducing-lambda-comments/#comment-BGy5U1MkSzCEAss7bcaVOg https://jimpick.com/2016/05/05/introducing-lambda-comments/#... For 8000 visitors, it cost me $1.37. The numbers might be skewed upwards a bit because somebody posted a gigantic blob for one of the comments to test if I had implemented a limit on the length (I hadn't).
- nickjj 10y agoThanks for the solid numbers based on real data. At the time of this posting there's 103 comments too which IMO seems waaaaay high given 8k visitors due to the nature of the post. Hard to say for sure but I wouldn't be surprised if a normal blog received 5-6 comments per 10,000 views.
- dexterdog 10y agoDynamo is dirt cheap if your requests are low. Run an auto scaler on it in lambs and it should cost you almost nothing.
- jimpick 10y agoYeah. If you blog is getting so many comments that you need more than 1 request a second (the minimum), you've got other problems.