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: 117,153

  1. situs toto dice:

    You can certainly see your expertise in the article you
    write. The sector hopes for even more passionate writers like you who are not afraid to mention how they believe.
    Always go after your heart.

  2. RichardHex dice:

    Sharing, an official overview on FDA equivalent standards. The author describes quality control for ED meds. Link: п»ї[url=https://polkcity.us.com/#]Upstate Medical[/url].

  3. 1win_twKn dice:

    1win скачать ios [url=http://1win12045.ru/]http://1win12045.ru/[/url]

  4. Ralphkic dice:

    п»їJust now, I stumbled upon a great report regarding cheap Indian generics. The site discusses CDSCO regulations when buying antibiotics. In case you need cheaper alternatives, take a look: п»їhttps://kisawyer.us.com/# top 10 pharmacies in india. Might be useful.

  5. protesting that he thought him one of thehonestest fellows in the country,ドール エロand extremely well qualified for theplace of a gamekeeper,

  6. RichardHex dice:

    Sharing, a helpful overview on FDA equivalent standards. It breaks down quality control for generics. Source: п»їpolkcity.us.com.

  7. 1win_wtKn dice:

    официальный сайт 1win скачать [url=https://www.1win12045.ru]https://www.1win12045.ru[/url]

  8. Cazrths dice:

    Заказать диплом ВУЗа по выгодной стоимости можно, обращаясь к проверенной специализированной фирме: [url=http://publikacii.listbb.ru/viewtopic.php?f=3&t=3515/]publikacii.listbb.ru/viewtopic.php?f=3&t=3515[/url]

  9. ロボット エロbut now he could not sleep,he lay without stirring,

  10. or would it handle us? I felt how big,howconfoundedly big,ラブドール えろ

  11. 1win_qzKn dice:

    1вин про [url=https://1win12045.ru]1вин про[/url]

  12. Danielsnoni dice:

    п»їActually, I stumbled upon an interesting guide regarding generic pills from India. It explains CDSCO regulations for generic meds. For those interested in cheaper alternatives, take a look: п»ї[url=https://kisawyer.us.com/#]website[/url]. It helped me.

  13. ラブドール 最新or one side must sacrifice their conscience to theirconvenience,and join in a verdict which they believe to be false.

  14. 1win_twKn dice:

    1win lucky jet скачать [url=1win12045.ru]1win lucky jet скачать[/url]

  15. This is my first time pay a visit at here and i am genuinely impressed to read
    everthing at alone place.

  16. where every manis Enemy to the same is consequent to the time,初音 ミク ラブドールwherein menlive without other security,

  17. Cazrxpg dice:

    Заказать диплом о высшем образовании Вряд ли вы захотите потратить пять лет жизни на то, чтобы получить знания, которые уже существуют. Таким образом решение о покупке диплома о высшем образовании станет для вас наиболее выгодным. И для этого вам надо сделать не так много – найти стабильную компанию, занимающуюся изготовлением и продажей документов об образовании на заказ. Это позволит вам за незначительную сумму и в кратчайшие сроки получить документ из любого высшего учебного заведения страны: [url=http://sahpes.onlinebbs.ru/viewtopic.php?f=3&t=2780/]sahpes.onlinebbs.ru/viewtopic.php?f=3&t=2780[/url]

  18. Ralphkic dice:

    п»їLately, I discovered an interesting report about generic pills from India. It covers the manufacturing standards on prescriptions. For those interested in cheaper alternatives, read this: п»їkisawyer.us.com. Worth a read.

  19. 1win_snKn dice:

    как потратить бонусы 1win [url=1win12045.ru]1win12045.ru[/url]

  20. 經絡課程 dice:

    https://fr-well-9.blr1.digitaloceanspaces.com/research/%EF%B8%8F-france-(4246).html
    The refined scoop neck and sheer lace sleeves are just a number of the issues we love about this A-line costume.

  21. toto togel dice:

    Do you have a spam issue on this website; I also am a
    blogger, and I was curious about your situation; many of us have created some
    nice practices and we are looking to swap
    methods with other folks, please shoot me an e-mail if interested.

  22. LloydRop dice:

    FYI, an important article on FDA equivalent standards. It explains how to avoid scams for generics. Full info: п»їpolkcity.us.com.

  23. 1win_jxKn dice:

    1вин букмекерская контора [url=http://1win12045.ru/]1вин букмекерская контора[/url]

  24. RichardHex dice:

    п»їRecently, I came across a useful article about safe pharmacy shipping. The site discusses regulations when buying antibiotics. If anyone wants affordable options, read this: п»ї[url=https://polkcity.us.com/#]mexican meds[/url]. Hope it helps.

  25. and nowfull-grown for work,ロボット セックスthe various church organization the NationalFreedmen,

  26. Really great read — I appreciate how clearly you explained the importance of local online presence for businesses today. It’s a topic many companies overlook, i find it very interesting and very important topic. can i ask you a question? also we are recently checking out this newbies in the webdesign industry., you can take a look . waiting to ask my question if allowed. Thank you

  27. divers distempers must needs cause different Dreams.And hence it is,えろ 人形

  28. 1win_pdKn dice:

    бонусный счет 1вин [url=https://1win12045.ru]бонусный счет 1вин[/url]

  29. Diplomi_zvPl dice:

    диплом мтуси купить [url=www.r-diploma31.ru]диплом мтуси купить[/url] .

  30. 1win_ncKn dice:

    активные ваучеры 1win [url=https://1win12045.ru/]активные ваучеры 1win[/url]

  31. Your analysis has helped me see the bigger picture.

Responder a LloydRop Cancelar respuesta