Longhorn's Backup Cost Savings - or not getting surprise bills
I'm experimenting with where to put these types of blog posts. I have a copy over at the Keyboard Vagabond blog
Longhorn, the system that is used to manage storage for Keyboard Vagabond, performs regular backups and disaster recovery management. I noticed that on the last few billing cycles, the costs for S3 cloud storage with BackBlaze was about $25 higher than expected, and given that the last two bills were like this, it's not a fluke.
The costs are from s3_list_objects, over 5M calls last month. It turns out this is a common thing that has been mentioned in github, reddit, Stack Overflow, etc. The solution seems to be just to turn it off. It doesn't seem to be required for backups and disaster recovery to work and Longhorn seems to be doing something very incorrectly to be making all of these calls.
...
data:
default-resource.yaml: |-
...
"backupstore-poll-interval": "0"
My expectation is that future billing cycles should be well under $10/month for storage. The current daily average storage size is 563GB, or $3.38 per month.
#kubernetes #longhorn #s3 #programming #selfhosting #cloudnative #keyboardvagabond