News for hackers. Stuff that matters.
Re:Please fix the AWS free tier before somebody gets hurt by theshrike79 on Wednesday May 05, 2021 @01:15AM (#27046456)
> At that scale wouldn't it be easier to just build everything out of a few VMs at a cheap service?

I have a handful of AWS Lambda functions with a DynamoDB backend serving hundreds of clients, my bill for the month of April was $0.01.

No, a VM wouldn't cut it.

But you are right that there are certain slots where AWS doesn't make sense: There's one in the lower middle range where you can save a bunch of money by using a VM or two with your own DB servers. And there's the one where you're so big it might actually be worth it to implement the whole stack yourself.

Re:Please fix the AWS free tier before somebody gets hurt by cosarara on Wednesday May 05, 2021 @04:00AM (#27047329)
> I have a handful of AWS Lambda functions with a DynamoDB backend serving hundreds of clients, my bill for the month of April was $0.01.

What kind of thing do they serve? Somewhere I could read more about this kind of project?

Re:Please fix the AWS free tier before somebody gets hurt by theshrike79 on Wednesday May 05, 2021 @07:11AM (#27048473)
It's a common backend for chat bots (Discord, Matrix, IRC, Telegram).

Basically it takes different inputs and commands and uses different APIs to fetch data based on the input efficiently without the need for web scraping. DynamoDB is used mostly as a cache for common queries so I don't go over API quotas.

Most of the bots are made by me, but with AWS API Gateway I can easily generate API keys for anyone else and keep track of their usage.

Re:Please fix the AWS free tier before somebody gets hurt by kaydub on Wednesday May 05, 2021 @07:01AM (#27048412)
This is considered a cloud native pattern.

https://docs.aws.amazon.com/apigateway/latest/developerguide...