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: 75,174

  1. Stephencox dice:

    apotek online sverige [url=https://tryggapotekguiden.xyz/#]Köp medicin utan recept Sverige[/url] Kunder rankar bästa apotek online

  2. I have read so many articles or reviews about the blogger lovers except this piece of writing is in fact a
    nice piece of writing, keep it up.

  3. nsfw images dice:

    Hi there, I would like to subscribe for this blog to take most recent updates,
    so where can i do it please help.

  4. crackwhore dice:

    Fastidious response in return of this issue with firm arguments and telling everything on the topic of that.

  5. Jasonimisa dice:

    online apotheek nederland zonder recept: apotheek online – Korting Apotheek

  6. toto slot dice:

    I don’t even understand how I stopped up right
    here, but I thought this post used to be great.
    I don’t know who you are but definitely you’re
    going to a famous blogger should you are not already. Cheers!

  7. changedhis rain-soaked underclothes,女性 用 ラブドールsaid his prayers,

  8. GeorgeLouck dice:

    https://rabattapotek.com/# Hvilket apotek på nett er best i Norge

  9. Having read this I believed it was extremely enlightening.
    I appreciate you taking the time and energy to put this informative article together.
    I once again find myself spending a significant amount of
    time both reading and posting comments. But
    so what, it was still worthwhile!

  10. that which a man hath from his Birth: for that is nothing elsebut wherein men differ so little one from another,オナドールand from bruteBeasts,

  11. jatengtoto dice:

    Woah! I’m really enjoying the template/theme of this blog.

    It’s simple, yet effective. A lot of times it’s very
    hard to get that “perfect balance” between usability and
    visual appeal. I must say that you’ve done a amazing job with this.
    In addition, the blog loads super quick
    for me on Opera. Outstanding Blog!

  12. As yoսr kid moves tߋ Secondary 1, secondary school math tuition Ƅecomes important to tackle Singapore’ѕ challenging math syllabus ᴡith expert guidance.

    Lah lor, Singapore students ɑlways ⅽome first in global math ѕia!

    Parents, cater to aspirations ѡith Singapore math tuition’ѕ accelerated alternatives.
    Secondary math tuition nurtures talented minds.
    Ꮃith secondary 1 math tuition, reasoning іs strengthened fr᧐m thе first Ԁay.

    Advanced secondary 2 math tuition introduces pre-О-Level subjects.
    Secondary 2 math tuition previews calculus fundamentals.

    Forward-thinking secondary 2 math tuition ցets ready for shifts.
    Secondary 2 math tuition ⲣrovides а head start.

    Secondary 3 math exams hold tһе crucial t᧐ O-Level self-confidence, making quality non-optional.
    Strong outcomes prevent burnout іn tһе last year.
    Tһey foster ecological awareness Ƅy mans of information analysis in math.

    Secondary 4 exams celebrate talent artistically іn Singapore.

    Secondary 4 math tuition archives styles. Thіs combination inspires Օ-Level efforts.

    Secondary 4 math tuition creative merges.

    Mathematics extends ƅeyond exams; it’s a cornerstone skill іn tһe АІ surge,
    powering archaeological data analysis.

    Ƭo master mathematics, love іt and apply іts principles
    in daily life real-world scenarios.

    A core importance iss thɑt it promotes healthy competition Ьy comparing times with hypothetical peers іn exams.

    Singapore-based online math tuition e-learning enhances scores tһrough quantum entanglement puzzles fοr logic.

    Alamak aһ, don’t panic lah, secondary school uniform
    comfy, ⅼet yoᥙr child adapt withoսt worry.

    Herе іs mʏ ⲣage; a level maths tuition watford

  13. CrimsonZonean7mug dice:

    J’ai un veritable coup de c?ur pour Belgium Casino, ca pulse comme une soiree animee. Les jeux proposes sont d’une diversite folle, proposant des jeux de table sophistiques. Il donne un avantage immediat. Le suivi est toujours au top. Les gains arrivent en un eclair, malgre tout plus de promos regulieres dynamiseraient le jeu. Pour faire court, Belgium Casino merite un detour palpitant. Notons aussi le design est moderne et attrayant, facilite une immersion totale. Egalement genial les evenements communautaires vibrants, propose des avantages sur mesure.
    Lancer le site|

  14. WilliamWar dice:

    Online apotheek vergelijken: Korting Apotheek – online apotheek

  15. WilliamWar dice:

    apotek pa nett: Kundevurderinger av nettapotek – Rabatt Apotek

  16. “if only she,オナドールd tell us where to take her,

  17. Expresse,オナドールarewords spoken with understanding of what they signifie,

  18. cyberknightex1mug dice:

    J’ai une passion debordante pour Belgium Casino, c’est un lieu ou l’adrenaline coule a flots. La gamme est variee et attrayante, avec des machines a sous visuellement superbes. Le bonus de bienvenue est genereux. Le support est pro et accueillant. Les retraits sont lisses comme jamais, bien que plus de promos regulieres ajouteraient du peps. Au final, Belgium Casino est un endroit qui electrise. En plus le design est style et moderne, ajoute une touche de dynamisme. Egalement super les nombreuses options de paris sportifs, garantit des paiements securises.
    http://www.casinobelgium365fr.com|

  19. Jasonimisa dice:

    online apotheek: online apotheek nederland zonder recept – apotheek online

  20. WilliamWar dice:

    Kundevurderinger av nettapotek: RabattApotek – Billige medisiner uten resept Norge

  21. Stephencox dice:

    buy medications from Mexico legally [url=https://mexmedsreview.xyz/#]verified Mexican pharmacy promo codes[/url] cheap branded meds without prescription

  22. pussylicking dice:

    It’s remarkable to go to see this web site and reading the views of all friends about this article, while I am also keen of getting familiarity.

  23. психиатрический стационар
    psychiatr-moskva011.ru
    психиатрическая помощь госпитализация

  24. Anthonygassy dice:

    What Are Cheats for Games and How They Work within the Counter-Strike: Global Offensive (CSGO) Skin Gambling Sector

    Cheats in gaming are illegal software designed to manipulate game mechanics, giving players an illegitimate edge. In the context of Counter-Strike: Global Offensive (CSGO), cheats typically involve features like aimbots, wallhacks, or recoil control, which improve player performance beyond normal human ability.

    Within the CSGO cosmetic betting sector, cheats are especially influential. This domain revolves around betting using in-game skins—cosmetic items that have real-world value. Cheats can affect the outcome of matches or gambling games by enabling better anticipation results or by automating betting processes.

    Cheating software works via injecting code into the game client or external applications, intercepting game data, and altering it to display information not normally visible. For skin gambling, this could mean bots placing manipulated stakes based on in-game events or manipulating game outcomes to maximize profits illegally

    Despite efforts by game developers and [url=http://o91202nk.beget.tech/profile.php?u=ebogekov]http://o91202nk.beget.tech/profile.php?u=ebogekov[/url] gambling platforms to prevent and restrict cheats, the market remains vulnerable due to the clandestine operation of cheat distribution and usage. This creates significant challenges regarding fairness, player trust, and legal implications within the combined space of CSGO gameplay and skin gambling.

    In summary, cheats in games like CS:GO are illegal tools that manipulate game functions. When these cheats intersect with the skin gambling sector, they enable fraudulent behavior, undermining the integrity of both gaming and betting environments.

    Key synonyms used in this article:

    – Cheats: illicit programs
    – Games: digital entertainment
    – Skin gambling: virtual item wagering
    – Affect: influence
    – Operate: function through
    – Market: domain

  25. roguekingar4mug dice:

    Je suis enthousiasme par Betway Casino, il cree une experience captivante. Les jeux proposes sont d’une diversite folle, proposant des jeux de cartes elegants. 100% jusqu’a 500 € avec des free spins. Le suivi est d’une fiabilite exemplaire. Les transactions sont toujours securisees, par contre plus de promos regulieres ajouteraient du peps. Dans l’ensemble, Betway Casino offre une experience hors du commun. En bonus le site est rapide et immersif, apporte une energie supplementaire. A souligner les evenements communautaires pleins d’energie, offre des recompenses continues.
    DГ©couvrir les faits|

  26. asshead dice:

    I read this paragraph fully about the resemblance of latest and preceding technologies, it’s amazing article.

  27. GeorgeLouck dice:

    http://mexmedsreview.com/# verified Mexican pharmacy promo codes

  28. Stephencox dice:

    mexican pharmacy [url=https://mexmedsreview.xyz/#]Mexican pharmacies ranked 2025[/url] mexico pharmacy

  29. citytigeras4mug dice:

    Je suis accro a Gamdom Casino, on ressent une ambiance festive. On trouve une gamme de jeux eblouissante, proposant des jeux de cartes elegants. 100% jusqu’a 500 € avec des free spins. Le suivi est toujours au top. Les retraits sont simples et rapides, malgre tout des bonus varies rendraient le tout plus fun. En conclusion, Gamdom Casino assure un divertissement non-stop. Pour couronner le tout l’interface est intuitive et fluide, permet une plongee totale dans le jeu. Egalement super le programme VIP avec des recompenses exclusives, offre des bonus exclusifs.
    https://gamdomcasinoappfr.com/|

  30. macau 4d dice:

    I simply couldn’t go away your site prior to suggesting that I actually loved the standard information an individual provide in your guests?
    Is going to be again regularly to inspect new posts

  31. Hello i think that i saw you visited my weblog so i came to Return the favore Im trying to find things to improve my web siteI suppose its ok to use some of your ideas

  32. GeorgeLouck dice:

    https://mexmedsreview.com/# discount meds from Mexico online

  33. died worse than nothing,and so could not give me ashilling of potion,ドール エロ

  34. GeorgeLouck dice:

    https://rabattapotek.xyz/# Hvilket apotek på nett er best i Norge

  35. Stephencox dice:

    online apotheek nederland zonder recept [url=https://kortingapotheek.xyz/#]KortingApotheek[/url] online apotheek

  36. 人形 エロretired always from the disputewith an admiration of her own understanding and a love for his.But though this complacence to one whom the captain thoroughlydespised,

  37. read write dice:

    You actually make it seem really easy with your presentation but I to find this topic to be actually something
    that I believe I’d by no means understand. It sort of
    feels too complex and extremely extensive for me.
    I’m having a look forward in your subsequent publish,
    I will try to get the hold of it!

  38. Citydriveik2mug dice:

    Je suis completement seduit par Gamdom Casino, on ressent une ambiance festive. Il y a un eventail de titres captivants, avec des slots aux graphismes modernes. Il booste votre aventure des le depart. Le service client est de qualite. Les gains sont transferes rapidement, malgre tout des recompenses en plus seraient un bonus. Pour faire court, Gamdom Casino assure un divertissement non-stop. A noter le design est moderne et attrayant, ce qui rend chaque moment plus vibrant. Un avantage le programme VIP avec des recompenses exclusives, qui dynamise l’engagement.
    DГ©couvrir davantage|

  39. えろ 人形as when wee expect that which shall not be,orsuspect what has not been: but in neither case can a man be charged withUntruth.

  40. Wow, that’s what I was looking for, what a information! present here at this website, thanks admin of this web
    page.

  41. WilliamWar dice:

    Kundevurderinger av nettapotek: Apotek pa nett sammenligning – Apotek pa nett sammenligning

Responder a asshead Cancelar respuesta