Is there a recommendation for how to calculate aws ingress pricing based on usage?
08/30/2022, 3:31 PM
so we have the ability to fetch from cloudwatch, however this doesn’t cover generic data transfer costs.I think the best thing to look at the cost explorer and try and drill down into the “data transfer” usage type group. I’ve used this article in the past as a decent guide to trying to debug data transfer costs.Then once you have a decent idea of the thresholds, just add it into the usage Infracost usage manually. Or you could set up a github action/scheduled job to try and fetch these values on a schedule. e.g. https://aws.amazon.com/premiumsupport/knowledge-center/cloudwatch-getmetricdata-api/I know this isn’t ideal atm, but we have expanded fetch metrics from cloud on our roadmap. It’s something we’re passionate about making a better experience for users.
08/30/2022, 3:41 PM
i think i’m asking: where do i put the egress usage?