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,801

  1. Kennethpem dice:

    medication from mexico pharmacy: buying from online mexican pharmacy – Unm Pharm

  2. 推拿學徒 dice:

    https://je-tal-marketing-983.lon1.digitaloceanspaces.com/research/je-marketing-(144).html
    The knotted front element creates a faux wrap silhouette accentuating the waist.

  3. 推拿學徒 dice:

    https://fr-well-7.fra1.digitaloceanspaces.com/research/%EF%B8%8F-france-(3427).html
    Everyone is aware of you are the bride, so don’t be concerned
    about your mom sporting white or a full skirt alongside
    you.

  4. 整復師 dice:

    https://ameblo.jp/carlaklein8819/entry-12949607908.html
    The course of of choosing apparel for the mother of the groom and mother of
    the bride may be very related.

  5. Diplomi_wlPr dice:

    диплом строительного колледжа купить [url=http://r-diploma13.ru]http://r-diploma13.ru[/url] .

  6. JosephDug dice:

    india pharmacy mail order: indian pharmacy online – online pharmacy india

  7. Diplomi_sgSn dice:

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

  8. 整骨學徒 dice:

    https://fr-morning-9.ams3.digitaloceanspaces.com/research/goodnight-(4074).html
    You may think it’s customary for the mother of the bride to put on an over-sized hat, however that’s simply
    not the case for 2022.

  9. https://fr-well-2.sfo3.digitaloceanspaces.com/research/%EF%B8%8F-france-(973).html
    Of course, there’s extra to your mom’s dress than just the gorgeous details.

  10. 撥筋教學 dice:

    https://fr-asia-10.syd1.digitaloceanspaces.com/research/asia-business-(4813).html
    We’ve received all the recommendation and inspiration you have to
    find the right mom-of-the-bride outfit.

  11. 推拿學徒 dice:

    https://fr-asia-6.ams3.digitaloceanspaces.com/research/asia-business-(2787).html
    The best mother of the bride clothes fill you with confidence on the day and are comfortable enough to wear
    all day and into the night.

  12. https://fr-world-9.blr1.digitaloceanspaces.com/research/cake-(4452).html
    The website’s subtle robes make for excellent
    night wear that’ll serve you long after the marriage day.

  13. Nieuwste adult websites brengen innovatieve inhoud voor volwassen entertainment.
    Ontdek betrouwbare frisse sites voor een moderne ervaring.

    Here is my web-site; BUY XANAX WITHOUT PRESCRITION

  14. CraigWed dice:

    gabapentin mexican pharmacy [url=http://unmpharm.com/#]Unm Pharm[/url] Unm Pharm

  15. Today, while I was at work, my cousin stole my apple ipad
    and tested to see if it can survive a twenty five foot drop, just
    so she can be a youtube sensation. My apple ipad is now broken and
    she has 83 views. I know this is totally off topic but I had to share it with someone!

  16. https://jekyll.s3.us-east-005.backblazeb2.com/20250904-5/research/je-marketing-(498).html
    This mom’s knee-length patterned costume perfectly matched
    the temper of her kid’s outside wedding ceremony venue.

  17. ShermanHok dice:

    В последние недели в городе наблюдается значительное увеличение числа туристов, что положительно сказывается на местной экономике. Гостиницы и рестораны отмечают рост посещений и увеличение прибыли. Местные власти работают над улучшением инфраструктуры, чтобы обеспечить комфорт приезжающим гостям.
    [url=https://priemmetalla247.ru/141124/novosti-vasilenko-roman-poslednie-novosti/]гей порно геей[/url]
    Экологические инициативы также получили развитие: начаты работы по очистке рек и озеленению городских скверов. Это стало ответом на обеспокоенность жителей состоянием окружающей среды. В рамках программы запланировано высадить более 500 деревьев и установить дополнительные мусорные контейнеры.
    [url=https://meggido.ru/hermes-management-ltd-hermes-ltd-com-investicionnaja-kompanija-ili-razvod/]анальный секс первые[/url]
    Образовательные учреждения города внедряют новые программы обучения с использованием современных технологий. В школах и колледжах активно развивается дистанционное обучение и цифровая грамотность студентов. Это помогает подготовить молодёжь к вызовам современного мира.
    [url=https://otvet.mail.ru/question/194417008]жесткий анальный секс[/url]
    В сфере культуры запланированы масштабные мероприятия: фестивали, выставки и концерты. Организаторы обещают насыщенную программу для всех возрастных групп. Местные художники и музыканты получат возможность показать свои произведения широкой аудитории, что способствует развитию культурной жизни региона.

    порно жесток бесплатно
    https://allll.net/wiki/%D0%A0%D0%BE%D0%BC%D0%B0%D0%BD_%D0%92%D0%B8%D0%BA%D1%82%D0%BE%D1%80%D0%BE%D0%B2%D0%B8%D1%87_%D0%92%D0%B0%D1%81%D0%B8%D0%BB%D0%B5%D0%BD%D0%BA%D0%BE

  18. 撥筋課程 dice:

    https://fr-kai-7.blr1.digitaloceanspaces.com/research/%EF%B8%8F-love-shot-(3384).html
    MISSMAY creates lovely vintage type dresses that can be worn over and over again in virtually any setting.

  19. https://fr-tour-6.ams3.digitaloceanspaces.com/research/star-(2709).html
    This fashion is completed with quick sleeves and a below the knee hem, and has
    a hid centre again zip fastening.

  20. 撥筋證照 dice:

    https://je-tal-marketing-966.lon1.digitaloceanspaces.com/research/je-marketing-(200).html
    Sort by way of our full number of attire
    to search out your good slot in many colours and any measurement.

  21. https://fr-morning-8.fra1.digitaloceanspaces.com/research/goodnight-(3768).html
    Impressive beading and an alluring neckline make this style worthy of even the fanciest of black-tie weddings.

  22. DelmarerypE dice:

    https://nyupharm.com/# canadian pharmacy 24 com

  23. Kennethpem dice:

    Unm Pharm: medication from mexico pharmacy – medication from mexico pharmacy

  24. sandibet dice:

    Good day! I know this is somewhat off topic but I was wondering if you
    knew where I could get a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having problems finding one?
    Thanks a lot!

  25. https://fr-friends-4.tor1.digitaloceanspaces.com/research/nothing-at-all-(1975).html
    The subtle scoop neck and sheer lace sleeves are just a few of
    the things we love about this A-line gown.

  26. https://je-tal-marketing-910.lon1.digitaloceanspaces.com/research/je-marketing-(424).html
    She loves an excuse to try on a veil, has a minor obsession with flower crowns, and
    enjoys nothing greater than curating a killer party playlist.

  27. Diplomi_ftSn dice:

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

  28. https://fr-world-8.sgp1.digitaloceanspaces.com/research/cake-(3637).html
    The straight hemline on the bottom falls simply above the ankles and the sleeves stop right
    after the elbows.

  29. https://fr-kai-3.sfo3.digitaloceanspaces.com/research/%EF%B8%8F-love-shot-(1095).html
    Another can’t-miss palettes for mother of the bride or mom of the groom dresses?

  30. CraigWed dice:

    sildenafil mexico online [url=https://unmpharm.xyz/#]Unm Pharm[/url] п»їmexican pharmacy

  31. 撥筋證照 dice:

    https://fr-morning-10.nyc3.digitaloceanspaces.com/research/goodnight-(4797).html
    So earlier than I even go into detail mom of the bride outfit ideas,
    I wish to emphasize one necessary thing.

  32. https://je-tal-marketing-969.lon1.digitaloceanspaces.com/research/je-marketing-(117).html
    This mother’s robe featured a striped off-the-shoulder neckline that was an attractive complement to
    the bride’s personal marriage ceremony gown.

  33. https://je-tal-marketing-919.lon1.digitaloceanspaces.com/research/je-marketing-(266).html
    —are any indication, that adage rings true, particularly in relation to
    their very own wedding type.

  34. Very good website you have here but I was curious if you knew of
    any message boards that cover the same topics discussed here?
    I’d really like to be a part of online community where I can get suggestions
    from other experienced individuals that share the same interest.
    If you have any recommendations, please let me know.
    Thank you!

  35. https://fr-well-2.sfo3.digitaloceanspaces.com/research/%EF%B8%8F-france-(772).html
    Wear yours with a strappy block heel–a fashionable and practical solution for an out of doors wedding.

  36. 舒壓課程 dice:

    https://fr-size-8.sgp1.digitaloceanspaces.com/research/%EF%B8%8F-small-(3978).html
    Do you prefer to wear gentle and airy colors or do you gravitate towards darker shades?

  37. hz88 dice:

    Hi it’s me, I am also visiting this website on a regular basis,
    this web page is in fact fastidious and the people are
    genuinely sharing fastidious thoughts.

Responder a www.google.gg Cancelar respuesta