5

Ben Amazon Elastik Beanstalk üzerinde piton uygulamayı dağıtmak için bu AWS öğretici takip ediyorum oluşturmak için sormaz:AWS Elastik Beanstalk CLI yeni keypair

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-common-steps.html#python-common-configuring

Ben bir noktaya yere kılavuzu takip ettik EB Cli bana anahtar deliği oluşturmamı ister. Ama sahip olduğum tek şey anahtar şifre ismini yazmak için bir komut.

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. 

Ben de
eb init --interactive 

çalıştı ama sonuç yine aynı.

Select a keypair. 
1) [ Create new KeyPair ] 
(default is 1): 1 

Ben Windows 8.1'de Powershell kullanarak: Ben almalısınız

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html

sonuç böyle bir şeydir:

Ben de burada EB CLI doc kazıp.

Benim Eb Cli sürümü: EB CLI 3.4.5 (Python 2.7.1) Ben OpenSSH yükledim

ve bu noktaya kadar AWS öğretici (yukarıdaki bağlantı) gördüğümüz her şeyi.

Yapabileceğim kadar bilgi sağlayacağım. Lütfen sormaya çekinmeyin.

Bir süredir çok fazla seçeneğiyle uğraştım.

Herhangi bir yardım için teşekkür ederiz.

Teşekkürler!

+1

aslında * bir anahtar çifti oluşturdunuz *? Yani ssh-keygen'i mi çalıştırdınız ya da bir tane oluşturmak için AWS konsolunu (EC2: Network & Security: Key çiftleri) kullandınız mı? – SonarJetLens

+0

Merhaba. Cevabınız için teşekkürler. Henüz bir anahtarlık oluşturmadım. Söz konusu adım bir tane oluşturmama izin vermeli, ancak açıklamaların üstündekiler gibi kaldım. Ama cevabınız sayesinde keypair yaratmanın diğer yollarına bakacağım. Yarın deneyeceğim ve sonucu yazacağım. ;) – Kakyoin

+0

EC2 konsolunu kullanarak manuel olarak anahtar deliği oluşturarak bunu yaptım. Teşekkürler! – Kakyoin

cevap

İlgili konular