I have gotten to the part where I am running
bash setup_p2.sh. I runs up to this part:
$ bash setup_p2.sh
setup_p2.sh: line 13: /home/ccrlan1rxg/.ssh/aws-key.pem: No such file or directory
chmod: cannot access '/home/ccrlan1rxg/.ssh/aws-key.pem': No such file or directory
An error occurred (InvalidKeyPair.NotFound) when calling the RunInstances operation: The key pair 'aws-key' does not exist
First there is the problem with the aws-key.pem file. This file simply does not exist anywhere on my PC and certainly not in the
.ssh folder. I am not sure where to get it from. I thought that this file is created when you run
aws configure. It doesn't seem that way because I've re-run
aws configure several times with no success.
I am assuming that the second error is the consequence of the mission aws-key file, but I don't know for sure.
What am I missing here?