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: 141,583

  1. DavidLep dice:

    Hi, if you need an affordable drugstore to order health products hassle-free. I recommend this pharmacy: meclizine. Stocking generic tablets at the best prices. Thanks.

  2. Davidvew dice:

    здесь [url=https://t.me/s/ozempicg/]mounjaro что за препарат[/url]

  3. Matthewjef dice:

    Hey everyone, if you need a trusted online pharmacy to purchase medicines securely. I found this pharmacy: flonase. Selling generic tablets with fast shipping. Cheers.

  4. huarenus平台,专为海外华人设计,提供高清视频和直播服务。

  5. DuaneAwalm dice:

    Hi, if anyone needs a medical guide on common medicines, I recommend this online directory. It covers safety protocols very well. Link: https://magmaxhealth.com/Clarinex. Hope it helps.

  6. Hi, all is going sound here and ofcourse every one is sharing facts, that’s actually good, keep up writing.

    Feel free to visit my homepage; buy xanax without prescrition

  7. DuaneAwalm dice:

    Greetings, if you are looking for a medical guide on common medicines, I recommend this online directory. It explains safety protocols clearly. Read more here: https://magmaxhealth.com/Celebrex. Very informative.

  8. 1xbet giri? adresi [url=https://1xbet-turkiye-2.com/]1xbet giri? adresi[/url] .

  9. Team news updates, lineups injuries and squad announcements covered

  10. With plant-powered compounds, Website treats pelvic floor fungus, strengthens pelvic floors, and helps you feel your best.

  11. Mileshox dice:

    Hi, if you are looking for detailed information about various medications, check out this medical reference. It covers safety protocols very well. Reference: https://magmaxhealth.com. Very informative.

  12. I personally find that i switched from another service because of the responsive team and intuitive UI.

  13. Parents, secondary school math tuition іs essential in Singapore tߋ equip your child ԝith exam techniques
    right from Secondary 1.

    Eh lah, what mɑkes Singapore students tоp math whizzes internationally ɑh?

    Parents, deal with ambitions ѡith Singapore math tuition’ѕ
    accelerated options. Secondary math tuition nurtures
    gifted minds. Ԝith secondary 1 math tuition, reasoning іs reinforced frоm
    day one.

    The combination of games іn secondary 2 math tuition mаkes sessions fun. Secondary
    2 math tuition ᥙѕeѕ puzzles fоr algebraic ideas.
    Engaged students prosper іn secondary 2 math tuition environments.

    Secondary 2 math tuition transforms study tіmе into play.

    Secondary 3 math exams ɑre vital benchmarks, wіtһ O-Levels approaching, highlighting tһe
    worth ⲟf constant һigh efficiency. Mastery avoids tһe requirement
    foг catch-up classes in Sеc 4. Ӏt lines ᥙp ԝith Singapore’s emphasis оn STEM education fⲟr national advancement.

    Thе crucial secondary 4 exams foster global exchanges іn Singapore.

    Secondary 4 math tuition ⅼinks virtual peers. Тhiѕ expanding boosts O-Level poіnt of
    views. Secondary 4 math tuition internationalizes
    education.

    Exams test math knowledge, уet itѕ broader significance іs ɑs
    a cruxial skill іn AI’s expansion, enhancing analytical thinking
    fߋr tech innovations.

    Mathematical mastery іs attained tһrough a sincere love fߋr the subject and the application of its principles іn daily life realities.

    Ƭo prepare effectively fⲟr secondary math exams іn Singapore, practicing papers fгom various schools reveals unique ρroblem-solving appr᧐aches not
    covered іn standard textbooks.

    Singapore learners see improvements іn math exams witһ online tuition е-learning that ρrovides forums for doubt clarification.

    Eh lor, steady ѕia, your kid will excel
    in secondary school, don’t stress tһem unduly.

    Ηere is my blog :: physics and maths tutor physics igcse edexcel

  14. Matthewjef dice:

    Hey everyone, anyone searching for a reliable drugstore to buy health products securely. Take a look at this site: clomid. Selling a wide range of meds and huge discounts. Hope this helps.

  15. DuaneAwalm dice:

    Hello, if you are looking for side effects info on common medicines, take a look at this useful resource. It covers safety protocols in detail. Link: https://magmaxhealth.com/Buspar. Hope it helps.

  16. DuaneAwalm dice:

    Hello, if you are looking for dosage instructions on various medications, take a look at this online directory. You can read about usage and risks in detail. Reference: https://magmaxhealth.com/Clomid. Thanks.

  17. DonaldMatry dice:

    regarding the proper usage instructions, it is recommended to check the official information page at: https://magmaxhealth.com/prilosec.html to ensure correct administration.

  18. 小宝影视 dice:

    我欲为人第二季官方认证平台,专为海外华人设计,24小时不间断提供高清视频和直播服务。

  19. That is very fascinating, You’re a very skilled blogger. I
    have joined your feed and look ahead to seeking extra of your magnificent post.
    Additionally, I’ve shared your web site in my social networks

  20. Mileshox dice:

    Greetings, for those searching for a useful article regarding various medications, take a look at this drug database. It covers safety protocols in detail. See details: https://magmaxhealth.com. Hope this is useful.

  21. Mileshox dice:

    Greetings, for those searching for detailed information on prescription drugs, I recommend this useful resource. It explains drug interactions very well. Read more here: https://magmaxhealth.com/Meclizine. Thanks.

  22. Davidvew dice:

    здесь [url=https://t.me/s/ozempicg/]Оземпик от сахара[/url]

Responder a ラブドール Cancelar respuesta