saa Infraestructura como código – Politraining

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: 144,495

  1. Jalwa Win dice:

    Hi there! I know this is sort of off-topic but I
    needed to ask. Does managing a well-established blog such as yours
    take a large amount of work? I am brand new to running a blog however I
    do write in my diary every day. I’d like to start a blog so
    I will be able to share my personal experience and feelings online.
    Please let me know if you have any kind of suggestions or tips for new aspiring bloggers.
    Appreciate it!

  2. WilliamDig dice:

    online shopping pharmacy india: Indo-Generic Export – pharmacy website india

  3. ドール エロthat the young lady,confounded and incensed at her indecency and impudence,

  4. 1win_lyEl dice:

    free bet 1win [url=https://www.1win5773.help]free bet 1win[/url]

  5. Thwackum and Square likewise sung to the same tune.ドール エロThey were now(especially the latter) become greatly jealous of young Jones with thewidow,

  6. フィギュア 無 修正but perhapsjust because she was poorly dressed and that he noticed all the miseryof her surroundings,his heart was filled with dread and he began to beafraid of every word he uttered,

  7. “ don’t tell me I’ve been trudging around for nothing,” Razumihin insisted.フィギュア 無 修正

  8. Hello, Neat post. There is a problem with your site in web explorer,
    would check this? IE still is the market leader and a
    large element of folks will miss your wonderful writing due to this problem.

  9. HarryUntox dice:

    US Meds Outlet: US Meds Outlet – top online pharmacy 247

  10. he took up his cap and ran to Dushkin as we know,フィギュア 無 修正gota rouble from him.

  11. for if ever human head did by its horns display theamorous glories of a wife,Zekiel’s did,ドール エロ

  12. And such wordsare either of the time Present,オナドールor Past,

  13. класс с учениками [url=https://shkola-onlajn-25.ru/]класс с учениками[/url] .

  14. HarryUntox dice:

    cheapest pharmacy for prescriptions: pharmacy near me – pharmacy websites

  15. and were in a fair way of accomplishing ourretreat without further danger; but the gallant Orgullo,ラブドール 販売in crossing aditch,

  16. He therefore communicated his intentionto Farrel,who would have insisted upon attending him in the journey,ラブドール 無 修正

  17. in the most urgent terms,not even unaccompanied with tears,無 修正 フィギュア

  18. Thanks a lot for sharing this with all people you really understand what you’re speaking approximately!
    Bookmarked. Please additionally seek advice from my website =).
    We can have a link change agreement between us

  19. Great work! That is the kind of information that should
    be shared across the web. Shame on the seek engines for not positioning this publish upper!
    Come on over and seek advice from my site . Thank you =)

  20. 初音 ミク ラブドールproclayming,”Thus shall it be done to him that the King will honour.

  21. セックス ロボットor you will catch cold,?said the little princess,

  22. t it? ?Prince Andrew askedsuddenly.Princess Mary was first surprised and then aghast at this question.女性 用 ラブドール

  23. I will right away grab your rss as I can not to find your email subscription link or e-newsletter service. Do you have any? Kindly allow me realize in order that I could subscribe. Thanks.

  24. アダルト フィギュア 無 修正And you don’tsuppose that I went into it headlong like a fool? I went into it like awise man,and that was just my destruction.

  25. HarryUntox dice:

    US Meds Outlet: online pharmacy in turkey – US Meds Outlet

  26. рулонные шторы виды механизмов [url=https://rulonnye-shtory-s-elektroprivodom90.ru/]rulonnye-shtory-s-elektroprivodom90.ru[/url] .

  27. WilliamDig dice:

    top online pharmacy india: п»їlegitimate online pharmacies india – mail order pharmacy india

  28. 1win_qkEt dice:

    1win rasmiy sayti [url=https://1win5753.help/]https://1win5753.help/[/url]

  29. site dice:

    A crypto match bonus paid out in BTC can appreciate
    in your casino account, and you might end up with even more to play with.

  30. “But they didn,ラブドール えろInstead of rivets there came an invasion,

  31. whosebehaviour to his wife he did not fail to promulgate,ラブドール 通販with all itsaggravating circumstances.

  32. SEO Montreal dice:

    Hi! Do you know if they make any plugins to help with SEO?

    I’m trying to get my blog to rank for some targeted keywords but I’m
    not seeing very good gains. If you know of any please share.

    Thanks!

  33. карниз электроприводом штор купить [url=https://elektrokarniz-nedorogo.ru/]elektrokarniz-nedorogo.ru[/url] .

  34. by the doctor’s direction,moistened hismouth with a cordial which he had prescribed.ラブドール 無 修正

  35. HarryUntox dice:

    canadian pharmacy online: usa pharmacy – online pharmacy discount code

  36. Vaughnprido dice:

    http://usmedsoutlet.com/# cheapest prescription pharmacy

  37. CHAPTER TWENTY-THREEACQUITS HIMSELF WITH ADDRESS IN A NOCTURNAL RIOT.The Italian and the abbe were the first who began to grow whimsicalunder the influence of the burgundy; in the heat of theirelevation,ラブドール 女性 用

Responder a Brant Hermosura Cancelar respuesta