Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29539

How to bootstrap an AWS EC2 instance from on-premise chef workstation?

$
0
0

With the help of knife ec2 plugin I have created an instance in AWS.

knife ec2 server create -I ami-04763b3055de4860b -f t2.micro -Z us-east-1a -N testEC2 -x ubuntu --sudo --associate-public-ip

Now I want to bootstrap the instance to my on-premise chef server. How it can be done?

Here is the bootstrap commands i used,

knife bootstrap ec2-54-160-171-106.compute-1.amazonaws.com -N cheftest --ssh-user ubuntu --sudo --i ./.chef/ubuntu-7cff793ad2fb518fd916.pem --sudo

Viewing all articles
Browse latest Browse all 29539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>