Page MenuHomePhabricator

Uploading file to Amazon S3 bucket fails with cUrl error 7
OpenPublic

Asked by anthony-verge on Mar 17 2016, 8:42 PM.

Details

Hello,

I am trying to connect my new Phabricator setup to an Amazon S3 bucket. Here is what is setup so far:

Linux VPS running Apache and Phabricator through rosehosting.com
S3 Amazon setup with a user 'phabricator' who has the following access policy:

{

"Version": "2012-10-17",
"Statement": [
    {
        "Sid": "Stmt1458246305000",
        "Effect": "Allow",
        "Action": [
            "s3:*"
        ],
        "Resource": [
            "arn:aws:s3:::verge-phabricator"
        ]
    }
]

}

That user also has an access key setup.

I have set phabricator config variables as follows:
amazon-s3.region us-west 2
amazon-s3.endpoint s3-website-us-west-2.amazonaws.com
amazon-s3.access-key <user access key>
amazon-s3.secret-key <user secret key>
storage.s3.bucket verge-phabricator

I have tried restarting the server.

I'm not sure whether I have a bad configuration in 1) S3 Bucket, 2) IAM User, 3) VPS/Server, 4) Phabricator config.

I'm new to phabricator but am excited to get going on this.

Any help is appreciated,
Anthony