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. Williamuncob dice:

    pharmacie en ligne fiable France: Viagra sans ordonnance avis – prix du Viagra générique en France

  2. ,t 1716, W it G5186 he,s 1692, f.初音 ミク ラブドール5197 wanthave 164152011 SN.

  3. Diplomi_ycsa dice:

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

  4. of course like your website however you need to take a look at
    the spelling on several of your posts. Many of them are
    rife with spelling problems and I to find it
    very troublesome to inform the truth nevertheless I’ll surely come again again.

  5. The broker provides traders with access to a wide range of
    binarium binarium login assets.
    this enhances individual flexibility based on individual trading strategies.

  6. 按摩課程 dice:

    https://je-tal-marketing-920.lon1.digitaloceanspaces.com/research/je-marketing-(239).html
    Dillards is a good place to verify out if
    you’re looking for something greater finish.

  7. 撥筋證照 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251014-1/research/%EF%B8%8Fje-marketing-(259).html
    Opt for non-creasing, moveable fabrics similar to scuba or lace, teamed with fashionable but sensible sneakers for that added touch of glamour.

  8. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-710/research/je-marketing-(353).html
    The fall colors are often earthy and on the darker side,
    but always ask your daughter what she has in thoughts.

  9. https://je-tal-marketing-897.lon1.digitaloceanspaces.com/research/je-marketing-(236).html
    A gown with jewels at the neckline alleviates the necessity for a necklace or loads of other extras.

  10. 整復師 dice:

    https://je-tal-marketing-929.lon1.digitaloceanspaces.com/research/je-marketing-(60).html
    It can be beneficial to avoid black dresses as these typically
    symbolize instances of mourning.

  11. https://je-tal-marketing-905.lon1.digitaloceanspaces.com/research/je-marketing-(81).html
    Spring mother of the bride attire are going to depend on how hot or cold your springs are.

  12. https://je-sf-tall-marketing-735.b-cdn.net/research/je-marketing-(238).html
    (I don’t think he will benefit from the journey of
    purchasing with me).

  13. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-744/research/je-marketing-(478).html
    If the marriage is outdoor or on the beach, then there’ll
    most likely be extra leeway relying on the temperature and setting.

  14. https://je-tal-marketing-892.lon1.digitaloceanspaces.com/research/je-marketing-(153).html
    On the opposite hand, If you are curvy or apple-shaped, versatile costume styles like a-line and empire waist will work wonders for
    you.

  15. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-707/research/je-marketing-(162).html
    At once effortless and refined, this beautifully draped robe is the proper hue
    for a fall marriage ceremony.

  16. https://e-tall-marketing-832.tor1.digitaloceanspaces.com/research/je-marketing-(213).html
    Weddings could additionally be very totally different proper now, relying
    on where you live.

  17. Diplomi_mxel dice:

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

  18. https://je-tal-marketing-919.lon1.digitaloceanspaces.com/research/je-marketing-(333).html
    For this romantic wedding ceremony at Brooklyn’s Wythe Hotel,
    the bride’s mother chosen a short-sleeved, full-length teal costume.

  19. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-716/research/je-marketing-(301).html
    When first starting to plan your mom of the bride outfit, look to the
    marriage location itself for inspiration.

  20. https://je-tall-marketing-830.syd1.digitaloceanspaces.com/research/je-marketing-(335).html
    Opt for non-creasing, moveable materials corresponding to
    scuba or lace, teamed with trendy but sensible sneakers for that added contact of glamour.

  21. основы технического перевода [url=www.dzen.ru/a/aPFFa3ZMdGVq1wVQ]www.dzen.ru/a/aPFFa3ZMdGVq1wVQ[/url] .

  22. 推拿師 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-722/research/je-marketing-(14).html
    Avoid flashy shades like brilliant pink, pink or yellow as the
    costume might stand out an extreme amount of.

  23. I am sure this paragraph has touched all the
    internet people, its really really good piece of writing on building up new
    webpage.

  24. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-718/research/je-marketing-(391).html
    The column silhouette skims the determine while nonetheless offering loads of
    room to move.

  25. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-793/research/je-marketing-(199).html
    For the mother whose style is glossy and minimal, go for a gown with an architectural silhouette in her favourite colour.

  26. 撥筋創業 dice:

    https://je-tal-marketing-899.lon1.digitaloceanspaces.com/research/je-marketing-(218).html
    From the floor-sweeping A-line skirt to the on-trend off-the-shoulder sleeves,
    there’s so much to love.

  27. топ сетевых компаний россии [url=http://www.reiting-seo-agentstv.ru]http://www.reiting-seo-agentstv.ru[/url] .

  28. 按摩學徒 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251013-4/research/je-marketing-(120).html
    Exude Mother of the Bride class in this lovely patterned robe from marriage ceremony
    visitor costume powerhouse Karen Millen.

  29. 整復師 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-736/research/je-marketing-(9).html
    Otherwise, photographs will appear off-balanced,
    and it may be misconstrued that one mother is making an attempt to outshine or
    outdo the other.

  30. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-723/research/je-marketing-(230).html
    This glamorous gown in warm and wealthy gold complements all skin tones and pairs superbly with
    gold and silver equipment.

  31. 學按摩 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-710/research/je-marketing-(201).html
    This hard-to-beat traditional style is seamless for moms of all
    ages to flaunt an beautiful fashion assertion on their daughter’s D-day.

  32. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-726/research/je-marketing-(19).html
    Think about jewellery, shoes and purses – all things that can help make your mother of the bride outfit unique.

  33. https://je-tal-marketing-917.lon1.digitaloceanspaces.com/research/je-marketing-(364).html
    It is customary to avoid carrying white on your children’s wedding ceremony
    day.

  34. 按摩教學 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-703/
    Even higher, it’s going to look great paired with heeled or flat sandals—whichever helps you feel your finest on the
    dance ground.

  35. top seo expert [url=https://top-10-seo-prodvizhenie.ru/]https://top-10-seo-prodvizhenie.ru/[/url] .

  36. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-701/research/je-marketing-(358).html
    But it’s important to examine in with the bride earlier than you make any decisions.

  37. https://je-tal-marketing-930.lon1.digitaloceanspaces.com/research/je-marketing-(9).html
    We’ve obtained all the advice and inspiration you want to find the proper mom-of-the-bride outfit.

  38. 撥筋教學 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-734/research/je-marketing-(361).html
    Your gown ought to complement or distinction the color scheme
    quite than match it.

  39. 推拿師 dice:

    https://je-tal-marketing-925.lon1.digitaloceanspaces.com/research/je-marketing-(418).html
    They have the stylish and simple mom of bride dresses obtainable through authenticated retailers or an official online retailer.

  40. gazing atthe left side of the road,ダッチワイフ 販売and without recognizing it he looked withadmiration at the very oak he sought.

  41. https://je-tal-marketing-910.lon1.digitaloceanspaces.com/research/je-marketing-(171).html
    For her daughter’s art-filled Washington, D.C., wedding, this mother
    of the bride , donned a quirky, multi-patterned Oscar de la Renta robe.

  42. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-726/research/je-marketing-(476).html
    You can purchase long sleeves, a protracted lace mother of the bride costume, or a beautiful ballgown with a boat
    neckline.

Agrega tu comenatio