Mensagem "Access Denied" Status Code 403 do armazenamento de backup do Amazon S3 no Cloudlink
摘要: Resolvendo o erro "Access Denied" Status Code 403 na configuração do armazenamento de backup do Amazon S3.
本文适用于
本文不适用于
本文并非针对某种特定的产品。
本文并非包含所有产品版本。
症状
"Access Denied" ao testar o acesso ao armazenamento de backup do Amazon S3:
Exemplo de erro:
com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3 Status Code: 403 Error Code: AccessDenied Request ID: WX2272G8B4XMDJKZ S3 Extended Request ID: [...]
Exemplo de erro:
com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3 Status Code: 403 Error Code: AccessDenied Request ID: WX2272G8B4XMDJKZ S3 Extended Request ID: [...]
原因
Política de acesso de bucket incorreta definida para o bucket no Amazon S3.
解决方案
Aplique a política correta de acesso ao bucket. Veja abaixo um exemplo de política de acesso ao bucket que funciona.
{
"Versão": "2012-10-17",
"Declaração": [
{
"Sid": "Editor Visual0",
"Efeito": "Permitir",
"Ação": [
"s3:GetObjectVersionTagging",
"s3: ReplicateObject",
"s3:GetObjectAcl",
"s3: GetIntelligentTieringConfiguration",
"s3: PutLifecycleConfiguration",
"s3:GetObjectVersionAcl",
"s3:PutObjectTagging",
"s3: DeleteObject",
"s3: DeleteObjectTagging",
"s3:GetBucketPolicyStatus",
"s3:GetObjectRetention",
"s3: DeleteObjectVersionTagging",
"s3:GetBucketNotification",
"s3: GetReplicationConfiguration",
"s3:PutObject",
"s3:GetObject",
"s3:PutBucketNotification",
"s3:PutBucketLogging",
"s3: GetAnalyticsConfiguration",
"s3:GetObjectVersionForReplication",
"s3: GetLifecycleConfiguration",
"s3: GetInventoryConfiguration",
"s3:GetBucketTagging",
"s3: DeleteObjectVersion",
"s3:GetBucketLogging",
"s3:ListBucketVersions",
"s3: ReplicateTags",
"s3: RestoreObject",
"s3:ListBucket",
"s3: GetAccelerateConfiguration",
"s3:GetBucketPolicy",
"s3: PutEncryptionConfiguration",
"s3: GetEncryptionConfiguration",
"s3: AbortMultipartUpload",
"s3: PutBucketTagging",
"s3:GetObjectTagging",
"s3: GetMetricsConfiguration",
"s3:PutBucketVersioning",
"s3:GetBucketPublicAccessBlock",
"s3:ListBucketMultipartUploads",
"s3:PutObjectVersionTagging",
"s3:GetBucketVersioning",
"s3:GetBucketAcl",
"s3: PutInventoryConfiguration",
"s3: PutObjectRetention",
"s3:GetBucketCORS",
"s3:GetBucketLocation",
"s3: ReplicateDelete",
"s3:GetObjectVersion"
],
"Recurso": [
"arn:aws:s3:::BUCKET",
"arn:aws:s3:::BUCKET/*"
]
}
]
}受影响的产品
CloudLink SecureVM, CloudLink文章属性
文章编号: 000210609
文章类型: Solution
上次修改时间: 26 6月 2023
版本: 5
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。