docker machine - Rancher: creating hosts on AWS EC2 -


i'm trying add ec2 host rancher setup. have seen this tutorial, wanted use docker-machine instead.

to extend, have done following:

mac:~ user1$ docker-machine create -d amazonec2 --amazonec2-vpc-id vpc-84fd6de0 --amazonec2-region eu-west-1 --amazonec2-ami ami-c5f1beb6  rancher-node-aws-01running pre-create checks... creating machine... (rancher-node-aws-01) launching instance... waiting machine running, may take few minutes... detecting operating system of created instance... waiting ssh available...  error creating machine: error detecting os: many retries waiting ssh available.  last error: maximum number of retries (60) exceeded 

note: ami id corresponds rancheros-v0.7.0-hvm-1.

as can see, cannot ssh rancheros (ssh port open on aws). ideas why is?

the trick use ssh user called 'rancher'. full command be:

docker-machine create -d amazonec2 --amazonec2-vpc-id vpc-84fd6de0 --amazonec2-region eu-west-1 --amazonec2-ami ami-c5f1beb6 --amazonec2-ssh-user rancher rancher-node-aws-01 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -