简体   繁体   English

来自 S3 访问的 AWS 备份被拒绝

[英]AWS Backup from S3 Access Denied

I am trying to setup a simple on-demand backup of an s3 bucket in AWS and anything I try I always get an access denied.我正在尝试在 AWS 中设置一个简单的 s3 存储桶按需备份,并且我尝试的任何操作总是被拒绝访问。 See screenshot:看截图:

AWS 备份

I have tried create a new bucket which is completely public, I've tried setting the access policy on the Vault, I've tried in different regions, all have the same result.我尝试创建一个完全公开的新存储桶,我尝试在 Vault 上设置访问策略,我在不同区域尝试过,结果都一样。 Access Denied!拒绝访问!

The messaging doesn't advise anything other than Access Denied, really helpful!消息除了拒绝访问之外没有任何建议,真的很有帮助!

Can anyone give me some insight into what this message is referring to and more over how I can resolve this issue.谁能给我一些有关此消息所指内容的见解以及如何解决此问题的更多信息。

For aws backup, you need to set up a service role.对于 aws 备份,您需要设置服务角色。 Traditionally you need 2 policies attached.传统上,您需要附加 2 个策略。

[AWSBackupServiceRolePolicyForBackup] 
[AWSBackupServiceRolePolicyForRestore]

For S3, it seems there is a separate policy that you need to attach to your service role.对于 S3,您似乎需要将一个单独的策略附加到您的服务角色。

[AWSBackupServiceRolePolicyForS3Backup]
[AWSBackupServiceRolePolicyForS3Restore]

服务角色截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM