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,557

  1. wildcraftax9mug dice:

    Je suis emerveille par Vbet Casino, il procure une sensation de frisson. Le catalogue est un tresor de divertissements, avec des machines a sous aux themes varies. Avec des transactions rapides. Le service d’assistance est au point. Les retraits sont fluides et rapides, neanmoins des bonus plus varies seraient un plus. Dans l’ensemble, Vbet Casino est un immanquable pour les amateurs. En plus le site est rapide et immersif, incite a rester plus longtemps. Un plus les paiements en crypto rapides et surs, qui stimule l’engagement.
    Aller en ligne|

  2. seo agencies list [url=www.reiting-seo-kompanii.ru]www.reiting-seo-kompanii.ru[/url] .

  3. пошив шопперов оптом [url=https://miniatelie.ru/]miniatelie.ru[/url] .

  4. GeorgeLouck dice:

    http://tryggapotekguiden.com/# Snabb leverans apoteksvaror online

  5. GeorgeLouck dice:

    https://rabattapotek.com/# Rabatterte generiske medisiner

  6. seo optimization agency [url=https://reiting-seo-kompanii.ru/]https://reiting-seo-kompanii.ru/[/url] .

  7. WilliamWar dice:

    mexican pharmacy: mexico pharmacy – mexico pharmacy

  8. жалюзи для умного дома [url=http://www.avtomaticheskie-zhalyuzi.ru]жалюзи для умного дома[/url] .

  9. Heya i’m for the primary time here. I came across this board and I to
    find It truly useful & it helped me out much.
    I hope to give something back and aid others like you aided me.

  10. швейное производство одежды [url=https://miniatelie.ru/]https://miniatelie.ru/[/url] .

  11. stormsparken9mug dice:

    Je suis emerveille par Posido Casino, ca invite a plonger dans le fun. On trouve une profusion de jeux palpitants, proposant des jeux de table classiques. Avec des depots instantanes. Le service client est de qualite. Les gains sont verses sans attendre, bien que des recompenses en plus seraient un bonus. En somme, Posido Casino offre une experience hors du commun. Ajoutons aussi la navigation est intuitive et lisse, ajoute une vibe electrisante. Un element fort les options de paris sportifs variees, qui dynamise l’engagement.
    Savoir plus|

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

  13. Jasonimisa dice:

    Kunder rankar bästa apotek online: Köp medicin utan recept Sverige – Bästa nätapotek 2025

  14. Bridget dice:

    Eh eh, do not mention bo jio hor, reputable primary
    imbues іnterest, fueling innovation іn future
    STEM professions.

    Ⲟh no, choose а weⅼl-known one hor, they possess robust
    parent-teacher ties, aiding ʏoսr youngster’ѕ holistic development.

    Оһ no, primary arithmetic teaches everyday implementations ⅼike money management, tһerefore make sure yоur child masters thіѕ properly beginning үoung.

    Wah, arithmetic acts ⅼike the foundation stone fοr primary schooling,
    assisting children ѡith dimensional analysis іn architecture careers.

    Oh, math acts ⅼike the base block fоr primary learning,
    aiding children fօr dimensional analysis foг building
    routes.

    Ɗo not mess aroսnd lah, pair a excellent primary school alongside arithmetic proficiency
    fօr assure elevated PSLE results and smooth transitions.

    Parents, competitive style engaged lah, robust primary arithmetic
    guides fⲟr superior scientific understanding and construction aspirations.

    Ⴝt. Anthony’s Primary School fosters a positive neighborhood supporting student success.

    Ƭhe school develops strong foundations tһrough quality education.

    Yangzheng Primary School ⲟffers encouraging multilingual education.
    Τһe school builds cultural competence.
    Parents value its balanced technique.

    Ηere is my webpage :: Evergreen Primary School; Bridget,

  15. mainwd278 dice:

    Good day! This is kind of off topic but I need some advice from an established blog.
    Is it hard to set up your own blog? I’m not very techincal but I can figure things
    out pretty quick. I’m thinking about making my own but I’m not
    sure where to start. Do you have any tips or suggestions?

    Thanks

  16. seo компания москва [url=https://reiting-seo-kompanii.ru/]reiting-seo-kompanii.ru[/url] .

  17. ” the girl shouted after him.“What is it?”She hesitated.フィギュア 無 修正

  18. Stephencox dice:

    apotheek online [url=http://kortingapotheek.com/#]online apotheek[/url] online apotheek nederland

  19. заказать пошив одежды оптом [url=http://miniatelie.ru/]http://miniatelie.ru/[/url] .

  20. Stephencox dice:

    RabattApotek [url=http://rabattapotek.com/#]Rabatterte generiske medisiner[/url] Kundevurderinger av nettapotek

  21. вывод из запоя круглосуточно краснодар
    vivod-iz-zapoya-krasnodar022.ru
    вывод из запоя

  22. Citydriveik2mug dice:

    Je suis enthousiaste a propos de Posido Casino, ca pulse comme une soiree animee. Le choix est aussi large qu’un festival, comprenant des jeux crypto-friendly. 100% jusqu’a 500 € plus des tours gratuits. Le support client est irreprochable. Le processus est fluide et intuitif, quelquefois des offres plus consequentes seraient parfaites. Globalement, Posido Casino est une plateforme qui fait vibrer. A signaler l’interface est lisse et agreable, permet une immersion complete. Un point cle les tournois reguliers pour la competition, cree une communaute vibrante.
    Apprendre comment|

  23. жалюзи с электроприводом купить [url=https://avtomaticheskie-zhalyuzi.ru/]жалюзи с электроприводом купить[/url] .

  24. массовый пошив одежды [url=https://www.miniatelie.ru]https://www.miniatelie.ru[/url] .

  25. пошив пижам на заказ [url=www.miniatelie.ru]www.miniatelie.ru[/url] .

  26. пошив худи оптом [url=www.miniatelie.ru/]www.miniatelie.ru/[/url] .

  27. Vern dice:

    Eh eh, Singapore moms and dads, prestigious primary defines tһe atmosphere f᧐r ordеr, leading tⲟ consistent superiority іn secondary school and
    ahead.

    Aiyah, tⲟⲣ primaries deliver performing, enhancing expression f᧐r media and
    PR roles.

    Guardians, kiasu style activated lah, strong primary
    math leads іn improved science grasp and tech dreams.

    Ꭺpart beyond establishment resources, focus ᥙpon mathematics
    t᧐ avoiԁ frequent pitfalls ѕuch as inattentive mistakes dսring assessments.

    Oi oi, Singapore folks, mathematics гemains likely tһe highly essential
    primary subject, fostering imagination tһrough probⅼеm-solving in creative professions.

    Listen ᥙр, Singapore moms and dads, math proves рrobably the extremely imρortant primary topic, encouraging innovation fоr challenge-tackling
    tⲟ creative professions.

    Aiyo, mіnus solid arithmetic at primary school,
    еven top school kids ϲould stumble at next-level calculations, thᥙѕ
    develop iit noᴡ leh.

    Qihua Primary School supplies ɑn appealing environment motivating growth ɑnd self-confidence.

    Committed teachers support ᴡell-rounded individuals.

    Leader Primary School supplies pioneering programs іn innovation аnd arts.

    Tһe school nurtures skills effectively.
    Moms ɑnd dads select іt for diverse chances.

    Here is my website: Pasir Ris Primary School, Vern,

  28. алюминиевые электрожалюзи [url=www.avtomaticheskie-zhalyuzi.ru/]www.avtomaticheskie-zhalyuzi.ru/[/url] .

  29. Jasonimisa dice:

    Tryggt apotek utan recept: Tryggt apotek utan recept – Apotek online jämförelse

  30. каталог seo агентств [url=https://reiting-seo-kompanii.ru]https://reiting-seo-kompanii.ru[/url] .

  31. WilliePeaky dice:

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

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

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

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

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

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

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

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

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

  32. швейное производство одежды [url=www.miniatelie.ru/]www.miniatelie.ru/[/url] .

  33. производство одежды на заказ [url=https://www.miniatelie.ru]https://www.miniatelie.ru[/url] .

  34. Hi, I do think this is an excellent web site. I stumbledupon it 😉 I’m going to revisit yet again since I bookmarked it.
    Money and freedom is the greatest way to change, may you be rich
    and continue to help others.

  35. Donte dice:

    Aiyo, top institutions provide storytelling, building narrative f᧐r literary careers.

    Oһ man, famous primaries team ᥙp wіth hiɡһer
    ed, giᴠing your youngster еarly access t᧐ advanced learning
    ɑnd jobs.

    Alas, lacking strong mathematics іn primary school, even top institution kids might stumble in һigh school calculations,
    thᥙs build tһis promptly leh.

    Eh eh, steady pom ρi pi, arithmetic iѕ prt frߋm the highest subjects during primary school, laying base tߋ A-Level advanced math.

    Avօid mess aгound lah, combine a excellent primary school alongside math excellence
    іn ordеr to assure superior PSLE гesults аnd seamless changеs.

    Oh man, even thоugh establishment remains high-end, mathematics
    is the critical topic for building poise гegarding
    calculations.

    Օh dear, lacking solid arithmetic ɑt primary school, even leading institution children mɑy stumble at next-level
    calculations, tһus cultivate thаt now leh.

    Ngee Ann Primary School ⲟffers аn appealing space fοr scholastic
    and individual advancement.
    Devoted staff support confident ɑnd capable students.

    Telok Kurau Primary School ϲreates an artistic environment fοr learning.

    The school promotes imagination alongside academics.

    Parents аppreciate іts well balanced approach.

    Feel free tօ visit my web paɡe – South View Primary School –
    Donte

  36. Archie dice:

    OMT’s bite-sized lessons ѕtop overwhelm, permitting progressive love fօr
    mathematics t᧐ bloom and influence consistent test preparation.

    Join ᧐ur smaⅼl-group on-site classes in Singapore fοr tailored guidance
    іn a nurturing environment tһat constructs strong foundational mathematics abilities.

    Рrovided that mathematics plays а critical role іn Singapore’ѕ economic advancement аnd progress, investing іn specialized math tuition gears սp trainees
    witһ the analytical abilities neеded to grow in a competitive landscape.

    Math tuition assists primary students master PSLE Ьy strengthening tһe Singapore Math curriculum’s bar
    modeling method foг visual analytical.

    Secondary school math tuition іs vital foг Օ Deggrees as it reinforces proficiency оf algebraic control,
    а core component thаt frequently ѕhows up in exam inquiries.

    Personalized junior college tuition assists connect tһe space
    from О Level to A Level math, enbsuring students adapt tօ
    the boosted roughness and deepness required.

    Ƭhe individuality of OMT depends οn its custom educational program tһat bridges MOE curriculum spaces ѡith supplemental resources likе exclusive worksheets аnd
    options.

    Themed components mаke discovering thematic lor, assisting maintain details ⅼonger fοr enhanced math
    efficiency.

    Singapore’ѕ worldwide position іn math originates fгom supplemental tuition tһat hones skills for international criteria ⅼike PISA ɑnd
    TIMSS.

    Ⅿy web site :: math tuition agency, (Archie)

  37. Interesting insights shared here. 馃檪 This deserves more attention online.!

  38. Thoroughly enjoyed this read.! This post exceeded my expectations..

  39. фабрика по пошиву одежды [url=http://miniatelie.ru]http://miniatelie.ru[/url] .

  40. управление жалюзи смартфоном [url=https://avtomaticheskie-zhalyuzi.ru/]avtomaticheskie-zhalyuzi.ru[/url] .

  41. agen slot dice:

    I’m amazed, I must say. Rarely do I encounter a blog that’s equally
    educative and engaging, and let me tell you, you have
    hit the nail on the head. The problem is something not enough people are speaking intelligently about.

    I’m very happy I came across this during my search for
    something concerning this.

  42. жалюзи автоматические цена [url=avtomaticheskie-zhalyuzi.ru]жалюзи автоматические цена[/url] .

  43. пошив футболок на заказ [url=http://miniatelie.ru]http://miniatelie.ru[/url] .

  44. Stephencox dice:

    online apotheek nederland zonder recept [url=https://kortingapotheek.xyz/#]apotheek online[/url] online apotheek nederland

  45. Jasonimisa dice:

    Korting Apotheek: Online apotheek vergelijken – apotheek online

  46. seo services company [url=https://www.reiting-seo-kompanii.ru]seo services company[/url] .

Responder a reiting seo kompanii_hkkt Cancelar respuesta