Infraestructura como código

Festival Politraining Industria 4.0

Infraestructura como código

En este nuevo artículo me gustaría explicar que es infraestructura
como código (IAC), pero primero definamos a que nos referimos cuando
hablamos sobre infraestructura.
Cuando hablamos de infraestructura nos referimos en este caso, a un
servidor(vps) , dominios, redes privadas. etc.

Definición

El concepto de infraestructura como código no es más que la forma de
automatización de nuestra infraestructura a través de código .

Puede que tu seas un freelance o trabajes en una compañía, en la que
constantemente se hace deploy de nuevas aplicaciones.
Imagina tener que estar creando un servidor(vps), agregando las llaves
ssh, creando un record A, load balancers, continuar con la instalación y
configuración de nginx ,mysql docker, php, etc. Todo esto cada vez que
tengas que hacer deploy de una nueva aplicación.
Este es un proceso en el que muchas veces se le dedica tiempo
innecesario.

Es por ello que muchas veces, es mejor encontrar o crear una solución para la automatización en este tipo de procesos.

Para poder trabajar o usar infraestructura como código, lo único que
tenemos que hacer es bien, crear nuestro propio script, o bien usar
alguna herramienta de un tercero.

Usualmente cuando trabajamos con infraestructura como código,
independiente de la herramienta que usamos, siempre trabajamos con algún
lenguaje para la descripción de la configuración, pudiendo ser json,
yaml o algún nuevo lenguaje propio del software (domain-specific
language ). dentro del archivo de configuración, es donde definiremos
todo los componentes necesarios para crear nuestra infraestructura,
variando de sintaxis entre los diferentes softwares que podemos usar.

Cabe mencionar que, usualmente este tipo de software nos permite,
configurar a nuestra infraestructura, de una manera muy detallada,
dependiendo del tipo de proveedor que elijamos , por ejemplo, poder
configurar redes privadas, sistema operativo, podemos agregar dominios,
subdominios , agregar nuestra claves ssh, elegir el datacenter etc. Algo
interesante es que, podemos agregar y ejecutar scripts dentro del vps
durante la construcción, esto para poder configurar dentro todo el
software.

Aunque de igual forma, tenemos otro concepto llamado configuración
como código (CaC)
Qué es exactamente el mismo concepto, pero este está orientado a la
configuración del software dentro de la infraestructura(vps), por
ejemplo la instalación y configuración de nginx, docker, ruby etc. Sin
embargo muchas veces los mismos proveedores (IaC) tienen la misma
funcionalidad o su funcionalidad es intercambiable.

Ventajas y desventajas.

Dentro de las ventajas como hemos mencionado es el de elaborar una
plantilla que podemos re-utilizar múltiples veces, eliminando la
necesidad de realizar configuraciones manuales. Esta sería, la principal
y más importante característica de este tipo de software.
Ya que con ello podemos hacer la replicación de la misma configuración,
para diferentes entornos, para testing, QA, producción, desarrollo, etc.

Otra ventaja que podemos encontrar es que usualmente este tipo de
software es del tipo agnóstico lo que quiere decir que no importa, el
proveedor en donde estés configurando nuestra infraestructura, pudiendo
ser digital ocean, amazon web services, azure, e inclusive virtualbox.

Una desventaja que podemos encontrar es quizá el tiempo que le
dedicamos en configurar nuestro archivo de configuración, así mismo, el
tener que modificar el archivo si es que agregamos una nueva tecnología o
configuración a nuestra infraestructura.

Lista de software para IaC y CaC

Debajo vemos una lista con varios de los proveedores de infraestructura y configuración como código más sobresalientes.
Cada uno de ellos comparten cierta similitud, en cuanto a configuración.

  • Terraform
  • Chef
  • Puppet
  • Ansible
  • SaltStack

Conclusión

La automatización es sin duda una de las mejores cosas que podemos
hacer para ahorrar tiempo y muchas veces recursos.
El uso de IaC, dentro de una empresa o de manera independiente trae
muchas ventajas a largo plazo. Este concepto de IaC no es para nada
nuevo, es un concepto de muchos años. De hecho muchos autores. hacen
referencia a que este concepto fue la base de la cual ha surgido toda
esta tendencia del devops.
Espero que este pequeño artículo te haya servido, o te haya incentivado a
investigar más sobre el tema, y tal vez a aprender una nueva
tecnología.

Comments: 92,228

  1. オナドールwhich thefurther they go,make still the more hast.

  2. Diplomi_drki dice:

    цена купить диплом техникума [url=https://www.frei-diplom9.ru]цена купить диплом техникума[/url] .

  3. buy dogecoin dice:

    I personally find that the interface is fast transactions, and I enjoy exploring governance here.

  4. depo123 slot dice:

    Pretty portion of content. I simply stumbled upon your weblog and in accession capital to assert that I get in fact loved account your blog posts.

    Any way I will be subscribing on your augment or even I success you get entry
    to persistently fast.

  5. Diplomi_jvOr dice:

    диплом техникума купить форум [url=www.educ-ua7.ru/]www.educ-ua7.ru/[/url] .

  6. Diplomi_qmOr dice:

    купить диплом в бердске [url=www.rudik-diplom15.ru]www.rudik-diplom15.ru[/url] .

  7. Diplomi_yrsa dice:

    можно купить легальный диплом [url=http://frei-diplom1.ru/]http://frei-diplom1.ru/[/url] .

  8. see here dice:

    Hello there! Do you know if they make any plugins to assist
    with SEO? I’m trying to get my blog to rank for
    some targeted keywords but I’m not seeing very good results.

    If you know of any please share. Thank you!

  9. andgetting up from table,ドール エロescaped the clutches of the squire,

  10. Diplomi_asKr dice:

    купить аттестат [url=http://rudik-diplom4.ru]купить аттестат[/url] .

  11. Diplomi_uvel dice:

    диплом колледжа купить с занесением в реестр [url=http://frei-diplom2.ru]диплом колледжа купить с занесением в реестр[/url] .

  12. Brucethory dice:

    MedicExpress MX: buy viagra from mexican pharmacy – Legit online Mexican pharmacy

  13. Diplomi_tepa dice:

    купить диплом в уфе [url=http://rudik-diplom5.ru/]купить диплом в уфе[/url] .

  14. one can serve under him,美人 せっくす?saidTimókhin to the subaltern beside him.

  15. новости чемпионатов [url=http://www.novosti-sporta-15.ru]http://www.novosti-sporta-15.ru[/url] .

  16. Diplomi_xuma dice:

    диплом проведенный купить [url=https://www.frei-diplom3.ru]диплом проведенный купить[/url] .

  17. Diplomi_zpel dice:

    купить диплом в туле [url=http://rudik-diplom10.ru/]купить диплом в туле[/url] .

  18. look at here dice:

    Hello! I’ve been reading your blog for some time now and finally got the courage to go ahead and give you a shout
    out from Lubbock Tx! Just wanted to tell you keep up the fantastic work!

  19. セックス コスプレupang patibayan ang kaniyang mg?a pang?ang?atwiran aylumulusót kailan man sa mg?a salitang “cónstanos de buena tinta”,“lo sabemos de buena tinta” at napagalaman pagkatapos,

  20. AnthonyTek dice:

    http://medicexpressmx.com/# reputable mexican pharmacies online

  21. 소액결제 현금화의 의미와 방법, 수수료, 주의사항, 합법성까지
    한눈에 정리했습니다. 휴대폰 소액결제를 현금으로 바꾸는 안전하고 현명한
    방법을 알아보세요.

  22. Jose Gittere dice:

    jekflix – Pages opened quickly, definitely gives off a solid performance vibe.

  23. Diplomi_imsi dice:

    купить диплом о среднем профессиональном образовании с занесением в реестр [url=https://frei-diplom4.ru/]купить диплом о среднем профессиональном образовании с занесением в реестр[/url] .

  24. JetBlack dice:

    Woah! I’m really enjoying the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s very difficult
    to get that “perfect balance” between superb usability and
    visual appeal. I must say you’ve done a awesome job with this.

    Additionally, thhe blog loads extremely quick for me on Opera.

    Excellent Blog!

    Look innto my site JetBlack

  25. Diplomi_vuPl dice:

    купить диплом психолога [url=https://www.rudik-diplom7.ru]купить диплом психолога[/url] .

  26. on nele satisferait pas en me menant au bord d’une rivière ou il y auraitd’aussi beaux,de plus beaux nymphéas que dans la Vivonne,コスプレ r18

  27. 1cty – The site feels quick and responsive, loading pages instantly today.

  28. Diplomi_fikn dice:

    екатеринбург купить диплом в реестр [url=www.frei-diplom6.ru]екатеринбург купить диплом в реестр[/url] .

  29. Diplomi_hcki dice:

    где купить диплом железнодорожного техникума [url=frei-diplom9.ru]где купить диплом железнодорожного техникума[/url] .

  30. Diplomi_njon dice:

    купить диплом энергетика [url=http://rudik-diplom11.ru/]купить диплом энергетика[/url] .

  31. On the contrary,ドール エロfrom the time when Master Blifil was firstpossessed of this Bible,

  32. 8886611tz – Pages loaded instantly for me, really smooth and responsive site.

  33. Lazaro Tynes dice:

    worldloans – I had a good experience, the performance felt reliable today.

  34. Thanks for finally talking about > Infraestructura como código – Politraining
    < Loved it!

  35. エロ 着物at nagsalitang halosbahagya na mawatasan:An ang guinawa mo sa aking ama?ang itinanng.Salving namutla,

  36. Diplomi_hlsa dice:

    купить диплом о высшем образовании с занесением в реестр в ижевске [url=https://www.frei-diplom1.ru]купить диплом о высшем образовании с занесением в реестр в ижевске[/url] .

  37. “What,s up? Are they asleep or murdered? D-damn them! ?he bawled in athick voice,ロボット エロ

  38. Sadie Tridle dice:

    mizao0 – Browsing was seamless, pages opened fast with no glitches.

  39. andpoured some into a tumbler.don’t!” I entreated.セクシー えろ

  40. jekflix – Really smooth experience here, pages loaded fast without any problem.

  41. macau 4d dice:

    Wonderful blog! I found it while browsing on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem
    to get there! Many thanks

  42. 1cty – The interface looks clean and modern, nothing feels outdated at all.

  43. Diplomi_xuSn dice:

    купить диплом строительного техникума в спб [url=www.frei-diplom8.ru/]купить диплом строительного техникума в спб[/url] .

  44. Diplomi_dpKr dice:

    купить диплом в новотроицке [url=https://www.rudik-diplom4.ru]купить диплом в новотроицке[/url] .

  45. Diplomi_nckr dice:

    купить диплом в симферополе [url=http://rudik-diplom2.ru/]http://rudik-diplom2.ru/[/url] .

  46. Diplomi_reel dice:

    купить диплом легально [url=www.frei-diplom2.ru/]купить диплом легально[/url] .

  47. should not by invasion increase their they wouldnot be able,long time,初音 ミク ラブドール

Responder a ラブドール Cancelar respuesta