I keep getting
Fog::Compute::AWS::NotFound: The key pair ... does not existerror!
How to solve this problem isn’t explained well enough anywhere.
sudo gem install knife-ec2
Then I added this to my
As I was trying to create an instance with this command:
knife ec2 server create -G "default" -r 'recipe[monit]'
I kept getting following error:
Fog::Compute::AWS::NotFound: The key pair 'my-ec2-key' does not exist
It turned out, 2 hours later, in order to fix this I had to run: