Avoid cost overruns: How to manage your quotas programmatically