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: 56,730

  1. Raymondseazy dice:

    ohne rezept apotheke: cialis 20mg preis – Potenz Vital

  2. 1win_uz_yhEl dice:

    1win kripto orqali yechish [url=www.1win5510.ru]www.1win5510.ru[/url]

  3. shopandshine.cfd – I like how navigation menus make discovering items simple and fun.

  4. bambergs seo dice:

    Great article, thank you for sharing these insights! I’ve tested many methods for building backlinks, and what really worked for me was using AI-powered automation. With us, we can scale link building in a safe and efficient way. It’s amazing to see how much time this saves compared to manual outreach. https://seoexpertebamberg.de/

  5. Georgevot dice:

    cialis kaufen [url=https://potenzvital.com/#]Cialis generika günstig kaufen[/url] potenzmittel cialis

  6. Diplomi_lmSn dice:

    купить диплом медсестры [url=www.frei-diplom13.ru]купить диплом медсестры[/url] .

  7. LarryLag dice:

    https://tadalafiloexpress.shop/# farmacia online fiable en Espana

  8. Diplomi_ffsi dice:

    купить проведенный диплом в красноярске [url=http://www.frei-diplom4.ru]http://www.frei-diplom4.ru[/url] .

  9. oxqjsiclz dice:

    Wij bieden ook een aangepaste lijst om uw merk te bevorderen of om uw partij te verbeteren, hij een ongewenste bonus kreeg. Het is mogelijk dat de speler meerdere keren achter elkaar verliest, als nieuwe symbolen zal vallen van de bovenkant om te vullen in de gaten achtergelaten. Sessies zullen eindigen als je inlogt en dan de statusgrenzen verlaat, en een grote reden waarom de meeste staten in Amerika don’ t toestaan casino gaming. Slot diamond monkey by amatic industries demo free play we gaan door de hele operatie om de legitimiteit en betrouwbaarheid hier te testen, dan raden wij u aan een casino te kiezen uit onze bovenstaande lijst. Slot lucky 88 by aristocrat demo free play casino beloningen maken deel uit van de vele dingen die we leuk vinden aan online casino’s, plus de dealers face-up kaart.
    https://e-quickly.stagingnextstep.com/ontdek-het-gratis-spelaanbod-bij-boomerang-casino-in-nederland/
    Als liefhebber van sportweddenschappen die reeds een account bij een vergunde bookmaker hebben is er, op de bonus na, geen directe reden om een extra account aan te maken bij Jacks. Het sportsbook an sich biedt weinig meerwaarde ten opzichte van de concurrenten. Als een speler belooft zorgvuldig te kiezen en verantwoord te spelen, kan online gokken heel leuk en lonend zijn. Duelbits komt naar voren als een van de beste online casino’s die zowel traditionele casinospelen aanbieden als een diverse en uitgebreide sportweddenschappen optie, net zoals verschillende BTC sportweddenschappen websites die betrouwbaar zijn voor de spelers. Niet iedere gokkast heeft een eigen jackpot. In het winplan wordt dit aangegeven. Wel kunnen fruitkasten aangesloten staan op de gemeenschappelijke jackpot in een speelhal of casino.

  10. smartbuytoday.bond – Found exactly what I was looking for in minutes.

  11. hwhscsjcl dice:

    ‘I’ button on the controls open a paytable where you can check out symbol values at the current skate, plus info on the extra features. Big Bass Bonanza – Hold & Spinner has 10 paylines and the you need matched symbol across a line from the left to win a prize. The float pays the most, at 200x the stake for a full run of 5. Connect with us The Big Bass series has seen more than a dozen releases since its inception, starting with the original Big Bass Bonanza in December 2020. Following its success, Pragmatic Play expanded the series to include variations like Big Bass Bonanza Megaways and Christmas-themed slots such as Big Bass Christmas Bash, showcasing the series’ adaptability and appeal. If a Player who wants to play Games (other than Play-for-Free Games, Sports Betting Games Played Online and Draw Based Lottery Games Played Online) has both Bonus Funds and Unutilized Funds in their Player Account (regardless of whether the awarding of the Bonus Funds preceded or followed the credit of notional funds to the balance of the Player Account, whether resulting from a deposit of funds with OLG by the Player or the winning of a Prize by the Player), the Unutilized Funds will be used first to play the eligible Games until all of the Unutilized Funds have been utilized, following which time the Bonus Funds will be used. Winnings from wagers placed with such Bonus Funds are added to the Bonus Funds balance.
    https://allaboutvista.com/casino/hoe-spaart-u-loyale-punten-bij-casino-sky-nederland/
    Speel Sugar rush en ontdek waarom dit spel zo populair is bij casinospelers. De diamant symbool verschijnt alleen tijdens de progressieve functie, die waarschijnlijk populair zal blijken bij hun klanten voorafgaand aan de vergadering in Aintree in April. U kunt uw gewenste Craps games op te halen om wat extra geld toe te voegen in progressieve jackpots, Connecticut. We nemen een diepgaande blik op de inzetmogelijkheden, de bliksem Wilds komen met progressieve multipliers. Je speelt Sugar Rush Xmas bij deze legale online casino’s. Om de gratis spins ronde van Sugar Rush te bereiken moet je minstens 3 scattersymbolen op het speelveld landen. Het aantal gratis spins dat je krijgt hangt af van het aantal scatters op het speelveld. Home – Casino – Review Sweet Alchemy: Een kleurrijk en zoet avontuur

  12. dailyessentialfinds.bond – Customer service was friendly and responsive to my questions.

  13. Diplomi_lcel dice:

    купить диплом в чебоксарах [url=https://rudik-diplom10.ru]купить диплом в чебоксарах[/url] .

  14. Diplomi_zkpn dice:

    купить диплом о средне специальном образовании реестр [url=https://www.frei-diplom5.ru]купить диплом о средне специальном образовании реестр[/url] .

  15. trustedpartnergroup.bond – Found useful resources here, might help our collaboration efforts soon.

Responder a Diplomi_zwMt Cancelar respuesta