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,374

  1. Heya i am for the first time here. I came across this board and I
    find It really useful & it helped me out
    a lot. I hope to give something back and aid others like you aided
    me.

  2. social,and relationship factors that influence one’s desire for sex.ラブドール オナニー

  3. Diplomi_uyon dice:

    купить диплом слесаря [url=rudik-diplom11.ru]купить диплом слесаря[/url] .

  4. and the other consisting of 1,女性 用 ラブドール342 adults recruited online (average age of 31).

  5. Diplomi_qpSn dice:

    где можно купить диплом медсестры [url=frei-diplom13.ru]где можно купить диплом медсестры[/url] .

  6. エッチ コスプレquelque chose qu’on auraitdésancré,a une grande profondeur; je ne sais ce que c’est,

  7. заказать кухню по индивидуальным размерам в спб [url=kuhni-spb-2.ru]kuhni-spb-2.ru[/url] .

  8. усиление грунтов [url=http://privetsochi.ru/blog/realty_sochi/93972.html/]http://privetsochi.ru/blog/realty_sochi/93972.html/[/url] .

  9. прогноз на хоккей на сегодня [url=https://www.prognozy-na-khokkej5.ru]прогноз на хоккей на сегодня[/url] .

  10. some evolutionary psychologists have argued that throughout human history,dominance has been more important than attractiveness for men’s mating success.エロ ラブドール

  11. Binance dice:

    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

  12. Diplomi_wwel dice:

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

  13. самые точные прогнозы на хоккей [url=http://www.prognozy-na-khokkej4.ru]http://www.prognozy-na-khokkej4.ru[/url] .

  14. устранение засоров канализации [url=http://chistka-zasorov-kanalizatsii.kz]устранение засоров канализации[/url] .

  15. поставка медицинского оборудования [url=https://xn—–6kcdfldbfd2aga1bqjlbbb4b4d7d1fzd.xn--p1ai]https://xn—–6kcdfldbfd2aga1bqjlbbb4b4d7d1fzd.xn--p1ai[/url] .

  16. ラブドール 激安and on themorning of the second day I awoke and found the balloon floating over astrange and beautiful country.“It came down gradually,

  17. or that,人形 エロof twoapparently strong reasons,

  18. Diplomi_myOr dice:

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

  19. f she took Heaven to witness,最 高級 ラブドールthat she would not onemoment survive the knowledge of his death.

  20. did not help her much,ラブドール 女性 用as she reflected pessimistically.

  21. лучшие прогнозы на футбол [url=http://www.prognozy-na-futbol-9.ru]http://www.prognozy-na-futbol-9.ru[/url] .

  22. This platform exceeded my expectations with great support and stable performance. Great for cross-chain swaps with minimal slippage.

  23. усиление грунтов [url=https://privetsochi.ru/blog/realty_sochi/93972.html/]https://privetsochi.ru/blog/realty_sochi/93972.html/[/url] .

  24. Excellent blog you’ve got here.. It’s difficult to find excellent writing like yours nowadays.
    I really appreciate individuals like you! Take care!!

  25. кухни в спб от производителя [url=www.kuhni-spb-2.ru/]www.kuhni-spb-2.ru/[/url] .

  26. Diplomi_ewon dice:

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

  27. хоккей прогноз [url=prognozy-na-khokkej5.ru]хоккей прогноз[/url] .

  28. Williamalige dice:

    https://medicexpressmx.shop/# Mexican pharmacy price list

  29. чистка засоров канализации [url=https://chistka-zasorov-kanalizatsii.kz]чистка засоров канализации[/url] .

  30. Запросы [url=https://prognozy-na-khokkej4.ru/]Запросы[/url] .

  31. situs slot dice:

    I always spent my half an hour to read this web site’s articles all the time along
    with a mug of coffee.

  32. медицинские приборы [url=https://xn—–6kcdfldbfd2aga1bqjlbbb4b4d7d1fzd.xn--p1ai/]https://xn—–6kcdfldbfd2aga1bqjlbbb4b4d7d1fzd.xn--p1ai/[/url] .

  33. Diplomi_tael dice:

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

  34. Diplomi_ppel dice:

    купить диплом в ульяновске [url=www.rudik-diplom10.ru]купить диплом в ульяновске[/url] .

  35. The StudyMilaine Alarie at the Institut National de la Research Scientifique,ラブドール エロin Montreal,

  36. усиление грунтов [url=www.privetsochi.ru/blog/realty_sochi/93972.html]www.privetsochi.ru/blog/realty_sochi/93972.html[/url] .

  37. кухни на заказ в спб [url=www.kuhni-spb-2.ru]кухни на заказ в спб[/url] .

  38. MartinVab dice:

    Generic tadalafil 20mg price: online pharmacy tadalafil 20mg – Buy Tadalafil 20mg

  39. Nangagcruz ang mga babae; sino ma’y walang nacakilos sa kinalalagyan.Siya nga po,ランジェリー エロ

  40. エロオナホIt just curdled theblood in my veins.But Miss Stacy said it was a very silly,

  41. Запросы [url=www.prognozy-na-khokkej5.ru/]Запросы[/url] .

  42. MartinVab dice:

    Generic Cialis without a doctor prescription: Generic tadalafil 20mg price – Generic tadalafil 20mg price

  43. Diplomi_ckOr dice:

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

  44. хоккей прогноз сегодня [url=https://www.prognozy-na-khokkej4.ru]https://www.prognozy-na-khokkej4.ru[/url] .

  45. чистка засоров канализации [url=chistka-zasorov-kanalizatsii.kz]чистка засоров канализации[/url] .

  46. Hi, I check your blogs on a regular basis. Your humoristic
    style is witty, keep it up!

  47. Exodermin w Gdańsku w Szczecinie – oryginalny produkt.

    Pieczenie zniknęło. Zamów teraz

  48. оборудование для больниц [url=www.xn—–6kcdfldbfd2aga1bqjlbbb4b4d7d1fzd.xn--p1ai/]www.xn—–6kcdfldbfd2aga1bqjlbbb4b4d7d1fzd.xn--p1ai/[/url] .

Responder a Diplomi_qpSn Cancelar respuesta