Created
August 11, 2016 20:48
-
-
Save jaredlockhart/ffd0ae3f41cdbd44104e142c10d3b1c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # individual machine | |
| docker-machine create -d amazonec2 \ | |
| --amazonec2-access-key=asdf \ | |
| --amazonec2-secret-key=asdf \ | |
| --amazonec2-region=us-east-1 \ | |
| --amazonec2-zone=c \ | |
| --amazonec2-vpc-id=asdf \ | |
| --amazonec2-subnet-id=asdf \ | |
| --amazonec2-instance-type="m4.xlarge" \ | |
| mymachine1 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Step 1) Create a VPC with 1 public subnet and an internet gateway using the VPC wizard
Step 2) capture the VPC ID and subnet ID, and hte region and zone of the vpc
Step 3) issue that command to docker machine
Step 4) eval $(docker-machine env mymachine1)
Step 5) docker-compose up
et voila