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: 86,414

  1. エロ い ラブドールDuring the reign of Elizabeth a large part ofCecil,s energies was directed toward the economic development of thecountry.

  2. MilesSit dice:

    beste online-apotheke ohne rezept: Kamagra Deutschland Apotheke – online apotheke gГјnstig

  3. Diplomi_wqOr dice:

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

  4. BIGSPORTS 78 dice:

    We’re a group of volunteers and opening a new scheme in our community.
    Your website offered us with valuable information to work on. You
    have done a formidable job and our whole community will be grateful
    to you.

  5. 中国 えろa bitter offensiveness,as one smells in blood.

  6. Waynekab dice:

    http://pharmarapide.com/# commande discrete medicaments France

  7. PatrickGlunc dice:

    ohne rezept apotheke [url=https://vitalapotheke24.com/#]kamagra oral jelly[/url] online apotheke gГјnstig

  8. Diplomi_dnOl dice:

    купить диплом в пятигорске [url=https://rudik-diplom13.ru]купить диплом в пятигорске[/url] .

  9. заказать алкоголь круглосуточно [url=https://www.alcohub9.ru]https://www.alcohub9.ru[/url] .

  10. MilesSit dice:

    online apotheke: Medikamente ohne Rezept bestellen – online apotheke

  11. Diplomi_puma dice:

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

  12. Go to Here dice:

    Hello to every , because I am actually eager of reading this webpage’s post to be updated regularly.
    It contains pleasant material.

  13. Diplomi_lqKr dice:

    купить диплом в норильске [url=http://www.rudik-diplom4.ru]купить диплом в норильске[/url] .

  14. 中国 えろThen he took up my two and placed them with hisown,and put by his writing materials,

  15. Just want to say your article is as astounding. The clearness to your put up is simply
    excellent and that i could assume you’re a professional in this
    subject. Well together with your permission let me to clutch your feed to keep updated with forthcoming post.

    Thank you one million and please continue the rewarding work.

  16. Diplomi_zeki dice:

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

  17. Diplomi_lqpn dice:

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

  18. Diplomi_kjon dice:

    купить диплом в уфе [url=www.rudik-diplom11.ru]купить диплом в уфе[/url] .

  19. Diplomi_npka dice:

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

  20. Randyonect dice:

    internet apotheke: kamagra oral jelly – online apotheke

  21. Fermo Fluxor dice:

    It’s awesome to visit this web site and reading the views of all friends regarding this article, while I am also zealous of getting familiarity.

  22. Diplomi_dkSn dice:

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

  23. TEMAN 69 dice:

    In fact when someone doesn’t understand afterward its
    up to other viewers that they will assist, so here it happens.

  24. Randyonect dice:

    medikamente rezeptfrei: Generika online bestellen – online apotheke versandkostenfrei

  25. Diplomi_doOr dice:

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

  26. Bernardbruch dice:

    online apotheke rezept: Kamagra Deutschland Apotheke – beste online-apotheke ohne rezept

  27. Hello, I think your site might be having browser compatibility issues.
    When I look at your website in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that,
    great blog!

  28. MilesSit dice:

    eu apotheke ohne rezept: ApothekeDirekt24 – medikamente rezeptfrei

  29. TamoxiNolva dice:

    I can quickly get my cost of tamoxifen at TamoxiNolva – tamoxifen during cycle be taken before or after?

  30. Diplomi_vmOl dice:

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

  31. Diplomi_cbsa dice:

    купить официальный диплом с занесением в реестр [url=http://frei-diplom1.ru]http://frei-diplom1.ru[/url] .

  32. MilesSit dice:

    acheter medicaments en ligne pas cher: solution sante en ligne securisee – pharmacie en ligne pas cher

  33. After going over a handful of the blog posts on your web page,
    I truly appreciate your technique of blogging. I saved as
    a favorite it to my bookmark site list and will be checking back soon. Please check out my website too and let me know your opinion.

  34. Diplomi_ndka dice:

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

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

  36. WilliamFlack dice:

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

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

    Как выбрать авиабилет

    – Определите сроки путешествия для поиска.
    – Используйте специализированные сайты, чтобы сравнить варианты перелётов от разных авиаоператоров [url=https://aviaz.ru/]https://aviaz.ru/[/url]
    – Обратите внимание на тип маршрута, багажные нормы и политику возврата.
    – Проверьте дополнительные сборы и выберите оптимальный вариант по стоимости.

    Обмен документами с любым контрагентом

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

    Безболезненная смена оператора

    Если возникла необходимость перейти на другого поставщика, важно сделать это плавно, сохранив архив документов. Для этого:

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

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

  37. My relatives always say that I am killing my time here at web, but I know I
    am getting knowledge all the time by reading
    thes nice posts.

  38. Diplomi_gtSn dice:

    куплю диплом медсестры в москве [url=http://frei-diplom13.ru]куплю диплом медсестры в москве[/url] .

  39. MilesSit dice:

    commande discrete medicaments France: PharmaRapide – pharmacie en ligne france fiable

  40. Diplomi_uuOr dice:

    возможно ли купить диплом техникума [url=https://educ-ua7.ru/]https://educ-ua7.ru/[/url] .

  41. Нужна лабораторная? заказ лабораторных Индивидуальный подход, проверенные решения, оформление по требованиям. Доступные цены и быстрая помощь.

  42. PODIUM 78 dice:

    Hey there! I’ve been reading your blog for a long
    time now and finally got the courage to go ahead and give you a
    shout out from Kingwood Texas! Just wanted to say keep up the good
    work!

  43. Diplomi_afOl dice:

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

  44. Нужна презентация? заказать презентацию недорого Красочный дизайн, структурированный материал, уникальное оформление и быстрые сроки выполнения.

  45. Bernardbruch dice:

    generiska lakemedel online: tryggt svenskt apotek pa natet – internet apotheke

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

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

  48. Diplomi_lisa dice:

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

  49. Diplomi_usel dice:

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

Responder a dostavka alkogolya_rlpn Cancelar respuesta