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 27, 2019 in AWS by Ruth
542 views

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 27, 2019 by Faiza

Related Questions In AWS

0 votes
2 answers
0 votes
1 answer

AWS S3 CLI : error while trying to copy files locally using terminal

For the first error you should add ...READ MORE

answered Aug 3, 2018 in AWS by Archana
• 4,150 points
1,926 views
0 votes
1 answer

AWS Access Key error when uploading to S3

You can try getting creating a new ...READ MORE

answered Feb 6, 2019 in AWS by Priyaj
• 57,510 points
1,827 views
+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,630 points
821 views
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
• 57,510 points
343 views