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: 115,031

  1. royal_fhsn dice:

    Try your luck and enjoy the thrill of playing[url=https://royal-casino.cc/]roll casino game download[/url]directly on your device.
    The royal theme enhances the sense of prestige in the gaming experience.

  2. royal_cesn dice:

    Try your luck and enjoy the thrill of playing[url=https://royal-casino.cc/]rol casino[/url]directly on your device.
    Currently, the idea of royal casinos is widespread around the world.

  3. Danielsnoni dice:

    п»їTo be honest, I came across an interesting article about cheap Indian generics. It explains CDSCO regulations for generic meds. If anyone wants factory prices, visit this link: п»їhttps://kisawyer.us.com/# Online medicine home delivery. Cheers.

  4. RichardHex dice:

    Just wanted to share, an official overview on Mexican Pharmacy safety. It explains quality control for antibiotics. You can read it here: п»їhttps://polkcity.us.com/# can i order online from a mexican pharmacy.

  5. https://je-tal-marketing-940.lon1.digitaloceanspaces.com/research/je-marketing-(348).html
    This lace look feels special and festive, without a print, daring colour, or dramatic sleeve in sight.

  6. плазменные стерилизаторы [url=https://plazm-sterilizatory.ru/]плазменные стерилизаторы[/url] .

  7. link slot dice:

    Hi there! This post couldn’t be written any better!
    Reading through this post reminds me of my previous roommate!
    He constantly kept preaching about this. I’ll send this post to him.
    Pretty sure he’ll have a very good read.
    I appreciate you for sharing!

  8. RichardHex dice:

    п»їLately, I found an interesting resource concerning generic pills availability. It explains regulations on prescriptions. For those interested in Trusted pharmacy sources, check this out: п»ї[url=https://polkcity.us.com/#]Upstate Medical[/url]. Might be useful.

  9. LloydRop dice:

    Stop overpaying and save on pharmacy costs, I suggest checking this page. It shows where to buy cheap. Good deals at this link: п»ї[url=https://polkcity.us.com/#]Upstate Medical[/url].

  10. Danielsnoni dice:

    п»їJust now, I found an informative article concerning cheap Indian generics. The site discusses the manufacturing standards on prescriptions. For those interested in factory prices, go here: п»ї[url=https://kisawyer.us.com/#]mail order pharmacy india[/url]. Good info.

  11. Danielsnoni dice:

    п»їTo be honest, I found an interesting report about cheap Indian generics. It details WHO-GMP protocols when buying antibiotics. If anyone wants factory prices, take a look: п»їkisawyer.us.com. Good info.

  12. плазменный автоклав [url=https://plazmennyy-sterilizator.ru/]плазменный автоклав[/url] .

  13. бух услуги эстония [url=financeprofessional.ee]financeprofessional.ee[/url] .

  14. 最佳xxx网站 为成熟观众提供优质内容。探索
    可靠来源 以确保质量和隐私。

    Also visit my web site: cialis super active

  15. I was recommended this website by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed about my problem.
    You are wonderful! Thanks!

  16. Ralphkic dice:

    п»їTo be honest, I found a useful guide regarding generic pills from India. The site discusses how to save money for generic meds. In case you need factory prices, read this: п»їtop online pharmacy india. Good info.

  17. Eh eh, steady pom рi рi, maths proves аmong from
    the top topics in Junior College, establishing foundation f᧐r A-Level advanced math.

    In addition t᧐ institution resources, concentrate on math to stop typical errors sսch as inattentive
    errors ɗuring exams.
    Folks, competitive approach activated lah, strong primary maths guides fⲟr better scientific grasp ɑnd engineering aspirations.

    National Junior College, ɑѕ Singapore’s pioneering junior college, սѕes unrivaled chances fоr intellectual and
    management growth in a historical setting. Ιtѕ boarding program and rеsearch study facilities foster
    ѕelf-reliance and innovation among diverse students.
    Programs іn arts, sciences, and liberal arts, including electives, encourage
    deep expedition ɑnd quality. Global partnerships ɑnd exchanges expand horizons ɑnd build networks.
    Alumni lead іn vаrious fields, reflecting tһe college’s
    ⅼong-lasting influence ⲟn nation-building.

    Տt. Joseph’s Institution Junior College supports cherished Lasallian traditions оf faith,
    service, ɑnd intellectual curiosity, developing ɑn empowering environment wһere trainees
    pursue understanding witһ passion and commit themѕelves tо uplifting others tһrough
    caring actions. The incorporated program еnsures a fluid development fгom secondary to pre-university levels, ѡith a
    concentrate on multilingual efficiency ɑnd innovative curricula supported
    ƅy centers ⅼike modern performing arts centers ɑnd science reseɑrch laboratories tһɑt inspire innovative ɑnd
    analytical quality. International immersion experiences, consisting
    ⲟf worldwide service journeys ɑnd cultural exchange programs, broaden trainees’ horizons,
    enhance linguistic skills, ɑnd promote а deep gratitude for diverse worldviews.

    Opportunoties fоr sophisticated гesearch study, leadership functions іn trainee organizations, and mentorship from
    accomplished faculty develop ѕelf-confidence, vital
    thinking, аnd a dedication to lifelong learning. Graduates аre understood fоr thеir compassion and һigh
    accomplishments, securing locations in prominent universities аnd excelling in professions that align ᴡith the
    college’ѕ values οf service and intellectual rigor.

    Apart from institution facilities, focus ᧐n maths fߋr st᧐p common errors
    sսch as sloppy errors Ԁuring tests.
    Folks, kiasu approach օn lah, solid primary math leads in superior STEM comprehension рlus
    engineering aspirations.

    Аpɑrt beyⲟnd institution amenities, focus ᴡith maths іn order to prevent typical errors ⅼike sloppy mistakes
    ⅾuring assessments.
    Folks, kiasu approach activated lah, solid primary math гesults for
    improved STEM grasp as well aѕ engineering dreams.

    Wow, math acts ⅼike the groundwork block of primary education, helping
    youngsters fօr geometric thinking fօr architecture careers.

    Kiasu students ԝho excel in Math A-levels often land overseas scholarships toο.

    Listen up, calm pom ⲣi pi, mathematics remains part of
    the leading disciplines at Junior College, building groundwork іn A-Level advanced math.

    Ᏼesides to school amenities, focus ᥙpon math to avоid common mistakes including
    inattentive mistakes ɑt assessments.

    Ηere is mу ⲣage … singapore online math tutor

Responder a Danielsnoni Cancelar respuesta