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 Answer
4
Accepted Answer

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
EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 3 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions