TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

S3 Object Lambda: Use Your Code to Process Data as It Is Being Retrieved from S3

18 pointsby jonbursabout 4 years ago

4 comments

ghoomketuabout 4 years ago
I really love all the cool features AWS keeps adding to their offerings but god does the bill adds up so quickly.<p>I just realised that I was paying almost $100 a month for things I&#x27;m now getting for almost free by just choosing alternative providers like Digitalocean, Cloudflare, etc.<p>- For example AWS charges 50 cents per DNS zone. I have had a lot of domains in route 53 (it was part of a setup script) which added almost $25 to my bill each month. I moved all my domain to DO and it&#x27;s $0 now<p>- Then even with S3 things start to add up quickly. Cost associated with data storage and bandwidth is insane compared to spaces which is $5 flat and I&#x27;ve never exceed what comes in it.<p>- Most expensive were the EBS snapshots or something. I have been AWS for god knows how long and there were just too many snapshots (AMIs) that were there. Don&#x27;t think you can download&#x2F;upload then but they started adding quite on my bill.<p>- Load balancer also adds like $2 or $5 or something per instance if I remember correctly. Not sure what it is now.<p>Anyway point being if you are a solo dev and you&#x27;re not too careful about costs (read lazy), AWS bill can be a good chunk of change per month .
llarssonabout 4 years ago
Run a lambda every time you GET your object, so it can do data transformations. Seamlessly. You won&#x27;t even notice until your bill comes.<p>And you won&#x27;t feel like optimizing this either, because now you have tools and processes that depends on this behavior.<p>Seems easier to me to do this via regular Lambdas instead, but also save the data as an automatic cache for some amount of time. S3 can clean it out automatically. So your lambda will either fetch the cached version or compute it for you upon request.<p>Storage is much cheaper than processing, that&#x27;s for sure.
CSDudeabout 4 years ago
Although cool feature, it can be a good way to go broke in 10 minutes
jfengelabout 4 years ago
How is it different from writing a lambda and connecting it to S3? Is it just a pathway to make that easier, or is there some speed&#x2F;cost benefit?
评论 #26507189 未加载