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

  1. This article will assist the internet visitors for setting up new web site or
    even a weblog from start to end.

  2. ラブドール 風俗on receiving this letter,by the apprehension ofits containing any repetition of those sentiments,

  3. and therefore checked her laugh.Miss Bingley warmlyresented the indignity he had received,えろ 人形

  4. футбол прогноз на сегодня [url=https://prognozy-na-futbol-9.ru]https://prognozy-na-futbol-9.ru[/url] .

  5. digital dice:

    I’ve been browsing online more than 2 hours today, yet I never found
    any interesting article like yours. It is pretty worth
    enough for me. Personally, if all webmasters and bloggers made good content as you did,
    the net will be a lot more useful than ever before.

  6. They were acting in the interest of the public,ラブドール オナニーand did notwish to preserve useless lives,

  7. オナホ フィギュアwithout any regard to what may be the nature of their structure inother and more essential particulars.Thus,

  8. hargatoto dice:

    Hello there, I found your blog via Google while looking for a related topic,
    your site came up, it appears great. I have bookmarked it in my google bookmarks.

    Hello there, simply become aware of your blog through Google, and located that
    it is really informative. I am gonna watch out for brussels.
    I will appreciate for those who proceed
    this in future. Many people will be benefited out of your writing.

    Cheers!

  9. アジア えろwhich heprudently conceals from every one….””Come,

  10. melbet_rmSt dice:

    melbet слоты [url=http://melbetofficialsite.ru/]melbet слоты[/url] .

  11. I really enjoyed this article! I completely agree about the importance of quality
    products.

    I came across Brainsong USA, and their {

  12. though I did speak with real feeling,and all at once I flushedcrimson.女性 用 ラブドール

  13. sms808 slot dice:

    I have been surfing online more than three hours today, yet I never found
    any interesting article like yours. It’s pretty worth
    enough for me. In my opinion, if all site owners and bloggers
    made good content as you did, the net will be a lot more useful than ever before.

  14. RevaNail dice:

    Website’s blend of plant-based compounds helps fight nail fungus, promote healthy nails, and boost self-esteem.

  15. усиление углеволокном [url=http://dpcity.ru/usilenie-betona-uglevoloknom-fundamentov-svayami-i-gruntov-inektirovaniem-yuviks-grupp-spb/]http://dpcity.ru/usilenie-betona-uglevoloknom-fundamentov-svayami-i-gruntov-inektirovaniem-yuviks-grupp-spb/[/url] .

  16. RevaNail dice:

    Using plant-powered compounds, Website targets fungal infections, promotes strong nails, and renews your confidence.

  17. “Are you come to fetch me? ?asked he.“Yes,中国 えろ

  18. then bothusage and honor demanded,sex dollthat instead of cutting the cord,

  19. 女性 用 ラブドールBut imagine her amazement,hersudden confusion: just behind as though trying to hide behind hisback,

  20. Great platform with useful analytics — it made my crypto journey easier. Perfect for both new and experienced traders.

  21. The combination of superior quality,excellent customer and a seamless purchasing process makes JP-Dolls an excellent choice.ラブドール 中古

  22. прогнозы на футбол на сегодня [url=http://prognozy-na-futbol-9.ru]http://prognozy-na-futbol-9.ru[/url] .

  23. Get your accessories ready while you’reえろ 人形 waiting for your doll to arrive and then have them handy when the doll is warming up.

  24. кухни на заказ в спб недорого [url=https://kuhni-spb-3.ru]кухни на заказ в спб недорого[/url] .

  25. as it were,benumbed and befogged; my ideas were shattered and turned upside down;but I remember for some reason,アジア えろ

  26. Hee is iealous about his ring,and Mere-craft deliuers i I mu?t Deliuer i or marre all.初音 ミク ラブドール

  27. 高級 ダッチワイフyou may obtain a refund from the personor entity to whom you paid the fee as set forth in paragraph 1.E.

  28. … Does he interest you?”I nodded and squeezed myself into the group. The sight of a welldressedgentleman jumping upon his chair and shouting at the top of his voicedid,アジア えろdraw the attention of all.

  29. melbet_dcSt dice:

    melbet слоты скачать [url=melbetofficialsite.ru]melbet слоты скачать[/url] .

  30. AnthonyBog dice:

    http://amoxdirectusa.com/# Buy Amoxicillin for tooth infection

  31. web page dice:

    Greate pieces. Keep posting such kind of info on your page.
    Im really impressed by your site.
    Hello there, You’ve done a great job. I will definitely
    digg it and for my part recommend to my friends. I’m sure they’ll be benefited from
    this site.

  32. CharlesSor dice:

    ZithroMeds Online: buy zithromax – cheap zithromax

  33. HarryRam dice:

    Музыкальная обложка Дизайн обложки – это процесс, который требует внимания к деталям. Необходимо учитывать не только визуальные аспекты, но и психологию восприятия. Обложка должна вызывать эмоции, создавать ассоциации и рассказывать историю. Используйте цвета, которые соответствуют настроению вашей музыки. Красный цвет может символизировать страсть и энергию, синий – спокойствие и умиротворение, зеленый – природу и гармонию. Шрифты также играют важную роль. Выберите шрифт, который будет легко читаться и соответствовать стилю вашей музыки. Не перегружайте обложку лишними элементами. Меньше – значит больше. Важно, чтобы обложка была сбалансированной и гармоничной. Обратитесь к профессиональному дизайнеру, который поможет вам создать обложку, идеально отражающую вашу музыку. Помните, что дизайн обложки – это ваша визитная карточка, и она должна быть безупречной.

  34. if you’ve ever noticed that negative comments from your partner seem to stick in your mind more than positive ones,エロ 人形it’s not just in your head.

  35. кухни под заказ в спб [url=https://kuhni-spb-1.ru/]kuhni-spb-1.ru[/url] .

  36. would have his reader and hearerunderstand by those words.アダルト フィギュア 無 修正For the first sort,

  37. 소액결제 현금화란? 소액결제 현금화는 휴대폰 요금에
    포함되는 소액결제 한도를 활용해 현금을 얻는 방식입니다.
    스마트폰으로 상품권이나 디지털 콘텐츠를 결제한 뒤

  38. DavidbaK dice:

    zithromax price canada [url=https://zithromedsonline.shop/#]ZithroMeds Online[/url] generic zithromax

  39. усиление углеволокном [url=http://dpcity.ru/usilenie-betona-uglevoloknom-fundamentov-svayami-i-gruntov-inektirovaniem-yuviks-grupp-spb/]http://dpcity.ru/usilenie-betona-uglevoloknom-fundamentov-svayami-i-gruntov-inektirovaniem-yuviks-grupp-spb/[/url] .

  40. Diplomi_tlei dice:

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

  41. アダルト フィギュア 無 修正thatthat whereof a thing is made,may by a certain mode of speech,

  42. Howdy this is kind of of off topic but I
    was wanting to know if blogs use WYSIWYG editors or if you have to
    manually code with HTML. I’m starting a blog soon but have no coding expertise so
    I wanted to get advice from someone with experience.
    Any help would be enormously appreciated!

  43. GlennDiz dice:

    Clomid for sale: Clomid fertility – can i purchase cheap clomid without rx

  44. 1win_qmMa dice:

    1вин сайт вход [url=https://www.1win5517.ru]https://www.1win5517.ru[/url]

  45. Once the flame appeared so near the road,中国 えろthat even in the darknessaround us I could watch the driver,

  46. our divine equality!If,to meanest mariner and renegades and castaway I shallhereafter ascribe high qualitie though dark,ラブドール 激安

  47. and the authority she had,ラブドール 安いshe refrained thegreediness of childhood,

Responder a GlennDiz Cancelar respuesta