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: 75,800

  1. ラブドール オナニーAnd our first principle is,that God must be represented as he is; notas the author of all things,

  2. that were it not for the mutuall emulation of thosePrinces,初音 ミク ラブドールthey might without warre,

  3. Georgejex dice:

    магазин чижик СПб Чижик адреса магазинов – важная информация для тех, кто хочет быстро найти ближайший магазин. Сеть Чижик активно развивается, открывая новые точки в различных районах города. Актуальные адреса всегда можно найти на официальном сайте или в мобильном приложении.

  4. ormitten-like sock,ロボット エロbabies can tumble about as they like,

  5. Jerryevile dice:

    affordable Indian medications online [url=http://drindiameds.com/#]verified Indian drugstores[/url] DrIndiaMeds

  6. Jerryevile dice:

    legitimate pharmacy shipping to USA [url=https://doctornorthrx.com/#]verified Canada drugstores[/url] best online pharmacies Canada to USA

  7. in a more ample mannerthan many others.as Horace tells us that there are a set ofhuman beings Fruges consumere nati,人形 エロ

  8. Curtissweta dice:

    no prescription pharmacy India: verified Indian drugstores – doctor recommended Indian pharmacy

  9. mostbet kg [url=http://mostbet12039.ru]http://mostbet12039.ru[/url]

  10. ラブドール アニメBut I am sorry you thought my influence a bad one.TANNE I don’t say it was a bad one.

  11. ”CHAPTER XXIV.エロオナホMiss Stacy and Her Pupils Get Up a ConcertIT was October again when Anne was ready to go back to schoolaglorious October,

  12. MichaelVow dice:

    https://doctornorthrx.xyz/# doctor recommended Canadian pharmacy

  13. She watched the tall,striding figure with a troubled gaze,ラブドール sex

  14. Капельница от запоя — важный шаг в борьбе с алкоголизмом. Этапы подготовки к процедуре включает несколько шагов. Во-первых, необходимо вызвать нарколога на дом в любое время суток для получения профессиональной помощи. Врач проведет осмотр и определит степень запойного состояния. Перед началом процедуры важно предоставить пациенту доступ к чистой воде и легкой пище. Это способствует снижению риска осложнений. Уход за больным должен быть внимательным: обеспечьте спокойную обстановку. Нарколог на дом круглосуточно Во время процедуры важно контролировать состояние пациентачтобы обеспечить его безопасность. После детоксикации организма потребуется психотерапия при запое. Помните, что круглосуточная поддержка нарколога обеспечит успешное лечение запойного состояния.

  15. RobertHauck dice:

    DoctorNorthRx: canadian pharmacy online – best mail order pharmacy canada

  16. By integrating real-ԝorld applications іn lessons, OMT showѕ
    Singapore trainees ϳust һow math powers ԁay-to-dɑy developments, triggering іnterest and drive fⲟr test excellence.

    Founded in 2013 ƅy Mr. Justin Tan, OMT Math Tuition һas actuaⅼly assisted
    numerous trainees ace examinations ⅼike PSLE, Օ-Levels,
    ɑnd A-Levels with tested рroblem-solving techniques.

    Іn а system wheгe math education has developed t᧐ cultivate innovation аnd international
    competitiveness, enrolling іn math tuition mɑkes sure students гemain ahead by deepening their understanding and
    application ⲟf essential ideas.

    Ultimately, primary school school math tuition іѕ crucial fօr PSLE quality, as it equips students ᴡith the tools to achieve top bands and secure favored secondary school positionings.

    Secondary math tuition ցets ovеr thе restrictions of big classroom sizes, offering focused attention tһat boosts
    understanding fօr O Level prep work.

    Planning for thе changability օf A Level inquiries, tuition сreates adaptive analytic strategies fߋr
    real-timе test circumstances.

    Tһе proprietary OMT curriculum stands apaгt bү
    expanding MOE syllabus witth enrichment օn statistical modeling, suitable fߋr data-driven test concerns.

    OMT’ѕ budget friendly online choice lah,
    ցiving quality tuition ᴡithout damaging tһe bank
    for mucһ betteг math resuⅼtѕ.

    By stressing conceptual understanding ᧐vеr memorizing learning, math tuition outfits Singapore pupils fοr
    tһe advancing test styles.

    Мy homeρage – tuition singapore

  17. LesterHycle dice:

    Текущий игровой бизнес всё чаще использует смарт-контракты для улучшения надёжности платежей.
    Особенно интересно, как сайт [url=https://gorod363.ru/]кент казино вывод средств[/url] внедряет подобные решения, обеспечивая честные условия для игроков.
    Цифровой реестр реально трансформирует систему ставок.

  18. kra2kn.ccFab dice:

    Зеркала работают даже в самые сложные времена.
    https://telegra.ph/Kraken-oficialnyj-sajt-i-uslugi-dlya-trejderov1-11-09

  19. ラブドール 激安and there issure to be a doctor in the house.ll pay,

  20. She said shenever saw the beat of me for prowling about.But if it kept her frombeing seasick it’s a mercy I did prowl,高級 オナホ

  21. Larrypit dice:

    mexican pharmacy [url=https://drmedsadvisor.xyz/#]mexican pharmacy[/url] generic medicine from Mexico

  22. MichaelVow dice:

    http://drindiameds.com/# trusted medical sources from India

  23. 女性 用 ラブドールbecause… ?“What next? ?the princess interrupted,

  24. Curtissweta dice:

    doctor recommended Indian pharmacy: affordable Indian medications online – no prescription pharmacy India

  25. mostbet official [url=https://mostbet12039.ru/]https://mostbet12039.ru/[/url]

  26. MichaelVow dice:

    https://drindiameds.xyz/# affordable Indian medications online

  27. MichaelVow dice:

    https://drmedsadvisor.xyz/# generic medicine from Mexico

  28. RobertHauck dice:

    no prescription pharmacy India: verified Indian drugstores – india pharmacy

  29. keeping them quite effectuallyat a distance whilst giving them no excuse for complaining of him.ラブドール アニメNevertheless he has a vigilant eye on them always,

  30. Jerryevile dice:

    india pharmacy [url=https://drindiameds.com/#]DrIndiaMeds[/url] doctor recommended Indian pharmacy

  31. platform dice:

    Somebody essentially assist to make critically posts I would state.
    That is the very first time I frequented your website page and to this point?
    I surprised with the research you made to make
    this particular submit incredible. Great task!

  32. an account of which he communicatedin confidence to with demonstrations of infinite shame andconcern.Ferdin having moralised upon the subject with great sagacity,せっくす どー る

Responder a RobertHauck Cancelar respuesta