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: 85,202

  1. Bmw777 login dice:

    Heya i am for the first time here. I came across this board and
    I find It truly useful & it helped me out a lot. I hope to give something back and aid others like you aided me.

  2. жалюзи на пульте [url=https://prokarniz23.ru/]жалюзи на пульте[/url] .

  3. melbet_tqMl dice:

    мелбет фрибет [url=melbet5003.ru]melbet5003.ru[/url]

  4. uztabn.com dice:

    Super helpful and straight to the point. https://3nz9f.icu/

  5. ZacharyUnamp dice:

    https://bluewavemeds.com/# online pharmacy for Kamagra

  6. they release hormones that help you “chemically and emotionally bond with your lover'” ラブドール avand those increased bonds “facilitate you into being more physical with your lover.”

  7. Howdy, i read your blog from time to time and i own a similar one and
    i was just wondering if you get a lot of spam feedback?
    If so how do you protect against it, any plugin or anything you can advise?
    I get so much lately it’s driving me mad so any support is
    very much appreciated.

  8. JeremyBap dice:

    узнать больше https://kra47at.at/

  9. пластиковые жалюзи с электроприводом [url=prokarniz23.ru]prokarniz23.ru[/url] .

  10. не хочется то, мазда 5 характеристики что объявление пришлось размещать платно!

    Узнайте историю автомобиля перед покупкой.

  11. мелбет фрибет без депозита [url=https://melbetbonusy.ru/]https://melbetbonusy.ru/[/url] .

  12. melbet_ywmt dice:

    support melbet [url=https://melbet5002.ru]https://melbet5002.ru[/url]

  13. melbet website [url=https://v-bux.ru]https://v-bux.ru[/url] .

  14. Davidusego dice:

    перейти на сайт https://kra47at.at

  15. Davidkib dice:

    fast delivery Kamagra pills: kamagra – buy Kamagra online

  16. Davidkib dice:

    Tadalafil Tablet: Generic Tadalafil 20mg price – EveraMeds

  17. melbet_ovmt dice:

    мелбет фрибет [url=melbet5002.ru]melbet5002.ru[/url]

  18. Ronaldabisa dice:

    нажмите здесь https://kra48at.at

  19. TristanFag dice:

    BlueWaveMeds [url=https://bluewavemeds.com/#]Blue Wave Meds[/url] kamagra

  20. алюминиевые электрожалюзи [url=http://prokarniz23.ru/]http://prokarniz23.ru/[/url] .

  21. I used to be suggested this website by my cousin. I am now not certain whether or
    not this publish is written by him as no one else know such precise about my difficulty.
    You are wonderful! Thanks!

  22. melbet_qwMl dice:

    скачать мелбет казино [url=melbet5003.ru]скачать мелбет казино[/url]

  23. Michealzek dice:

    Мебель Беларусь каталог с ценами – где выгодно купить качественную мебель

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

    Ассортимент мебели Беларусь каталог с ценами

    Белорусские производители предлагают широкий выбор [url=https://urozhayniy.com/top-5-kriteriev-nadezhnogo-proizvoditelya-mebeli-kak-ne-oshibitsya-s-vyborom/]купить мебель минск[/url] ассортимент изделий с подробным указанием цен. В каталоге можно найти:

    – спальни
    – кухни
    – гостиные наборы
    – шкафные системы
    – офисная мебель

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

    Купить мебель в Минске надежно и удобно

    Для тех, кто хочет выгодно заказать мебель от производителя в столице, существует несколько способов:

    – Посещение фирменных салонов — здесь можно увидеть и осмотреть мебель
    – Заказ мебели через каталоги с ценами — мониторинг предложений позволяет выбрать оптимальный вариант по цене и дизайну
    – Покупка мебели у местных производителей напрямую — это гарантия качества и экономия средств

    Сегодня всё более популярным становится онлайн-заказ мебели. Благодаря удобным сервисам и подробным каталогам с фотографиями и ценами это просто как никогда.

    Мебель купить онлайн быстро и выгодно

    Современные интернет-магазины предлагают полный цикл покупки:

    – Изучение каталога с ценами и описаниями
    – Заказ выбранного гарнитура или комплекта в несколько кликов
    – Услуги доставки и сборки мебели на дом

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

    Итог

    Если вы хотите качественную мебель из Белоруссии, стоит обратить внимание на разнообразные каталоги с ценами, которые регулярно обновляются. Для заказа мебели в столице можно использовать как офлайн, так и онлайн-площадки, что обеспечивает максимально комфортный и выгодный процесс покупки.

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

  24. melbet_fsmt dice:

    мелбет рабочее зеркало [url=melbet5002.ru]мелбет рабочее зеркало[/url]

  25. waiting for the passing away of a fantastic invasion.“They swore aloud together–out of sheer fright,ラブドール

  26. Davidkib dice:

    EveraMeds: EveraMeds – EveraMeds

  27. When I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I recieve
    four emails with the same comment. There has to be a way you are able to remove me from that service?

    Cheers!

  28. melbet_xtmt dice:

    melbet aviator signal [url=https://melbet5002.ru/]melbet aviator signal[/url]

  29. etc.エロ ラブドールbecome part (but not the majority) of a man’s mentality and personality and so-called masculine qualities like courage,

  30. Hello to every body, it’s my first pay a quick visit of
    this blog; this website contains amazing and really
    fine material in support of visitors.

  31. RalphCluch dice:

    [b]Оцинкованные трубы: надежность и долговечность в каждой конструкции[/b]

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

    [b]Производство и преимущества[/b]

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

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

    [b]Применение[/b]

    Оцинкованные трубы широко используются в различных областях:

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

    [b]Выбор и уход[/b]

    При выборе оцинкованных труб важно учитывать условия эксплуатации и требования к прочности. Регулярный осмотр и своевременное удаление загрязнений помогут продлить срок службы трубы. В каких случаех необходима [url=https://obovsem.myqip.ru/?1-12-0-00000336-000-0-0-1761292326]оцинкованная труба?[/url]

  32. melbet_pqMl dice:

    melbet kg [url=melbet5003.ru]melbet kg[/url]

  33. In Singapore’s merit-driven schools, secondary school math tuition is vital for youг child tߋ achieve balanced math proficiency.

    Shiok lah, ƅeing number one in global math feels ѕo gоod for Singapore!

    Moms and dads, logic creative ᴡith Singapore math tuition’ѕ promo.
    Secondary math tuition believing ᧐ut-of-box.
    Register in secondary 1 math tuition fߋr deduced deductions.

    Ꭲhe cost-effectiveness օf secondary 2 math tuition attract budget-conscious parents.
    Secondary 2 math tuition ⲣrovides hіgh worth for cash. Wіth rеsults-oriented secondary 2 math tuition,
    financial investments settle. Secondary 2
    math tuition balances quality ɑnd price.

    In secondary 3, math exams test advanced subjects tһɑt form the backbone of Օ-Level preparation,
    mаking hіgh scores necessary for building momentum tօward tһе ⅼast year.
    Succeeding prevents knowledge gaps tһat mіght prevent performance іn the
    O-Levels, where math grades heavily influence оverall
    L1R5 ratings. Ƭhіѕ accomplishment not ⲟnly boosts confidence Ьut lіkewise enhances eligibility fοr junior college ߋr polytechnic programs.

    Secondary 4 exams аre a standard іn Singapore’s merit-based path.
    Secondary 4 math tuition explores math approach. Ꭲhіs depth
    enhances O-Level understanding. Secondary 4 math tuition promotes tһοught.

    Mathematics extends іts impоrtance ρast exams; іt’s an indispensable skill іn exploding ΑI, vital for fraud prevention іn banking.

    Foster ɑ passion for math and apply іts principles in everyday real life tⲟ
    excel in mathematics.

    Ᏼy ᥙsing paѕt papers from diverse secondary schools
    in Singapore, students сan simulate fuⅼl exam marathons fⲟr endurance.

    Online math tuition via e-learning enhances exam success іn Singapore by providing cultural context іn wоrd problemѕ.

    Lor ɑh, chill leh, уouг kid wіll love secondary school,support ԝithout extra tension.

    my web site; further maths tuition singapore

  34. Diplomi_avPr dice:

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

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

  36. Jamesarolf dice:

    посетить сайт https://kra48at.at

  37. HenryAburi dice:

    ссылка на сайт https://kra46att.at

  38. Diplomi_goml dice:

    купить диплом урфюи [url=www.r-diploma10.ru/]купить диплом урфюи[/url] .

  39. Davidkib dice:

    EveraMeds: EveraMeds – cialis generic

Responder a Davidusego Cancelar respuesta