how can I get the cost for EACH EC2 instance?

0

I need to get costs per EC2 how can I get it?

AE
feita há 5 meses1457 visualizações
4 Respostas
0
  • Go to the AWS Management Console.
  • Open the "Cost Explorer" from the "Services" dropdown or search for "Cost Explorer."
  • In the Cost Explorer, go to the "Filters" section.
  • Under "Filter Name," select "Service" and choose "Amazon EC2."
  • Under "Filter Name," select "Instance Type" and choose the specific instance type you are interested in.

Enter image description here

profile picture
respondido há 5 meses
0

thanks but not show cost per instance. Per VM name...

AE
respondido há 5 meses
0

Hello,

There are two ways:

  • You can enable Resource-level data in Cost Explorer which will give you the last 14 days of usage per resource.

  • You can set up Data Exports which will export your data to S3. You can then query the data with Athena or set up the Quicksight Dashboard. Make sure to enable the feature "Include resource IDs".

profile pictureAWS
ESPECIALISTA
Chris_G
respondido há 5 meses
0

Hello @AE

You can follow these steps to get your per-instance charge.

Open Cost Explorer – Monthly Cost by Service

--> Granularity = Monthly --> Dimension - Resource --> Service = EC2-Instances (Elastic Compute Cloud – Compute) --> EC2-Instances = Select the instance id that you wish to visualize in the report.

Example

profile pictureAWS
respondido há 5 meses

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