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: 89,300

  1. https://fr-tour-10.syd1.digitaloceanspaces.com/research/star-(4729).html
    The column silhouette skims the determine whereas nonetheless offering loads of
    room to move.

  2. melbet_ahea dice:

    melbet statistici meci [url=https://melbet5015.ru/]https://melbet5015.ru/[/url]

  3. https://je-tal-marketing-962.lon1.digitaloceanspaces.com/research/je-marketing-(500).html
    Following these easy tips are certain to make the process go easily and effectively.

  4. 撥筋教學 dice:

    https://je-tal-marketing-948.lon1.digitaloceanspaces.com/research/je-marketing-(90).html
    Light, sunny, and normally full of flowers, they usually typically use pastel colours inspired by springtime blooms.

  5. 想第一时间吃平台红利,记得把TT123TikTok最新资讯加入收藏夹,政策变动流量趋势爆款案例每日更新。

  6. https://je-tal-marketing-950.lon1.digitaloceanspaces.com/research/je-marketing-(336).html
    The subsequent factor you need to think about when purchasing around for attire is the form of the gown.

  7. 撥筋課程 dice:

    https://fr-accounting-6.ams3.digitaloceanspaces.com/research/Accounting-market-(4176).html
    Saks is definitely one of the best department stores for buying
    a mother-of-the-bride gown.

  8. https://fr-well-10.blr1.digitaloceanspaces.com/research/%EF%B8%8F-france-(4936).html
    As a mom of a daughter who’s already married, the shopping for both her dress and
    mine was one of many highlights of the wedding
    planning.

  9. https://je-tal-marketing-965.lon1.digitaloceanspaces.com/research/je-marketing-(253).html
    The neckline of the dress will have an result on everything from the form of the costume to
    which areas of your body are highlighted.

  10. https://je-tal-marketing-961.lon1.digitaloceanspaces.com/research/je-marketing-(33).html
    This mom also wore Nigerian attire, and paired her lace wrap gown with a
    chartreuse gele.

  11. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-802/research/je-marketing-(453).html
    Saks is easily probably the greatest department shops
    for purchasing a mother-of-the-bride gown.

  12. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-809/research/je-marketing-(5).html
    As a mom of a daughter who’s already married, the purchasing
    for both her dress and mine was one of many highlights of
    the wedding planning.

  13. 下着 エッチnakikipintas siya at lalo pa manding masama ang canyangguinagawang pagpula; sacali’t ang pinipintasa’y ang mga mestizong insic mestizong siya nama’y nakikipintas,marahil sa pagca’tinaacala na niyang siya’y dalisay na “ibero”137: siya ang unaunangpumupuri sa lahat ng mga pagpapabuwis,

  14. https://fr-size-05.lon1.digitaloceanspaces.com/research/%EF%B8%8F-small-(2324).html
    Try to enrich your coloring whereas coordinating with the remainder of the bridal party to
    some extent.

  15. But he was very pale.アダルト フィギュア 無 修正Heseemed to be deliberating on some means of escape.

  16. https://fr-accounting-7.fra1.digitaloceanspaces.com/research/Accounting-market-(2921).html
    To encourage your mom’s personal choose, we have rounded up a group of
    robes that actual moms wore on the massive day.

  17. https://fr-box-9.blr1.digitaloceanspaces.com/research/paris-(4060).html
    The neckline of the costume will affect every
    thing from the form of the gown to which areas of your
    physique are highlighted.

  18. https://je-tal-marketing-953.lon1.digitaloceanspaces.com/research/je-marketing-(256).html
    For the redwood location, it will be great to put on one thing
    in pure colors like the 2 moss green outfits pictured.

  19. 按摩課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-794/research/je-marketing-(270).html
    You actually wish to take into consideration what is greatest
    for the season, and the climate you will be sitting in.

  20. Jessiemus dice:

    смотреть здесь [url=https://kru42.at]kraken ссылка[/url]

  21. https://marketing-research9.atl1.digitaloceanspaces.com/research/research-for-asia-study-(4213).html
    A gold and cream robe (paired with statement-making gold earrings) appeared great
    on this mom of the groom as she and her son swayed to Louis Armstrong’s “What a Wonderful World.”

  22. 銉┿儢銉夈兗銉?銈儕銉嬨兗“It’s a curious thing—-And then he saw the woman with the pistol.“Martha!”“My God!” she moaned.

  23. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-822/research/je-marketing-(316).html
    It has over 140 optimistic critiques, many from ladies who wore this to a marriage and beloved it!

  24. https://fr-world-2.sfo3.digitaloceanspaces.com/research/cake-(649).html
    For the mother who likes to look put collectively and trendy, a
    jumpsuit in slate grey is sure to wow.

  25. 推拿學徒 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-784/research/je-marketing-(389).html
    This glamorous robe in warm and wealthy gold enhances all skin tones and
    pairs fantastically with gold and silver accessories.

  26. мелбет бонусы при регистрации [url=https://www.melbetbonusy.ru]https://www.melbetbonusy.ru[/url] .

  27. OMT’s interactive tests gamify understanding, mаking
    mathematics addicting for Singapore pupils аnd motivating tһem
    tߋ press for outstanding test qualities.

    Dive іnto ѕelf-paced math proficiency with OMT’s 12-month e-learning courses, tоtаl with practice worksheets ɑnd taped
    sessions fօr comprehensive modification.

    In Singapore’ѕ rigorous education ѕystem,
    wһere mathematics іs required and tаkes іn around 1600 һours of curriculum tіme iin primary school and secondary schools, math tuition ends up being
    vital tօ help trainees build a strong structure fⲟr lߋng-lasting success.

    primary school tuition іs vital foг constructing resilience
    ɑgainst PSLE’s difficult concerns, ѕuch aѕ those on likelihood and easy
    statistics.

    Comprehensive feedback fгom tuition trainers on technique efforts helps secondary students gain frm
    blunders, boosting accuracy fоr tһe real O Levels.

    Ԍetting ready fοr the unpredictability οf A Level concerns, tuition develops flexible ρroblem-solving methods fоr real-timе examination scenarios.

    Ꭲhe distinctiveness of OMT сomes from іtѕ curriculum
    thɑt enhances MOE’ѕ via interdisciplinary ⅼinks, connecting math t᧐ scientific resеarch and
    daily analytical.

    Unrestricted access tⲟ worksheets suggests yyou practice սntil shiok,
    boosting уour mathematics confidence and grades in no time.

    Math tuition bridges spaces іn class understanding, mаking sսre students master complex principles vital fߋr leading examination efficiency
    іn Singapore’s strenuous MOE curriculum.

    Μy web site – math tuition singapore

  28. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-824/research/je-marketing-(165).html
    If chic and complex is what you’re going for, consider this sequined ensemble from Alex Evenings.

  29. Murl Larkin dice:

    Your blog is a breath of fresh air in the crowded online space. I appreciate the unique perspective you bring to every topic you cover. Keep up the fantastic work!

  30. PatrickFes dice:

    indian pharmacy online http://uclametformin.com/# Ucla Metformin

  31. 按摩課程 dice:

    https://fr-well-8.sgp1.digitaloceanspaces.com/research/%EF%B8%8F-france-(3764).html
    Available in 14 colors, you’re positive to find a robe that matches your daughter or son’s wedding
    theme.

  32. PatrickFes dice:

    buy prescription drugs from india http://bswfinasteride.com/# BSW Finasteride

  33. 撥筋課程 dice:

    https://je-tal-marketing-978.lon1.digitaloceanspaces.com/research/je-marketing-(156).html
    Read on for one of the best mom of the bride
    dresses for every season, physique kind, and price range.

  34. 整復學徒 dice:

    https://fr-asia-3.atl1.digitaloceanspaces.com/research/asia-business-(1119).html
    When looking for mother of the bride attire, firstly, contemplate the overall costume code on the
    invite.

  35. 撥筋課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-821/research/je-marketing-(179).html
    Its bateau neckline, three-quarter length sleeves, and full A-line skirt make
    it flattering, to boot.

Responder a 身體撥筋教學 Cancelar respuesta