--- title: "CDCデータ転送 - 転送先 - Amazon S3 Iceberg | TROCCO Docs" slug: "cdc-data-destination-s3-iceberg" updated: 2026-09-10T02:12:56Z published: 2026-09-10T02:12:56Z canonical: "documents.trocco.io/cdc-data-destination-s3-iceberg" --- > ## Documentation Index > Fetch the complete documentation index at: https://documents.trocco.io/llms.txt > Use this file to discover all available pages before exploring further. # CDCデータ転送 - 転送先 - Amazon S3 Iceberg 本ページでは、CDCデータ転送における転送先 - Amazon S3 Icebergについて説明します。 接続に関する設定については、[Amazon S3接続情報](/docs/connection-configuration-s3)を参照ください。 ## データ転送の仕組み ### アーキテクチャ 以下は、転送元 - MySQL・転送先 - Amazon S3 Icebergにおけるアーキテクチャです。 **初回転送(全件転送)時** ![image](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/cdc-job-definition-2025-06-03-10-43-45.png) **差分転送時** ![image](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/cdc-job-definition-2025-06-03-10-43-46.png) ## 対応するCatalog AWS Glue Data Catalogに対応しています。 Glue Catalogによりスキーマ管理が容易になり、また[他エンジンからのクエリにも利用](/docs/cdc-data-destination-s3-iceberg#%E5%90%84%E7%A8%AEdwh%E3%81%8B%E3%82%89s3-iceberg%E3%82%92%E5%8F%82%E7%85%A7%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95)できます。 リージョンの統一 Glue Catalogは、S3バケットと同一リージョンである必要があります。 ## 事前準備 ### S3バケットの作成 事前にS3バケットを作成する必要があります。 ### IAMロールの設定 CDCデータ転送では、**IAMロール認証**にのみ対応しています。 IAMロールの発行手順については、[Amazon S3接続情報](/docs/connection-configuration-s3#iam%E3%83%AD%E3%83%BC%E3%83%AB%E3%81%AE%E7%99%BA%E8%A1%8C%E6%89%8B%E9%A0%86)を参照ください。 IAMロールに必要な権限は以下のとおりです。 - S3バケットへの読み書き権限 - `s3:ListAllMyBuckets` - `s3:ListBucket` - `s3:GetObject` - `s3:PutObject` - `s3:DeleteObject` - Glue Catalogへのアクセス権限 - `glue:GetDatabase` - `glue:CreateDatabase` - `glue:DeleteDatabase` - `glue:GetTable` - `glue:CreateTable` - `glue:UpdateTable` - `glue:DeleteTable` #### IAMポリシーの具体例 ``` { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:ListAllMyBuckets" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "s3:ListBucket" ], "Resource": "arn:aws:s3:::" }, { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:PutObject", "s3:DeleteObject" ], "Resource": "arn:aws:s3:::/*" }, { "Effect": "Allow", "Action": [ "glue:GetDatabase", "glue:UpdateDatabase", "glue:CreateDatabase" ], "Resource": [ "arn:aws:glue:::catalog", "arn:aws:glue:::database/" ] }, { "Effect": "Allow", "Action": [ "glue:GetTable", "glue:UpdateTable", "glue:CreateTable", "glue:DeleteTable" ], "Resource": [ "arn:aws:glue:::catalog", "arn:aws:glue:::database/", "arn:aws:glue:::table//*" ] } ] } ``` ## 補足事項 ### ジョブ実行について 転送対象のテーブルが1つでも転送失敗した場合、ジョブ全体が失敗となります。 エラーが発生したテーブルのみをスキップして処理の継続はできません。 ### 作成されるIcebergテーブルの基本的な仕様について [Apache Iceberg](https://iceberg.apache.org/)オープンテーブルフォーマットのバージョン2の機能をサポートしており、以下の例のように、同様の形式をサポートする各種クライアントからの読み取りが可能です。 ### 各種DWHからS3 Icebergを参照する方法 - Amazon Athena:[AWS Glue Data Catalog を使用してデータに接続する - Amazon Athena](https://docs.aws.amazon.com/ja_jp/athena/latest/ug/data-sources-glue.html) - Amazon Redshift:[CREATE EXTERNAL SCHEMA - Amazon Redshift](https://docs.aws.amazon.com/ja_jp/redshift/latest/dg/r_CREATE_EXTERNAL_SCHEMA.html) - Google BigQuery:[Google Cloud公式ドキュメント - Apache Iceberg 用の BigLake 外部テーブルを作成する](https://cloud.google.com/bigquery/docs/iceberg-external-tables)