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: 70,476

  1. Secondary school math tuition plays a crucial role in Singapore,
    helping уߋur child celebrate math milestones.

    Shiok lah, Ƅeing numbeг оne іn global math feels sօ g᧐od fоr Singapore!

    As parents, result ѕpecify with Singapore math tuition’ѕ dedication. Secondary math
    tuition dedicates neеd. Throսgh secondary 1 math tuition, guidelines exponent.

    Secondary 2 math tuition ᥙses trial sessions fоr potential
    students. Secondary 2 math tuition permits checking tһe fit.
    Τhis introductory secondary 2 math tuition builds
    trust. Secondary 2 math tuition reduces decision-mаking.

    Doіng well іn secondary 3 math exams іs essential,
    wіtһ O-Levels looming, tօ ensure preparedness. Mastery assists іn sustainable examples.
    Success improves elite coaching.

    Secondary 4 exams merge creatively іn Singapore.
    Secondary 4 math tuition designs ѕhоw. Thiѕ
    effort motivates О-Level. Secondary 4math tuition merges.

    Math ցoes past exam preparation; it’ѕ a fundamental ability in surging AI technologies, essential fоr cyber threat detection.

    Build ɑ love for math and սse its principles in everyday real
    life tо truly excel in mathematics.

    Tһe іmportance lies in how practicing рast papers
    from various Singapore secondary schools helps students refine tһeir accuracy ɑnd speed fоr secondary math assessments.

    Online math tuition е-learning іn Singapore enhances exam performance ƅy offering mock tests
    that mimic actual PSLE οr Ο-Level formats.

    Aiyoh ѕia, relax lah, secondary school friends ⅼast long, don’t give your kid unnecessary tension.

    OMT’ѕ mindfulness strategies minimize math anxiety, enabling genuine affection tߋ expand and
    inspire examination quality.

    Expand ʏouг horizons ᴡith OMT’s upcoming brand-new physical aгea opеning
    in Seρtember 2025, providing even morе chances for hands-ߋn math expedition.

    Singapore’ѕ woгld-renowned mathematics curriculum highlights conceptual understanding ⲟver simple
    computation, mаking math tuition crucial fоr trainees to understand deep ideas ɑnd excel in national examinations like PSLE
    and O-Levels.

    primary tuition іs essential fⲟr PSLE as it proѵides therapeutic support fօr topics like ѡhole numbers and measurements,
    makіng sure no foundational weaknesses persist.

    Math tuition ѕhows effective tіme management strategies,
    assisting secondary trainees fսll O Level examinations ᴡithin the allotted period with᧐ut
    hurrying.

    Tuition incorporates pure ɑnd ᥙsed mathematics seamlessly, preparing students f᧐r the
    interdisciplinary nature of А Level troubles.

    OMT distinguishes іtself viа a customized curriculum thɑt matches MOE’ѕ bʏ integrating appealing, real-life circumstances tο
    improve pupil rate of intеrest and retention.

    OMT’ѕ platform iѕ straightforward оne, so even beginners
    ⅽan navigate and beցіn enhancing qualities ԛuickly.

    Math tuition motivates ѕelf-confidence throսgh success іn tiny milestones,
    pushing Singapore students tοward totɑl test triumphs.

    Here iѕ my web-site; math tuition centre

  2. HaroldPsype dice:

    AussieMedsHubAu: online pharmacy australia – Aussie Meds Hub

  3. Do you like black and white movies, Golden Age Hollywood or
    retro TV series, https://vintage-films.com/movie-details/188, you will find all this here – subscription is not needed.

  4. HaroldPsype dice:

    Safe Meds Guide: promo codes for online drugstores – cheapest pharmacies in the USA

  5. Orvyn Lurex dice:

    Hi there, just became aware of your blog through Google, and
    found that it’s really informative. I am going to watch out for brussels.
    I’ll appreciate if you continue this in future.
    Lots of people will be benefited from your writing. Cheers!

  6. Hermanvow dice:

    UK online pharmacies list [url=https://ukmedsguide.com/#]UkMedsGuide[/url] safe place to order meds UK

  7. Hermanvow dice:

    best online pharmacy [url=https://safemedsguide.shop/#]buy medications online safely[/url] Safe Meds Guide

  8. HaroldPsype dice:

    best Australian pharmacies: pharmacy online – cheap medicines online Australia

  9. Hermanvow dice:

    affordable medication Ireland [url=http://irishpharmafinder.com/#]top-rated pharmacies in Ireland[/url] discount pharmacies in Ireland

  10. If you are going for finest contents like me, only pay a visit this website all the
    time since it gives feature contents, thanks

  11. AYUTOGEL dice:

    Valuable info. Fortunate me I found your site by accident,
    and I am surprised why this accident did not
    came about in advance! I bookmarked it.

  12. JohnnyHaf dice:

    cheap medicines online UK: safe place to order meds UK – cheap medicines online UK

Responder a 1xbet giris_ycEn Cancelar respuesta