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: 112,493

  1. 經絡課程 dice:

    https://fr-seafood-2.syd1.digitaloceanspaces.com/research/yearbook-(600).html
    This mom of the bride wore a white tunic and skirt for a boho-chic ensemble.

  2. 學按摩 dice:

    https://fr-friends-1.atl1.digitaloceanspaces.com/research/nothing-at-all-(43).html
    You can match elegant strapless robes with objects such as
    a jacket or shawl.

  3. https://fr-kai-4.tor1.digitaloceanspaces.com/research/%EF%B8%8F-love-shot-(1746).html
    There is no set do’s and don’ts in relation to colour,
    only to keep away from white.

  4. bk888 dice:

    We stumbled over here from a different web page and thought I may as well check things out.

    I like what I see so now i’m following you. Look forward to finding out
    about your web page for a second time.

  5. https://marketing-research9.atl1.digitaloceanspaces.com/research/research-for-asia-study-(4413).html
    So, if your youngsters are hosting a black tie affair, ensure to put on a floor-length gown—preferably in a impartial tone .

  6. 1win-xjc.top dice:

    1win официальный сайт, 1win официальный сайт предлагает богатый выбор игр для пользователей.

    Stop by my website :: 1win-xjc.top

  7. 撥筋證照 dice:

    https://fr-accounting-19.blr1.digitaloceanspaces.com/research/business-world-(3561).html
    The website’s refined robes make for wonderful night wear that’ll serve you lengthy after the wedding day.

  8. CraigWed dice:

    Umass India Pharm [url=http://umassindiapharm.com/#]online shopping pharmacy india[/url] п»їlegitimate online pharmacies india

  9. 按摩學徒 dice:

    https://fr-asia-3.atl1.digitaloceanspaces.com/research/asia-business-(1135).html
    This consists of most variations of white, corresponding to ivory and champagne.

  10. https://je-tal-marketing-939.lon1.digitaloceanspaces.com/research/je-marketing-(350).html
    The beaded detailing elevates this JS Collections dress
    , making it perfect for an necessary day.

  11. Diplomi_giSn dice:

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

  12. https://fr-friends-8.fra1.digitaloceanspaces.com/research/nothing-at-all-(3716).html
    So, in case your youngsters are internet hosting a black tie affair, make sure to wear a floor-length gown—preferably in a neutral tone
    .

  13. 按摩學徒 dice:

    https://fr-korea-10.sfo3.digitaloceanspaces.com/research/beauty-(4946).html
    Follow the styling lead and pair yours with silver sandals and a berry lip.

  14. https://je-tal-marketing-913.lon1.digitaloceanspaces.com/research/je-marketing-(443).html
    Talk to your daughter concerning the aesthetic she envisions
    for her wedding to help slim down your choices.

  15. https://fr-friends-6.sgp1.digitaloceanspaces.com/research/nothing-at-all-(2952).html
    A structured gown will all the time be flattering, especially one that nips you at the waist
    like this stylish frock from Amsale.

  16. CraigWed dice:

    buy neurontin in mexico [url=http://unmpharm.com/#]Unm Pharm[/url] Unm Pharm

  17. Please let me know if you’re looking for a author for your blog.
    You have some really good articles and I feel I would be a good asset.
    If you ever want to take some of the load off, I’d absolutely love to write
    some material for your blog in exchange for a link back to mine.
    Please shoot me an e-mail if interested. Thank you!

  18. I personally find that the best choice I made for checking analytics. Smooth and robust security.

  19. Cazrbft dice:

    Заказать диплом о высшем образовании можем помочь. Купить диплом магистра в Перми – [url=http://diplomybox.com/kupit-diplom-magistra-v-permi/]diplomybox.com/kupit-diplom-magistra-v-permi[/url]

  20. https://classic-blog.udn.com/f380732d/184469736
    We’re in love with the muted florals on this romantic mother-of-the-bride gown.

  21. 經絡課程 dice:

    https://fr-morning-9.ams3.digitaloceanspaces.com/research/goodnight-(4053).html
    You will wish to discover one thing that works in both
    hot and cold, or find one thing to maintain you warm
    to go over it.

  22. https://fr-box-4.tor1.digitaloceanspaces.com/research/paris-(1921).html
    There are plenty of choices available for plus measurement mom of the
    bride attire.

  23. https://je-tal-marketing-965.lon1.digitaloceanspaces.com/research/je-marketing-(274).html
    Speak to your daughter in regards to the feel of the wedding day;
    is it a black tie affair?

  24. 撥筋課程 dice:

    https://je-tal-marketing-922.lon1.digitaloceanspaces.com/research/je-marketing-(28).html
    With choices in any neckline or silhouette, seem like A line, strapless,
    Taffeta, organza, and lace.

  25. https://fr-seafood-4.tor1.digitaloceanspaces.com/research/yearbook-(1769).html
    The sleek silk materials glides seamlessly over your determine,
    however an ankle-length skirt, high neckline and draped sleeves hold
    things modest.

  26. https://fr-cabinet-3.sfo3.digitaloceanspaces.com/research/Stuck-in-paris-(1202).html
    Plus, a blouson sleeve and a ruched neckline add to this silhouette’s romantic vibe.

  27. math tuition dice:

    OMT’s supportive feedback loops motivate development mindset,
    aiding trainees adore mathematics ɑnd feel motivated fߋr exams.

    Enlist tοday in OMT’s standalone e-learning programs ɑnd ѕee үour
    grades soar throᥙgh unrestricted access to top quality, syllabus-aligned material.

    Ꭲhe holistic Singapore Math method, whiⅽһ constructs
    multilayered analytical capabilities, underscores ᴡhy math
    tuition іs vital for mastering the curriculum and preparing for future careers.

    Tuition highlights heuristic рroblem-solving methods, crucial fߋr tаking
    on PSLE’s challenging ԝord issues tһat neeⅾ multiple actions.

    Ⅾetermining and fixing certain weak points, like in probability oг coordinate geometry, mаkes
    secondary tuition essential fоr O Level excellence.

    Vіa regular simulated examinations аnd thοrough comments, tuition assists junior university student recognize аnd
    deal with weaknesses prior t᧐ the real A Levels.

    Unique fгom օthers, OMT’s syllabus enhances MOE’s throսgh a concentrate օn resilience-building workouts, helping students
    tɑke ߋn challenging рroblems.

    With 24/7 access tо video clip lessons, уou саn capture ᥙp on difficult subjects anytime leh, aiding үou score mսch Ьetter in tests witһоut anxiety.

    Math tuition cultivates determination, helping Singapore students tаke on marathon examination sessions
    ѡith continual focus.

  28. 整復學徒 dice:

    https://fr-morning-4.tor1.digitaloceanspaces.com/research/goodnight-(1950).html
    A red lace Erdem dress, embroidered with pink and crimson blooms, paired completely with this trendy
    mom’s half-up, half-down coiffure.

  29. 按摩教學 dice:

    https://fr-tour-1.nyc3.digitaloceanspaces.com/research/star-(152).html
    Mother of the Bride and Groom dresses within the newest
    styles and colors.

  30. hu88.com dice:

    Excellent post! We will be linking to this particularly great post on our site.
    Keep up the great writing.

  31. https://fr-kai-9.ams3.digitaloceanspaces.com/research/%EF%B8%8F-love-shot-(4084).html
    The beaded detailing elevates this JS Collections dress , making it ideal for a
    particular occasion.

  32. https://www.cateringking.com.tw/news/2025/11/06/boginhall-42-2/
    Shop beautiful wedding ceremony dresses for the mother-of-the-bride in normal, plus and
    petite sizes at Adrianna Papell.

  33. https://fr-kai-6.sgp1.digitaloceanspaces.com/research/%EF%B8%8F-love-shot-(2859).html
    As the groom’s mom, you’ll need to let the mom of the bride take the lead in the course of the costume buying process.

  34. 按摩教學 dice:

    https://fr-size-10.syd1.digitaloceanspaces.com/research/%EF%B8%8F-small-(4653).html
    From the trumpet minimize to the swirled-lace embroidery and the sheer bow at the back, this mom’s slate gown was all in regards
    to the details.

  35. https://fr-morning-7.blr1.digitaloceanspaces.com/research/goodnight-(3115).html
    They have the chic and easy mother of bride clothes out there by way
    of authenticated retailers or an official
    online retailer.

  36. 整復學徒 dice:

    https://fr-tour-6.ams3.digitaloceanspaces.com/research/star-(2827).html
    Otherwise, photographs will appear off-balanced, and it may
    be misconstrued that one mom is making an attempt to outshine or outdo the other.

  37. JosephDug dice:

    global pharmacy canada: canada rx pharmacy – canadianpharmacy com

  38. 推拿師 dice:

    https://fr-cabinet-7.blr1.digitaloceanspaces.com/research/Stuck-in-paris-(3439).html
    You actually need to think about what is finest for the season, and the weather
    you may be sitting in.

Responder a 整復學徒 Cancelar respuesta