how can I get the cost for EACH EC2 instance?

0

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

AE
demandé il y a 5 mois1464 vues
4 réponses
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
répondu il y a 5 mois
0

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

AE
répondu il y a 5 mois
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
EXPERT
Chris_G
répondu il y a 5 mois
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
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions