How to break down VPC costs?

0

I'm using cloudformation to setup a VPC with two private subnets, a routing table, and three endpoints for ssm, ssmmessages, and ec2messages.

I have other resources on the VPC - an ec2 instance and an RDS instance, but I've stopped those services while not using them (I'm testing and learning right now, so I disable services between dev sessions.)

Despite ec2 and RDS being stopped, the VPC seems to be running up costs but I can't figure out how to break down the costs or determining where they're coming from. Is there a way to get a more detailed cost breakdown?

已提问 4 个月前1435 查看次数
1 回答
4
已接受的回答

To break down the charges, I'd suggest you to:

Go to Cost Explorer -> Choose Date Range in right pane

Granularity -> Daily

Dimension -> Usage Type

Service -> VPC

Repeat same by changing the Dimension from Usage Type to API Operation, Availability Zone, Region, this would help you drill down further and understand, where the charge is coming from.

For more details, refer AWS VPC FAQs. While you do your dev work, it's very obvious that you must be using AWS VPC for that period of time, so AWS VPC would still incur charge for some of that usage, when your resources were turned on. For example EC2 instance ENI, Public IP addresses, RunInstance APIs etc.

Hope it helps, comment here if you have additional questions.

profile pictureAWS
专家
已回答 4 个月前
profile picture
专家
已审核 4 个月前
  • Glad you figured out.

  • Super useful, thanks so much! Turns out I'm burning "CAN1-VpcEndpoint-Hours", so I guess my SSM endpoints are what's driving the costs. I should have clarified - the more basic cost reports I was looking at were showing costs being >95% VPC.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则