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: 78,172

  1. RobertHauck dice:

    trusted Canadian generics: canadian pharmacy – best online pharmacies Canada to USA

  2. RobertHauck dice:

    trusted medical sources from India: verified Indian drugstores – affordable Indian medications online

  3. seo top agencies [url=http://reiting-seo-kompanii.ru]http://reiting-seo-kompanii.ru[/url] .

  4. kra44-cc dice:

    Официальный сайт Kraken https://kra44-cc.at безопасная платформа для анонимных операций в darknet. Полный доступ к рынку через актуальные зеркала и onion ссылки.

  5. Curtissweta dice:

    Doctor North Rx: verified Canada drugstores – trusted Canadian generics

  6. Lakeisha dice:

    OMT’s proprietary educational program introduces enjoyable difficulties tһаt mirror examination questions,
    stimulating love fⲟr math and thе inspiration tⲟ perform remarkably.

    Expand your horizons wіth OMT’s upcoming brand-neԝ physical area opening in September 2025, usіng much morе opportunities fօr hands-on math expedition.

    Ꮃith trainees in Singapore beginnіng formal math
    education from dɑy one and facing һigh-stakes assessments,
    math tuition (Lakeisha) proѵides tһe extra edge required tⲟ
    achieve top efficiency іn thіs essential topic.

    Eventually, primary school math tuition іs іmportant for PSLE excellence, ɑѕ іt gears up trainees with tһe
    tools to achieve leading bands and protect favored secondary school positionings.

    Recognizing аnd fixing certain weaknesses, ⅼike in chance or coordinate geometry, mаkes
    secondary tuition indispensable f᧐r O Level quality.

    Junior college tuition оffers access tⲟ supplemental sources likе worksheets аnd video clip explanations, strengthening Α Level curriculum coverage.

    Uniquely, OMT’ѕ syllabus matches tһe MOE structure
    by providing modular lessons tһat аllow fоr duplicated support օf weak aгeas
    at tһe student’s pace.

    Range of method questions ѕia, preparing you completely
    fοr аny mathematics examination ɑnd Ƅetter ratings.

    Singapore’ѕ focus on analytical in math examinations
    mаkes tuition essential fօr developing essential believing abilities ƅeyond school hours.

  7. icebet online [url=http://www.icebet-online.com]icebet online[/url] .

  8. With havin so much written content do you ever run into any issues of
    plagorism or copyright infringement? My site has a lot of completely unique content
    I’ve either authored myself or outsourced but it appears a lot of it is popping it up all over the web without
    my permission. Do you know any methods to help prevent content from being
    ripped off? I’d certainly appreciate it.

  9. kra44-cc dice:

    Официальный сайт Kraken https://kra44-cc.at безопасная платформа для анонимных операций в darknet. Полный доступ к рынку через актуальные зеркала и onion ссылки.

  10. RobertHauck dice:

    safe Indian generics for US patients: Dr India Meds – DrIndiaMeds

  11. Curtissweta dice:

    certified canadian international pharmacy: canadian pharmacy – legitimate pharmacy shipping to USA

  12. Hi! This is kind of off topic but I need some advice from
    an established blog. Is it very difficult to set up your own blog?
    I’m not very techincal but I can figure things out pretty
    fast. I’m thinking about setting up my own but I’m not sure
    where to begin. Do you have any tips or suggestions?
    With thanks

  13. mostbet kg [url=http://mostbet12038.ru/]mostbet kg[/url]

  14. kra44-cc dice:

    Официальный сайт Kraken kra44 at безопасная платформа для анонимных операций в darknet. Полный доступ к рынку через актуальные зеркала и onion ссылки.

  15. kra44-cc dice:

    Официальный сайт Kraken kra44 at безопасная платформа для анонимных операций в darknet. Полный доступ к рынку через актуальные зеркала и onion ссылки.

  16. or a whale just bearingin sight.オナホ フィギュアIn Saint Stylite the famous Christian hermit of old timewho built him a lofty stone pillar in the desert and spent the wholelatter portion of his life on its summit,

  17. топ seo агентств мира [url=http://www.reiting-seo-kompanii.ru]http://www.reiting-seo-kompanii.ru[/url] .

  18. рейтинг digital seo агентств [url=http://www.reiting-seo-kompanii.ru]http://www.reiting-seo-kompanii.ru[/url] .

  19. icebet casino logowanie [url=http://icebet-online.com]icebet casino logowanie[/url] .

  20. ahoy! a word with ye,人形 エロif yeplease! ?“Halloa! ?returned turning round not a single inch as hespoke,

  21. ArbuthnoShe saw her marshalling the children of the poor into pews.She wouldcome in at the head of the procession from the Sunday School exactlyfive minutes before the choir,ダッチワイフ エロ

  22. Jerryevile dice:

    verified Canada drugstores [url=https://doctornorthrx.xyz/#]doctor recommended Canadian pharmacy[/url] DoctorNorthRx

  23. Hello, every time i used to check website posts here in the early hours in the morning, because i love to gain knowledge of more and more.

  24. seo агентства [url=www.reiting-seo-kompanii.ru]seo агентства[/url] .

  25. “He might spare himself the trouble,セクシー えろ” said Heathcliff: “I could do aswell without his approbation.

  26. sailing out from the shore toward the middle a few rodsin front of me,ランジェリー avset up his wild laugh and betrayed himself.

  27. La vue de lapetite madeleine ne m’avait rien rappelé avant que je n’y eusse go?té;peutêtre parce que,en ayant souvent aper?u depuis,エッチ コスプレ

  28. said the other.Why? Both men turned with a start,ラブドール sex

  29. мостбет ставки [url=https://www.mostbet12038.ru]https://www.mostbet12038.ru[/url]

  30. Humalakhac ang maglilibing ng canyang makitang samantalang umaalis aynagcucruz.Untiunting napupuno ang libingan ng mga lalaki’t mga babaeng pawangnangacalucsa.エロ 着物

  31. Larrypit dice:

    DoctorNorthRx [url=https://doctornorthrx.com/#]best online pharmacies Canada to USA[/url] trusted Canadian generics

  32. 225But this the gods in later times perform;As yet the bulwark stood,エロ コスチュームand braved the storm;The strokes yet echoed of contending powers;War thunder’d at the gates,

  33. oi enoni! Sanders ei sanonut mit??n,vaikka h?nen k?tens? puristi ruoskan varttalujemmin.ラブドール オナニー

  34. .. Si un c?ur aime Dieu,peut-il s’y trouver place pourdes inquiétudes,ラブドール

  35. コスプレ せっくすThe mortal wound of rich Elatus gave,Who held in Pedasus his proud abode,

  36. Jerryevile dice:

    DrIndiaMeds [url=https://drindiameds.com/#]indian pharmacy[/url] no prescription pharmacy India

  37. I think tһis iѕ among the most vital infοrmation fоr me.

    Аnd i am glad reading үօur article. But should remark on few general things, The web site style is perfect, the articles іs rеally
    excellent : Ɗ. Goⲟd job, cheers

    My site; Kaizenaire math tuition singapore

  38. 대전출장마사지, 24시간 연중무휴! 대전 전 지역 어디든 호텔·자택 방문,
    전문 여성 테라피스트의 맞춤 힐링 마사지로 피로 싹 풀기!
    위생·안전 관리 철저한 신뢰

  39. so he alone can get it adopted,?thought PrinceAndrew as he waited among a number of important and unimportant peoplein Count Arakchéev,女性 用 ラブドール

  40. Son varios los textos de Ovidio y Séneca el trágico en que Hércules,por otro nombre Alcides,ラブドール えろ

  41. ?“Inform the prince that labor has begun,?said Mary Bogdánovna,ラブドール 無 修正

  42. came to the door of No.ラブドール sexand was dulyobserved by the detective on duty.

  43. or that doesn ?liethere either! ll be time for ye to be getting scart when ye see thetombsteans all run away and the place as bare as a stubble-field.ラブドール リアルs the c an ?I must gang.

  44. RobertHauck dice:

    safe Canadian pharmacies for Americans: legitimate pharmacy shipping to USA – trusted Canadian generics

  45. hyv?n liiton viisi vaiteliasta miest?,ラブドール オナニーeik? kukaan muu tied?kuin me — emmek? me puhu mit??n.

Responder a ダッチワイフ Cancelar respuesta