Reputation: 1
I am currently learning chef and AWS (new to both of them).
I would like to create a node in https://manage.chef.io/organizations/su_cheflearning/nodes.
The followings are the steps I have done:
knife bootstrap 52.65.76.66 -U ubuntu --sudo -i "D:\DevOpsClass\DevopsClass.pem" -N node01 --chef-license accept
Question
I am having an issue: The issue is I am asked to provide password for [email protected] :
I have searched online, some said enter passwd, but none of the suggestions work. I do not launch EC2 with password, so I am not sure what to enter...
Thanks for your help!
Upvotes: 0
Views: 127
Reputation: 1
I would like to share how I have troubleshoot. It might help other beginner chef learners like myself.
Upvotes: 0
Reputation: 14423
Well, I know nothing about Chef, but a couple of points:
If the IP shown above is your real public IP, you probably want to obscure it.
Does the knife bootstrap
command allow you to configure an SSH key? EC2 instances do not use password for SSH access, only keys. If you want the knife bootstrap
command work, you'll need to configure the ssh key to work with the command.
Upvotes: 0