aws-workshop-for-kubernetes
aws-workshop-for-kubernetes copied to clipboard
Build script install - Unable to locate credentials
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.
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.
@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.
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 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.