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

  1. https://je-tal-marketing-926.lon1.digitaloceanspaces.com/research/je-marketing-(250).html
    The dress has flattering loose chiffon sleeves, a relaxed tie waist, and intricate beading work.

  2. JosephDug dice:

    canadian pharmacy no scripts: reputable canadian online pharmacies – reliable canadian pharmacy

  3. https://fr-size-4.tor1.digitaloceanspaces.com/research/%EF%B8%8F-small-(1844).html
    It has over a hundred and forty optimistic reviews, many from girls who wore this to a
    marriage and loved it!

  4. https://ameblo.jp/wendymoore3604/entry-12949055309.html
    Gone are the days when mothers of the bride had been expected to
    put on matronly attire in washed-out shades of pastels or beige.

  5. Hello, I enjoy reading all of your article. I like to write a little
    comment to support you.

  6. https://fr-kai-5.lon1.digitaloceanspaces.com/research/%EF%B8%8F-love-shot-(2172).html
    This mom additionally wore Nigerian apparel, and paired her lace wrap costume with a chartreuse gele.

  7. https://fr-box-7.fra1.digitaloceanspaces.com/research/paris-(3487).html
    Our Mother of the Bride Dresses assortment will fit
    any budget and magnificence and flatter any
    form or measurement.

  8. An EX4 to MQ4 decompiler is a specialized software tool designed
    to reverse the compilation process for programs used on the MetaTrader 4 (MT4)
    trading platform.
    https://medium.com/@b3007226/4-best-ex4-to-mq4-decompiler-service-tested-reviewed-aacbd16e562e

  9. Kennethpem dice:

    mexican drugstore online: Unm Pharm – Unm Pharm

  10. 整復師 dice:

    https://fr-asia-3.atl1.digitaloceanspaces.com/research/asia-business-(1029).html
    If you’re in a pinch, many e-commerce sites like Net-a-Porter or Nordstrom supply rush transport.

  11. pepek dice:

    Hello, I log on to your blog like every week. Your writing style is
    awesome, keep doing what you’re doing!

  12. https://fr-world-8.sgp1.digitaloceanspaces.com/research/cake-(3841).html
    The mom of the bride and mom of the groom often put
    on utterly completely different costume
    kinds and colors.

  13. https://fr-world-5.lon1.digitaloceanspaces.com/research/cake-(2307).html
    Shop gorgeous wedding ceremony clothes for the mother-of-the-bride
    in standard, plus and petite sizes at Adrianna Papell.

  14. JosephDug dice:

    Unm Pharm: Unm Pharm – Unm Pharm

  15. Kennethpem dice:

    online canadian pharmacy review: Nyu Pharm – pharmacy canadian superstore

  16. https://fr-seafood-3.sfo3.digitaloceanspaces.com/research/yearbook-(1293).html
    Even higher, it will look great paired with heeled or flat sandals—whichever helps you feel your
    best on the dance flooring.

  17. https://je-tal-marketing-962.lon1.digitaloceanspaces.com/research/je-marketing-(309).html
    One mom’s blush attire seemed stunning against these two brides’ romantic wedding ceremony attire.

  18. 推拿學徒 dice:

    https://je-tal-marketing-979.lon1.digitaloceanspaces.com/research/je-marketing-(16).html
    You may think it’s customary for the mother of the bride
    to wear an over-sized hat, however that’s merely not the case
    for 2022.

  19. 撥筋教學 dice:

    https://je-tal-marketing-885.lon1.digitaloceanspaces.com/research/je-marketing-(387).html
    In addition, many styles are available with matching jackets or shawls for ultimate versatility.

  20. 整骨學徒 dice:

    https://fr-seafood-7.blr1.digitaloceanspaces.com/research/yearbook-(3268).html
    For this romantic wedding ceremony at Brooklyn’s Wythe Hotel, the bride’s mom selected a short-sleeved, full-length teal costume.

  21. https://fr-korea-10.sfo3.digitaloceanspaces.com/research/beauty-(4596).html
    Clean strains and a shaped waist make this a timeless and elegant mother of the bride dress with a flattering silhouette.

  22. https://je-tal-marketing-966.lon1.digitaloceanspaces.com/research/je-marketing-(61).html
    Our Mother of the Bride Dresses features a huge assortment of formal robes and clothes that
    fit into any price range.

  23. Highly energetic blog, I liked that a lot. Will there be a
    part 2?

  24. 按摩教學 dice:

    https://fr-asia-8.sgp1.digitaloceanspaces.com/research/asia-business-(3539).html
    Her mother, Rita, opted for this champagne-hued gown that was equally as ethereal.

  25. https://fr-tour-1.nyc3.digitaloceanspaces.com/research/star-(285).html
    This mother’s robe featured a striped off-the-shoulder neckline that was
    an attractive complement to the bride’s own marriage ceremony gown.

  26. CraigWed dice:

    canadian pharmacy uk delivery [url=http://nyupharm.com/#]Nyu Pharm[/url] canadian drug pharmacy

  27. 推拿學徒 dice:

    https://je-tal-marketing-926.lon1.digitaloceanspaces.com/research/je-marketing-(242).html
    The bride’s mom clearly had the color palette in mind
    when she selected this jade lace costume.

  28. https://fr-seafood-9.ams3.digitaloceanspaces.com/research/yearbook-(4091).html
    We carry brands that excel in mother of the bride jacket attire, capes and pantsuits,
    like Alex Evenings, R&M Richards and Ignite.

  29. 撥筋教學 dice:

    https://fr-box-8.sgp1.digitaloceanspaces.com/research/paris-(3885).html
    Another floral possibility for you , but this time in a fit and flare type.

  30. Kennethpem dice:

    Unm Pharm: reputable mexican pharmacies online – reputable mexican pharmacies online

  31. https://je-tal-marketing-972.lon1.digitaloceanspaces.com/research/je-marketing-(131).html
    A neat shift gown that sits beneath the knee, a tailor-made jacket, and a few
    type of fussy fascinator or royal wedding-worthy hat.

  32. 學按摩 dice:

    https://fr-box-4.tor1.digitaloceanspaces.com/research/paris-(1978).html
    Matching your MOB gown is a fun way to present you attention to detail.

  33. 舒壓課程 dice:

    https://je-tal-marketing-974.lon1.digitaloceanspaces.com/research/je-marketing-(419).html
    Sort via our full number of dresses to search out your good slot in many colors and
    any dimension.

  34. 推拿學徒 dice:

    https://fr-size-9.blr1.digitaloceanspaces.com/research/%EF%B8%8F-small-(4097).html
    As the groom’s mother, you’ll want to let the mother of the bride take the lead
    during the costume purchasing course of.

  35. 學按摩 dice:

    https://portfolio-wmnxhkm.format.com/blog/467740
    But, if I could add some personal recommendation, ENJOY
    the journey and process of it.

  36. 撥筋證照 dice:

    https://fr-morning-5.lon1.digitaloceanspaces.com/research/goodnight-(2368).html
    For the redwood location, it would be nice to wear one
    thing in natural colours like the two moss green outfits pictured.

  37. 按摩課程 dice:

    https://fr-tour-7.fra1.digitaloceanspaces.com/research/star-(3071).html
    This brocade gown draws the eye to all the best places—from a hint of pores
    and skin on the shoulder to a ruched waist.

  38. Kennethpem dice:

    legit canadian pharmacy online: my canadian pharmacy reviews – drugs from canada

  39. https://je-tal-marketing-947.lon1.digitaloceanspaces.com/research/je-marketing-(228).html
    It can be used for any occasion, and the type of it is excellent for the mother of
    the bride.

  40. I’m not certain the place you’re getting your information, but great topic.
    I must spend a while learning more or working out
    more. Thanks for magnificent info I used to be on the
    lookout for this info for my mission.

  41. https://fr-seafood-9.ams3.digitaloceanspaces.com/research/yearbook-(4407).html
    One of the proudest and most anticipated days in a mother’s life is
    the day that her daughter or son will get married.

Responder a unicorn food rainbow glitter food & fashion hack anroid Cancelar respuesta