5 ms·
For comparison I'm running a low traffic discussion site (https://sqwok.im https://sqwok.im) with core api through ApiGateway/Lambda w/lots of backend services
by holler 5y ago
For comparison I'm running a low traffic discussion site (https://sqwok.im https://sqwok.im) with core api through ApiGateway/Lambda w/lots of backend services and it's currently ~$400/month.
The most expensive piece by FAR is Opensearch (previously AWS Elasticsearch) using 6 instances x 2 environments (12 total).
The cost for Elasticsearch in two environments came to ~$371 out of a total $400 bill in my last statement.
The compute cost for Lambda is very low but if you scale out to potentially millions of users it's going to be much more than $100.
Not sure if they're using Opensearch but if they are it's likely a huge part of the bill.
I'm sure there's a better alternative but it's not my particular area of expertise and I haven't been able to focus on that yet.
- daibo 5y agoAre you using Opensearch for logging or site search? $371 seems like a lot for a low traffic site. You can probably reduce the cost to a fraction by doing some research on alternatives
- holler 5y agoIt's largely due to the homepage loading a ranked list of items from ES on every request, but I'm probably not optimizing things properly either. I saw your comment about anvere and looks like you have a background in search/ES? I'd be interested to chat but didn't see a way to contact you!
- daibo 5y agoHey, send me an email to linh at anvere.net. Or twitter dm @linh_at_anvere edit: anvere is a Search as a Service that I am currently building
- 8192kjshad09- 5y agoYeah if your low traffic site doesn't need any crazy compute you can probably run it for $5/mo on any commodity VPS provider like Linode or DigitialOcean
- nso 5y agoAfter having a look at your page, I am confused. What kind of traffic numbers are you seeing? Because I can't figure out how one would ever end up with spending more than a few dollars to host a site that rarely gets a post.
- deleted 5y ago[deleted]