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: 77,879

  1. RobertHauck dice:

    safe medications from Mexico: safe medications from Mexico – certified Mexican pharmacy discounts

  2. “but is It reallygoing to happen? Is it possible it really will happen? ?He left theseat,オナドールand went off almost at a run,

  3. RobertHauck dice:

    Mexico to USA pharmacy shipping: doctor recommended Mexican pharmacy – mexican pharmacy

  4. Immediate Olux se distingue comme une plateforme d’investissement crypto de pointe, qui met a profit la puissance de l’intelligence artificielle pour fournir a ses clients des atouts competitifs majeurs.

    Son IA scrute les marches en temps reel, detecte les occasions interessantes et applique des tactiques complexes avec une exactitude et une rapidite inatteignables pour les traders humains, optimisant ainsi les perspectives de gain.

  5. Заказать клининг вы можете с
    помощью ресурса в несколько нажатий на клавиши либо
    позвонив в коллцентр.

    Also visit my web-site клининговая компания прайс

  6. good day play casino [url=http://www.goodday4play-online.com]good day play casino[/url] .

  7. Immediate Olux se demarque comme une plateforme de placement crypto innovante, qui met a profit la puissance de l’intelligence artificielle pour fournir a ses clients des atouts competitifs majeurs.

    Son IA analyse les marches en temps reel, detecte les occasions interessantes et execute des strategies complexes avec une exactitude et une rapidite inaccessibles aux traders humains, optimisant ainsi les perspectives de gain.

  8. if you were an original instead of a translation.ラブドール 激安..you see,

  9. RobertHauck dice:

    doctor recommended Indian pharmacy: Indian pharmacy coupon codes – trusted medical sources from India

  10. RobertHauck dice:

    affordable medications from Canada: Doctor North Rx – verified Canada drugstores

  11. Curtissweta dice:

    canadian pharmacy online: trusted Canadian generics – Doctor North Rx

  12. RobertHauck dice:

    verified Indian drugstores: indian pharmacy – Dr India Meds

  13. RobertHauck dice:

    DoctorNorthRx: doctor recommended Canadian pharmacy – legitimate pharmacy shipping to USA

  14. Curtissweta dice:

    india pharmacy: online medicine delivery in india – trusted medical sources from India

  15. Jerryevile dice:

    generic medicine from Mexico [url=http://drmedsadvisor.com/#]mexican pharmacy[/url] certified Mexican pharmacy discounts

  16. гидравлическое масло, масло 80w90 gl 5 играет
    важную роль в эксплуатации гидравлических агрегатов.

  17. Ԍreetings! Vеry helpful advice іn this partіcular post!
    It’s tһe littⅼe cһanges that produce the biggest changeѕ.

    Thаnks fοr sharing!

    Alѕo visit mу blog post night Teer result

  18. ラブドール えろtheir firesburned low,the snapping of a twig would make you star We werewanderers on a prehistoric earth,

  19. RobertHauck dice:

    Dr Meds Advisor: mexican pharmacy – DrMedsAdvisor

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

  21. Larrypit dice:

    verified Canada drugstores [url=https://doctornorthrx.xyz/#]legitimate pharmacy shipping to USA[/url] best online pharmacies Canada to USA

  22. скачать бк осталось всего только выбрать подходящее [url=http://mostbet12038.ru]скачать бк осталось всего только выбрать подходящее[/url]

  23. RobertHauck dice:

    Dr India Meds: verified Indian drugstores – india pharmacy

  24. casino beep beep [url=beepbeepcasino-online.com]beepbeepcasino-online.com[/url] .

  25. RobertHauck dice:

    canadian pharmacy king reviews: reputable canadian online pharmacy – doctor recommended Canadian pharmacy

  26. Ahaa, its nice dialogue regarding this piece of writing here at this weblog,
    I have read all that, so at this time me also commenting here.

  27. RobertHauck dice:

    trusted Canadian generics: trusted Canadian generics – best online pharmacies Canada to USA

  28. Pusulabet dice:

    Hmm it seems like your site ate my first comment (it was extremely long)
    so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying
    your blog. I as well am an aspiring blog blogger but I’m still new to everything.
    Do you have any tips for first-time blog writers?
    I’d genuinely appreciate it.

  29. Its like you read my mind You appear to know a lot 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 little bit but instead of that this is fantastic blog An excellent read I will certainly be back

  30. Dorisgow dice:

    Как выбрать всесторонние услуги по созданию программного обеспечения

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

    Анализ потребностей и целей

    Перед поиском всесторонних услуг необходимо четко определить потребности проекта. Это содержит понимание функционала, объема работ и сроков реализации.

    Репутация и опыт подрядчика

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

    Спектр предоставляемых услуг

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

    Технологический стек и методы работы

    Важно узнать, какие инструменты используются, и соответствует ли их выбор современным требованиям. Гибкая подход разработки (например, Agile, Scrum) способствует своевременной реализации и адаптации к изменениям [url=https://scrile.ru/sait-dlya-sbor-deneg-na-lichnye-nuzhdy/]собрать деньги на мечту[/url]

    Стоимость и условия сотрудничества

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

    Заключение

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

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

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

  31. мостбет скачать приложение на андроид бесплатно [url=mostbet12038.ru]мостбет скачать приложение на андроид бесплатно[/url]

  32. AYUTOGEL dice:

    A fascinating discussion is worth comment. I think that you ought to
    write more about this subject, it might not be a taboo subject
    but usually people don’t speak about these topics. To the next!
    Best wishes!!

  33. 비아그라 구매를 고려한다면, 안전한 구매 방법과 주의할 점을 꼭 알아보세요.
    비아그라란 무엇인지, 온라인과 오프라인 구매 차이,
    의사 상담의 중요성

  34. mostbet oficial [url=https://mostbet12038.ru]mostbet oficial[/url]

  35. Curtissweta dice:

    indian pharmacy: Indian pharmacy coupon codes – safe Indian generics for US patients

  36. Hey this is kind of of off topic but I was wanting to know if blogs use WYSIWYG editors or if you
    have to manually code with HTML. I’m starting a blog soon but have no coding expertise so I
    wanted to get advice from someone with experience. Any help would be enormously appreciated!

  37. website dice:

    Тhanks fօr sharing yokur tһoughts about p6 maths
    tuition. Ꮢegards

    Hеre iѕ my webpage; website

  38. Larrypit dice:

    safe Canadian pharmacies for Americans [url=https://doctornorthrx.xyz/#]doctor recommended Canadian pharmacy[/url] verified Canada drugstores

  39. Construye relaciones basadas en el respeto mutuo. Descubre cómo en https://lasmujeresqueamandemasiadopdf.cyou/ El libro que toda mujer debería leer. Descarga gratuita del bestseller completo.

  40. Jerryevile dice:

    generic medicine from Mexico [url=https://drmedsadvisor.com/#]safe medications from Mexico[/url] Dr Meds Advisor

Responder a Bürocontainer Wohncontainer Tiny House Cancelar respuesta