最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon s3 - Copy S3 Data between AWS Accounts - Stack Overflow

programmeradmin2浏览0评论
  • I have a destination AWS S3 bucket in London (eu-west-2) AZ
  • My bucket has ACLs enabled
  • Everyone can list, read and write on my AWS S3 Bucket
  • I did not block public access
  • Regarding the Bucket Policy, I am allowing S3 GetObject, S3 PutObject and S3 dELETEoBJECT (I am aware that this is not a good practice, but its my 1st exercise on AWS)
  • I've read this stackoverflow post on How to Configure Access Point Policy for Listing Objects Within a Folder
  • Unfortunately I still have some questions.

SOURCE ACCOUNT ACCESS POINT INFO :

AWS Region: Europe (Ireland) eu-west-1

Network origin: Internet

JSON Policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:ListBucket",
            "Resource": "YYYXZZZ"
        }
    ]
}

Questions

  1. On the destination S3 Bucket Access Point, I do need to write the source access point.
  2. And vice-versa -> On the source S3 Bucket Access Point, I do need to write the destination access point)

Q: Am I correct about the 2 statements/questions above?

From the youtube videos Ive seen and questioning DeepSeek I thought that I was doing nothing wrong.

But I got an AWS API error:

Invalid Access Point Policy. Update the access point policy and try again.

The detail of the error says:

API response Policy has invalid resource

Q: Why does my destination source access point considers the source access point an invalid resource?

Thank you a lot.

  • I have a destination AWS S3 bucket in London (eu-west-2) AZ
  • My bucket has ACLs enabled
  • Everyone can list, read and write on my AWS S3 Bucket
  • I did not block public access
  • Regarding the Bucket Policy, I am allowing S3 GetObject, S3 PutObject and S3 dELETEoBJECT (I am aware that this is not a good practice, but its my 1st exercise on AWS)
  • I've read this stackoverflow post on How to Configure Access Point Policy for Listing Objects Within a Folder
  • Unfortunately I still have some questions.

SOURCE ACCOUNT ACCESS POINT INFO :

AWS Region: Europe (Ireland) eu-west-1

Network origin: Internet

JSON Policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:ListBucket",
            "Resource": "YYYXZZZ"
        }
    ]
}

Questions

  1. On the destination S3 Bucket Access Point, I do need to write the source access point.
  2. And vice-versa -> On the source S3 Bucket Access Point, I do need to write the destination access point)

Q: Am I correct about the 2 statements/questions above?

From the youtube videos Ive seen and questioning DeepSeek I thought that I was doing nothing wrong.

But I got an AWS API error:

Invalid Access Point Policy. Update the access point policy and try again.

The detail of the error says:

API response Policy has invalid resource

Q: Why does my destination source access point considers the source access point an invalid resource?

Thank you a lot.

Share Improve this question edited yesterday John Rotenstein 270k28 gold badges445 silver badges530 bronze badges Recognized by AWS Collective asked 2 days ago MANUEL SILVAMANUEL SILVA 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

By now I'm pretty sure that all my statements above are incorrect :

the Resource field in an Access Point Policy must reference an ARN for the objects it controls. Not the object we want to send data to or receive data from. I think that the policy references itself. What a silly question...

发布评论

评论列表(0)

  1. 暂无评论