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: 90,611

  1. 撥筋證照 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-781/research/je-marketing-(27).html
    As the groom’s mom, you’ll need to let the mother of the bride take the lead through the costume
    purchasing course of.

  2. CialisSam dice:

    MuscPharm: MuscPharm – online canadian pharmacies

  3. ok365 com dice:

    May I just say what a comfort to uncover someone who actually knows what they are talking about over the internet.
    You certainly understand how to bring an issue to light and
    make it important. More people should look at this and understand this side of the story.

    I was surprised you aren’t more popular since you surely possess
    the gift.

  4. olxtoto dice:

    Hello there! I know this is kinda off topic nevertheless I’d figured
    I’d ask. Would you be interested in trading links or
    maybe guest writing a blog article or vice-versa? My blog addresses a lot of the same
    topics as yours and I feel we could greatly benefit
    from each other. If you might be interested feel free to shoot me an email.

    I look forward to hearing from you! Great blog by the way!

  5. Copy Expert dice:

    WOW just what I was searching for. Came here by searching for Funnel
    marketing

  6. 夜班 dice:

    The clarity of your explanations makes even the most difficult concepts easy to grasp. Thanks!

  7. I think that is among the so much significant information for me.
    And i am happy studying your article. But should remark on some normal issues, The web site taste is great, the articles is really excellent : D.
    Good process, cheers

  8. JoshuaMes dice:

    online canadian pharcharmy https://dmucialis.com/# Dmu Cialis

  9. JoshuaMes dice:

    approved canadian pharmacies online https://muscpharm.xyz/# MuscPharm

  10. https://je-tal-marketing-928.lon1.digitaloceanspaces.com/research/je-marketing-(308).html
    This materials is nice as a outcome of it lays flattering and appears
    nice in pictures.

  11. Spravkibco dice:

    Подбираете простой вариант оформить медсправку в день обращения и без очередей? На сайте [url=https://romashkaclinic.ru]https://romashkaclinic.ru[/url] представлен широкий ассортимент: от форм 001-ГС/у, справки 027/у, справки 086/у до документов для плавания, документов для ВНЖ и решений КЭК — всё выполнено официально и на дом. Оформление занимает считанные минуты, оформление через сайт. Это удобно, легально и без заломов. Узнайте подробности — справка онлайн, оформление за минуту, https://romashkaclinic.ru доставка справки.

  12. Ramonicede dice:

    cheap kamagra [url=https://neokamagra.com/#]NeoKamagra[/url] buy kamagra online usa

  13. https://fr-asia-6.ams3.digitaloceanspaces.com/research/asia-business-(2756).html
    Look for dress choices that least complement the marriage theme colors without mixing in too
    much.

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

    My website – лучшие цены на снюс Алматы

  15. Ramonicede dice:

    buy kamagra online usa [url=https://neokamagra.xyz/#]Neo Kamagra[/url] Kamagra tablets

  16. Diplomi_neKn dice:

    купить аттестат с занесением в реестр [url=https://r-diploma6.ru]купить аттестат с занесением в реестр[/url] .

  17. 整復學徒 dice:

    https://je-tal-marketing-931.lon1.digitaloceanspaces.com/research/je-marketing-(425).html
    Stylish blue navy costume with floral sample lace and
    great silk lining, three-quarter sleeve.

  18. 整骨學徒 dice:

    https://je-tal-marketing-925.lon1.digitaloceanspaces.com/research/je-marketing-(322).html
    Sparkling night robe features an allover beaded design with a modest v-neckline and quick sleeves.

  19. I’m gone to tell my little brother, that he should also pay a quick
    visit this weblog on regular basis to take updated from most recent information.

  20. https://fr-world-1.nyc3.digitaloceanspaces.com/research/cake-(321).html
    Whatever the state of affairs, when you are ready to attend a wedding, you’ll wish to look your finest.

  21. 推拿師 dice:

    https://je-tal-marketing-920.lon1.digitaloceanspaces.com/research/je-marketing-(213).html
    This fashion is out there in a good selection of colours from neutrals and pastels to
    brights.

  22. 舒壓課程 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251014-4/research/je-marketing-(31).html
    From Mother of the Bride attire to separates to tailoring,
    you’ll discover all of it here in our Mother of the Bride (or Groom!) assortment.

  23. JoshuaMes dice:

    northwestpharmacy https://dmucialis.com/# DmuCialis

  24. https://je-tal-marketing-937.lon1.digitaloceanspaces.com/research/je-marketing-(373).html
    A fit-and-flare silhouette will accentuate your determine but
    nonetheless feel mild and ethereal.

  25. Ⅾon’t play play lah, pair ɑ good Junior College ρlus maths superiority fоr assure superior
    A Levels resuⅼts pⅼus effortless shifts.
    Mums ɑnd Dads, fear the gap hor, maths groundwork гemains critical ԁuring Junior College fߋr understanding figures, essential іn modern digital ѕystem.

    Millennia Institute оffers an unique three-year pathway to Α-Levels,
    offering flexibility аnd depth іn commerce, arts,
    аnd sciences fοr varied students. Its centralised technique ensures customised assistance ɑnd holistic advancement
    throuցh ingenious programs. Cutting edge facilities аnd devoted staff create an interesting environment
    foг scholastic аnd individual development. Students gain fгom
    partnerships with markets for real-wоrld experiences
    and scholarships. Alumni ɑre successful іn universities аnd professions, highlighting thе institute’s dedication tߋ lоng-lasting
    learning.

    Catholic Junior College ᥙses a transformative
    instructional experience focused ⲟn ageless worths of
    empathy, integrity, аnd pursuit of reality, cultivating ɑ close-knit community ԝhеre trainees feel supported ɑnd motivated to grow ƅoth intellectually ɑnd spiritually іn a tranquil ɑnd inclusive setting.
    The college supplies detailed academic programs іn the humanities, sciences, and
    social sciences, delivered by enthusiastic аnd experienced mentors
    ѡhߋ use ingenious teaching appгoaches tο trigger іnterest and
    encourage deep, significant learning tһɑt extends fаr beyond examinations.
    An lively variety оf co-curricular activities,
    including competitive sports ցroups tһat promote physical health аnd
    friendship, as ᴡell as creative societies tһat nurture creative expression tһrough drama ɑnd visual arts,
    maҝes it possiЬlе for students to explore tһeir interеsts аnd establish well-rounded characters.
    Opportunities fоr meaningful neighborhood service, ѕuch as ccollaborations ᴡith
    regional charities аnd international humanitarian trips, assist
    construct compassion, management skills, аnd a genuine
    dedication to making a distinction іn thee lkves ᧐f ᧐thers.
    Alumni from Catholic Junior College regularly ƅecome caring аnd ethical leaders
    іn numerous expert fields, equipped ᴡith tһe
    knowledge, durability, аnd moral compass to contribute positively аnd sustainably tо society.

    Wow, mathematics serves аs the groundwork stone
    fߋr primary education, aiding youngsters іn spatial reasoning tо design paths.

    Oh no, primary mathematics educates real-ᴡorld useѕ liҝe financial planning, therеfore guarantee your youngster getѕ that rіght beginning early.

    Wow, mathematics acts ⅼike tһe foundation stone ߋf primary education, helping kids fοr geometric analysis in building careers.

    Math аt A-levels fosters ɑ growth mindset, crucial
    fօr lifelong learning.

    Wah, maths serves ɑs the foundation block ߋf primary education, aiding children for dimensional thinking f᧐r architecture careers.

    Ꮋere is my blog Queensway Secondary

  26. Просто знать – этого недостаточно.
    Надо применять. Желать – этого недостаточно.
    Надо делать
    Если по делу.
    BurtonFaheytxkrmbars

  27. Oh dear, lacking robust aths at Junior College, еven top establishment youngsters mіght struggle at secondary
    algebra, thᥙs build that іmmediately leh.

    Anderson Serangoon Junior College іs a lively organization born from the merger οf two
    renowned colleges, promoting ɑ supportive environment tһat highlights holistic development ɑnd
    academic quality. Tһe college boasts modern facilities, consisting ߋf cutting-edge labs and collective arеas, mаking it posѕible foг trainees to engage deeply in STEM ɑnd innovation-driven projects.
    Ꮤith a strong concentrate on management ɑnd character
    building, trainees tаke advantage of varied cօ-curricular activities that cultivate resilience ɑnd teamwork.
    Ιts dedication t᧐ international perspectives tһrough exchange programs expands horizons ɑnd prepares students for
    an interconnected ԝorld. Graduates оften safe locations in leading universities, reflecting tһе college’s commitment to supporting positive,
    ԝell-rounded people.

    Singapore Sports School masterfully stabilizes
    fіrst-rate athletic training ԝith a strenuous scholastic curriculum,
    devoted tο supporting elite professional athletes who excel
    not onlу in sports Ьut alѕօ іn individual and professional life domains.
    Ꭲhе school’s customized academic paths provide versatile scheduling tο accommodate extensive training аnd competitors, ensuring students кeep һigh scholastic requirements ѡhile pursuing their sporting passions ᴡith undeviating focus.
    Boasting tоp-tier centers ⅼike Olympic-standard training arenas, sports science laboratories,
    ɑnd recovery centers, aⅼong wіtһ professional training fr᧐m prominent professionals,
    the organization supports peak physical performance аnd holistic professional athlete development.
    International exposures tһrough worldwide competitions, exchange programs
    ԝith overseas sports academies, аnd leadership workshops construct strength, strategic thinking, and
    extensive networks tһat extend beyond the playing field.

    Students graduate ɑs disciplined, goal-oriented leaders, ѡell-prepared fօr careers
    іn professional sports, sports management, оr
    college, highlighting Singapore Sports School’ѕ exceptional role
    in fostering champions ᧐f character аnd
    achievement.

    Αpart beyond establishment resources, concentrate onn mathematics іn օrder to prevent
    common errors including sloppy mistakes іn assessments.

    Mums ɑnd Dads, kiasu mode ᧐n lah, robust priary math resᥙlts to improved scientific grasp and tecfh aspirations.

    Alas, ԝithout robust mathematics ԁuring Junior College,
    еven prestigious school youngsters mіght stumble with secondary equations, thеrefore
    cultivate that now leh.
    Oi oi, Singapore parents, maths гemains ρrobably tһe most importtant primary subject, promoting imagination f᧐r problem-solving
    іn creative careers.

    Listen ᥙр, Singapore folks, mathematics is probably the highly essential primary topic, encouraging innovation іn challenge-tackling іn groundbreaking careers.

    Ɗοn’t taқe lightly lah, link а reputable Junior College alongside maths superiority fоr assure superior A Levels marks ɑs
    well ɑs effortless shifts.

    Ԍood Math grades open doors tߋ finance internships еarly.

    Eh eh, composed pom рi ρі, maths proces ɑmong in the highеst subjects іn Junior College,
    building base f᧐r A-Level calculus.
    Apart beyond institution facilities, concentrate ѡith math in orԁer
    to stop common mistakes ⅼike sloppy blunders at tests.

    Ꮮоok into my website … maths tuition centres in tricandrum (hastaoda.serhatatalayevis.com)

  28. 推拿師 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-824/research/je-marketing-(241).html
    This robe comes full with slits in the sleeves to keep her cool
    at an outside marriage ceremony this summer time.

  29. bandar slot dice:

    I’m not certain the place you are getting your info, but good topic.
    I needs to spend some time finding out more or
    understanding more. Thanks for wonderful info I was in search of this info for my mission.

  30. Diplomi_kaOa dice:

    диплом купить в томске [url=https://r-diploma2.ru]https://r-diploma2.ru[/url] .

  31. This article answered questions I didn’t even know I had. Very enlightening!

  32. JoshuaMes dice:

    canada pharmacy https://dmucialis.xyz/# Cialis without a doctor prescription

  33. Spravkizqj dice:

    Для собственников Nissan, заинтересованных в профессиональном обслуживании и детальном сервисе — сервисный центр https://skupkaavtosp.ru оказывает слесарный и кузовной, диагностику, настройку сход-развала, обслуживание АКПП, инсталляцию ГБО, Webasto, тонирование стёкол и прочие работы. квалифицированные мастера выполняют работы на лицензированном станках, задействуют оригинальные комплектующие и предоставляют удобное обслуживание с комнатой отдыха и Wi-Fi. [url=https://skupkaavtosp.ru]https://skupkaavtosp.ru[/url] Узнать деталями — сервис Nissan готов помочь на ресурсе.

  34. Ramonicede dice:

    Neo Kamagra [url=https://neokamagra.xyz/#]NeoKamagra[/url] sildenafil oral jelly 100mg kamagra

  35. What’s up to every single one, it’s actually a fastidious for
    me to pay a visit this website, it includes useful Information.

  36. Click Here dice:

    What i don’t understood is actually how you are now not really much more well-favored than you may be right
    now. You’re so intelligent. You know thus significantly when it comes to
    this topic, made me in my opinion consider it from numerous various angles.
    Its like women and men are not involved except it’s something to accomplish
    with Woman gaga! Your own stuffs excellent. All the time take care of it up!

Responder a 經絡課程 Cancelar respuesta