Unable to copy to Amazon S3 using Full Administrator access and Full S3 access
I had a perfectly working instance of a WP-CLI wordpress plugin to upload files to S3 using the AmazonS3FullAccess policy. I migrated servers, and the copy started failing. "Failed to copy or write".
I even included the
Full Administrator
access to the IAM policy just to see what's going on when there are no restrictions, and the copy is still failing. Any idea what might be wrong?
Things I have tried: ensure time (via NTPD synchronization) on the new server is correct. Cross check the environment: php version, etc. The application files are exactly the same. I also used the host files method to check the previous server and it is working well.
Solutions
Solved the problem by creating new access keys. For some reason, it seems that migrating a server will make the old access keys stop working? Ah, well.
P.S. I also downgraded the policies right back, to only what the application needs.
Similar questions
Unable to connect to Amazon RDS from EC2 wordpress site
I'm migrating my website from a CPanel hosting to Amazon EC2. I'm using Amazon RDS to host my WordPress database. I followed the following steps: While everything worked out fine, except that I'm getting the following error "Error establishing a database connection" while I open my site in the browser. I tried changing the security group on RDS and...
Allow access only member's group and administrator
I'm trying to allow access for certain content only for specific member's user and administration. With the following code I can't view the content when I'm logged as admin: Also I tryed each condition individually, but as admin I can't view the content. I tryed this example code: But the two conditional statement goes in conflict. If I try both se...
Only administrator allow to access wp-admin and login?
I would like to do that only administrator(role) allow to login with wp-admin not any other role, other uses like(editor,author) are login from front end and it's working fine but i would like only administrator can login through wp-admin. I have used ultimate member plug in for front end login. Ultimate Plugin link also i have used below code for ...
Also ask