Setting up knife ec2

I keep getting Fog::Compute::AWS::NotFound: The key pair ... does not exist error! How to solve this problem isn’t explained well enough anywhere. Install knife-ec2 first: sudo gem install knife-ec2 Then I added this to my knife.rb: # key name, as defined in EC2 Key Pairs, # this value has to be exactly the same as the one in the management console: knife[:aws_ssh_key_id] = "my-ec2-key" # AWS ID/SECRET: knife[:aws_access_key_id] = ".
Read more