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

  1. номер наркологии [url=https://narkologicheskaya-klinika-13.ru/]narkologicheskaya-klinika-13.ru[/url] .

  2. We’re a bunch of volunteers and opening a brand new scheme in our community.
    Your site offered us with useful info to work on. You have performed an impressive process and our entire
    community will likely be grateful to you.

  3. Appreciation to my father who informed me regarding this website, this web site is actually amazing.

  4. This website was… how do you say it? Relevant!! Finally I’ve found something
    that helped me. Thanks a lot!

  5. Hi there just wanted to give you a brief heads up and let you know a few of the images
    aren’t loading properly. I’m not sure why but I think its a linking issue.

    I’ve tried it in two different browsers and both show the same results.

  6. リアル えろwas too much alive for her to be able to spare anyattention at this moment for Frederick,and she praised the servants inanswer to his question and praised the yellow sitting-room withouttelling him she had only been in it once and then was ignominiouslyejected,

  7. ドール エロnor to take those dangerous leaps for the future.Tom promised faithfully to obey her commands,

  8. Diplomi_ttEn dice:

    купить диплом образца ссср [url=www.educ-ua4.ru/]купить диплом образца ссср[/url] .

  9. AnthonyHow dice:

    BharatMeds Direct: BharatMeds Direct – buy prescription drugs from india

  10. Haroldnot dice:

    BharatMeds Direct: reputable indian pharmacies – BharatMeds Direct

  11. But Ferdinand did not think proper to gratifyher impatience,because he could not judge of the predicament in whichhe stood by the evidence of all his senses,せっくす どー る

  12. Go to Here dice:

    I know this web site provides quality based articles and extra
    data, is there any other website which presents these kinds of things in quality?

  13. Its like you read my mind! You seem to know so much
    about this, like you wrote the book in it or something.
    I think that you could do with some pics to drive the message home a bit, but instead of that, this is great
    blog. A great read. I’ll certainly be back.

  14. RichardFopsy dice:

    inderal pharmacy: MapleMeds Direct – MapleMeds Direct

  15. Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? https://www.binance.info/register?ref=P9L9FQKY

  16. вывод из запоя краснодар
    narkolog-krasnodar013.ru
    вывод из запоя

  17. I pay a visit each day a few blogs and websites to read
    articles or reviews, except this website offers quality based
    posts.

  18. iptvjapan dice:

    This website was… how do you say it? Relevant!! Finally I’ve found something that helped
    me. Appreciate it!

  19. Fantastic read! 👏 I really appreciate how clearly you explained the topic—your writing not only shows expertise but also makes the subject approachable for a wide audience. It’s rare to come across content that feels both insightful and practical at the same time. At explodingbrands.de we run a growing directory site in Germany that features businesses from many different categories. That’s why I truly value articles like yours, because they highlight how knowledge and visibility can create stronger connections between people, services, and opportunities.Keep up the great work—I’ll definitely be checking back for more of your insights! 🚀

  20. Wimexbit dice:

    What’s up, I want to subscribe for this website to obtain latest updates,
    so where can i do it please help.

  21. Fantastic read! 👏 I really appreciate how clearly you explained the topic—your writing not only shows expertise but also makes the subject approachable for a wide audience. It’s rare to come across content that feels both insightful and practical at the same time. At explodingbrands.de we run a growing directory site in Germany that features businesses from many different categories. That’s why I truly value articles like yours, because they highlight how knowledge and visibility can create stronger connections between people, services, and opportunities.Keep up the great work—I’ll definitely be checking back for more of your insights! 🚀

  22. AnthonyHow dice:

    online shopping pharmacy india: buy prescription drugs from india – top online pharmacy india

  23. Fantastic read! 👏 I really appreciate how clearly you explained the topic—your writing not only shows expertise but also makes the subject approachable for a wide audience. It’s rare to come across content that feels both insightful and practical at the same time. At explodingbrands.de we run a growing directory site in Germany that features businesses from many different categories. That’s why I truly value articles like yours, because they highlight how knowledge and visibility can create stronger connections between people, services, and opportunities.Keep up the great work—I’ll definitely be checking back for more of your insights! 🚀

  24. Нарколог на дому: профессиональная помощь при зависимости Зависимость от наркотиков – это серьезная проблема, для решения которой необходима квалифицированная помощь. Первый шаг к выздоровлению – это консультация с наркологом. Вы можете узнать больше о том, как вызвать нарколога на дом, на сайте vivod-iz-zapoya-krasnoyarsk012.ru. Лечение подразумевает проведение детоксикации организма и предоставление психологической помощи. В некоторых случаях необходима реабилитация зависимых, которая включает специализированные программы. Конфиденциальное лечение создает условия комфорта и безопасности для пациента. Домашняя терапия предоставляет необходимую помощь и особенно важна для тех, кто испытывает стеснение при обращении в медицинские учреждения. Лечение алкогольной зависимости также доступно на дому, что способствует быстрейшему восстановлению. Квалифицированная помощь специалиста – ключ к успешной борьбе с зависимостями.

  25. I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

  26. What’s up, all the time i used to check blog posts here in the
    early hours in the daylight, since i love to learn more
    and more.

  27. FinUpix dice:

    Hiya! Quick question that’s completely off topic. Do you know
    how to make your site mobile friendly? My website looks weird when browsing from my
    iphone 4. I’m trying to find a theme or plugin that might be able to fix this problem.
    If you have any recommendations, please share.

    Appreciate it!

  28. Freddiecherb dice:

    This really matches my view, this is valuable.

    Ran into something similar, I visited this page recently: [url=https://maba-3d-druck.de]not sure if it’s known here[/url]

    Let me know what you think.

  29. it isten year but ten years with Monmouth must have been like eternity,with time thrown in.lovedoll

  30. RichardFopsy dice:

    cialis european pharmacy: generic viagra pharmacy online – MapleMeds Direct

  31. Nice blog here! Also your web site loads up very fast!
    What web host are you using? Can I get your affiliate link to your host?
    I wish my website loaded up as quickly as yours
    lol

  32. Andrewkef dice:

    I like how this post emphasizes achievable goals for house care. It’s beginner-friendly to get discouraged by complicated instructions, but this post stays focused on what really matters. Paired with some [url=https://domograph.ru/]simple repair methods[/url] I’ve tried, it’s made a real difference in how I approach projects. I believe adding such suggestions to everyday routines can make upkeep far less stressful and much more rewarding. It’s details like these that often get overlooked, yet they bring real improvement when applied consistently. I found this perspective quite interesting and it made me reflect on similar experiences I’ve had.

  33. Fantastic read! 👏 I really appreciate how clearly you explained the topic—your writing not only shows expertise but also makes the subject approachable for a wide audience. It’s rare to come across content that feels both insightful and practical at the same time. At explodingbrands.de we run a growing directory site in Germany that features businesses from many different categories. That’s why I truly value articles like yours, because they highlight how knowledge and visibility can create stronger connections between people, services, and opportunities.Keep up the great work—I’ll definitely be checking back for more of your insights! 🚀

  34. CharlesErugs dice:

    Казино Аркада Казино — распространённое интернет игорное заведение, предлагающее разнообразный выбор слотов, практичные варианты ввода средств и акционные акции. В этой статье рассмотрим ключевые элементы казино Arkada, с учётом безопасность, лицензии, ассортимент игр и политику выплат.

    Безопасность и лицензирование

    Ключевой момент для любого интернет-казино — регистрация. Казино Аркада Казино утверждает о соответствии правовым стандартам, внедряет защищённое соединение для защиты персональных данных пользователей. Рекомендуется удостоверяться предъявляемые сертификаты и читать правила сайта перед созданием аккаунта.

    Игровой ассортимент

    Arkada предлагает большой ассортимент игровых автоматов от популярных студий, table games включая блэкджек, а также игры с живыми дилерами. Для новых часто доступны стартовые бонусы и фриспины.

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

    [url=https://sw2002.ru/]казино arkada сайт[/url] предлагает частые промоакции для существующих и новых игроков игроков. Обычные предложения включают регистрационные бонусы, бонусы на депозит, cashback и конкурсы с вознаграждениями. Важно тщательно читать требования по отыгрышу и ограничения, связанные с бонусами.

  35. mostbet_fmEt dice:

    mostbet aviator qeydiyyat [url=https://www.mostbet4137.ru]https://www.mostbet4137.ru[/url]

  36. Haroldnot dice:

    indian pharmacies safe: india online pharmacy – BharatMeds Direct

  37. BlueQubit dice:

    Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old
    daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to
    her ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is entirely
    off topic but I had to tell someone!

  38. дом под ключ иркутск цена [url=https://www.stroitelstvo-domov-irkutsk-6.ru]https://www.stroitelstvo-domov-irkutsk-6.ru[/url] .

  39. Kennethhaima dice:

    BorderMeds Express [url=https://bordermedsexpress.shop/#]BorderMeds Express[/url] finasteride mexico pharmacy

  40. bookmarked!!, I love your website!

  41. вывод из запоя краснодар
    narkolog-krasnodar013.ru
    экстренный вывод из запоя краснодар

  42. Fantastic read! 👏 I really appreciate how clearly you explained the topic—your writing not only shows expertise but also makes the subject approachable for a wide audience. It’s rare to come across content that feels both insightful and practical at the same time. At explodingbrands.de we run a growing directory site in Germany that features businesses from many different categories. That’s why I truly value articles like yours, because they highlight how knowledge and visibility can create stronger connections between people, services, and opportunities.Keep up the great work—I’ll definitely be checking back for more of your insights! 🚀

  43. nagpipilit na ialay sa akin ang canyang pakikialakbay; sa akinpo namang sumasa inyo ang alaala at natatalastas cong cayo’y canyangnakikilala,ランジェリー エロcaya’t ng siya’y mangyaring aking mailayo’y sinabi congpatungo aco sa bayang iyan at doon aco mananatiling maghapon,

  44. ” replied his wife: “but she must mind and not growwild again here.Ellen,セクシー えろ

  45. dorées et distendues comme desalvéoles de miel,コスプレ r18reposaient les anciens comtes de Brabant,

  46. RichardFopsy dice:

    order kamagra from mexican pharmacy: mexican pharmacy for americans – BorderMeds Express

Responder a stroitelstvo domov irkytsk_hnot Cancelar respuesta