Skip to content

Instantly share code, notes, and snippets.

@nickmarden
Created October 20, 2012 01:44
Show Gist options
  • Select an option

  • Save nickmarden/3921648 to your computer and use it in GitHub Desktop.

Select an option

Save nickmarden/3921648 to your computer and use it in GitHub Desktop.
[nick@nick-mba ironfan-homebase] (master)$ knife cluster launch my_first_cluster
Inventorying servers in my_first_cluster cluster, all facets, all servers
my_first_cluster: Loading chef
my_first_cluster: Loading ec2
my_first_cluster: Reconciling DSL and provider information
+-----------------------------+-------+-------------+----------+------------+-----+
| Name | Chef? | State | Flavor | AZ | Env |
+-----------------------------+-------+-------------+----------+------------+-----+
| my_first_cluster-web-0 | yes | not running | m1.small | us-east-1c | dev |
| my_first_cluster-web-1 | yes | not running | m1.small | us-east-1c | dev |
| my_first_cluster-database-0 | yes | not running | m1.large | us-east-1c | dev |
+-----------------------------+-------+-------------+----------+------------+-----+
Syncing to chef
Launching computers
+-----------------------------+-------+-------------+----------+------------+-----+
| Name | Chef? | State | Flavor | AZ | Env |
+-----------------------------+-------+-------------+----------+------------+-----+
| my_first_cluster-web-0 | yes | not running | m1.small | us-east-1c | dev |
| my_first_cluster-web-1 | yes | not running | m1.small | us-east-1c | dev |
| my_first_cluster-database-0 | yes | not running | m1.large | us-east-1c | dev |
+-----------------------------+-------+-------------+----------+------------+-----+
my_first_cluster-web-0: creating cloud machine
my_first_cluster-web-1: creating cloud machine
my_first_cluster-database-0: creating cloud machine
i-c9e117b5: tagging with {"cluster"=>"my_first_cluster", "facet"=>"web", "index"=>0, "name"=>"my_first_cluster-web-0", "Name"=>"my_first_cluster-web-0"}
i-cfe117b3: tagging with {"cluster"=>"my_first_cluster", "facet"=>"web", "index"=>1, "name"=>"my_first_cluster-web-1", "Name"=>"my_first_cluster-web-1"}
vol-0c903071: tagging with {"cluster"=>"my_first_cluster", "facet"=>"web", "index"=>0, "name"=>"my_first_cluster-web-0-root", "Name"=>"my_first_cluster-web-0-root", "server"=>"my_first_cluster-web-0", "mount_point"=>"/", "device"=>"/dev/sda1"}
vol-09903074: tagging with {"cluster"=>"my_first_cluster", "facet"=>"web", "index"=>1, "name"=>"my_first_cluster-web-1-root", "Name"=>"my_first_cluster-web-1-root", "server"=>"my_first_cluster-web-1", "mount_point"=>"/", "device"=>"/dev/sda1"}
i-cbe117b7: tagging with {"cluster"=>"my_first_cluster", "facet"=>"database", "index"=>0, "name"=>"my_first_cluster-database-0", "Name"=>"my_first_cluster-database-0"}
vol-0090307d: tagging with {"cluster"=>"my_first_cluster", "facet"=>"database", "index"=>0, "name"=>"my_first_cluster-database-0-root", "Name"=>"my_first_cluster-database-0-root", "server"=>"my_first_cluster-database-0", "mount_point"=>"/", "device"=>"/dev/sda1"}
my_first_cluster-web-0: setting termination flag false
my_first_cluster-web-1: setting termination flag false
my_first_cluster-web-0: syncing EBS volumes
my_first_cluster: ensuring security group permissions
ssh: ensuring tcp access from 0.0.0.0/0 to 22..22
my_first_cluster-web-1: syncing EBS volumes
my_first_cluster: ensuring security group permissions
ssh: ensuring tcp access from 0.0.0.0/0 to 22..22
web: ensuring tcp access from 0.0.0.0/0 to 80..80
web: ensuring tcp access from 0.0.0.0/0 to 80..80
web: ensuring tcp access from 0.0.0.0/0 to 443..443
web: ensuring tcp access from 0.0.0.0/0 to 443..443
my_first_cluster-database-0: setting termination flag false
my_first_cluster: ensuring access to my_first_cluster
my_first_cluster: ensuring access to my_first_cluster
my_first_cluster-database-0: syncing EBS volumes
my_first_cluster: ensuring security group permissions
ssh: ensuring tcp access from 0.0.0.0/0 to 22..22
my_first_cluster: ensuring access to my_first_cluster
my_first_cluster-web-0: launching
my_first_cluster-web-0: waiting for ready
my_first_cluster-web-1: launching
my_first_cluster-web-1: waiting for ready
my_first_cluster-database-0: launching
my_first_cluster-database-0: waiting for ready
my_first_cluster-web-0: trying ssh
my_first_cluster-database-0: trying ssh
my_first_cluster-web-1: trying ssh
my_first_cluster-web-1: final provisioning
my_first_cluster-web-1: setting termination flag false
my_first_cluster-web-0: final provisioning
my_first_cluster-web-1: syncing EBS volumes
my_first_cluster: ensuring security group permissions
ssh: ensuring tcp access from 0.0.0.0/0 to 22..22
my_first_cluster-web-0: setting termination flag false
my_first_cluster-web-0: syncing EBS volumes
my_first_cluster: ensuring security group permissions
ssh: ensuring tcp access from 0.0.0.0/0 to 22..22
web: ensuring tcp access from 0.0.0.0/0 to 80..80
my_first_cluster-database-0: final provisioning
my_first_cluster-database-0: setting termination flag false
web: ensuring tcp access from 0.0.0.0/0 to 80..80
my_first_cluster-database-0: syncing EBS volumes
my_first_cluster: ensuring security group permissions
ssh: ensuring tcp access from 0.0.0.0/0 to 22..22
web: ensuring tcp access from 0.0.0.0/0 to 443..443
my_first_cluster: ensuring access to my_first_cluster
web: ensuring tcp access from 0.0.0.0/0 to 443..443
my_first_cluster: ensuring access to my_first_cluster
my_first_cluster: ensuring access to my_first_cluster
Applying aggregations:
my_first_cluster: Loading chef
my_first_cluster: Loading ec2
my_first_cluster: Reconciling DSL and provider information
Loaded information for 3 computer(s) in cluster my_first_cluster
+-----------------------------+-------+---------+----------+------------+-----+------------+----------------+----------------+------------+
| Name | Chef? | State | Flavor | AZ | Env | MachineID | Public IP | Private IP | Created On |
+-----------------------------+-------+---------+----------+------------+-----+------------+----------------+----------------+------------+
| my_first_cluster-web-0 | yes | running | m1.small | us-east-1c | dev | i-c9e117b5 | 107.22.117.58 | 10.116.50.71 | 2012-10-20 |
| my_first_cluster-web-1 | yes | running | m1.small | us-east-1c | dev | i-cfe117b3 | 54.242.107.127 | 10.114.103.220 | 2012-10-20 |
| my_first_cluster-database-0 | yes | running | m1.large | us-east-1c | dev | i-cbe117b7 | 174.129.110.70 | 10.114.234.13 | 2012-10-20 |
+-----------------------------+-------+---------+----------+------------+-----+------------+----------------+----------------+------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment