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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ