Our aws bill was starting to murder us, $8k a month just in data transfer costs, $15k total.
We run an IoT platform where devices send data every few seconds straight to kinesis then lambda. Realized we were doing something really dumb, sending massive amounts of raw sensor data to cloud, processing it, then throwing away 90% of it. Like sending vibration readings every 5 seconds when we only cared if it spiked above a threshold or location updates that barely changed, just completely wasteful. We started processing data locally before sending to cloud, just basic filtering, take 1000 vibration readings per minute, turn them into min/max/avg, only send to cloud if something looks abnormal. We used nats which runs on basic hardware but took 4 months to rebuild, we moved filtering to edge, set up local alerts and went from 50gb per day to 15gb.
Data transfer dropped from $8k to $2.6k monthly that’s $65k saved per year, lambda costs went down too, we paid for the project in under 6 months. Bonus is if aws goes down our edge stuff keeps working, local dashboards and alerts still run. We built everything cloud first because that’s what everyone does but for IoT keeping more at the edge makes way more sense.
Bandwidth is the money killer nobody ever talks about. Refreshing to see.
I did similar work myself, working with tools that metered tonnage on a conveyor based on its vibration. The amount of data involved can be astronomical.
You might also want to look at Cloudflare workers. We were collecting massive amounts of data and switched over to POST requests into Cloudflare workers that we then re-POSTED into AWS eliminating bandwidth charges.
Can u also share more of your amazonkin learning op? I plan to make security camera , with ai security for home use so , i am looking on aws iot and kineses, i do plan to leave as much as computation possible on hardware tbh
For vibration, I’m curious you would wake up the device to take measurements this frequently. Pretty much every modern vibration / temp sensors for anomaly detection does a wake on event or wake up every hour to take measurements. Saves a lot on bandwidth and data processing but also battery life of the device
We started processing data locally before sending to cloud
how much worse is the user experience though? using more ram/cpu locally carries a risk of slowing down your product, using more battery, heating it up, etc.etc. seems like youre just sweeping the problem under the rug