4 ms·
This announcement actually broke some code of mine today. I have a scheduled AWS Lambda function that downloads the current EC2 Price List every hour to make so
by forrestbrazeal 10y ago
This announcement actually broke some code of mine today. I have a scheduled AWS Lambda function that downloads the current EC2 Price List every hour to make some real-time cost savings calculations for stopped resources. The addition of the Canada prices to that file made it just a bit too large for the memory assigned to the function, causing a silent "Process exited without completing request" crash. Good times.
- nothrabannosir 10y agoPurely out of curiosity; are you allowed to share how much time this cost you to make, and how much money / month it saves you? I love the idea, and the fact that you actually implemented it. :)
- forrestbrazeal 10y agoIt's part of a larger system called Hanover (built entirely on Lambda/API Gateway/DynamoDB/static S3) that handles scheduled shutdowns and cost savings reports across our many AWS development accounts. We built the shutdown POC in less than a week - the front end reporting console took a bit longer. We may open source it at some point. In the meantime you can check out: - A session my boss did at re:Invent that touches on some of our cloud management tools, including Hanover [0] - A blog post I did back when we were putting this together that explains our approach to calculating EC2 prices for live instances (it's not as easy as you would think/hope) [1] [0] https://www.youtube.com/watch?v=Epx_32c3c6s&feature=youtu.be https://www.youtube.com/watch?v=Epx_32c3c6s&feature=youtu.be [1] https://forrestbrazeal.com/2016/09/25/adventures-in-aws-understanding-the-price-list-api/ https://forrestbrazeal.com/2016/09/25/adventures-in-aws-unde...