Cloudlink Amazon S3 säkerhetskopieringsbutik "Åtkomst nekad", statuskod 403

Summary: Löser felet "Åtkomst nekad" Statuskod 403 på Amazon S3 backup store-konfiguration.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

"Åtkomst nekad" när du testar åtkomst till Amazon S3 backup store:


image.png
Fel som:
com.amazonaws.services.s3.model.AmazonS3Exception: Åtkomst nekad (tjänst: Amazon S3-statuskod: 403 Felkod: Begärande-ID för AccessDened: WX2272G8B4XMDJKZ S3 utökat förfrågnings-ID: [...]

Cause

Felaktig bucketåtkomstprincip har angetts för bucketen på Amazon S3.

Resolution

Tillämpa rätt bucketåtkomstprincip. Nedan visas ett exempel på en bucketåtkomstprincip som fungerar.
{
    "Version": "2012-10-17",
    "Uttalande": [
        {
            "Sid": "VisualEditor0",
            "Effekt": "Tillåt",
            "Åtgärd": [
                "s3:GetObjectVersionTagging",
                "s3:ReplikeraObjekt",
                "s3:GetObjectAcl",
                "s3:GetIntelligentTieringConfiguration",
                "s3:PutLifecycleConfiguration",
                "s3:GetObjectVersionAcl",
                "s3:PutObjectTagging",
                "s3:Ta bort objekt",
                "s3:Ta bort objektTagging",
                "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:ReplikeraTaggar",
                "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:ReplikeraTa bort",
                "s3:GetObjectVersion"
            ],
            "Resurs": [
                "arn:aws:s3:::BUCKET",
                "arn:aws:s3:::BUCKET/*"
            ]
        }
    ]
}

Affected Products

CloudLink SecureVM, CloudLink
Article Properties
Article Number: 000210609
Article Type: Solution
Last Modified: 26 Jun 2023
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.