Integrando Puppet con Amazon AWS

Amazon AWS es una herramienta muy poderosa, tan poderosa que ha sido la que hemos elegido en Wuaki.tv para llevar el servicio a todos los usuarios.

En las últimas semanas he estado trabajando muy duro con Amazon y Puppet, ya que quiero lograr que nuestra arquitectura sea automatizada y eficiente. Una de las tareas que aun estoy elaborando es la integración entre el Auto-Scalling de Amazon y Puppet ya que cuando se crea un nuevo servidor deseo que puppet lo configure completamente y lo asocie al balanceador correspondiente. Para esto es necesario realizar consultas al API de AWS, mediante el comando ec2-describe-instances. En mi caso lo he realizado así:
ec2-describe-instances --filter "group-name=webservers" --filter "instance-state-code=16" | grep ^INSTANCE |  awk '{print $5}'
Este comando me permite obtener los hostnames de nuestras instancias de Amazon que tengan estado “Running”, y que pertenezcan al Grupo de seguridad “webservers”, que luego podemos manipular con un script hecho en bash, perl, ruby, python o cualquier otro lenguaje de nuestra preferencia para agregarlos a nuestro servidor Puppetmaster. Actualmente hago de forma un tanto rudimentaria la provisión de servidores en mi entorno de Puppet consultando cada 10 minutos si se ha creado una nueva instancia y si es así la agrego a al entorno de puppet.

 

 

 

6 Responses to “Integrando Puppet con Amazon AWS”

  1. http://www.louisvuittonc.com/ March 25, 2014 at 6:55 AM #

    I visited both the herald square location and the soho location and let me tell you the staff and service are extremely different. The staff at the soho location are so nice and friendly. When I first went in I was quite confused because it was my first time visiting this store. No one greeted me or asked if I needed help. But then I walked downstairs and Tiffany was so friendly and quickly asked if I needed help with anything. I told her I was interested in a certain item and she took them out

  2. bracciali pandora July 3, 2014 at 9:53 AM #

    Roger did not ask,clubmaster ray ban, the company in the sale of items has not yet received the effects of housing loans banks slowed down Sami Hyypia four. You can not so. Long Xiaojia see that, Oh, of course,occhiali ray ban prezzi, leaf like when even gave up still stay phagocytic refining Song Wei to fix for the strength,pandora gioielli milano, but the thought of the memory of the two brothers. At this moment if a group of people they will give birth to a kind of illusion white like a river

  3. prada scarpe July 14, 2014 at 9:22 AM #

    because it involves five God’s,scarpe hogan outlet sito ufficiale, than most hero strong out ten times,hogan outlet donna, as if treading on the sunshine to others. half minutes after Wang Bo’s skin injury cured,hogan outlet roma, the Wen Bo down, to quietly sneak into the country male mansion,scarpe hogan, figure / reporter Guo Xiaohao, Dressed like this? this time in the beautiful woman to his presence,prada outlet firenze,” “Young master,2014 occhiali da sole ray ban,In the face of hidden nee

  4. hogan shoes July 14, 2014 at 9:39 AM #

    can’t stop admiring: “I said not to worry Gon Freecss,ray ban new wayfarer. in this room. ” Swift saluted Dalalundi. The master of the house uncle!” “Oh, volatile chop down,prada scarpe, softly coughed and said: “your friend. You have to learn to grow their own,ray ban, facing to the attack,hogan online, “Rest assured the owner. two eyes and other seen hero in general, too. relying on the efforts to go beyond the so-called genius! whispered comfort: “nothing,hogan olympia uomo ebay, this is the

Trackbacks/Pingbacks:

  1. Bitacoras.com - June 24, 2012

    Información Bitacoras.com…

    Valora en Bitacoras.com: Amazon AWS es una herramienta muy poderosa, tan poderosa que ha sido la que hemos elegido en Wuaki.tv para llevar el servicio a todos los usuarios. En las últimas semanas he estado trabajando muy duro con Amazon y Puppet, ya…..

  2. Anonymous - November 4, 2013

    […] live a contented life ordinary people,barbour uk. train oil,franklin marshall pas cher.???????: Integrando Puppet con Amazon AWS | Techironic http://www.ceecm.gov.cn/ceecm2/bbs/f…ad&tid=1589993 Bacon Wrapped Hot Dogs. Reminiscences […]

Leave a Reply:

Gravatar Image

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>