aws-workshop-for-kubernetes icon indicating copy to clipboard operation
aws-workshop-for-kubernetes copied to clipboard

Build script install - Unable to locate credentials

Open robertolopezlopez opened this issue 6 years ago • 4 comments

Hi,

I am getting some trouble trying to install k8s on aws. After installing cloud9 IDE, I try to install k8s from the bash tab as described in this tutorial. I am getting the following output:

[ec2-user@ip-172-31-... ~]$ aws s3 cp s3://aws-kubernetes-artifacts/lab-ide-build.sh .
fatal error: Unable to locate credentials

I am quite lost, I do not know where to start looking into. Any help please? Thanks.

robertolopezlopez avatar May 16 '18 16:05 robertolopezlopez

Hmmm, that seems really strange. You might want to try and recreate the Cloud9 environment. Alternatively, you could try following the directions in the section below that tells you to disable the managed credentials.

christopherhein avatar May 16 '18 19:05 christopherhein

@robertolopezlopez Were you able to get this working?

We just released some new changes around the build script (specifically for EKS), including changing the order of the steps in 01-path-basics/101-start-here/readme.adoc.

buzzsurfr avatar Jun 07 '18 19:06 buzzsurfr

Thanks for your help.

@buzzsurfr I have not yet had time to test the fix, I will reply as soon as I have some time at work. Quite busy at the moment :-(

robertolopezlopez avatar Jun 12 '18 08:06 robertolopezlopez

@robertolopezlopez I had the same issue when I created Cloud9 instance manually rather than using the scripted option. The issue was caused when I disabled "AWS Managed Temporary Credentials" and did not have an Instance Role attached to Cloud9.

benphunter avatar Jul 08 '18 08:07 benphunter