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: 96,055

  1. under a chin shaped like the toe of an old boot.It was a little tooearly for the doct so I proposed a drink,ロボット セックス

  2. 爱情毒药 dice:

    Thanks for sharing this valuable information.

  3. and a verb is classed as+weak+ or +strong+ in accordance with the way in which it forms thistense.+Weak verbs form the past tense by adding _ed _d or _t_ to thepresent.コスプレ h

  4. Danielanosy dice:

    Cor Pharmacy: Cor Pharmacy – professional pharmacy

  5. iya’y nacahihila ngcasacunaan.Cung wala caming capatid na babae’y malaon ng panahongcami’y binitay na sana!Binitay na cayo? ang mga duwag lamang ang nabibitay,海外 コスプレ えろ

  6. cloud bet dice:

    this gives you have the opportunity to get to know
    the game without going beyond limits of money even at
    this same time in the cloud bet you have the opportunity safely to control your pennies,
    without much risk.

  7. demo slot dice:

    When some one searches for his vital thing, so he/she needs to be available that in detail,
    so that thing is maintained over here.

  8. “What! Past two o,clock! ?He sat down on the sofa–and instantly recollected everything! All atonce,ロボット エロ

  9. Danielanosy dice:

    online pharmacy delivery usa: CorPharmacy – pill pharmacy

  10. Hello, I log on to your blog like every week. Your writing style is awesome, keep up the good work!

  11. Hey! This is my first comment here so I just wanted to give a quick shout out and tell you I
    truly enjoy reading your posts. Can you recommend any other blogs/websites/forums that cover the same subjects?
    Thanks a ton!

  12. lolita rape dice:

    When someone writes an piece of writing he/she retains the plan of a user
    in his/her brain that how a user can be aware of it.
    Thus that’s why this article is perfect. Thanks!

  13. Stevepsymn dice:

    top rated online pharmacies https://viagranewark.xyz/# ViagraNewark

  14. 领先的成人网站 为成熟观众提供优质内容。探索 安全中心 以确保质量和隐私。

    Have a look at my blog post: Download Windows 11 Cracked

  15. 等身 大 ラブドールa woman of educationand culture and distinguished family,should have consented to be mywife.

  16. Its like you read my mind! You seem to know so much about this, like you wrote
    the book in it or something. I think that you could do with a few pics to drive the message home
    a little bit, but other than that, this is fantastic blog.
    An excellent read. I will certainly be back.

  17. Stevepsymn dice:

    canadian pharmacy non prescription https://edpillsafib.xyz/# EdPillsAfib

  18. ボディ スーツ エロHuhulihin ng? mg?a sibil si kabisang Tales,ng?unì’t sadahilang hindi nakita ay si tandang Selo ang dinala.

  19. may lihim na mgapulong.Nangagsisiharap sila sa mga palacio upang canilang ihandg angcanilang tulong sa Gobierno na na sa calakilakihang panganib.ランジェリー エロ

  20. 等身 大 ラブドール?This story was published by the poet Nekrassov in his review andwas received with acclamations.The shy,

  21. brazino777 dice:

    Responsible gaming tools: the following assignments as
    deposit limitation, session reminders, brazino777
    brazino777 and aspiration self-exclusion, assist the strawberry lover to keep healthy gaming habits.

  22. Great post! We are linking to this particularly great content on our site.

    Keep up the good writing.

  23. But he was drinking waterfrom a spring which flowed gurgling close by.And it was so cool,ロボット エロ

  24. 1win_wmsl dice:

    скачать приложение 1win на телефон [url=1win12043.ru]скачать приложение 1win на телефон[/url]

  25. What’s up, I log on to your blogs daily. Your humoristic style is witty, keep doing what you’re doing!

  26. buy online dice:

    Hi there Dear, are you really visiting this website on a regular basis, if
    so then you will without doubt take nice know-how.

  27. L’espérance d’être soulagé lui donne ducourage pour souffrir.エッチ コスプレJustement il a cru entendre des pas; les pas serapprochent,

  28. n5y6.icu dice:

    Hello, I read your new stuff daily. Your humoristic style is awesome, keep doing what you’re doing!

Responder a how to hack wizard of oz free slots casino Cancelar respuesta