pcam
Customer
I'm having the same issue as rtiindia did in the thread setting up CDN with amazon s3
I have simply entered my standard region bucket name as well as a static website endpoint in the form http://BUCKET.s3-website-us-east-1.amazonaws.com. The former just shows @rtindia 's problem of hostname unable to resolve, while the latter complains of access permissions.
Is there an instruction manual? I have been wondering if in the file dbtech/vboptimise_pro/includes/cdn/amazon_s3/cdn.php
is needing a region definition, although I saw that S3 buckets are essentially region-free. My url endpoint includes s3-website-us-east.
I did a "host" on my non-region specific bucket.s3.amazonaws.com with the result retrieved:
bucket.s3.amazonaws.com is an alias for s3-directional-w.amazonaws.com.
s3-directional-w.amazonaws.com is an alias for s3-1-w.amazonaws.com.
s3-1-w.amazonaws.com has address 52.xxx.xxx.xxx
Also, I am using the root Access Key ID / Secret Key pair of the aws account, where the S3 bucket has Read, Write for both Object access and Permissions access. I don't see any permission complaints from vBOptimise when using simply the bucket name, as it tries to upload synced settings and later fails, where as I have seen permission errors come up when attempting to perform a best security practice by delegating the S3 bucket to an IAM user.
I have simply entered my standard region bucket name as well as a static website endpoint in the form http://BUCKET.s3-website-us-east-1.amazonaws.com. The former just shows @rtindia 's problem of hostname unable to resolve, while the latter complains of access permissions.
Is there an instruction manual? I have been wondering if in the file dbtech/vboptimise_pro/includes/cdn/amazon_s3/cdn.php
PHP:
public function get_url()
{
return 'http://' . $this->cdn_settings['bucket'] . '.s3.amazonaws.com';
}
is needing a region definition, although I saw that S3 buckets are essentially region-free. My url endpoint includes s3-website-us-east.
I did a "host" on my non-region specific bucket.s3.amazonaws.com with the result retrieved:
bucket.s3.amazonaws.com is an alias for s3-directional-w.amazonaws.com.
s3-directional-w.amazonaws.com is an alias for s3-1-w.amazonaws.com.
s3-1-w.amazonaws.com has address 52.xxx.xxx.xxx
Also, I am using the root Access Key ID / Secret Key pair of the aws account, where the S3 bucket has Read, Write for both Object access and Permissions access. I don't see any permission complaints from vBOptimise when using simply the bucket name, as it tries to upload synced settings and later fails, where as I have seen permission errors come up when attempting to perform a best security practice by delegating the S3 bucket to an IAM user.
Last edited: