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: 74,215

  1. Jasonimisa dice:

    apotek online sverige: apoteket rabattkod – Apotek online jämförelse

  2. Stephencox dice:

    cheap branded meds without prescription [url=http://mexmedsreview.com/#]verified Mexican pharmacy promo codes[/url] MexMedsReview

  3. Listen up, calm pom pi pi, math proves among in the hіghest subjects ⅾuring Junior College,
    establishing base іn A-Level advanced math.
    Аpɑrt to establishment amenities, emphasize
    ѡith maths tо ɑvoid typical mistakes ⅼike sloppy errors in exams.

    Mums and Dads, kiasu approach activated lah,
    solid primary mathematics гesults іn superior science
    grasp ρlus tech goals.

    Anglo-Chinese School (Independent) Junior College օffers a faith-inspired
    education that balances intellectual pursuits ᴡith ethical values, empowering students
    tߋ end սp beіng compassionate worldwide people.
    Іts International Baccalaureate program motivates іmportant thinking and
    query, supported ƅy worⅼd-class resources аnd dedicated
    educators. Students excel іn a broad selection օf co-curricular
    activities, fгom robotics t᧐ music, building flexibility and imagination. Ꭲhе school’s focus on service learning imparts ɑ sense ߋf duty and neighborhood engagement fгom
    ɑn earlү phase. Graduates аre well-prepared for prominent universities, carrying forward
    а tradition ߋf quality and stability.

    Hwa Chong Institution Junior College іs commemorated for itѕ seamless integrated program tһat masterfully integrates extensive scholastic
    difficulties ԝith extensive character development, cultivating ɑ brand-new generation оf worldwide scholars аnd ethical leaders
    who агe equipped to deal ѡith complicated global рroblems.
    Tһe organization boasts firѕt-rate facilities,
    consisting ߋf advanced research study centers,
    multilingual libraries, ɑnd development incubators, ԝhere extremely qualified faculty
    guide trainees towaeds quality іn fields ⅼike scientific research study, entrepreneurial
    endeavors, ɑnd cultural studies. Trainees ցet indispensable experiences throսgh extensive worldwide exchange programs, international competitors іn mathematics and sciences, ɑnd collective projects that expand tһeir horizons and
    fine-tune thеіr analytical and interpersonal skills.
    Вy highlighting development throսgh initiatives ⅼike student-led start-uρs and technology workshops, tоgether with service-oriented activities tһat promote social duty, tһe college constructs
    durability, flexibility, аnd a strong moral foundation in its learners.

    Ƭhe vast alumni network of Hwa Chong Institution Junior College оpens pathways to elite universities and prominent
    professions аround the worlԁ, underscoring the school’s withstanding tradition οf promoting intellectual prowess аnd principled management.

    Wah lao, гegardless tһough establishment іѕ fancy, mathematics serves аs tһe maқе-or-break
    subject for developing confidence regarԁing figures.

    Alas, primary maths instructs practical սses suсһ as financial
    planning, thuѕ guarantee yⲟur kid grasps
    tһіs correctly from young.

    Oh dear, lacking strong math aat Junior College, еven prestigious establishment children mіght falter ɑt һigh school algebra,
    so develop tһat promptly leh.

    Alas, minus strong math duгing Junior College, no matter prestigious institution children mаy falter in next-level calculations,
    tһerefore develop tһis ρromptly leh.
    Hey hey, Singapore folks, maths proves рerhaps the highly essential primary topic, encouraging imagination fߋr issue-resolving to groundbreaking
    careers.

    Kiasu mindset tսrns Math dread intο A-level triumph.

    Parents, competitive mode engaged lah, robust primary math
    гesults foг Ьetter STEM comprehension plus tech aspirations.

    Ⲟh, math is the foundation block іn primary schooling, assisting youngsters ѡith geometric analysis in design routes.

    Feel free tߋ visit my web page – secondary 3 tuition

  4. JosephWhoke dice:

    https://mexmedsreview.com/# cheap branded meds without prescription

  5. 初音 ミク ラブドールThis was by most then thought an act ofthe Divel.But one that suspected,

  6. crushed it into silver splinters beneath his heel.It was hisbeauty that had ruined him,ダッチワイフ エロ

  7. オナドールRaskolnikov looked at him intently.He had a straight-forward,

  8. Hey! Do you know if they make any plugins to help with Search Engine Optimization?
    I’m trying to get my blog to rank for some targeted keywords but I’m not
    seeing very good results. If you know of any please share.
    Thank you!

  9. and the heavy breathing of thebearers and the shuffling of their feet grew more hurried,女性 用 ラブドールas if theweight they were carrying were too much for them.

  10. Jasonimisa dice:

    Tryggt apotek utan recept: apoteket rabattkod – apotek online sverige

  11. slot 5000 dice:

    I know this if off topic but I’m looking into starting my own weblog
    and was wondering what all is needed to get set up?
    I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very web smart so I’m not 100% sure.

    Any recommendations or advice would be greatly appreciated.

    Thank you

  12. lovedoll“A man is hurt.?The head-keeper came running up with a stick in his hand.

  13. Hello there! I just want to offer you a big thumbs up for your
    excellent info you’ve got here on this post. I am returning to your website for more soon.

  14. GeorgeLouck dice:

    https://rabattapotek.com/# Kundevurderinger av nettapotek

  15. ドール エロor some such discoursethat we all understand,for I am sure I don’t understand a word ofthis.

  16. Stephencox dice:

    Apotek online jämförelse [url=https://tryggapotekguiden.xyz/#]Apotek online jämförelse[/url] apotek online sverige

  17. 人形 エロHetherefore deprived him of his annuity,and recommended repentance tohim on account of another world,

  18. WilliamWar dice:

    Kundevurderinger av nettapotek: Nettapotek med rask frakt – Billige medisiner uten resept Norge

  19. WilliamWar dice:

    apotheek online: Medicijnen zonder recept bestellen – Medicijnen zonder recept bestellen

  20. горизонтальные жалюзи с электроприводом [url=www.avtomaticheskie-zhalyuzi.ru/]горизонтальные жалюзи с электроприводом[/url] .

  21. WilliamWar dice:

    Rabattkod for apotek pa natet: Kop medicin utan recept Sverige – apoteket recept

  22. Stephencox dice:

    MexMedsReview [url=http://mexmedsreview.com/#]Mexican pharmacies ranked 2025[/url] buy medications from Mexico legally

  23. 美人 せっくすThe shapely figure of the fair-hairedsoldier,with his clear blue eyes,

  24. threesome dice:

    liveseks+++
    Thanks for sharing your thoughts about seks. Regards

  25. Stephencox dice:

    Mexican pharmacies ranked 2025 [url=https://mexmedsreview.com/#]Mexican pharmacies ranked 2025[/url] cheap branded meds without prescription

  26. that certainly the patienthad some fixed idea,ラブドール 激安something approaching a monomania– Zossimov,

  27. Jasonimisa dice:

    apotheek online: Online apotheek vergelijken – apotheek online

  28. “I myselfhave the best right,but I warrant you think it belongs to yourbeauty.ドール エロ

  29. せっくす どー るhad an eye to the apothecary in his prescriptions,andsuch was the concern and scrupulous care with which our hero wasattended,

  30. 初音 ミク ラブドールinsomuch as an unpainted Buckler was asigne of and of a common Souldier: but they transmitted not theInheritance of them.The Romans transmitted the Marks of their Families:but they were the Images,

  31. but I know it won’t be for your happiness or hers,youwill only be a laughing-stock to all good people.エロ フィギュア 無 修正

  32. WilliePeaky dice:

    Мебельный щит материал для изготовления мебели

    Мебельный щит представляет собой один из основных элементов для производства мебели. Он создается из массива древесины, склеенных доски. Благодаря своей надежной структуре мебельный щит обладает высокой стабильностью и эстетичной внешностью.

    Виды мебельного щита

    Существует несколько видов мебельного щита: щиты из ценных пород дерева (бук, дуб, ясень), а также из мягких пород (сосна, ель). Каждый вариант имеет свои преимущества: жесткие породы отличаются высокой долговечностью, а легкие — хорошей обработкой и доступной ценой [url=https://www.ekolestnica.ru/mebelnyj-shhit-v-xabarovske.html]щит мебельный хабаровск[/url]

    Применение мебельного щита

    Мебельный щит широко используется в изготовлении полок, каркасов шкафов, лестниц и другого мебельного оборудования. Благодаря натуральной структуре древесины, изделия из мебельного щита выглядят природно и создают комфорт в помещении.

    Преимущества мебельного щита

    Мебельный щит выделяется высокими показателями надежности и экологической чистоты, что делает его востребованным материалом при создании мебели как для домашнего использования, так и для коммерческих помещений. Легкость обработки и возможность покраски или лакировки позволяют создавать изделия с любым дизайном.

    Мебельный щит – это надежный и эстетичный материал для всех, кто ценит качество и натуральность в мебели. Использование этого материала помогает создавать долговечные и стильные предметы интерьера с уникальным древесным рисунком.

  33. えろ 人形for example,a man has daily opportunitiesof seeing the most remarkable characters of the community.

  34. 68winhu.com dice:

    Ahaa, its pleasant discussion about this article here
    at this website, I have read all that, so now me also commenting here.

  35. Excellent goods from you, man. I have understand your
    stuff previous to and you’re just too wonderful. I really like what you’ve acquired here, certainly like what you’re
    stating and the way in which you say it. You make it enjoyable and you
    still take care of to keep it sensible. I can not wait to read much more from you.

    This is really a great website.

  36. WilliamWar dice:

    Rabatterte generiske medisiner: Rabatt Apotek – apotek pa nett

  37. Jasonimisa dice:

    Bästa nätapotek 2025: Köp medicin utan recept Sverige – apoteket rabattkod

  38. Stephencox dice:

    apotheek online [url=https://kortingapotheek.com/#]online apotheek nederland zonder recept[/url] Online apotheek vergelijken

  39. GeorgeLouck dice:

    http://rabattapotek.com/# Billige medisiner uten resept Norge

  40. WilliamWar dice:

    Hvilket apotek pa nett er best i Norge: Nettapotek med rask frakt – Apotek pa nett sammenligning

  41. жалюзи на пульте [url=https://avtomaticheskie-zhalyuzi.ru/]жалюзи на пульте[/url] .

  42. when they did goout,ダッチワイフ エロwent to the parties of impressionist painter of whom inHampstead there were many.

Responder a threesome Cancelar respuesta