DEV Community

loading...

Discussion on: Building Serverless Google Analytics from Scratch

Collapse
andreapavoni profile image
Andrea Pavoni

Very nice! Can I ask you what's the average monthly cost for an architecture like this? I mean, I know that it's hard to answer, and that many of the services you used are billed by usage, but I'm very curious about the average bill based on hypothetical number of visitors (eg: how much with 1k visitors/month? 100k? 1M?).

Collapse
paveltiunov profile image
Pavel Tiunov Author

Hi Andrea!
Thanks for the question! Our estimate is about $4 per 1M of events. Most expensive are API Gateway service which is $3.50 per 1M of requests and AWS Lambda which is $0.20 per 1M requests.