AWS error Unable to locate credentials

0 votes
I have had multiple ec2 instances encountering an "Unable to locate credentials" error today when trying to execute the AWS CLI despite the instance being launched with an IAM role that grants appropriate policies and had worked without issue prior to today.
Aug 28, 2019 in AWS by Ruth

1 answer to this question.

0 votes
If you add --debug to the command line you will be able to see where the CLI is looking for credentials which may help.

My guess is that they're overloaded, and made the design decision to fail quickly rather than queueing requests.
answered Aug 28, 2019 by Faiza

Related Questions In AWS

0 votes
2 answers

How to test credentials for AWS Command Line Tools

This command always works regardless of the ...READ MORE

answered Aug 8, 2018 in AWS by anonymous
+1 vote
2 answers
+3 votes
3 answers

Unable to login to parse dashboard on AWS

During the first time boot, the application ...READ MORE

answered Apr 30, 2018 in AWS by Cloud gunner
• 4,650 points
0 votes
1 answer

Unable to start express server on AWS instance

It's not your code — you can't connect ...READ MORE

answered Oct 1, 2018 in AWS by Priyaj
• 58,140 points