0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【S3】レプリケーションに失敗したオブジェクトはどうなる?

0
Posted at

その他

レプリケーションに失敗したオブジェクトはどうなる?
・再試行されずに失敗ステータスを維持
・バッチレプリケーションで対処する
・イベント通知は発行される

以前にレプリケートに失敗したオブジェクトをレプリケートする
https://docs.aws.amazon.com/ja_jp/AmazonS3/latest/userguide/replication.html#batch-replication-scenario
オブジェクトをアップロードした後で、オブジェクトのレプリケーションに失敗した場合、レプリケーションを再試行できません。
https://docs.aws.amazon.com/ja_jp/AmazonS3/latest/userguide/replication-status.html#replication-status-overview
オブジェクトをレプリケート先バケットに手動でコピーした場合、Amazon S3 インベントリレポートと HeadObject API 呼び出しは、レプリケート元バケットのオブジェクトに対して FAILED レプリケーションステータスを引き続き返します。
https://repost.aws/ja/knowledge-center/s3-list-objects-failed-replication
Amazon S3 イベント通知によるレプリケーション失敗イベントの受信
https://docs.aws.amazon.com/ja_jp/AmazonS3/latest/userguide/replication-metrics.html#replication-metrics-events

ソースでオブジェクトアップロード
image.png
失敗(機能しないIAMロールをレプリケーションルールに設定した)
image.png
バッチオペレーションを設定してジョブ完了後に再度オブジェクトを確認
※バッチオペレーション用のIAMロールの作成をしておいてください
image.png

ターゲットのバケットを確認するとREPLICAとステータスに記載されておりレプリケーションされていることがわかる
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?