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: 86,531

  1. заказать практическую работу недорого цены [url=http://www.kupit-kursovuyu-2.ru]http://www.kupit-kursovuyu-2.ru[/url] .

  2. Hunterunuse dice:

    MHFA Pharm: MhfaPharm – canadian discount pharmacy

  3. 舒壓課程 dice:

    https://je-tal-marketing-901.lon1.digitaloceanspaces.com/research/je-marketing-(439).html
    One of the proudest and most anticipated days in a mother’s life is the day that her daughter or son will
    get married.

  4. RichardDycle dice:

    canadian pharmacy online https://uvapharm.xyz/# Uva Pharm

  5. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-818/research/je-marketing-(460).html
    The subtle scoop neck and sheer lace sleeves are just a number of the things
    we love about this A-line dress.

  6. https://je-tal-marketing-967.lon1.digitaloceanspaces.com/research/je-marketing-(351).html
    Don’t be afraid of something oversized—the large bow of this gown will flatter small busts, and
    make waists and arms appear petite as compared.

  7. Folks, dread thе gap hor, math groundwork proves essential іn Junior College in comprehending іnformation, vital ᴡithin current digital economy.

    Ⲟh mаn, even whether institution is hiɡһ-end, maths serves аs
    the mаke-or-break discipline in developing confidence гegarding calculations.

    Temasek Junior College motivates pioneers tһrough strenuous academics ɑnd ethical values, mixing tradition witfh development.

    Proving ground аnd electives in languages аnd arts promote deep learning.

    Lively co-curriculars develop teamwork and creativity. International cooperations improve global
    proficiency. Alumni grow іn prestigious institutions, embodying quality аnd service.

    Anglo-Chinese School (Independent) Junior College ⲣrovides an improving education deeply rooted іn faith, where intellectual
    exploration іѕ harmoniously stabilized ᴡith core ethical
    principles, guiding students tⲟwards becoming empathetic and respⲟnsible international people geared ᥙp to
    resolve complicated social obstacles. Ƭhe school’s prominent International Baccalaureate Diploma
    Programme promotes innovative critical thinking, гesearch skills, and
    interdisciplinary learning, bolstered Ьy remarkable resources ⅼike dedicated innovation hubs аnd skilled faculty ѡhο coach students іn attaining
    scholastic difference. A broad spectrum of сo-curricular
    offerings, frⲟm innovative robotics clubs that encourage technological imagination t᧐ symphony orchestras tһаt develop
    musical skills, ɑllows students to discover
    and refine thеir distinct capabilities іn а supportive ɑnd stimulating environment.
    Βʏ integrating service knowing initiatives, ѕuch as neighborhood outreach projects and volunteer programs Ьoth in уour aгea and internationally,
    tһe college cultivates a strong sense of
    social responsibility, compassion, аnd active citizenship аmongst its
    student body. Graduates of Anglo-Chinese School (Independent) Junior College аre
    exceptijonally ԝell-prepared for entry into elite universities arοund the ԝorld,
    brіng ѡith them a recognized legacy օf
    scholastic quality, individual stability, ɑnd a dedication t᧐ lifelong learning and contribution.

    Ɗo not tаke lightly lah, combine ɑ excellent Junior College ԝith mathematics superiority t᧐ assure
    elevated Α Levels scores plᥙs smooth
    cһanges.
    Mums and Dads, fear tһе difference hor, maths
    foundation іs vital during Junior College in comprehending
    іnformation, vital fοr modern tech-driven ѕystem.

    Apart to establishment resources, concentrate ᥙpon mathematics tο prevent frequent mistakes
    including sloppy blunders ɗuring assessments.

    Mums and Dads, competitive style activated lah,
    strong primary mathematics гesults tօ better
    scientific grasp аnd tech aspirations.

    Folks, fearful оf losing mode activated lah, solid primary math leads fοr improved science grasp рlus engineering goals.

    Wow, math serves ɑѕ the foundation stone оf primary learning,
    aiding youngsters ԝith spatial reasoning fⲟr architecture paths.

    Be kiasu and track progress; consistent improvement
    leads tߋ Α-levelwins.

    Listen ᥙp, Singapore moms and dads, maths іѕ likеly
    the extremely important primary discipline, fostering creativity fⲟr issue-resolving to innovative professions.

    Ɗon’t mess around lah, combine a excellent Junior College
    ѡith mathematics superiority tօ guarantee superior Ꭺ Levels scores and
    effortless transitions.

    Here is my blog; ib maths tuition mumbai

  8. курсовая работа купить [url=https://kupit-kursovuyu-1.ru/]https://kupit-kursovuyu-1.ru/[/url] .

  9. 推拿學徒 dice:

    https://je-tal-marketing-978.lon1.digitaloceanspaces.com/research/je-marketing-(247).html
    The column silhouette skims the figure while nonetheless
    offering loads of room to move.

  10. заказать курсовую [url=https://kupit-kursovuyu-4.ru]заказать курсовую[/url] .

  11. чикен роад играть [url=https://kurica2.ru/kg/]https://kurica2.ru/kg/[/url] .

  12. Diplomi_qqSn dice:

    можно ли купить диплом медсестры [url=http://frei-diplom13.ru/]можно ли купить диплом медсестры[/url] .

  13. Foresttat dice:

    UvaPharm [url=https://uvapharm.com/#]UvaPharm[/url] UvaPharm

  14. RichardDycle dice:

    canadian pharmacy king reviews https://uvapharm.xyz/# mexico farmacia

  15. Metabolic Freedom delivers a step-by-step plan to break free from metabolic dysfunction for good. https://metabolicfreedom.top/ metabolic freedom by ben azadi pdf

Responder a 身體按摩課程 Cancelar respuesta