S3 Bucket is not valid
Results 1 to 2 of 2

Thread: S3 Bucket is not valid

  1. #1
    Junior Member
    Join Date
    Mar 2019
    Posts
    2

    S3 Bucket is not valid

    Hello,

    I'm trying to configure ZExtras PowerStore with Amazon S3 bucket, but I'm receiving this message in my Zimbra console when I press test button: S3 bucket is not valid.

    My bucket policy is this:

    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "s3:PutObject",
    "s3:GetObject",
    "s3:DeleteObject",
    "s3:AbortMultipartUpload"
    ],
    "Resource": [
    "arn:aws:s3:::bucket-name/*",
    "arn:aws:s3:::bucket-name"
    ]
    }
    ]
    }

    In Zimbra console I complete fields like this example:

    Bucket Name: bucket-name
    AK: my AK
    SK: my SK
    Destination Path: /bucket-name/folder ( I tried only with folder name too, no success )
    Region: US_EAST_1
    ARN: arn:aws:s3:::bucket-name/folder/

    Please help me to configure this feature.

    Thank you very much.

    Cheers,

    André

  2. #2
    Junior Member
    Join Date
    Mar 2019
    Posts
    2
    Hello,

    After many other tests, I can successfully access my S3 bucket. I was having a permission problem identified in /opt/zimbra/log/mailbox.log.

    Before, I needed create cache and incoming directory and set permissions to zimbra user.

    In AWS IAM I replaced my old policy to this new policy (apparently the same, but it worked):

    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "s3:PutObject",
    "s3:GetObject",
    "s3eleteObject",
    "s3:AbortMultipartUpload"
    ],
    "Resource": [
    "arn:aws:s3:::bucket-name/*",
    "arn:aws:s3:::bucket-name"
    ]
    }
    ]
    }

    Now I receive the message that say "Bucket Valid".

    If someone have a best policy that this or more secure, please post here for us.

    Thank you very much.

    Cheers,

    André
    Last edited by smartfocusti; 03-04-2019 at 02:42 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •