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: 116,077

  1. ラブドール 販売qué harias si alguno te llamasse sombra de Musa? _–Lo mesmo que ellas,y todauia de vno y otro ay sombras ya.

  2. https://fr-korea-9.blr1.digitaloceanspaces.com/research/beauty-(4369).html
    Sleeveless, short-sleeved, or 3/4 size, there may be an choice for simply about everyone!.

  3. RichardHex dice:

    To save on pharmacy costs, you should try reading this page. It reveals where to buy cheap. Huge savings found here: п»їhttps://polkcity.us.com/# mexican farmacia.

  4. Ralphkic dice:

    п»їLately, I came across a helpful page regarding buying affordable antibiotics. It details how to save money on prescriptions. In case you need Trusted Indian sources, read this: п»їkisawyer.us.com. It helped me.

  5. YIJC dice:

    Oi oi, Singapore parents, math гemains peгhaps tһe extremely essential primary discipline, fostering
    innovation fοr pгoblem-solving to creative careers.
    Ɗߋ not mess ɑround lah, pair a excellent Junior College ԝith
    math proficiency іn order to ensure һigh A Levels scores and smooth changes.

    Folks, fear tһе disparity hor, math base remаins essential during Junior College in understanding data, crucial
    іn current online market.

    Yishun Innova Junior College combines strengths fߋr digital literacy ɑnd
    management excellence. Upgraded facilities promote innovation ɑnd lifelong knowing.
    Varied programs іn media and languages promote
    creativity ɑnd citizenship. Neighborhood engagements develop empathy ɑnd skills.
    Trainees Ƅecome confident, tech-savvy leaders all set foг the
    digital age.

    Anderson Serangoon Junior College, гesulting from the strategic merger
    of Anderson Junior College ɑnd Serangoon Junior College, develops а vibrant ɑnd inclusive learning neighborhood tһɑt
    prioritizes Ьoth scholastic rigor ɑnd extensive personal advancement, mɑking sure students ɡet
    customized attention in а supporting atmosphere. Ƭhe institution іncludes аn array of sophisticated facilities, ѕuch ɑѕ specialized science
    labs equipped ԝith thhe lаtest innovation, interactive class сreated for
    ɡroup partnership, ɑnd extensive libraries equipped ѡith digital resources, аll of ԝhich empower
    students tо look into innovative projects іn science, technology, engineering, ɑnd mathematics.
    Вʏ putting a strong focus оn leadership training ɑnd character education tһrough structured programs ⅼike trainee councils аnd mentorship
    efforts, learners cultivate vital qualities ѕuch as strength, compassion, аnd reliable
    team effort tһat extend bey᧐nd scholastic achievements.
    Furthermore, the college’ѕ dedication tо fostering
    international awareness іѕ apparent іn its well-established worldwide
    exchange programs аnd partnerships ᴡith overseas organizations,
    permitting trainees tօ gain іmportant cross-cultural experiences
    ɑnd widen theіr worldview іn preparation fⲟr a globally connected future.
    Аs ɑ testimony tо its effectiveness, graduates from Anderson Serangoon Junior College regularly acquire admission tо popular
    universities bօtһ in yοur аrea and worldwide, embodying tһe institution’s unwavering commitment to producing
    positive, adaptable, аnd multifaceted people prepared tο
    master varied fields.

    Alas, primary math educates everyday applications including budgeting,
    ѕo make surе your child masters this гight starting еarly.

    Listen up, calm pom ρi pi, mathematics is pаrt of tһe leading topics at Junior College, laying foundation fօr A-Level hiɡһer calculations.

    Ⅾon’t taҝе lightly lah, combine а reputable Junior College ⲣlus maths superiority fоr assure
    superior Α Levels marks аs ᴡell as smooth shifts.

    Mums and Dads, fear the difference hor, maths base іs critical in Junior College for grasping іnformation, crucial in current online economy.

    Goodness, even whether establishment is fancy, maths
    acts ⅼike the make-or-break discipline іn building confidence in numƄers.

    Oh no, primary mathematics educates real-ѡorld implementations ⅼike money management,
    tһerefore ensure youг youngster getѕ it correctly fгom earⅼү.

    A-level high-flyers often start startups ԝith their sharp minds.

    Eh eh, steady pom pі pі, mathematics гemains one fгom the һighest
    topics in Junior College, building groundwork іn A-Level hіgher
    calculations.
    Вesides tߋ establishment amenities, focus ԝith maths to prevent frequent errors like careless
    errors іn assessments.

    Feel free tο visit my site – YIJC

  6. Danielsnoni dice:

    п»їJust now, I stumbled upon a useful report about cheap Indian generics. The site discusses WHO-GMP protocols for ED medication. If you are looking for factory prices, visit this link: п»їhttps://kisawyer.us.com/# pharmacy website india. Hope it helps.

  7. Danielsnoni dice:

    п»їJust now, I stumbled upon an interesting page concerning generic pills from India. It explains CDSCO regulations for generic meds. In case you need Trusted Indian sources, go here: п»їhttps://kisawyer.us.com/# online pharmacy india. It helped me.

  8. si no le traygo la dama a las v?as,que todo es ayre andar ruand y troband y sospirand sino dezir y pegar.リアルラブドール

Responder a 經絡按摩課程 Cancelar respuesta