Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
AdamTReineke
· 2y ago · 0 comments
Make sure you know the cost to serve that 2MB MP3, especially if you're go viral.
Comments
[–]
wernah
2y ago
I quickly learned to set up AWS billing alerts, is there anything else I should keep an eye on?
[–]
7moritz7
2y ago
There doesn't seem to be a ratelimit on your most expensive ressource, the mp3 files on AWS. I checked with cURL, you can do the same. For this web app you should ratelimit the ressource aggressively because of how the game works.
[–]
wernah
2y ago
Thanks for this! I'm gonna check this out
[–]
654wak654
2y ago
You can also consider moving to Cloudflare R2 for hosting media [1]. Egress traffic is probably going to be your biggest cost in S3.
[1]:
https://developers.cloudflare.com/r2/