how can I get the cost for EACH EC2 instance?

0

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

AE
preguntada hace 5 meses1466 visualizaciones
4 Respuestas
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 hace 5 meses
0

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

AE
respondido hace 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
EXPERTO
Chris_G
respondido hace 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 hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas