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: 41,119

  1. エロ い ラブドールwhowas possessed of ‘tricks and slights to pass the seale ? is broughtout with especial distinctnes Samuel Butler,s character82of theprojector is of less importance,

  2. Нужен объективный рейтинг онлайн-казино с рублёвыми платежами? Надоели скрытой рекламы? В таком случае подключайся на независимый навигатор по надёжным онлайн-казино, где собраны сравнения по бонусам, турнирам, верификации и валютам. Каждая подборка — это скрин-примеры, минимум воды и всё по сути. Смотри, кто в топе, лови акции, опирайся на цифры и играй ответственно. Твой ориентир к адекватному выбору — здесь. Забирай пользу: сравнение новые онлайн казино 2025 россия. Сейчас в канале уже свежие топы на сентябрь 2025 — будь в теме!

  3. that s was the triumphant perfectionof inconvenience.After bursting open a door of idiotic obstinacy witha weak rattle in its throat,コスプレ エッチ

  4. As soon as he noticed a Frenchofficer,who thrust his head out of the door,ダッチワイフ 販売

  5. ラブドール 中出しhere isone oak! ?At the edge of the road stood an oak.Probably ten times the age of thebirches that formed the forest,

  6. 下着 エッチIpatawad po niny; nguni’t sa acala co’y inyng pinacamahal ang akingama; maaarì po bang sabihin niny sa akin cung ano ang canyangkinahinatnan?ang tanng ni Ibarra na siya’y minamasdan.Bakit? hindi po ba niny nalalaman?ang tanng ng militar.

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

  8. I do trust all of the ideas you’ve offered for your post.
    They are really convincing and will definitely work. Nonetheless, the
    posts are very short for novices. May just you please extend them a little from next time?

    Thanks for the post.

    Feel free to surf to my homepage – raja 111 slot

  9. 中国 エロAnd be the Duke o ?Drown,d-Lan you ha ?made me.

  10. to gna?h Your teeth together,and to beate Laugh lou and faine ?ix voices– Out you Rogue! You mo?t infernall counterfeit wretch! Auant! Do you thinke to gull me with your ??ops Fables? 30 Here take him to I ha ?no part in him.中国 エロ

  11. Aaronraw dice:

    Canadian pharmacy prices: Canadian pharmacy prices – canadian pharmacy

  12. with a laugh ofannoyance.ドール エロ“Good luck to you! ? Mamma,

  13. ラブドール えろ? He remembered these wordsin Bonaparte,s address to his army at the beginning of the campaign,

  14. and after all that soul-butterand hogwash I never see it freshen up things so,and sound so honestand bully.コスプレ エロ い

  15. FlagyMet dice:

    Your doctor should know your history before you flagyl generics at FlagyMet – FlagyMet.com Online pharmaci

  16. but only changed character.ラブドール 最新The horses were replaced by others from areserve gun carriage,

  17. エロ い ラブドールsDiscovery,though Darrel does not quote these passages in theDetection.

  18. I was recommended this blog by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my trouble.
    You’re amazing! Thanks!

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

  20. ダッチワイフ 販売looking silently around.He had not at allexpected such a sight.

  21. zaimi_osei dice:

    займер ру [url=https://zaimy-28.ru]займер ру[/url] .

  22. I’ve tried numerous platforms, but this defi swap platform is really by far the most reliable one.

  23. Hello, Neat post. There is an issue with your site in web explorer,
    might test this? IE still is the marketplace chief and a big part
    of people will omit your wonderful writing due to this problem.

  24. Cazrnvl dice:

    Получить диплом университета мы поможем. Купить диплом магистра Калининград – [url=http://diplomybox.com/kupit-diplom-magistra-kaliningrad/]diplomybox.com/kupit-diplom-magistra-kaliningrad[/url]

  25. before I knew what he was going to do,ラブドール リアルput it in hismouth and ate it.

  26. s hand.エロ い 下着Which side willshe get up?And he said: Sad thing about our poor friend Paddy! What Paddy? I Poor little Paddy Dign Off to the country: Broadstone probably.

  27. Eugeneblemo dice:

    Pharmacies in Canada that ship to the US: canada pharmacy 24h – Pharmacies in Canada that ship to the US

  28. Prince Andrew felt as if the soundof the waves kept up a refrain to Pierre,s words,ダッチワイフ 販売

  29. Eugeneblemo dice:

    Mexican pharmacy ship to USA: mexican pharmacy – Best Mexican pharmacy online

  30. CarlosGib dice:

    Профессиональная переподготовка по нефтегазовому делу: особенности и правила переподготовка на педагога психолога

  31. Wonderful, what a web site it is! This webpage presents useful information to us, keep it up.

  32. zaimi_yhmn dice:

    все займы [url=www.zaimy-27.ru/]все займы[/url] .

  33. TOTOSLOT777 dice:

    You actually make it appear so easy together with your presentation however I to find
    this matter to be actually something that I believe I would by no means understand.

    It seems too complex and extremely huge for me.

    I’m looking ahead to your next post, I’ll attempt
    to get the grasp of it!

  34. “And Father? ?“Gone to bed,ラブドール 無 修正?replied the voice of Demyán the house steward,

  35. kvtoto dice:

    What a information of un-ambiguity and preserveness of valuable familiarity about
    unpredicted feelings.

  36. It’s nearly impossible to find experienced people for this
    subject, however, you sound like you know what you’re talking about!

    Thanks

  37. Thanks for your personal marvelous posting! I genuinely enjoyed reading it, you will be a great
    author. I will always bookmark your blog and may come back from now on.
    I want to encourage you to continue your great posts, have a nice morning!

  38. If the earthquake did not time it weshould know where to place poor Wat,sitting in his form,えろ コスプレ

  39. I knew what Court influence was,こすぷれ えろand what the immunitiesof the Nobles were,

  40. Moreover,paying such honor to Bagratión was the best way ofexpressing disapproval and dislike of Kutúzov.ラブドール 無 修正

  41. pagca siya’y nagagalit daw ay nangingitim nacawangis ng luyong,at nanggagaling naman sa ang ibang mga Virgen aymay calambutan ang puso at mapagpaumanhin: talastas ng may mga taonginiibig pa ang isang haring “absoluto”120 cay sa isang haring”constitucional”121,下着 エッチ

  42. 下着 エロOn this second day,Lorry saluted him cheerfully by his name,

Responder a ラブドール Cancelar respuesta