Skip to content

Instantly share code, notes, and snippets.

@nerdalert
Created April 27, 2015 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nerdalert/9d12822ea682e7bffce6 to your computer and use it in GitHub Desktop.
Save nerdalert/9d12822ea682e7bffce6 to your computer and use it in GitHub Desktop.
$ docker-machine -D create \
> --driver amazonec2 \
> --amazonec2-access-key $AWS_ACCESS_KEY_ID \
> --amazonec2-secret-key $AWS_SECRET_ACCESS_KEY \
> --amazonec2-vpc-id $AWS_VPC_ID \
> test-instance6
INFO[0000] Launching instance...
DEBU[0001] creating key pair: test-instance6
DEBU[0001] configuring security group in vpc-42dffc27
DEBU[0001] found existing security group (docker-machine) in vpc-42dffc27
DEBU[0001] configuring security group authorization for 0.0.0.0/0
DEBU[0001] launching instance in subnet subnet-209c260b
DEBU[0002] waiting for ip address to become available
DEBU[0021] Got the IP Address, it's "52.5.11.81"
DEBU[0021] created instance ID i-efc00f39, IP address 52.5.11.81, Private IP address 172.31.50.167
DEBU[0021] Settings tags for instance
DEBU[0021] Getting to WaitForSSH function...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment