title: AWS Package error in Laravel 4.2
body: <p>Well, I use Laravel version 4.2 in my application, but I have some problems with AWS Package :/</p>
  
  <p>I use this package <a href="https://github.com/aws/aws-sdk-php-laravel" rel="nofollow">https://github.com/aws/aws-sdk-php-laravel</a></p>
  
  <p>I did everything that was described in README.md, but when I try send a image to S3 I receive this error</p>
  
  <blockquote>
    <p>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] 7: Failed connect to 169.254.169.254:80; No route to host [url] <strong>169.254.169.254/latest/meta-data/iam/security-credentials/</strong>) </p>
  </blockquote>
  
  <p>I put the package in my composer.json</p>
  
  <blockquote>
    <p>"aws/aws-sdk-php-laravel": "1.*"</p>
  </blockquote>
  
  <p>And i send the command</p>
  
  <blockquote>
    <p>composer update</p>
  </blockquote>
  
  <p>I put in folder <strong>app/config/packages/aws/aws-sdk-php-laravel/config.php</strong></p>
  
  <pre><code>&lt;?php
  
  return array(
      'key'         =&gt; '[key]',
      'secret'      =&gt; '[secret]',
      'region'      =&gt; 'us-east-1',
      'config_file' =&gt; null,
  );
  </code></pre>
  
  <p>And try call the method</p>
  
  <pre><code>AWS::get('s3')-&gt;putObject(array(
              'Bucket'     =&gt; ['bucket'],
              'Key'        =&gt; ['key'],
              'SourceFile' =&gt; ['source']
          ));
  </code></pre>
  
  <p>But nothing work :(</p>
  
  <p>Anyone know what's going on?</p>