Chris Westin
2009-Nov-13 22:14 UTC
[Puppet Users] how can I use puppet to manage ec2 instances owned by the autoscaler?
I''ve done a setup of some puppet-managed virtual hosts under VMWare before. Now I''d like to manage a larger set of hosts in ec2. But I don''t see how to manage them given that hosts could come and go. In a static environment, I can assign hostnames to the hosts, and those are the nodenames that appear in my manifest. But in ec2, the number of hosts isn''t static -- the point is to scale the number of hosts as I need them, even allowing the dynamic autoscaler to do it. In this situation, the hosts don''t have hostnames that appear in my manifest. When they wake up and ask the puppetmaster for the manifest, they don''t appear in it. How can I manage this? Assuming there''s a way to do this, how do I handle the certificate sign-off with puppetca as new hosts are commissioned by the autoscaler? Thanks! Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
James Turnbull
2009-Nov-13 22:34 UTC
[Puppet Users] Re: how can I use puppet to manage ec2 instances owned by the autoscaler?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Westin wrote:> I''ve done a setup of some puppet-managed virtual hosts under VMWare > before. Now I''d like to manage a larger set of hosts in ec2. But I > don''t see how to manage them given that hosts could come and go. In a > static environment, I can assign hostnames to the hosts, and those are > the nodenames that appear in my manifest. But in ec2, the number of > hosts isn''t static -- the point is to scale the number of hosts as I > need them, even allowing the dynamic autoscaler to do it. In this > situation, the hosts don''t have hostnames that appear in my manifest. > When they wake up and ask the puppetmaster for the manifest, they > don''t appear in it. How can I manage this?In 0.25.0+ you can use regular expressions to name nodes or you could use an external node classifier.> > Assuming there''s a way to do this, how do I handle the certificate > sign-off with puppetca as new hosts are commissioned by the > autoscaler? >Get the autoscaler to trigger puppetca? I''d also do a quick Google for Puppet and EC2 Regards James Turnbull - -- Author of: * Pro Linux System Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBSv3e/SFa/lDkFHAyAQLxsAf/S5i7OT9FhoslDlK5BQ5uhHa7Ao2Dftez jVgntDyfMXERoBLT5Ma6Kt+HZeE5foqJCctwBffcLldm7TQPsCzoTiBoNTwBNIgr jlvWJvstkvO55iwlOXy6oxkyouwrfEHUie8x1qprYYoeY6DwvFGqs5rn7t8U24cv VMAv1AXmGYH+eLu4oOz5ZrXUZ3C5ISUgge1HGusTuLG7uXTrbYqpbFKK6NwqlGWc mgW0s8iouGrGOseCsX1V7S7J7lXeD1smnPJX2ssyMj68vhdZLAUUyz/xREhr4MJn vIq2w0drE0AYvSgAzTZmHcchACtGUqBaNvI98o6MWXEcO8nQovcJHw==zb+K -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---