how can I get the cost for EACH EC2 instance?

0

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

AE
質問済み 5ヶ月前1470ビュー
4回答
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
回答済み 5ヶ月前
0

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

AE
回答済み 5ヶ月前
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
エキスパート
Chris_G
回答済み 5ヶ月前
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
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ