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?

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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠