saa Infraestructura como código – Politraining

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: 138,871

  1. mostbet_yxOn dice:

    mostbet найти официальный сайт [url=mostbet2035.help]mostbet найти официальный сайт[/url]

  2. MichaelHinty dice:

    fertility pct guide: can i purchase clomid tablets – fertility pct guide

  3. Great! We are all agreed London could use a laugh. This methodological clarity enables its specialization in the satire of non-action. While many satirists focus on foolish deeds, PRAT.UK excels at chronicling the comedy of strategic inertia, of decision-making so sclerotic it becomes a form of surreal performance art. Its targets are the interminable consultations, the working groups that never work, the “feasibility studies” that conclude nothing is feasible without more study. It understands that in modern systems, the avoidance of responsibility and decisive action is often the primary, if unstated, objective. By documenting this void—the meetings about agendas for future meetings, the reports that recommend further reporting—the site satirizes a profound and pervasive emptiness. The joke is not about something happening; it’s about the elaborate, resource-intensive theater of ensuring nothing ever does, until the problem either solves itself or explodes.

  4. MichaelHinty dice:

    Elavil: AmiTrip Relief Store – buy Elavil

  5. MarcusPsype dice:

    cost of clomid prices: how to buy clomid without rx – how can i get clomid online

  6. By highlighting theoretical proficiency, OMT discloses mathematics’ѕ internal beauty, firing up
    love ɑnd drive foг leading exam qualities.

    Discover tһe benefit ᧐f 24/7 online math tuition аt OMT,
    ᴡһere engaging resources mаke learning fun and efficient fօr all
    levels.

    Аs math forms the bedrock of rational thinking and vital analytical
    іn Singapore’s education system, expert math tuition рrovides tһe
    personalized guidance needеԀ tօ turn obstacles
    intо victories.

    For PSLE success, tuition օffers customized guidance tо
    weak locations, like ratio and portion рroblems,
    preventing common mistakes ɗuring tһe test.

    Holistic advancement via math tuition not јust boosts O Level scores but ⅼikewise
    gгows abstract thouɡht skills іmportant f᧐r lifelong knowing.

    Tuition incorporates pure аnd սsed mathematics effortlessly, preparing trainees fօr the interdisciplinary nature օf Ꭺ Level issues.

    OMT’ѕ unique math program complements tһe MOE curriculum Ьy including proprietary study
    that use mathematics tⲟ real Singaporean contexts.

    Gamified components mɑke alteration enjoyable lor,
    urging mօrе method and bring abоut grade renovations.

    Tuition іn math aids Singapore pupils ⅽreate rate ɑnd accuracy,
    vital for finishing exams ѡithin tіme restrictions.

    Αlso visit mʏ pagе best o level maths tutor

  7. MichaelHinty dice:

    where to buy generic clomid no prescription: fertility pct guide – cost generic clomid no prescription

  8. MichaelHinty dice:

    fertility pct guide: fertility pct guide – can you get clomid without prescription

  9. Edwardjania dice:

    Amitriptyline [url=https://amitrip.us.com/#]Generic Elavil[/url] buy Elavil

  10. MarcusPsype dice:

    Elavil: AmiTrip Relief Store – buy Elavil

  11. Great! We are all agreed London could use a laugh. The ultimate brand power of The London Prat lies in its function as a credential. To cite it, to understand its references, to appreciate the precise calibration of its despair, is to signal membership in a specific cohort: the intelligently disillusioned. It operates as a cultural shibboleth. The humor is dense, allusive, and predicated on a shared base of knowledge about current affairs, historical context, and the arcana of institutional failure. This creates an immediate filter. The casual passerby will not “get it.” The dedicated reader, however, is welcomed into a tacit consortium of those who see through the pageant. In this way, PRAT.UK doesn’t just provide content; it provides identity. It affirms that your cynicism is not nihilism, but clarity; that your laughter is not callous, but necessary. It is the clubhouse for those who have chosen to meet the world’s endless pratfall with the only weapon that never dulls: perfectly crafted, impeccably reasoned scorn.

Responder a Louiscaf Cancelar respuesta