Open ghost opened 8 years ago
I tried to create instance without swarm options, but it still fails i.e. hangs on ssh, ec2 instance tries to start but then stops.
docker-machine --debug create --driver amazonec2 --amazonec2-access-key xxx --amazonec2-secret-key xxx--amazonec2-region us-west-2 --amazonec2-vpc-id xxx --amazonec2-zone a --amazonec2-ami ami-c928c1a9 jmeter-client
INFO[0001] Launching instance...
DEBU[0001] executing: /usr/bin/ssh-keygen ssh-keygen -t rsa -N -f /Users/AlexY/.docker/machine/machines/jmeter-client/id_rsa
Generating public/private rsa key pair.
Your identification has been saved in /Users/AlexY/.docker/machine/machines/jmeter-client/id_rsa.
Your public key has been saved in /Users/AlexY/.docker/machine/machines/jmeter-client/id_rsa.pub.
The key fingerprint is:
6e:99:54:6b:02:bd:24:ab:c8:79:9e:c8:30:7f:bb:cf AlexY@AlexY.local
The key's randomart image is:
+--[ RSA 2048]----+
| |
| . |
| o o . |
| = o . |
| . S o |
| . o . o = |
|o + o = |
| = +.o . |
| +.=+E |
+-----------------+
DEBU[0002] creating key pair: jmeter-client
DEBU[0002] configuring security group in vpc-6df12909
DEBU[0002] found existing security group (docker-machine) in vpc-6df12909
DEBU[0002] configuring security group authorization for 0.0.0.0/0
DEBU[0002] launching instance in subnet subnet-e4c26280
DEBU[0003] waiting for ip address to become available
DEBU[0004] Got the IP Address, it's "52.34.61.232"
DEBU[0030] created instance ID i-0cf134a2bd6cfddbb, IP address 52.34.61.232, Private IP address 10.0.1.66
INFO[0030] Waiting for SSH on 52.34.61.232:22
Do you need to specify --amazonec2-device /dev/xvda
? Or potentially another value (the output you have posted is hard to read)
Hi all,
I'm trying to go through this manual https://gist.github.com/hhcordero/abd1dcaf6654cfe51d0b And after I workaround #3353, I stucked at ssh cmd.