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: 59,764

  1. 經絡課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-747/research/je-marketing-(280).html
    This glamorous gown in heat and rich gold enhances all pores and skin tones and pairs beautifully with
    gold and silver equipment.

  2. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-742/research/je-marketing-(378).html
    Look for dresses in champagne, navy and even black (yes, it is totally modern to wear black to a wedding!) for a refined
    colour palette.

  3. https://je-tal-marketing-923.lon1.digitaloceanspaces.com/research/je-marketing-(191).html
    Impressive beading and an alluring neckline make this style worthy of even the
    fanciest of black-tie weddings.

  4. 按摩教學 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-786/research/je-marketing-(74).html
    For a mom, watching your daughter walk down the aisle and marry the
    love of her life is an unforgettable second.

  5. 撥筋課程 dice:

    https://je-sf-tall-marketing-729.b-cdn.net/research/je-marketing-(2).html
    But it’s important to verify in with the bride before you make any selections.

  6. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-722/research/je-marketing-(176).html
    Not positive which color will work to greatest coordinate the mothers
    of the bride and groom with the relaxation of the bridal party?

  7. WendellloB dice:

    The Supreme Court agreed Monday to decide if the federal government may bar certain drug users from owning guns or if the law violates the Second Amendment, taking up a second significant guns case of its current term.
    [url=https://kra-42-at.net]kra42[/url]
    The appeal represents a rare circumstance in which the Trump administration is defending a gun prohibition, which it described in briefing at the Supreme Court as a “narrow” limitation on one of “Americans’ most cherished freedoms.”
    [url=https://kra–42–cc.ru]kra42[/url]
    The case centers on Ali Danial Hemani, a dual citizen of the United States and Pakistan, who was indicted in 2023 on a single count of violating the guns-and-drugs law after the FBI found a 9mm pistol, 60 grams of marijuana, and 4.7 grams of cocaine at his family home. This prosecution, the government told the high court, rested Hemani’s habitual use of marijuana.

    The court will likely hear arguments in the Hemani case next year and hand down a decision by the end of June.
    kra42 cc
    https://kra-42-at.com
    A federal district court dismissed the charge, noting a landmark decision from the Supreme Court in 2022 that made it easier for Americans to carry handguns in public and also required similar gun prohibitions to have a connection to history.

    But just how closely analogous prosecutors must come to a historic law has been a matter of debate. Last year, for instance, the Supreme Court upheld a federal law that bars guns for Americans who are the subject of certain domestic abuse restraining orders, rejecting an argument pressed by gun rights groups that the prohibition violated the Second Amendment.

    The conservative 5th US Circuit Court of Appeals upheld that decision, holding in a brief decision that the historical record points only to laws that barred guns for Americans who are actively intoxicated or under the influence of drugs at the time of their arrest. The government, the court ruled, could not target habitual users.

    The Trump administration appealed that decision.

  8. AnthonyCen dice:

    Viagra generic price comparison: Blue Peak Meds – difference between Viagra and generic Sildenafil

  9. https://je-tal-marketing-925.lon1.digitaloceanspaces.com/research/je-marketing-(420).html
    Gone are the days when mothers of the bride were anticipated to wear matronly clothes in washed-out
    shades of pastels or beige.

  10. https://je-sf-tall-marketing-738.b-cdn.net/research/je-marketing-(452).html
    If you’re a Nordstrom common, you will be pleased to know the beloved retailer has an intensive collection of mother-of-the-bride dresses.

  11. 整復學徒 dice:

    https://je-tal-marketing-900.lon1.digitaloceanspaces.com/research/je-marketing-(20).html
    As a mom of a daughter who’s already married, the looking
    for both her costume and mine was one of many highlights of the marriage planning.

  12. 撥筋課程 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251015-1/research/je-marketing-(310).html
    With a gentle fit at the hips, this gown is designed to flatter you in all the proper places.

  13. seo продвижение сайта цена в москве [url=http://seo-prodvizhenie-reiting-kompanij.ru]seo продвижение сайта цена в москве[/url] .

  14. 經絡課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-708/research/je-marketing-(141).html
    The entire assortment is crafted with quality materials for
    weddings or another special occasion!

  15. 整復學徒 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-744/research/je-marketing-(292).html
    This brocade robe draws the attention to all the right places—from a touch of pores and skin on the shoulder to a ruched waist.

  16. I am truly delighted to glance at this weblog posts which includes lots of valuable information, thanks
    for providing these data.

  17. перевод медицинских терминов [url=https://teletype.in/@alexd78/HN462R01hzy]https://teletype.in/@alexd78/HN462R01hzy[/url] .

  18. 整骨學徒 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-825/research/je-marketing-(113).html
    The entire look was the perfect match for the couple’s tradition-filled day.

  19. https://je-tal-marketing-893.lon1.digitaloceanspaces.com/research/je-marketing-(423).html
    This surprisingly affordable mother-of-the-bride costume is ideal
    for a proper fall or winter wedding ceremony.

  20. https://je-sf-tall-marketing-730.b-cdn.net/research/je-marketing-(384).html
    A twinset can have a “fuddy duddy” reputation, nevertheless it positively
    doesn’t need to look quaint.

  21. https://je–marketing-834.lon1.digitaloceanspaces.com/research/je-marketing-(416).html
    This glamorous gown in warm and wealthy gold enhances all pores
    and skin tones and pairs fantastically with gold and silver equipment.

  22. https://je-tall-marketing-829.sgp1.digitaloceanspaces.com/research/je-marketing-(455).html
    The giant florals with the black background are significantly
    on development and the ruching adds a flattering factor.

  23. Diplomi_dosa dice:

    купить диплом с занесением в реестр в иркутске [url=http://frei-diplom1.ru]купить диплом с занесением в реестр в иркутске[/url] .

  24. ranking seo [url=www.reiting-seo-agentstv.ru/]ranking seo[/url] .

  25. https://je-sf-tall-marketing-729.b-cdn.net/research/je-marketing-(265).html
    Of course, there’s extra to your mom’s costume than simply the
    beautiful particulars.

  26. 撥筋課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-702/research/je-marketing-(310).html
    Spring and summer season weddings call for gentle tones,
    floral motifs, and a romantic flair.

  27. Charlesfrita dice:

    how generic Viagra works in the body [url=https://bluepeakmeds.com/#]cheapest viagra[/url] Blue Peak Meds

  28. 整復學徒 dice:

    https://je-tal-marketing-908.lon1.digitaloceanspaces.com/research/je-marketing-(273).html
    Beading in tones of blue, gray, and silver add dimension and sophisticated
    sparkle to this flattering mesh column gown.

  29. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-747/research/je-marketing-(98).html
    Think about the colors you’re feeling greatest in and the kinds of outfits that make you shine.

  30. 推拿師 dice:

    https://je-tal-marketing-922.lon1.digitaloceanspaces.com/research/je-marketing-(285).html
    You should go for some bright colors, or in case your daughter has a shade picked out for you then go with
    that.

  31. 按摩教學 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-795/research/je-marketing-(463).html
    Before you start your search (around the six- to eight-month mark), brush up on mother-of-the-bride attire etiquette.

  32. 整復師 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-799/research/je-marketing-(258).html
    If stylish and sophisticated is what you are going for, consider this sequined ensemble
    from Alex Evenings.

  33. 推拿學徒 dice:

    https://je-sf-tall-marketing-733.b-cdn.net/research/je-marketing-(139).html
    The mother of the bride dress gallery has a costume for every budget and each body kind
    including plus sizes.

  34. 推拿學徒 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-781/research/je-marketing-(462).html
    You will wish to discover something that works in both cold
    and warm, or find something to keep you heat to go over it.

  35. Diplomi_tiel dice:

    как купить диплом о высшем образовании с занесением в реестр [url=https://www.frei-diplom2.ru]как купить диплом о высшем образовании с занесением в реестр[/url] .

  36. 舒壓課程 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251014-6/research/je-marketing-(208).html
    While you don’t need to seem like a bridesmaid
    , it’s savvy to tie in your look with the texture and
    colour palette of the wedding.

  37. https://je-tal-marketing-900.lon1.digitaloceanspaces.com/research/je-marketing-(87).html
    The fall colours are often earthy and on the darker facet, however always ask your daughter what she has in mind.

  38. 按摩課程 dice:

    https://je-tall-marketing-825.fra1.digitaloceanspaces.com/research/je-marketing-(68).html
    MOB etiquettes say if black flatters you, all–black could be your
    go-to mom of the bride or mom of the groom on the lookout for the special day.

  39. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-706/research/je-marketing-(92).html
    But for others, it’s restrictive, it feels too
    formal, and often, it finally ends up being quite expensive too.

  40. https://jekyll.s3.us-east-005.backblazeb2.com/20251014-9/research/je-marketing-(350).html
    Spring and summer weddings call for soft tones, floral motifs,
    and a romantic flair.

  41. mahjong dice:

    wonderful issues altogether, you just gained a new reader.
    What would you recommend about your submit that you simply
    made some days ago? Any sure?

Responder a 經絡按摩課程 Cancelar respuesta