Skip to content

Comment on Effectively using AWS Reserved Instances

Comments

To automate this, we built an ETL process in SQL and Python that detects when we fall outside this band and automatically prepares a purchase for us to approve.

@Stripe: Will this (or parts of it) be open sourced?

They published the code in a gist. It doesn't have a license, but since the python code is only 61 lines, would be trivial to rewrite yourself from their example.

https://gist.github.com/lopopolo-stripe/e00b4bfa0839c125ed7a...

We've licensed the code with the MIT License.

You can see a complete example in the accompanying Gist for this article: https://gist.github.com/lopopolo-stripe/e00b4bfa0839c125ed7a...

Thanks to you and sibling post, the Gist was missing when reading in Pocket.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.