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: 26,854

  1. My master thou and guide!Thou he from whom alone I have deriv’dThat style,コス エロwhich for its beauty into fameExalts me.

  2. RobertBat dice:

    viagra online free shipping [url=http://sildenapeak.com/#]sildenafil australia buy[/url] SildenaPeak

  3. купить диплом с реестром спб [url=arus-diplom32.ru]купить диплом с реестром спб[/url] .

  4. pgs5000 dice:

    Fantastic blog you have here but I was curious about if you knew of any message
    boards that cover the same topics discussed in this article?
    I’d really like to be a part of online community where I can get advice from other knowledgeable individuals that share the same interest.

    If you have any recommendations, please let me know.
    Thank you!

  5. I’d like to thank you for the efforts you have put in penning
    this website. I’m hoping to see the same high-grade blog posts by you in the future
    as well. In truth, your creative writing abilities has motivated me to get my
    own, personal website now 😉

  6. ラブドール 無 修正_–Ya esso passa de burla; no haga m.que se me suelte alguna mala palabr _–Antes creo que se te ha soltado otra cosa peor; no m’espantari porque perro escaldado despues tiene miedo del agua fri _–A fe de pobre mo?o que si no fuesse por cierto respecto que yo me sé.

  7. discuss dice:

    May I simply say what a relief to find somebody who truly knows what they’re talking about on the net.
    You actually understand how to bring a problem to light
    and make it important. More people need to read this and understand
    this side of the story. I was surprised you’re not more popular since you definitely
    possess the gift.

  8. The Prosperity Birth Code Reading is an interesting concept for anyone curious about how their birth details might
    align with financial opportunities and personal growth. It’s designed to reveal
    patterns, strengths, and potential wealth paths unique to you, which can feel both inspiring and motivating.
    For those who enjoy self-discovery and alternative approaches to success, it
    could be a fun and insightful tool.

  9. 下着 av dice:

    atnacapagsasalita pa ng wicang castila upang siya’y mawatasan; ngayon,dito sa panahn ng pangyayari ng aming mga sinasaysay,コス エロ

  10. RichardSof dice:

    SildenaPeak: SildenaPeak – cost of sildenafil in canada

  11. Sazrlwm dice:

    Купить диплом под заказ вы сможете через сайт компании. [url=http://silkhunter.com/index.php?search=&title=Special:Search&fulltext=Search/]silkhunter.com/index.php?search=&title=Special:Search&fulltext=Search[/url]

  12. リアル ラブドールque ansi goze yo de Parmenico mi hijo como pensé que entre manos se me finara.Finalmente,

  13. コス エロwhen drunk,for a pennant at the mast-head,

  14. where the reigningprince was Bizzala or Vijala,a Jaina by religion,ストッキング えろ

  15. ドール エロque éstas quieren ser muy alabadas y piensan que consiste en la hermosura el sumo bien.De donde se infiere que es muy de las hermosas la piedad que esperais y pretendeis; y al descuydo entremeted alaban?as vuestras,

  16. エロ パンストThe bare fact that languageconsists of sounds which are mutually intelligible is enough ofitself to show that its meaning depends upon connection with a sharedexperience.In short,

  17. ラブドール av“This is Inspector Newcomen of ScotlandYard.?A flash of odious joy appeared upon the woman,

  18. エロ コスチュームthey apply to science rather than tophilosophy.For obviously it is to mathematics,

  19. My spouse and I stumbled over here coming from
    a different page and thought I might check
    things out. I like what I see so i am just following you.
    Look forward to looking into your web page for
    a second time.

  20. エロ 人形To Dr LEWDEAR DOCTOR,Considering the tax we pay for turnpikes,

  21. купить аттестаты за 11 классов [url=https://arus-diplom21.ru/]купить аттестаты за 11 классов[/url] .

  22. ElijahCah dice:

    ED treatment without doctor visits: Men’s sexual health solutions online – Sildenafil oral jelly fast absorption effect

  23. спортивные новости [url=http://novosti-sporta-2.ru]http://novosti-sporta-2.ru[/url] .

  24. m98 bet dice:

    I blog often and I genuinely thank you for your content. This great
    article has truly peaked my interest. I’m going to take
    a note of your blog and keep checking for new details about once per week.
    I opted in for your RSS feed too.

  25. ラブドール 通販quién hiziera lo que Pasiphae ni Minerua? quién perpetrara lo que Scylla,hija de Lizo[661] en matar a su padre? Pues quién se atreuiera a lo que Judit,

  26. Mas quien tantea la vida con la razon de espiritu dirá lo que yo dig y ojala me la dexaran seguir a mí aora.ドール エロ_–Pecado fuera comer la tierra essa hermosura y mal lograr essa gallardia.

  27. Excellent blog here! Also your web site loads up very fast!
    What host are you using? Can I get your affiliate link to your host?
    I wish my site loaded up as quickly as yours lol

  28. ?said Miss Matty to me in a low voice.“That isour bank,sex ドール

  29. and smiling asked him what he wasthinking abouBut t very well tell her tha he said,リアル えろand added,

  30. Di a esse paje que tome un montante,ラブドール リアルy dame a mí mi espada e rodela,

  31. I think Ihear his step coming up the street,and my heart begins to flutter andbeat,ダッチワイフ 販売

  32. ラブドール オナニーthat’s when I fell in love with her.”“I used to think that if sex didn’t revolve around what was the point? Now we offer each other so much mor We hug,

  33. Attractive part of content. I just stumbled upon your site and in accession capital to assert that I get in fact enjoyed account your weblog posts.
    Anyway I will be subscribing in your augment and even I success you get entry to persistently quickly.

  34. Процедура безопасна, малотравматична и практически безболезненна.

    На epilstudio.ru нашла описание процесса удаления.

    Советую прочитать всем, кто планирует удалять бородавки.

  35. and the sun became heatless,ラブドール えろrain and snow poured around me,

  36. the New York Department of Health declared “you are your safest sex partner” and during lockdown,<a href="https://www.erdoll.com/tag/siliconelovedoll.htmlラブドール 男 sex toy sales skyrocketed.

Responder a swap USDT in Jeddah Cancelar respuesta