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: 86,241

  1. … Andall this came into my mind during the minutes I was lying on my face onthe sofa.My God! surely I was not envious of her then.I don’t know,女性 用 ラブドールto this day I cannot decide,

  2. Or whether by some miracle,アジア えろsome prompting frommedi?val history,

  3. ラブドール 安いby whichThou makest eloquent the tongues of the dumb; he seemed to me not moreresolute than blessed,in having thus found opportunity to wait on Theeonly.

  4. We’re a bunch of volunteers and opening a brand new scheme in our community.
    Your website provided us with helpful info to work on. You have done
    a formidable job and our whole community will probably be thankful to you.

    Stop by my webpage buy xanax without prescrition

  5. Toto Togel dice:

    It’s in point of fact a nice and useful piece
    of info. I am glad that you just shared this useful info with
    us. Please stay us up to date like this. Thanks for sharing.

  6. Roberterymn dice:

    Uva Pharm: Uva Pharm – pharmacies in mexico that ship to the us

  7. wasnot out of ignorance in the art,but the failure of the chance.ラブドール 安い

  8. 推拿師 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-785/research/je-marketing-(152).html
    Make certain you have the right gown, footwear, and extra to look excellent on the massive
    day.

  9. You see that at oneword from me you are offended on Yulian Mastakovitch’s account.女性 用 ラブドールI’ll lethim alone.

  10. Half an hour later Okeanov and Kantarev came in andconfirmed Sudbin’s story,word for word; they,ラブドール 通販

  11. мелбет слоты вход [url=https://wwwpsy.ru/]https://wwwpsy.ru/[/url] .

  12. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-784/research/je-marketing-(189).html
    It’s obtainable in three colours and in sizes 0-18 and shall be good for summer time,
    destination, and bohemian weddings.

  13. https://je-tal-marketing-928.lon1.digitaloceanspaces.com/research/je-marketing-(83).html
    Whatever the situation, when you’ll have the ability to attend a wedding, you’ll need to look your
    greatest.

  14. Diplomi_nzEa dice:

    купить диплом пту в казани [url=https://r-diploma20.ru/]купить диплом пту в казани[/url] .

  15. They talked ofthe Caucasus,of the nature of true passion,女性 用 ラブドール

  16. Hi there, just wanted to say, I liked this article.
    It was inspiring. Keep on posting!

  17. игры слоты [url=https://wwwpsy.ru/]wwwpsy.ru[/url] .

  18. aftervain efforts to understand.But the woman would not desist,ラブドール 通販

  19. situs slot dice:

    Way cool! Some very valid points! I appreciate you penning this article and the rest of the site
    is also very good.

  20. жалюзи с электроприводом купить [url=www.prokarniz23.ru]жалюзи с электроприводом купить[/url] .

  21. ラブドール 通販andif he saw the others gathered together in a group to make tea he wouldgo up to them like a quiet,sensible,

  22. “No!” answered my acquaintance,アジア えろchagrined to the bottom of his heart bythe awkwardness of which I had intentionally been guilty.

  23. 經絡課程 dice:

    https://je-tal-marketing-904.lon1.digitaloceanspaces.com/research/je-marketing-(253).html
    Not sure which colour will work to finest coordinate the mothers of the bride and groom with the remainder of the bridal party?

  24. 激安 ラブドールwhich yet himself would no means suffer?yet he desires as a spectator to feel sorrow at them,and this verysorrow is his pleasure.

  25. жалюзи автоматические цена [url=http://prokarniz23.ru/]жалюзи автоматические цена[/url] .

  26. in their wanderings,ラブドール 安いlighted upon a certain cottage,

  27. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-791/research/je-marketing-(140).html
    She’s a superhero to you and your complete household, so why not let her costume the half.

  28. 整骨學徒 dice:

    https://je-tall-marketing-865.lon1.digitaloceanspaces.com/research/je-marketing-(74).html
    Everyone knows you are the bride, so don’t fret about your mother sporting white or a full skirt
    alongside you.

  29. adana escort dice:

    Wow, this paragraph is good, my sister is analyzing these kinds of things, thus I am going to convey her.

  30. but that he whowas hereafter to prove so great a man,should already begin to learnthat in judging of causes,激安 ラブドール

  31. アダルト フィギュア 無 修正perceived and thought on what truth soever we havebeen able to find,yea and whatsoever we have not been able,

  32. жалюзи для пластиковых окон с электроприводом [url=https://prokarniz23.ru/]https://prokarniz23.ru/[/url] .

  33. whereby she was wasting todeath.ラブドール 安いThen in this great contention of my inward dwelling,

  34. as well as for other reasons,boththese dialogues are probably to be regarded as later than the Republic.ラブドール オナニー

  35. With havin so much content do you ever run into any problems
    of plagorism or copyright violation? My website has a lot of completely unique content I’ve either created myself or
    outsourced but it appears a lot of it is popping it up all over the web without my agreement.
    Do you know any techniques to help reduce content from being stolen? I’d genuinely appreciate it.

  36. Paylaşdığınız məlumatlar mənə çox kömək edir.
    Təşəkkürlər!

    Mostbet pulsuz oynamaq

  37. 按摩學徒 dice:

    https://je-tal-marketing-928.lon1.digitaloceanspaces.com/research/je-marketing-(220).html
    The attire on this category characteristic attire with components similar to beautiful embroidery
    and floral accents.

  38. RichardDycle dice:

    www canadianonlinepharmacy https://uvapharm.xyz/# UvaPharm

Responder a 按摩師證照 Cancelar respuesta