how can I get the cost for EACH EC2 instance?

0

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

AE
posta 5 mesi fa1469 visualizzazioni
4 Risposte
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
con risposta 5 mesi fa
0

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

AE
con risposta 5 mesi fa
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
ESPERTO
Chris_G
con risposta 5 mesi fa
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
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande