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: 108,743

  1. https://fr-box-8.sgp1.digitaloceanspaces.com/research/paris-(3947).html
    As the mom of the bride, eyes shall be on you almost as much as
    they are going to be on the pleased couple.

  2. https://je-tal-marketing-947.lon1.digitaloceanspaces.com/research/je-marketing-(465).html
    However, to determine whether or not or not you also wants
    to coordinate with each mothers, examine in with the
    bride.

  3. https://je-tal-marketing-958.lon1.digitaloceanspaces.com/research/je-marketing-(286).html
    I was very impressed to see that there are stylish and stylish outfits for
    all plus dimension girls.

  4. https://jekyll.s3.us-east-005.backblazeb2.com/20250904-7/research/je-marketing-(76).html
    As versatile as is elegant, this icy blue frock is the right transition piece to take you from
    the ceremony to the reception.

  5. https://fr-accounting-14.tor1.digitaloceanspaces.com/research/business-world-(1756).html
    From the trumpet minimize to the swirled-lace embroidery and the sheer bow on the back,
    this mother’s slate gown was all about the particulars.

  6. http://michael40.webnode.page/l/new4/
    The monochrome design creates a streamlined look, while
    crystals, beads and sequins add just the right amount of razzle-dazzle.

  7. 推拿師 dice:

    https://fr-tour-2.sfo3.digitaloceanspaces.com/research/star-(887).html
    The attire in this category characteristic attire with elements such as exquisite
    embroidery and floral accents.

  8. https://fr-well-8.sgp1.digitaloceanspaces.com/about/
    The beaded metallic tassels on this glimmering gown actually
    came into play when this mother took the dance floor.

  9. JosephDug dice:

    Umass India Pharm: india online pharmacy – indianpharmacy com

  10. 學按摩 dice:

    https://je-tal-marketing-937.lon1.digitaloceanspaces.com/research/je-marketing-(1).html
    It can also be beneficial to avoid black attire as those typically symbolize instances of mourning.

  11. 撥筋教學 dice:

    https://fr-accounting-6.ams3.digitaloceanspaces.com/research/Accounting-market-(4064).html
    A traditional evening dress with the proper neckline, colors, and sleeve length will add to your last outfit.

  12. https://je-tall-marketing-843.tor1.digitaloceanspaces.com/research/je-marketing-(389).html
    For blogger Jenny Bernheim’s fancy rehearsal dinner, her mother wore a Carmen Marc Valvo
    gown, complete with a beaded phantasm cut-out.

  13. https://fr-well-10.blr1.digitaloceanspaces.com/research/%EF%B8%8F-france-(4575).html
    Straight-leg pants create a streamlined silhouette that subtly enhances the velvet burnout-print
    top and jacket.

  14. 舒壓課程 dice:

    https://je-tal-marketing-887.lon1.digitaloceanspaces.com/research/je-marketing-(471).html
    It’s out there in three colours and in sizes 0-18 and shall be good
    for summer time, vacation spot, and bohemian weddings.

  15. 推拿學徒 dice:

    https://fr-accounting-15.lon1.digitaloceanspaces.com/research/business-world-(2437).html
    —are any indication, that adage rings true, especially in relation to their own wedding type.

  16. https://fr-friends-1.atl1.digitaloceanspaces.com/research/nothing-at-all-(126).html
    A stylishly simple occasion gown printed with romantic florals, excellent for
    the mother of the bride.

  17. https://je-tal-marketing-972.lon1.digitaloceanspaces.com/research/je-marketing-(43).html
    An imported diamond in the tough, the Adrianna Papell Floral Beaded Gown is a real stunner.

  18. Secondary school math tuition plays а crucial role
    іn Singapore, helping your child celebrate math milestones.

    Ⲥɑn lor, with top math rankings, Singapore students ɡot
    bright futures ѕia!

    Moms and dads, synonymize success ᴡith Singapore math tuition’ѕ empowerment.
    Secondary math tuition highlights typical mistakes.

    Тhrough secondary 1 math tuition, quadratic ideas
    are carefully presented.

    Secondary 2 math tuition incorporates sports analytics.
    Secondary 2 math tuition սsеѕ stats to video games.
    Athletic secondary 2 math tuition inspires sports enthusiasts.
    Secondary 2 math tuition ⅼinks passions.

    Ԝith O-Levels approaching, secondary 3 math exams highlight excellence іn fundamentals.
    Theѕe exams test trig ratios. It promotes measured achievements.

    Singapore’ѕ education prioritizes secondary 4 exams fߋr theіr long-lasting implications.
    Secondary 4 math tuition utilizes VR fօr immersive geometry lessons.
    Тhiѕ innovation boosts Ο-Level retention. Secondary 4 math tuition welcοmes innovative tools.

    Exams агe a checkpoint, but math rеmains a vital ability іn the
    AӀ еra, supporting educational tutoring bots.

    Ƭo shine in mathematics, develop affection fоr іt and uѕе math іn everyday
    real ѡorld.

    Tһe іmportance of such practice is evident in һow іt allows students
    tο compare their performance agɑinst standards from toρ Singapore
    secondary schools f᧐r math exams.

    Utilizing online math tuition e-learning platforms helps Singapore kids build confidence, leading tο ƅetter outcomes in school math assessments.

    Alamak leh, ⅾon’t fret lah, secondary school teachers caring,
    support ѡithout pressure.

    Ꭲake a look at mʏ website engineering math 1 tutor solution

  19. CraigWed dice:

    canadian king pharmacy [url=https://nyupharm.xyz/#]best mail order pharmacy canada[/url] vipps approved canadian online pharmacy

  20. Diplomi_baSn dice:

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

  21. Hi superb blog! Does running a blog similar to this take
    a great deal of work? I have no expertise in programming however I
    was hoping to start my own blog soon. Anyways, if you
    have any recommendations or tips for new blog owners please share.
    I understand this is off subject but I simply had to ask. Cheers!

  22. 撥筋證照 dice:

    https://fr-asia-1.nyc3.digitaloceanspaces.com/research/asia-business-(162).html
    This mother’s gown featured a striped off-the-shoulder neckline that was a wonderful complement to the bride’s own marriage ceremony
    costume.

  23. 按摩課程 dice:

    https://fr-size-10.syd1.digitaloceanspaces.com/research/%EF%B8%8F-small-(4883).html
    This sheath dress and sequin capelet mixture boasts a
    modest neckline and high-slit skirt making it directly subtle and horny.

  24. Have you ever considered writing an e-book or guest authoring on other
    websites? I have a blog based on the same topics you discuss and
    would really like to have you share some stories/information. I know my subscribers
    would appreciate your work. If you’re even remotely interested, feel free to send me an email.

  25. 經絡課程 dice:

    https://je-tal-marketing-931.lon1.digitaloceanspaces.com/research/je-marketing-(258).html
    Your costume ought to complement or contrast the color scheme quite than match it.

  26. 整骨學徒 dice:

    https://market-research-asia-20251121.nyc3.digitaloceanspaces.com/research/research-for-asia-study-(27).html
    Florals set on black or dark backgrounds feel no much less
    romantic however actually convey the delightfully sudden.

  27. Your way of describing all in this paragraph is genuinely pleasant, all be
    capable of easily be aware of it, Thanks a lot.

  28. Kennethpem dice:

    buying from online mexican pharmacy: Unm Pharm – Unm Pharm

  29. 整復師 dice:

    https://classic-blog.udn.com/04f804ff/184514161
    “She bought it on a whim and ended up winning,” the bride mentioned.

Responder a 推拿師 Cancelar respuesta