

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# AWS Cost Explorer を使用して、AWS Glue ジョブの詳細なコストと使用状況レポートを作成します。
<a name="create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer"></a>

*Amazon Web Services、Parijat Bhide、Aromal Raj Jayarajan*

## 概要
<a name="create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer-summary"></a>

このパターンは、「[ユーザー定義のコスト配分タグ](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/custom-tags.html)」を設定して、AWS Glue データ統合ジョブの使用コストを追跡する方法を示しています。これらのタグを使用して、複数のディメンションにわたるジョブの詳細なコストと使用状況レポートを AWS Cost Explorer で作成できます。たとえば、チーム、プロジェクト、またはコストセンターレベルで使用コストを追跡できます。

## 前提条件と制限
<a name="create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer-prereqs"></a>

**前提条件**
+ アクティブな AWS アカウント。
+ ユーザー定義タグが有効になっている 1 つ以上の[ AWS Glue ジョブ](https://docs.aws.amazon.com/glue/latest/dg/how-it-works.html)

## アーキテクチャ
<a name="create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer-architecture"></a>

**ターゲットテクノロジースタック**
+ AWS Glue
+ AWS Cost Explorer

次の図は、タグを適用して AWS Glue ジョブの使用コストを追跡する方法を示しています。

![\[AWS Glue ジョブでタグを作成および適用し、AWS Cost Explorer で使用コストを追跡します。\]](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/images/pattern-img/e0ae6643-713d-423a-9013-b41b30638053/images/f2b74ef1-494d-439b-9aec-5a9d601126a6.png)


この図表は、次のワークフローを示しています:

1. データエンジニアまたは AWS 管理者が AWS Glue ジョブ用のユーザー定義のコスト配分タグを作成します。

1. AWS 管理者がタグを有効化します。

1. タグはメタデータを AWS Cost Explorer に報告します。

## ツール
<a name="create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer-tools"></a>
+ [AWS Glue](https://docs.aws.amazon.com/glue/latest/dg/what-is-glue.html) は、フルマネージド型の抽出、変換、ロード (ETL) サービスです。これにより、データストアとデータストリーム間でデータを確実に分類、整理、強化、移動できます。
+ [AWS Cost Explorer](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-what-is.html) を使用すると、コストと使用状況を表示および分析できます。

## エピック
<a name="create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer-epics"></a>

### AWS Glue ジョブのタグの作成と有効化
<a name="create-and-activate-tags-for-your-aws-glue-jobs"></a>


| タスク | 説明 | 必要なスキル | 
| --- | --- | --- | 
| AWS Glue ジョブ用のユーザー定義のコスト配分タグを作成します。 | **既存の AWS Glue ジョブにタグを追加するには**[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer.html)**新しい AWS Glue ジョブにタグを追加するには**[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer.html)詳細については、「*AWS Glue 開発者ガイド*」の「[AWS Glue の AWS タグ](https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html)」を参照してください。 | データエンジニア | 
| ステップ 1： ユーザー定義のコスト配分タグを有効にする | 「*AWS 請求ユーザーガイド*」の「[ユーザー定義のコスト配分タグの有効化](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/activating-tags.html)」の手順に従ってください。 | AWS 管理者 | 

### AWS Glue ジョブのコストと使用状況のレポートを作成する
<a name="create-cost-and-usage-reports-for-your-aws-glue-jobs"></a>


| タスク | 説明 | 必要なスキル | 
| --- | --- | --- | 
| AWS Cost Explorer のタグフィルタを使用して、AWS Glue ジョブのコストと使用状況のレポートを作成します。 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/create-detailed-cost-and-usage-reports-for-aws-glue-jobs-by-using-aws-cost-explorer.html)詳細については、「*AWS コスト管理ユーザーガイド*」の「[Cost Explorer を使用してデータを探索する](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-exploring-data.html)」を参照してください。 | 一般的な AWS、AWS 管理者 | 