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. 
(Client error response [status code] 404 [reason phrase] 
Not Found [url] http://111.111.111.111/latest/meta-data/iam/security-credentials/)
Error: An Internal Error Has Occurred.

EC2,S3,ELB,Route53環境です。S3からファイルダウンロードしようとすると上記のようなエラーがでるのですが、どこの修正が必要でしょうか?