Help us understand the problem. What is going on with this article?

クロスリージョンレプリケーション - S3

レプリケート元とレプリケート先の両方のバケットで、バージョニングを有効にする。
image.png

レプリケーションでルールを作成します。
image.png

レプリケーションルール
1.ソースの設定:検証なので、すべてのコンテンツにしておく。
image.png

2.送信先の設定:送信先バケットを指定する。
image.png

3.オプションを設定:新しいロールの作成にしておく。
image.png

IAMロールの内容は↓な感じです。

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "s3:Get*",
                "s3:ListBucket"
            ],
            "Effect": "Allow",
            "Resource": [
                "arn:aws:s3:::mondopiece-mondopiece",
                "arn:aws:s3:::mondopiece-mondopiece/*"
            ]
        },
        {
            "Action": [
                "s3:ReplicateObject",
                "s3:ReplicateDelete",
                "s3:ReplicateTags",
                "s3:GetObjectVersionTagging"
            ],
            "Effect": "Allow",
            "Resource": "arn:aws:s3:::mondopiece2-mondopiece2/*"
        }
    ]
}

4.確認:保存をクリック。

Aリージョンにファイルをアップロードして動作を確認し、↓のようにBにも表示されるか確認してみましょう。
image.png

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした