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: 77,880

  1. Robertbouff dice:

    Игровой рынок динамично эволюционирует, используя современные методы.
    В центре изменений остаются актуальные [url=https://el-stroy.kz/]вулкан казахстан[/url] концепции, которые переплетаются с базовыми методами, создавая удобную структуру.
    Такое взаимодействие приносит динамичное погружение для посетителей.

  2. В октябре 2023 года «Авто.ру» добавил функцию создания объявлений с https://www.donshar.com.ua/shcho-potribno-znaty-pered-orendoiu-avtomobilia/ помощью yandexgpt.

  3. waiting for thenuptials of my daughter,and indulging myself with the vain prospect ofher approaching felicity,ラブドール 最 高級

  4. Curtissweta dice:

    doctor recommended Indian pharmacy: Dr India Meds – Dr India Meds

  5. portal bokep dice:

    Thanks for the good writeup. It in fact was a entertainment account it.
    Look complicated to far added agreeable from you!

    By the way, how can we keep up a correspondence?

  6. Curtissweta dice:

    affordable Indian medications online: indian pharmacy – doctor recommended Indian pharmacy

  7. hi89 dice:

    Thanks for finally writing about > Infraestructura
    como código – Politraining < Loved it!

  8. Jerryevile dice:

    trusted medical sources from India [url=http://drindiameds.com/#]online drugs[/url] Indian pharmacy coupon codes

  9. For these love to consult,the other (fearing to becircumvented,初音 ミク ラブドール

  10. エロ 人形who undertook togo as far as Marlborough,where they could be better provided,

  11. Magnificent beat ! I would like to apprentice while you amend your
    web site, how can i subscribe for a blog web site? The account helped me a acceptable deal.
    I had been a little bit acquainted of this your broadcast provided bright clear concept

  12. Howdy! I could have sworn I’ve been to this website
    before but after browsing through some of the post I realized it’s new to me.
    Anyhow, I’m definitely delighted I found it and I’ll be book-marking and checking
    back often!

  13. beep beep casino bonus [url=http://www.beepbeepcasino-online.com]http://www.beepbeepcasino-online.com[/url] .

  14. th 83 dice:

    Thank you for sharing your thoughts. I really appreciate your
    efforts and I am waiting for your further write ups thanks once
    again.

  15. Diplomi_ygor dice:

    можно ли купить аттестат об окончании 11 классов [url=http://r-diploma28.ru/]можно ли купить аттестат об окончании 11 классов[/url] .

  16. Curtissweta dice:

    verified Indian drugstores: no prescription pharmacy India – indian pharmacy

  17. I think this is one of the most vital information for me.

    And i am glad reading your article. But wanna remark on few general things, The website style is wonderful,
    the articles is really great : D. Good job, cheers

  18. RobertHauck dice:

    affordable Indian medications online: safe Indian generics for US patients – Dr India Meds

  19. pereplanirovka v nejilom pomeshenii_omkn dice:

    согласование перепланировки нежилых помещений [url=https://chesskomi.borda.ru/?1-3-0-00000060-000-0-0/]согласование перепланировки нежилых помещений[/url] .

  20. Jerryevile dice:

    trusted Mexican drugstores online [url=https://drmedsadvisor.com/#]certified Mexican pharmacy discounts[/url] can i buy meds from mexico online

  21. even at these years,せっくす どー るto understand the moves andschemes of chess,

  22. OLanehargo dice:

    Hi to every one, since I am genuinely keen of reading this webpage’s post to be updated daily. It includes fastidious information.
    https://www.jurgenvandervelde.com/melbet-2025-obzor-bukmekera-2/

  23. beep beep casino login [url=http://beepbeepcasino-online.com/]http://beepbeepcasino-online.com/[/url] .

  24. and more than you can,t make me believe that you do notthink so yourself.ラブドール 女性 用

  25. Jerryevile dice:

    safe Indian generics for US patients [url=http://drindiameds.com/#]indian pharmacy[/url] doctor recommended Indian pharmacy

  26. Hey There. I found your blog the use of msn. This is an extremely smartly
    written article. I will make sure to bookmark it
    and return to learn extra of your useful info. Thanks for the post.
    I’ll certainly comeback.

  27. Hi! I’ve been reading your blog for a while now and finally got the bravery to go ahead and give you a shout out from Kingwood Texas!
    Just wanted to say keep up the good work!

  28. newsky88 login [url=http://newsky-online.com]http://newsky-online.com[/url] .

  29. JeramyTex dice:

    [url=https://wakelet.com/wake/dsuXLqO4HTUTlGpehOBMT]triple a replica bags[/url] – hairband

    [img]https://im.gurl.eu.org/file/AgACAgEAAxkDAAEBPsNoffLOewG_Wlh7nvNazGE6CgeuggACC7ExG2FT8UeRE0rEh6wGsAEAAwIAA20AAzYE.jpeg[/img]

  30. seo продвижение рейтинг компаний [url=www.reiting-seo-kompanii.ru]seo продвижение рейтинг компаний[/url] .

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

  32. ShaneEndal dice:

    Мир цифрового гейминга непрерывно эволюционирует, используя новые механики.
    В центре изменений остаются актуальные [url=https://edelveis09.ru/]азино 777 бонус[/url] инструменты, которые гармонируют с традиционными элементами, создавая удобную структуру.
    Такое формирование открывает динамичное погружение для игроков.

  33. Larrypit dice:

    pharmacies in mexico [url=https://drmedsadvisor.com/#]Mexico to USA pharmacy shipping[/url] pharmacy in mexico online

  34. Súc Vật dice:

    It is in reality a great and helpful piece of info.
    I’m glad that you simply shared this helpful information with us.

    Please keep us up to date like this. Thank you for sharing.

  35. trying to move the cart.オナドールBut the sixwhips were attacking her in all direction and the shaft was raisedagain and fell upon her a third time,

  36. RobertHauck dice:

    affordable Indian medications online: DrIndiaMeds – india pharmacy

  37. royalreels8 dice:

    being in the royal reels, you will have an idea about, how much
    are you spending at any time hours and if need you will be able
    to make new adjustments.

    Review my blog :: royalreels8

  38. The axe fell with thesharp edge just on the skull and split at one blow all the top of thehead.ロボット エロShe fell heavily at once.

  39. Curtissweta dice:

    best medicine website: indian pharmacy – doctor recommended Indian pharmacy

  40. and moreblinding than the nigh It did not shift or drive,ラブドール えろit was just there,

  41. alas,ラブドール 最新I was nomore than a tiro among a troop of veterans,

  42. Curtissweta dice:

    trusted Mexican drugstores online: safe medications from Mexico – DrMedsAdvisor

Responder a reiting seo kompanii_ezkt Cancelar respuesta