AWS S3 error with MySQL dump importation in Drupal 7
<p>I'm getting this error:</p>

<blockquote>
  <p>Aws\Common\Exception\InstanceProfileCredentialsException: Error retrieving credentials from the instance profile metadata server. When you are not running inside of Amazon EC2, you must provide your AWS access key ID and secret access key in the "key" and "secret" options when creating a client or provide an instantiated Aws\Common\Credentials\CredentialsInterface object. ([curl] 28: Connection timed out after 5010 milliseconds [url] <a href="http://169.254.169.254/latest/meta-data/iam/security-credentials/" rel="nofollow">http://169.254.169.254/latest/meta-data/iam/security-credentials/</a>) in Aws\Common\InstanceMetadata\InstanceMetadataClient->getInstanceProfileCredentials() (line 85 of /var/www/public/sites/all/libraries/awssdk2/Aws/Common/InstanceMetadata/InstanceMetadataClient.php).</p>
</blockquote>

<p>In this scenario:</p>

<p>I'm using the AWS S3 module in Drupal 7. One bucket from S3 works for development, and the other one works for staging.</p>

<p>After the client add some content in staging, I try to import the new DB dump from staging to develop and the error appers, maybe is something with the image path in the new dump, the AWS credentials work for development fine, the problem is with the new DB dump.</p>

<p>Con someone help me please?</p>