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: 73,028

  1. hgh long term side effects

    References:

    how much hgh should a man take (http://www.argfx1.com)

  2. пошив футболок на заказ [url=www.miniatelie.ru/]www.miniatelie.ru/[/url] .

  3. chrome下载 dice:

    Very well researched…. This deserves more attention online. 馃檪

  4. chrome下载 dice:

    Learned something new today!. The step-by-step guide was excellent.馃憤

  5. Духи от rasasi подойдут женщинам, https://rasasi-perfumes.ru/ которые хотят арабские нотки
    в ароматах и хотят романтичные образы.

  6. oxpmonztd dice:

    A rather unexpected variant, The Dog House Dice Show retains the core 5×3, 20-payline structure and mechanics of the original, including sticky multiplier wilds in free spins. The primary difference is aesthetic: the symbols are now dice faces featuring the familiar pups and other slot icons. This version seems targeted towards markets or players who appreciate dice-themed games, offering the proven Dog House gameplay in a new visual package. Its existence demonstrates Pragmatic Play’s willingness to cater to niche preferences within its successful franchises. Yes, The Dog House Megaways is fully optimized for mobile play at LeoVegas Casino. Players can enjoy this slot game on the award-winning LeoVegas mobile app, available for iOS and Android devices, or directly through a mobile browser, ensuring a seamless gaming experience on the go.
    https://veekayindustries.co.in/sugar-rush-by-pragmatic-play-canadian-casino-game-review/
    The Dog House Megaways is an excellent slot machine for those who enjoy an engaging theme, dynamic gameplay, and the potential for significant wins. With an already loyal following from the well-recognized first instalment of Dog House, the megaways version has a substantial headstart over its competitors. Your biggest wins will come from the multiplier wilds that are up for grabs that can reach 126x. The first slot offered only 6,760x your stake. The megaway version goes above that and hits you with a 12,305x max stake win. The Dog House Megaways offers a fun and entertaining visual experience. The game features bright, colorful graphics with a playful dog theme. The sound effects are equally engaging, with barking dogs and cheerful tunes that enhance the gameplay. It is also certified by socially responsible organisations, and you can use its generous offer to play. Australia real money casino online it makes sense to use slots as an outlet for these jackpots because theyre so popular, these include Steel.

  7. kcpeunlht dice:

    Wild Joker Casino 100 Free Spins Bonus 2025 The Dog House Muttley Crew will, without a doubt, do very well with fans of the The Dog House slots. In some ways, newcomers might get more out of The Dog House Royal Hunt than old hands since the gameplay hasn’t progressed much since the original. Main thrills are triggered by landing abundant wild multiplier symbols to knock out an augmented line win. What’s nice is that this effect may occur in the main game, keeping players busy while they attempt to trigger free spins. Like a cartoon dog in a top hat, sticky wilds are just what you want to see. In a slot, the more sticky wilds, the merrier since their multiplier values are additive when more than one participates in the same win, and with a max win of 8,000x the bet, they’re a forceful feature.
    http://steam.wiseman.cn/?p=16598
    The Dog House Megaways is a tasty game that uses features that are capable of attracting punters into the suburban house packed with cheerful dogs and plenty of cash. It’s all about the multiplier wilds and Megaways that can take you far in this game. The winning potential of this barking baby is 12,305x your wager. This amount gives the game the powers to blow its predecessor out of the water. This is the second Dog House installment and it’s the second most popular in the family. The original is still doing better than others. But the Megaways version isn’t far behind in our slot ratings. If you want to get a feel for the game before playing for real money, you can try the demo slot Dog House to experience its exciting features. So, if you aren’t familiar with the game, it’s probably the time to give it a few demo spins.

  8. вывод из запоя оренбург
    vivod-iz-zapoya-orenburg015.ru
    лечение запоя оренбург

  9. kaykpyreb dice:

    Players can also buy directly into the Free Spins Bonus for 100 times their bet per spin. The Dog House Megaways keeps the theme and wild-multiplier identity of the original The Dog House while transplanting it into a Megaways framework. Comparing it to a few related titles highlights how small mechanical differences translate into distinct session experiences. The graphics in The Dog House Megaways demo match perfectly the lighthearted dog theme. Cartoon-style icons populate the reels, with different home types, making up the higher-paying symbols. Each time you land a winning combination, the symbols explode in a cascade of fireworks and are replaced by new symbols falling in from above. To line up winning combinations, the first symbol must land on reel 1 with subsequent symbols running across reels 2, 3, 4, 5, and 6. For example, 4 symbols on reels 1-2-3-4 is a 4-symbol combination win. The star of the show in both the base game and free spins bonus is the ‘Dog House’ wild symbol located on reels 2, 3, 4, and 5. When this symbol helps complete a winning combination, it will dish out a random 2x or 3x multiplier.
    https://www.musicaybodas.es/sugar-rush-1000-review-canadian-perspective/
    The Dog House – Dog or Alive is a simple online slot machine to play. When you load the game, be sure to adjust the bet value that you’ll be paying per spin. As with all Pragmatic Play slot games, The Dog House – Dog or Alive defaults at a $2 per spin cost. The prices do range from a minimum play of $0.20 to a max bet of $240. When you have selected your amount, press the spin button to begin the game. We have done the legwork and scouted hundreds of casinos with The Dog House slot. Here’s our full list of Dog House casino sites for UK players. There’s no denying that the team of artists and designers at Playtech have gone above and beyond to create Dog House. This is a bright and breezy slot with a fun ethos, so most slots fans will enjoy spinning its reels – particularly given the potential prize payouts on offer. The dogs are cute and friendly – even the Rottweiler, and there’s an engaging soundtrack to add to the fun.

  10. オナドール?thought “Who the devil can tell? ve almost broken the lock,?answered “But how do you come to know me? ?“Why! The day before yesterday I beat you three times running atbilliards at Gambrinus ? ?“Oh! ?“So they are not at home? s queer.

  11. This article is truly a good one it helps new the web users, who
    are wishing for blogging.

  12. オナドールand here he has been pleased to make a protestagainst my smoking in his presence! He behaves like a cad himself,andjust look at him,

Responder a Juliusted Cancelar respuesta