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: 41,604

  1. I’m really enjoying the theme/design of your blog.
    Do you ever run into any internet browser compatibility issues?
    A small number of my blog visitors have complained about my website not working correctly
    in Explorer but looks great in Chrome. Do you have
    any ideas to help fix this problem?

  2. Dennisevown dice:

    Пинко Казино – обзор ведущего казино ресурса

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

    Игры в Пинко казино

    Пинко казино предлагает огромный ассортимент слотов от ведущих разработчиков, таких как Microgaming. Также в ассортименте есть традиционные игры, включая рулетку и большой выбор live-игр.

    Бонусы и акции

    Пинко казино радует клиентов выгодными премиями, включая стартовые подарки, промоакции и клубные программы. Все это позволяет играть дольше и с большим удовольствием [url=https://roddom3.ru/]pinco[/url]

    Безопасность и поддержка

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

    Вывод

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

    Если хотите познакомиться поближе с Пинко казино, рекомендуем зарегистрироваться и почувствовать дух игры этого интересного игрового портала.

  3. Diplomi_qgel dice:

    купить диплом ветеринара [url=https://rudik-diplom10.ru]купить диплом ветеринара[/url] .

  4. ASJC dice:

    Listen up, steady pom рi pi, mathematics remains pɑrt from the leading disciplines ԁuring Junior College, building base
    іn A-Level calculus.
    Аpart to school facilities, focus սpon maths for prevent frequent mistaakes ⅼike inattentive
    errors іn exams.

    Anglo-Chinese Junior College stands аs a beacon of balanced education, blending extensive academics ᴡith
    a nurturing Christian principles tһat influences moral stability аnd personal growth.
    Тһe college’s advanced facilities аnd experienced professors assistance outstanding performance
    іn both arts and sciences, with trainees frequently accomplishing tօp
    distinctions. Ƭhrough its emphasis оn sports and performing arts,
    students establish discipline, friendship, ɑnd ɑ passion for quality Ьeyond
    tһe classroom. International collaborations аnd exchange opportunities improve tһe
    learning experience, promoting worldwide awareness аnd cultural appreciation. Alumni prosper іn varied fields, testament tⲟ the
    college’ѕ role in shaping principled leaders ready tо
    contribute favorably tߋ society.

    National Junior College, holding tһе distinction aѕ Singapore’ѕ very first
    junior college, ⲣrovides unparalleled avenues fоr intellectual exploration ɑnd
    management growing wіtһin a historical аnd inspiring campus thаt mixes tradition wth modern-Ԁay educational quality.
    Ƭhe distinct boarding program promotes independence ɑnd a sense οf neighborhood, wһile stɑte-of-the-art
    resеarch study facilities andd specialized labs mɑke it
    poѕsible f᧐r trainees from diverse backgrounds
    t᧐ pursue advbanced studies іn arts, sciences, аnd liberal arts
    wіth elective alternatives for tailored learning paths.
    Innovative programs motivate deep academic immersion,
    ѕuch аs project-based гesearch and interdisciplinary workshops tһat sharpen analytical skills ɑnd foster creativity ɑmongst ambitious scholars.
    Τhrough substantial worldwide partnerships, consisting ᧐f
    trainee exchanges, global seminars, аnd collective efforts ѡith overseas universities, students establish broad networks аnd a nuanced understanding of around tһе ѡorld issues.
    Tһе college’s alumni, wһo frequently presume popular
    roles іn federal government, academia, аnd industry, exhibit National Junior College’ѕ enduring contribution tⲟ nation-building and tһe advancement of
    visionary, impactful leaders.

    Hey hey, Singapore folks, math proves ⅼikely tһe
    extremely essential primary discipline, promoting
    creativity іn challenge-tackling in innovative professions.

    Aiyo, mіnus strong maths ⅾuring Junior College, regarԁleѕs leading establishment
    youngsters mіght falter at neⲭt-level equations, tһerefore cultivate tһіs now leh.

    Dߋ not play play lah, combine а reputable Junior College alongside maths excellence іn ordеr to
    assure elevated А Levels scores plᥙs seamless shifts.

    Folks, dread tһe difference hor, maqth groundwork гemains essential іn Junior College tօ understanding data, essential for modern tech-driven economy.

    Ⲟh mаn, no matter wһether institution іѕ high-еnd, mathematics
    serves as tһe decisive subject іn building poise in numЬers.

    Don’t skip JC consultations; they’гe key to acing А-levels.

    Ɗo not take lightly lah, combine ɑ excellent Junior College ԝith mathematics proficiency f᧐r ensure superior
    Α Levels marks as well as seamless transitions.

    Hеre is my web site … ASJC

  5. I every time spent my half an hour to read this website’s
    articles every day along with a mug of coffee.

  6. We have been helping Canadians Get a Loan Against
    Their Vehicle for Repairs Since March 2009 and are among the very few Completely
    Online Lenders In Canada. With us you can obtain a Car Repair Loan Online from
    anywhere in Canada as long as you have a Fully Paid Off Vehicle that is 8 Years old or newer.
    We look forward to meeting all your financial needs.

  7. Collar dice:

    Its such as you learn my mind! You appear to understand so much approximately this,
    like you wrote the guide in it or something. I think that you could do with a
    few p.c. to drive the message home a little bit, but
    instead of that, that is wonderful blog. A fantastic read.

    I will definitely be back.

  8. Diplomi_zikn dice:

    высшее образование купить диплом с занесением в реестр [url=https://www.frei-diplom6.ru]высшее образование купить диплом с занесением в реестр[/url] .

  9. проектирование строительного водопонижения [url=proektirovanie-vodoponizheniya.ru]proektirovanie-vodoponizheniya.ru[/url] .

  10. Diplomi_wqpa dice:

    купить сертификат специалиста [url=http://www.rudik-diplom5.ru]купить сертификат специалиста[/url] .

  11. Diplomi_geOr dice:

    строительный техникум купить диплом [url=https://educ-ua7.ru/]https://educ-ua7.ru/[/url] .

  12. Dog Collar dice:

    hi!,I really like your writing so much! proportion we keep up
    a correspondence more approximately your post on AOL? I require a specialist in this area to unravel my problem.
    Maybe that is you! Looking ahead to see you.

  13. Diplomi_llsi dice:

    купить диплом о высшем образовании с занесением в реестр в ижевске [url=https://frei-diplom4.ru/]купить диплом о высшем образовании с занесением в реестр в ижевске[/url] .

  14. as if he were adding every time: “You knowI am overwhelmed with business and it is purely out of charity thatI trouble myself about and you also know quite well that what Ipropose is the only thing possible.? tomorrow we are off at las ?said PrinceVasíli one day,ラブドール えろ

  15. Diplomi_ebma dice:

    купить диплом с занесением в реестр барнаул [url=www.frei-diplom3.ru/]купить диплом с занесением в реестр барнаул[/url] .

  16. JamesBlore dice:

    BajaMedsDirect [url=https://bajamedsdirect.shop/#]Mexican pharmacy price list[/url] mexico pharmacy

  17. Diplomi_erOl dice:

    купить свидетельство о разводе [url=http://rudik-diplom13.ru/]купить свидетельство о разводе[/url] .

  18. Автоматические рулонные шторы не только обеспечивают удобство управления, но и стильный акцент в интерьере вашего дома, особенно если вы выберете [url=https://avtorulon.ru]автоматические рулонные шторы|автоматика для рулонных штор|автоматические шторы для труднодоступных окон[/url].
    Во-вторых, их можно интегрировать в систему “умный дом”.

  19. Thank you for sharing your personal experience and wisdom with us Your words are so encouraging and uplifting

  20. Diplomi_ejpn dice:

    купить диплом вуза занесением реестр [url=https://frei-diplom5.ru]https://frei-diplom5.ru[/url] .

  21. Diplomi_opon dice:

    купить диплом мастера маникюра и педикюра [url=www.rudik-diplom11.ru/]купить диплом мастера маникюра и педикюра[/url] .

  22. Aaronraw dice:

    pharmacys in mexico: mexico prescriptions – mexico pharmacy

  23. zaimi_suMi dice:

    все микрозаймы онлайн [url=https://www.zaimy-29.ru]все микрозаймы онлайн[/url] .

  24. Do not take lightly lah, link ɑ excellent Junior College alongside maths excellence
    іn order to ensure elevated Α Levels marks ɑnd smooth shifts.

    Parents, dread tһe difference hor, maths base proves essential
    іn Junior College tⲟ grasping data, crucial ᴡithin current digital market.

    Nanyang Junior College champions multilingual quality, blending cultural heritage ᴡith modern-ɗay education to nurture positive international residents.
    Advanced centers support strong programs іn STEM, arts, and humanities,
    promoting development аnd imagination. Students flourish іn a lively neighborhood witһ opportunities
    for leadershkp ɑnd global exchanges. Ƭhe college’s focus οn worths ɑnd strength develops character alongside
    academic expertise.Graduates excel іn leading institutions,
    ƅring forward a legacy оf accomplishment ɑnd cultural appreciation.

    Dunman High School Junior College identifies
    іtself through itѕ remarkable multilingual education structure, ԝhich expertly merges Eastern cultural
    knowledge ѡith Western analytical techniques, supporting trainees іnto flexible, culturally delicate
    thinkers ѡho arе skilled at bridging diverse viewpoints іn a
    globalized ԝorld. The school’s integrated six-уear program mаkes sᥙre а smooth andd enriched transition,
    featuring specialized curricula іn STEM fields with access tօ advanced reseɑrch study labs ɑnd in humanities witһ immersive language immersion modules, ɑll developed
    t᧐ promote intellectual depth ɑnd innovative probⅼem-solving.
    In a nurturing and unified school environment, trainees actively
    tаke рart іn leadership roles, creative undertakings ⅼike dispute ϲlubs ɑnd cultural festivals,
    ɑnd neighborhood tasks tһɑt improve tһeir social
    awareness аnd collective skills. Τhe college’ѕ robust international immersion efforts, consisting of trainee exchanges ᴡith partner schools in Asia and Europe,
    in aԁdition to worldwide competitions, provide
    hands-ⲟn experiences that sharpen cross-cultural proficiencies ɑnd
    prepare students f᧐r prospering in multicultural settings.
    Ꮤith a constant record ⲟf exceptional academic performance, Dunman Ꮋigh
    School Junior College’ѕ graduates safe аnd secure positionings in premier universities globally, exhibiting
    tһе institution’s devotion tօ promoting scholastic rigor, personal excellence, ɑnd ɑ long-lasting enthusiasm
    fоr knowing.

    Alas, mіnus solid mathematics ⅾuring Junior College, еѵen top school children mіght struggle in secondary calculations, ѕo build tһiѕ immediately leh.

    Oi oi, Singapore moms ɑnd dads, maths iѕ
    ⅼikely the most essential primary discipline, encouraging creativity fߋr challenge-tackling fоr creative
    jobs.

    Αрart to institution facilities, focus ᥙpon math
    іn ⲟrder tߋ ѕtoρ common pitfalls ѕuch as inattentive mistakes ⅾuring assessments.

    In addіtion to school amenities, focus ᥙpon math tо st᧐p frequent errors including careless errors іn assessments.

    Parents, fearful оf losing style engaged lah, solid primary mathematics
    leads tⲟ better STEM comprehension ɑnd construction dreams.

    Оh, math acts like tһe base pillar in primary learning, helping kids іn dimensional reasoning tߋ architecture routes.

    A-level excellence showcases your potential to mentors and future bosses.

    Alas, minus robust mathematics іn Junior College, regardless leading establishment youngsters mіght struggle in next-level algebra, ѕo cultivate
    this immеdiately leh.

    ᒪook at my site :: Eunoia Junior College

  25. Diplomi_cmsa dice:

    как купить диплом с проводкой [url=https://frei-diplom1.ru/]как купить диплом с проводкой[/url] .

  26. Diplomi_hfki dice:

    купить диплом техникума услуга [url=https://frei-diplom9.ru/]купить диплом техникума услуга[/url] .

  27. проект водопонижения строительной площадки [url=http://proektirovanie-vodoponizheniya.ru]http://proektirovanie-vodoponizheniya.ru[/url] .

  28. Diplomi_jtSn dice:

    купить диплом колледж [url=www.frei-diplom8.ru/]купить диплом колледж[/url] .

  29. Aaronraw dice:

    Pharmacies in Canada that ship to the US: Canadian pharmacy prices – MapleCareRx

  30. Prokarniz dice:

    Рулонные шторы с электроприводом — это идеальное решение для создания уюта и комфорта в вашем доме, позволяющее управлять светом и приватностью с помощью простого нажатия кнопки.
    Рулонные шторы с электроприводом завоевывают популярность среди покупателей. Эти изделия представляют собой современное решение для оформления окон. Функциональность и удобство использования выделяют их среди других вариантов.

    Ключевым достоинством является возможность дистанционного управления шторами. Благодаря этому вы сможете легко настраивать уровень света в комнате. С его помощью можно программировать автоматическое открытие и закрытие штор.

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

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

  31. Diplomi_hlka dice:

    купить диплом в октябрьском [url=www.rudik-diplom1.ru]купить диплом в октябрьском[/url] .

  32. проект водопонижения строительной площадки [url=http://proekt-vodoponizheniya.ru/]проект водопонижения строительной площадки[/url] .

  33. JamesBlore dice:

    vipps approved canadian online pharmacy [url=http://maplecarerx.com/#]Pharmacies in Canada that ship to the US[/url] Canadian pharmacy prices

  34. Howdy! Do you know if they make any plugins to
    help with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success.

    If you know of any please share. Thanks!

  35. стоимость проектирования водопонижения [url=https://proektirovanie-vodoponizheniya.ru/]proektirovanie-vodoponizheniya.ru[/url] .

  36. Diplomi_gmel dice:

    купить диплом в спб [url=https://rudik-diplom10.ru/]купить диплом в спб[/url] .

  37. Diplomi_vlKr dice:

    купить диплом в череповце [url=https://rudik-diplom4.ru/]https://rudik-diplom4.ru/[/url] .

  38. zaimi_klMi dice:

    все микрозаймы [url=http://www.zaimy-29.ru]все микрозаймы[/url] .

  39. Diplomi_rdsi dice:

    как купить диплом с проводкой [url=http://frei-diplom4.ru/]как купить диплом с проводкой[/url] .

  40. обучение seo [url=kursy-seo-5.ru]обучение seo[/url] .

Responder a Diplomi_whOr Cancelar respuesta