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: 87,435

  1. Beyond the fence the forest stood up spectrally in themoonlight,ラブドール えろand through that dim stir,

  2. DavidIcops dice:

    billige generiske legemidler Norge: billige generiske legemidler Norge – apotek uten resept med levering hjem

  3. поставщик медицинского оборудования [url=medoborudovanie-tehnika.ru]medoborudovanie-tehnika.ru[/url] .

  4. Frankreora dice:

    https://farmaciafacileit.shop/# medicinali generici a basso costo

  5. Floydsoomb dice:

    farmacia con envio rapido y seguro [url=https://saludexpresses.shop/#]farmacia espanola en linea economica[/url] farmacia espanola en linea economica

  6. bandar slot dice:

    This is a topic which is near to my heart… Best wishes!

    Exactly where are your contact details though?

  7. Diplomi_naPt dice:

    где купить диплом об окончании колледжа [url=http://www.frei-diplom7.ru]где купить диплом об окончании колледжа[/url] .

  8. Diplomi_vfma dice:

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

  9. He went up to one of them.“What is it? ?He showed the notice he had received.ロボット エロ

  10. 人形 エロtheline tubs were fixed in their place the cranes were thrust out,themainyard was backed,

  11. Whoa! This blog looks just like my old one! It’s on a entirely different subject but it has pretty much the same layout and design. Great choice of colors!

  12. ラブドール えろand to reflect on the events connected with those names filledmy soul with anguish.But in Clerval I saw the image of my former self,

  13. Diplomi_tgpn dice:

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

  14. Diplomi_ucMt dice:

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

  15. Thanks for a marvelous posting! I quite enjoyed reading it, you might be a great author.I will be sure to bookmark your blog
    and may come back someday. I want to encourage you to continue your great work, have a nice weekend!

  16. Diplomi_onsa dice:

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

  17. Diplomi_bkki dice:

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

  18. проект водопонижения эжекторными иглофильтрами [url=http://proekt-na-vodoponizhenie.ru]http://proekt-na-vodoponizhenie.ru[/url] .

  19. オナホ フィギュアbarbed steel goblets werelifted,and to cries and maledictions against the white whale,

  20. I’m very pleased to discover this great site. I need to to
    thank you for your time just for this fantastic read!!
    I definitely really liked every little bit of
    it and I have you book marked to look at new things on your site.

  21. We have been helping Canadians Get a Loan Against Their Vehicle for Repairs Since
    March 2009 and are among the very few Completely Online Lenders In Canada.
    With us you can obtain a Car Repair Loan Online from anywhere in Canada as long as
    you have a Fully Paid Off Vehicle that is 8 Years old or newer.
    We look forward to meeting all your financial needs.

  22. Amazing blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple tweeks would really make my blog
    jump out. Please let me know where you got your theme.
    Thanks a lot

  23. Diplomi_nyka dice:

    купить диплом в благовещенске [url=https://www.rudik-diplom1.ru]купить диплом в благовещенске[/url] .

  24. ラブドール 激安The land seemed scorching to his fee Wonderfullestthings are ever the unmentionable,deep memories yield no epitaphthis six-inch chapter is the stoneless grave of Bulkington.

  25. проектирование глубинного водопонижения [url=vodoponizhenie-proektirovanie.ru]vodoponizhenie-proektirovanie.ru[/url] .

  26. asia togel dice:

    Hello it’s me, I am also visiting this website daily, this website is in fact fastidious and the users are in fact sharing nice thoughts.

  27. современное медицинское оборудование [url=https://www.medoborudovanie-tehnika.ru]https://www.medoborudovanie-tehnika.ru[/url] .

  28. проект водоотлива и водопонижения [url=www.proekt-na-vodoponizhenie.ru/]www.proekt-na-vodoponizhenie.ru/[/url] .

  29. Diplomi_ekon dice:

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

  30. swollen.The girl seemed hardly to know what she wasdoing,オナドール

  31. Diplomi_xtEt dice:

    купить диплом колледжа настоящий [url=https://frei-diplom11.ru]https://frei-diplom11.ru[/url] .

  32. This is very attention-grabbing, You are an overly skilled blogger.
    I’ve joined your feed and look ahead to searching for more of your magnificent post.
    Also, I’ve shared your site in my social networks

  33. Be sensitive about ED patients. http://ivermectinvsstromectol.com/ cause health risk? sertralina 50

  34. Diplomi_hrPl dice:

    где купить диплом о среднем образование [url=http://www.rudik-diplom7.ru]где купить диплом о среднем образование[/url] .

  35. セックス ロボットNatásha checked her first impulseto run out to her,and remained in her hiding place,

  36. медицинское оборудование [url=http://medoborudovanie-tehnika.ru/]медицинское оборудование[/url] .

  37. Diplomi_mzMt dice:

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

  38. проект осушения котлована [url=www.vodoponizhenie-proektirovanie.ru/]проект осушения котлована[/url] .

  39. Diplomi_dpel dice:

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

  40. –I questioned all his assertions,started innumerableobjections,ラブドール 最新

  41. 女性 用 ラブドールtimid eye Those eyes litup the whole of her thin,sickly face and made it beautiful.

  42. Diplomi_nakr dice:

    купить диплом в минеральных водах [url=rudik-diplom2.ru]rudik-diplom2.ru[/url] .

  43. えろ 人形t deny there is a remarkable quantity of ivorymostlyfossil.We must save at all eventsbut look how precarious theposition isand why? Because the method is unsound.

  44. エロ リアルso easily falls in love with a prettygirl for a few week when accident separates them,so easilyforgets her,

  45. Diplomi_jhPt dice:

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

Responder a Diplomi_bkki Cancelar respuesta