Last active
October 1, 2015 02:38
-
-
Save fishnix/1904801 to your computer and use it in GitHub Desktop.
Bootstrapping chef nodes in ec2 and rackspace with knife
This file contains 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
knife ec2 server create -I ami-41814f28 -d fedora13-gems -f m1.large -Z us-east-1a -x ec2-user | |
knife rackspace server create -S s2.example.com -N s2.example.com -f 1 -I 118 -d centos6-fishnix -r "role[generic],role[lamp],recipe[users::sysadmins]" |
This file contains 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
knife ec2 server create -I ami-aecd60c7 -d fedora13-gems -f t1.micro -Z us-east-1a -x ec2-user -r "role[generic],recipe[users::sysadmins]" |
This file contains 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
knife rackspace server create -S s1.rs.fishnix.net -N s1.rs.fishnix.net -f 2 -I 127 -d centos6-fishnix -r "role[generic],role[caching_lamp],recipe[users::sysadmins]" | |
knife rackspace server create --rackspace-version v2 -S s1.rs.fishnix.net -N s1.rs.fishnix.net -f 3 -I c195ef3b-9195-4474-b6f7-16e5bd86acd0 -d centos6-fishnix -E test -r "role[generic],role[caching_lamp],recipe[users::sysadmins],role[monitor_client]" |
This file contains 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
knife rackspace server create -S xxxxx -N xxxxx -f 3 -I c195ef3b-9195-4474-b6f7-16e5bd86acd0 -d centos6-fishnix -E "prod" -r "role[generic],recipe[users::sysadmins],recipe[openssl::certs],recipe[munin],recipe[misc::scripts],recipe[postfix::postfix_client],role[s9y_base_full_stack]" |
This file contains 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
knife rackspace server create -S s1.rs.xxxxxxxx -N s1.rs.xxxxxxxx -f 2 -I c195ef3b-9195-4474-b6f7-16e5bd86acd0 -r "role[generic],role[varnish_frontend],recipe[users::sysadmins],role[monitor_client], recipe[postfix::postfix_client], recipe[munin], recipe[misc::scripts] -E prod" |
This file contains 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
knife rackspace server create -S s1.rs.xxxxxxx -N s1.rs.xxxxxxxx -f 2 -I c195ef3b-9195-4474-b6f7-16e5bd86acd0 -r "role[generic],role[varnish_frontend],role[monitor_client]" -E prod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment