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: 113,629

  1. It’s fantastic that you are getting thoughts from
    this paragraph as well as from our argument made at this time.

  2. hargatoto dice:

    For most recent information you have to visit the web and on web I found this web site as a most excellent
    website for most recent updates.

  3. Indexing and index checking service of process for Google and Yandex.
    web indexing my indexing
    World Health Organization tooshie do good from this Service?

    This serve is utilitarian for web site owners
    and SEO specialists World Health Organization neediness to step-up their visibleness in Google and
    Yandex,
    ameliorate their internet site rankings, and increment constitutive dealings.

    SpeedyIndex helps chop-chop index finger backlinks, newfangled
    pages, and internet site updates. fast indexing api http://fastsiteing.tilda.ws/

  4. perfume dice:

    Simply desire to say your article is as surprising.
    The clarity in your put up is simply excellent and that i can suppose you’re a professional in this
    subject. Well along with your permission let me to snatch your feed to stay up
    to date with approaching post. Thank you 1,000,000 and
    please carry on the enjoyable work.

  5. 1xbet официальный сайт, 1хбет зеркало рабочее сегодня представляет пользователям
    богатый выбор развлечений.

    Review my site … https://1xbet-szk.xyz/

  6. Danielsnoni dice:

    п»їJust now, I found an interesting guide regarding generic pills from India. It details how to save money for ED medication. If anyone wants factory prices, take a look: п»їhttps://kisawyer.us.com/# reputable indian online pharmacy. Worth a read.

  7. 1xbet официальный сайт, 1хбет зеркало предоставляет пользователям
    широкий гаму развлечений в мире игр.

    my website :: https://1xcasino.click/

  8. LloydRop dice:

    To save on pharmacy costs, I recommend reading this report. It shows shipping costs. Best prices at this link: п»їhttps://polkcity.us.com/# online pharmacy.

  9. 비아그라는 미국 제약사 화이자가 개발한 남성 발기부전 치료제의
    상품명으로, 주성분은 실데나필(Sildenafil)입니다.
    실데나필은 PDE5 억제제에 속하는

  10. osom_lusn dice:

    Try your luck and win big in[url=https://casino-osom.com/]osom casino app[/url], where excitement and bonuses await every player!
    New players can easily register and start playing within minutes.

  11. RichardHex dice:

    п»їJust now, I found a useful guide about generic pills availability. It covers the safety protocols when buying antibiotics. In case you need Trusted pharmacy sources, visit this link: п»їpolkcity.us.com. Worth a read.

  12. osom_aasn dice:

    Try your luck and win big in[url=https://casino-osom.com/]osom casino app[/url], where excitement and bonuses await every player!
    Experienced customer service representatives provide effective assistance.

  13. Ralphkic dice:

    п»їRecently, I found an interesting report regarding ordering meds from India. The site discusses the manufacturing standards for generic meds. For those interested in cheaper alternatives, take a look: п»їlink. Might be useful.

  14. Very useful information, explained in a simple and clear way. I found exactly what I was looking for.

  15. SAPITOTO dice:

    Wow! Finally I got a website from where I can truly get
    valuable data concerning my study and knowledge.

  16. 合肥服务 dice:

    Sangat berguna, sudah saya bagikan ke tim.

  17. LloydRop dice:

    Quick question about buying generic pills online. I discovered a decent site that lists trusted vendors: п»їUpstate Medical. Check it out.

  18. Diplomi_iror dice:

    купить диплом юргуэс [url=www.r-diploma28.ru/]купить диплом юргуэс[/url] .

  19. Danielsnoni dice:

    п»їRecently, I came across a great report about Indian Pharmacy exports. The site discusses WHO-GMP protocols for generic meds. In case you need Trusted Indian sources, read this: п»їhttps://kisawyer.us.com/# india pharmacy mail order. Hope it helps.

  20. RichardHex dice:

    Has anybody tried safe Mexican pharmacies. I saw a verified site that lists affordable options: п»їUpstate Medical. What do you think?.

  21. Ralphkic dice:

    п»їActually, I found an interesting page concerning cheap Indian generics. It details CDSCO regulations for ED medication. In case you need cheaper alternatives, take a look: п»їhttps://kisawyer.us.com/# buy medicines online in india. It helped me.

  22. 1xbet зеркало, 1хбет зеркало – это отличный способ получить доступ к
    любимым играм и ставкам.

    Also visit my web site; https://1xcasino-zerkal0.click/

  23. certainly like your web-site however you have
    to check the spelling on quite a few of your posts.
    Many of them are rife with spelling problems and I in finding it very troublesome to tell
    the truth nevertheless I will surely come again again.

  24. LloydRop dice:

    Sharing, a helpful analysis on FDA equivalent standards. The author describes how to avoid scams for ED meds. Link: п»їhttps://polkcity.us.com/# best online mexican pharmacy.

  25. Hey! Do you know if they make any plugins to protect against hackers?
    I’m kinda paranoid about losing everything I’ve worked hard
    on. Any suggestions?

  26. Ralphkic dice:

    п»їRecently, I came across an interesting resource about cheap Indian generics. The site discusses CDSCO regulations when buying antibiotics. In case you need factory prices, read this: п»ї[url=https://kisawyer.us.com/#]reputable indian online pharmacy[/url]. Cheers.

  27. Hermanacurl dice:

    Как выбрать деревянные балясины для лестниц деревянные изделия

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

    Основные критерии выбора деревянных балясин
    1. Материал и порода древесины

    При покупке держателей важно учитывать породу дерева. Различают мягкие и твердые породы:

    – Хвойные породы — доступнее по цене, легче поддаются обработке, но менее долговечны и устойчивы к износу.
    – ценные породы — прочные, износостойкие, обладают красивой текстурой и подходят для классического декора.

    Выбор зависит от назначения и бюджета.

    2. Форма и дизайн балясин

    Сегодня существует множество вариантов формы балясин:

    – Классические — с резьбой или витиеватыми узорами.
    – минималистичные — лаконичные, без лишних деталей.
    – орнаментальные — с изящной ручной работой, создающей уникальный стиль.

    Важно, чтобы форма соответствовала архитектуре дома и общей стилистике интерьера.

    3. Размер и пропорции

    Обратите внимание на длину и толщину балясин. Они должны быть пропорциональны ширине лестницы и перил:

    – Оптимальная высота — от 80 до 110 см.
    – Толщина зависит от дизайна, обычно от 4 до 10 см.
    – Балясины не должны выглядеть слишком массивными или слишком тонкими, чтобы не потерять устойчивость и гармонию.

    4. Качество обработки и отделка

    Проверяйте качество шлифовки и ровность поверхности. Отделка может быть:

    – Лакированной — создает защитный слой, подчеркивает натуральную красоту дерева.
    – матовой — сохраняет естественную структуру, без блеска.
    – цветным покрытием — для дополнительной защиты и декора.

    Важно, чтобы покрытие было равномерным и долговечным.

    5. Способы крепления и монтаж

    Балясина должна надежно фиксироваться к ступеням и перилам. Существуют разные технологии:

    – Врезка в ступень и перила.
    – Крепление на специальные крепежные элементы.
    – Универсальные системы сборки.

    Выбор способа зависит от конструкции лестницы и предпочтений.

    Дополнительные рекомендации

    – Подберите балясины, которые будут сочетаться с материалом и цветом ступеней, перил [url=https://ekolestnica.ru/mebelnyj-shhit-v-yaroslavle.html]мебельный щит ярославль[/url]
    – Обратите внимание на вес изделия — тяжелые балясины лучше устойчивы, но требуют прочного основания.
    – Если планируется самостоятельный монтаж, выбирайте модели с простой системой крепления.
    – Для outdoor-лестниц используйте балясины с защитой от влаги и перепадов температуры.

    Итог

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

    Если нужна помощь с подбором или совет по установке — обращайтесь, с удовольствием помогу!

  28. RichardHex dice:

    Has anybody tried buying generic pills online. I ran into a good site that ranks best pharmacies: п»ї[url=https://polkcity.us.com/#]polkcity.us.com[/url]. Check it out.

  29. Ralphkic dice:

    п»їRecently, I came across a helpful page concerning buying affordable antibiotics. It details WHO-GMP protocols on prescriptions. If anyone wants cheaper alternatives, read this: п»їhttps://kisawyer.us.com/# top online pharmacy india. It helped me.

  30. Ralphkic dice:

    п»їJust now, I discovered an interesting report concerning generic pills from India. The site discusses CDSCO regulations when buying antibiotics. If you are looking for Trusted Indian sources, read this: п»ї[url=https://kisawyer.us.com/#]kisawyer.us.com[/url]. Might be useful.

  31. Ralphkic dice:

    п»їTo be honest, I discovered an interesting resource concerning buying affordable antibiotics. It covers the manufacturing standards for ED medication. In case you need cheaper alternatives, check this out: п»їhttps://kisawyer.us.com/# india pharmacy. Hope it helps.

  32. RichardHex dice:

    FYI, an important overview on cross-border shipping rules. It explains how to avoid scams for generics. Full info: п»їUpstate Medical.

  33. Danielsnoni dice:

    п»їActually, I found a useful article regarding cheap Indian generics. It details how to save money for generic meds. For those interested in reliable shipping to USA, check this out: п»ї[url=https://kisawyer.us.com/#]kisawyer.us.com[/url]. Worth a read.

  34. Wunderbar erklärt, leicht zu folgen.

  35. Ralphkic dice:

    п»їActually, I came across a helpful resource about Indian Pharmacy exports. The site discusses the manufacturing standards for ED medication. If you are looking for factory prices, take a look: п»їhttps://kisawyer.us.com/# п»їlegitimate online pharmacies india. Good info.

  36. Danielsnoni dice:

    п»їLately, I came across a helpful article regarding Indian Pharmacy exports. The site discusses how to save money on prescriptions. If you are looking for Trusted Indian sources, check this out: п»ї[url=https://kisawyer.us.com/#]reputable indian online pharmacy[/url]. Hope it helps.

  37. Ralphkic dice:

    п»їRecently, I stumbled upon an interesting article regarding cheap Indian generics. It covers CDSCO regulations on prescriptions. For those interested in Trusted Indian sources, read this: п»їhttps://kisawyer.us.com/# world pharmacy india. Cheers.

  38. prediksi hk dice:

    I know this web page presents quality depending articles or
    reviews and extra information, is there any other site which provides these kinds of data in quality?

  39. LloydRop dice:

    Just wanted to share, a helpful analysis on cross-border shipping rules. It explains how to avoid scams for antibiotics. Source: п»їpharmacy mexico city.

  40. LloydRop dice:

    Has anybody tried buying generic pills online. I ran into a good blog that ranks trusted vendors: п»їpolkcity.us.com. Any thoughts?.

  41. I am truly delighted to glance at this webpage posts which contains lots of valuable information, thanks for providing these
    information.

  42. RichardHex dice:

    п»їJust now, I found a great resource about ordering meds from Mexico. The site discusses how to save money for ED medication. For those interested in Trusted pharmacy sources, go here: п»їhttps://polkcity.us.com/# mexican pharmacies online. Worth a read.

  43. Fırat Engin bahis siteleri, Casino Siteleri Nargül Engin, Slot Siteleri Hüseyin Engin, Deneme
    Bonusu Veren Siteler Ahmet Engin, Mehdi Deneme Bonusu, Mehdi Deneme bonusu veren siteler

Responder a Diplomi_iror Cancelar respuesta