I follow this AWS guide to deploy a python application on Amazon Elastic Beanstalk:
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-common-steps.html#python-common-configuring
I followed the guide until the moment when EB Cli should prompt me to create a key pair. But all I have is an invitation to enter the name of the key pair.
Do you want to set up SSH for your instances? (y/n): y Type a keypair name. (Default is aws-eb): You must specify a key type (-t). Usage: ssh-keygen [options] Options: -b bits Number of bits in the key to create. -c Change comment in private and public key files. -e Convert OpenSSH to IETF SECSH key file. -f filename Filename of the key file. -g Use generic DNS resource record format. -i Convert IETF SECSH to OpenSSH key file. -l Show fingerprint of key file. -p Change passphrase of private key file. -q Quiet. -y Read private key file and print public key. -t type Specify type of key to create. -B Show bubblebabble digest of key file. -C comment Provide new comment. -N phrase Provide new passphrase. -P phrase Provide old passphrase. -r hostname Print DNS resource record. -G file Generate candidates for DH-GEX moduli -T file Screen candidates for DH-GEX moduli ERROR: The EB CLI cannot find your SSH key file for keyname "aws-eb". Your SSH key file must be located in the .ssh fold er in your home directory.
I also tried
eb init --interactive
but the result is still the same.
I will also dig an EB CLI document here:
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html
The result I should get looks something like this:
Select a keypair. 1) [ Create new KeyPair ] (default is 1): 1
I am using Windows 8.1 using Powershell.
My version of Eb Cli: EB CLI 3.4.5 (Python 2.7.1)
I installed OpenSSH and everything you saw in the AWS tutorial (link above) to this point.
I will provide as much information as possible. Please feel free to ask.
I have been stuck with this for a while, trying to find many options.
Any help is appreciated.
Thanks!
source share