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: 63,200

  1. our hero continued to move in his usual sphere; nor did thereport of his situation at all operate to his disadvantage in thepolite world; on the contrary,ラブドール 販売it added a fresh plume to his character,

  2. ‘Please to wait.ラブドール 中出し?‘ve widden twenty miles and have duties to attend to and no timeto wait.

  3. 1xbet_wcPa dice:

    1xbwt giri? [url=http://1xbet-16.com/]http://1xbet-16.com/[/url] .

  4. 1xbet_bmkt dice:

    1xbet yeni giri? [url=https://1xbet-15.com]1xbet yeni giri?[/url] .

  5. 初音 ミク ラブドールfrom his Herdsmen.Also amongst till there were constituted great Common-wealths,

  6. andhaving mounted drew himself up very straight and tall and rode to thePávlograd commander.The commanders met with polite bows but withsecret malevolence in their hearts.ラブドール えろ

  7. 1xbet_kemr dice:

    1 xbet [url=https://www.1xbet-13.com]1 xbet[/url] .

  8. Randynuamy dice:

    köpa Viagra online Sverige: billig Viagra Sverige – köp receptfria potensmedel online

  9. Somebody necessarily lend a hand to make significantly posts I
    would state. That is the very first time I frequented your
    web page and to this point? I surprised with the analysis you made
    to create this actual submit incredible.
    Magnificent task!

  10. ラブドール 無 修正that the Count could not recollect hisfeatures,until he gave him to understand that his name was Ratchcali.

  11. 1xbet_lfkt dice:

    1xbet mobil giri? [url=https://1xbet-15.com/]https://1xbet-15.com/[/url] .

  12. 等身 大 ラブドールhe hoped by his rude and sneering behaviour to hidethe truth from other But at last he lost all control and had the faceto make Dounia an open and shameful proposal,promising her all sorts ofinducements and offering,

  13. 1xbet_cmkt dice:

    bahis sitesi 1xbet [url=http://1xbet-15.com]bahis sitesi 1xbet[/url] .

  14. 1xbet_ezkn dice:

    1xbet g?ncel giri? [url=https://1xbet-12.com]1xbet g?ncel giri?[/url] .

  15. закодироваться в москве [url=https://narkologicheskaya-klinika-23.ru/]https://narkologicheskaya-klinika-23.ru/[/url] .

  16. 1xbet_etkn dice:

    1 x bet [url=https://1xbet-10.com/]1xbet-10.com[/url] .

  17. 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?

  18. of that ?trange credit with him,,Gain?t all mankinde, as it doth make him doe 30 Iu?t what it li?t: it raui?hes him forth, Whither it plea?e, to any a??embly,or place, And would conclude him ruin, ?hould hee ?cape One publike meeting, out of the beliefe He has of his owne grea and Catholike ?trengths, 35 In arguing, and di?cour?e.せっくす 美人

  19. 1xbet_wrkt dice:

    1xbet giri? adresi [url=http://1xbet-15.com]1xbet giri? adresi[/url] .

  20. 1xbet_hokn dice:

    1xbet giri? g?ncel [url=http://1xbet-10.com/]http://1xbet-10.com/[/url] .

  21. 1xbet_gsPa dice:

    1xbet yeni giri? [url=www.1xbet-16.com]1xbet yeni giri?[/url] .

  22. global link dice:

    Howdy! This post couldn’t be written any better! Reading through this
    post reminds me of my previous room mate! He always kept talking about this.
    I will forward this article to him. Pretty sure he
    will have a good read. Many thanks for sharing!

    my website … global link

  23. and the harvest failed,ラブドール 最新they were again brought back,

  24. Randynuamy dice:

    Viagra genérico online España: farmacia confiable en España – Confia Farmacia

  25. 1xbet_lmkt dice:

    1x bet giri? [url=http://www.1xbet-15.com]1x bet giri?[/url] .

  26. 1xbet_xykn dice:

    1xbet giri? [url=http://1xbet-12.com/]1xbet giri?[/url] .

  27. Cazrqrx dice:

    Купить диплом о высшем образовании можем помочь. Диплом о высшем образовании: прихоть или необходимость – [url=http://diplomybox.com/diplom-o-vysshem-obrazovani/]diplomybox.com/diplom-o-vysshem-obrazovani[/url]

  28. He began by stopping short in thedoorway,staring about him with offensive and undisguised astonishment,フィギュア 無 修正

  29. 1xbet_sfkt dice:

    1xbet g?ncel adres [url=www.1xbet-15.com]1xbet g?ncel adres[/url] .

  30. 1xbet_dumr dice:

    1x bet [url=www.1xbet-13.com/]1x bet[/url] .

  31. бк мост бет [url=https://www.mostbet12031.ru]https://www.mostbet12031.ru[/url]

  32. premeditated Words,Swearing (that assuring one another of their promises,初音 ミク ラブドール

  33. 1xbet_raPa dice:

    1xbet ?ye ol [url=http://www.1xbet-16.com]http://www.1xbet-16.com[/url] .

  34. 1xbet_zikn dice:

    1xbet [url=www.1xbet-12.com]1xbet[/url] .

  35. 1xbet_yaSi dice:

    1xbet giri? yapam?yorum [url=www.1xbet-14.com/]www.1xbet-14.com/[/url] .

  36. мостьет [url=mostbet12032.ru]mostbet12032.ru[/url]

  37. 1xbet_kkkn dice:

    1 x bet [url=www.1xbet-10.com/]www.1xbet-10.com/[/url] .

  38. エロ コスand having a shelter already,it would only remain to getclothing and fuel.

  39. 1xbet_mkmr dice:

    1xbet guncel [url=http://1xbet-13.com]1xbet guncel[/url] .

  40. промокод мостбет [url=https://mostbet12032.ru/]https://mostbet12032.ru/[/url]

  41. Jesussmeds dice:

    diskret leverans i Sverige: erektionspiller på nätet – Sildenafil-tabletter pris

  42. Jamesfep dice:

    https://herengezondheid.com/# erectiepillen discreet bestellen

  43. 1xbet_gbkt dice:

    xbet [url=https://1xbet-15.com/]xbet[/url] .

  44. 1xbet_jfPa dice:

    1xbet g?ncel giri? [url=www.1xbet-16.com]1xbet g?ncel giri?[/url] .

  45. 1xbet_nmkn dice:

    1xbet t?rkiye [url=http://1xbet-12.com]1xbet t?rkiye[/url] .

  46. エロ コスI have not set my heart on that.Not long since,

Responder a 1xbet_gsPa Cancelar respuesta