Warning: file_get_contents(http://169.254.169.254/latest/meta-data/instance-id): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /var/www/html/index.php on line 8

Warning: file_get_contents(http://169.254.169.254/latest/meta-data/instance-type): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /var/www/html/index.php on line 9

Warning: file_get_contents(http://169.254.169.254/latest/meta-data/ami-id): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /var/www/html/index.php on line 10

Warning: file_get_contents(http://169.254.169.254/latest/meta-data/placement/availability-zone): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /var/www/html/index.php on line 11

Warning: file_get_contents(http://169.254.169.254/latest/meta-data/iam/security-credentials/): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /var/www/html/index.php on line 12

Warning: file_get_contents(http://169.254.169.254/latest/meta-data/iam/security-credentials/): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /var/www/html/index.php on line 13

Warning: Attempt to read property "AccessKeyId" on null in /var/www/html/index.php on line 27

Warning: Attempt to read property "SecretAccessKey" on null in /var/www/html/index.php on line 28

Warning: Attempt to read property "Token" on null in /var/www/html/index.php on line 29

Fatal error: Uncaught InvalidArgumentException: Credentials must be an instance of Aws\Credentials\CredentialsInterface, an associative array that contains "key", "secret", and an optional "token" key-value pairs, a credentials provider function, or false. in /var/www/html/vendor/aws/aws-sdk-php/src/ClientResolver.php:531 Stack trace: #0 /var/www/html/vendor/aws/aws-sdk-php/src/ClientResolver.php(352): Aws\ClientResolver::_apply_credentials(Array, Array, Object(Aws\HandlerList)) #1 /var/www/html/vendor/aws/aws-sdk-php/src/AwsClient.php(199): Aws\ClientResolver->resolve(Array, Object(Aws\HandlerList)) #2 /var/www/html/index.php(35): Aws\AwsClient->__construct(Array) #3 {main} thrown in /var/www/html/vendor/aws/aws-sdk-php/src/ClientResolver.php on line 531