EC2 Wrodpress plugin WP offload Media not upload files to S3 Bucket [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed 1 hour ago. Improve this question I have two wordpress projects hosted in AWS EC2 (with ubuntu/apache). I am using RDS for database and try to upload all media contents into S3 bucket by using the plugin called WP Offload Media Lite. I've setup everything follow the online tourial to setup EC2 and assigned a property IAM ROLE (also tried with a IAM user credential) with S3FullAccess permission. However, it failed to upload files to S3 bucket, the files are saved in EC2 only.Checking the storage settings and Delivery Settings of WP Offload Media Lite, both show the green tag which means connected to the S3 bucket correctly. In order to debuging, I tried to give a wrong secret-access-key in the wp-config.php, but no errors been thrown out from WP Offload Media, and there is no error message in debug.log either. I suspect the issue might be caused by some kind of EC2 security policy (maybe related to file permissions), I also tried to mark the folder permission in EC2 to 777 and change the security group (portal 80, 443, 22, 3306) to open to the public, but still not be able to save files in S3. I've also tried using aws cli aws cp file s3://mybucket from EC2 to copy some files to S3 bucket and it works. Try to understand if there is a setting issue, I've migrated the whole wordpress website into my local env (windows based, xampp). All the plugins are the same as the EC2 one (also connected to RDS for database), and used the same IAM user credential, this time files have been saved in S3 bucket successfully. I've searched the answers for a while, but no luck at all. Anyone have the same issue or any ideas about this? many thanks.

Comment (0)

You’ll be in good company