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 Resposta
4
Resposta aceita

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
ESPECIALISTA
respondido há 4 meses
profile picture
ESPECIALISTA
avaliado há 4 meses
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas