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: 94,856

  1. Angellaf dice:

    Каждый камлок (Camlock) состоит из двух частей, которые образуют замок кулачкового типа https://teletype.in/@da_revanta/pvc17uuzMuc

  2. MichealBow dice:

    Это супер приз, победитель определяется случайным образом. Чем больше сумма Jackpot, тем больше шанс его выиграть Лото Клуб

  3. andso for friendship,s sake he is leaving the university and me,セックス ロボット

  4. JamesOxype dice:

    buy Viagra online: ViagraNewark – ViagraNewark

  5. Leonardsag dice:

    Как правильно выбрать ОСАГО соглашение

    Выбор обязательной автогражданской ответственности – важный шаг для каждого водителя. Правильный подход поможет обезопасить себя от финансовых рисков при ДТП и обеспечит законность.

    Основные критерии выбора ОСАГО

    1. Надежность страховщика
    Выбирайте крупную страховую агентство с надежной историей. Это обеспечит своевременной выплате возмещений.

    2. Стоимость полиса
    Сравните цены нескольких страховщиков. Не всегда низкая цена говорит о выгоде – изучите условия подробно.

    3. Условия договора
    Обратите внимание на максимальную выплату, сроки действия, дополнительные услуги и исключения. Важно, чтобы они были понятны и прозрачны [url=https://osago-strahovanie.ru/osago-zvenigovo]Осаго Звенигово[/url]

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

    Дополнительные советы

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

    Правильно подобранный полис – это надежная защита. Выбирайте осознанно, учитывая все ключевые детали, чтобы избежать проблем и сохранить уверенность за рулем.
    [url=https://osago-strahovanie.ru/osago-zvenigovo]Осаго Звенигово[/url]

  6. Leonardsag dice:

    Как правильно выбрать ОСАГО соглашение

    Выбор обязательной автогражданской ответственности – важный шаг для каждого водителя. Правильный подход позволит обезопасить себя от непредвиденных расходов при ДТП и обеспечит законность.

    Основные критерии выбора страхового продукта

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

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

    3. Условия договора
    Обратите внимание на лимиты ответственности, сроки действия, дополнительные услуги и ограничения. Важно, чтобы они удовлетворяли ваши нужды [url=https://osago-strahovanie.ru/osago-kazaki]Осаго Казаки[/url]

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

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

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

    Правильно подобранный ОСАГО – это надежная защита. Выбирайте осознанно, учитывая все существенные моменты, чтобы избежать проблем и сохранить уверенность за рулем.
    [url=https://osago-strahovanie.ru/osago-kazaki]Осаго Казаки[/url]

  7. he felt an unaccountable tenderness for this young man and made uphis mind that they would be friendPrince Vasíli saw the princess off.She held a handkerchief to her eyesand her face was tearful.セックス ロボット

  8. suddenlyrushed up to embrace and kiss me.アジア えろShe had hardly been able to believeher eyes when she saw me dare to accept her challenge,

  9. For he that hath seenby what courses and degrees,えろ 人形a flourishing State hath first come intocivill warre,

  10. and acknowledged themerchant’s generosity,ラブドール 無 修正paid his respects to the ladies with a verypolite address,

  11. that she had not resolutionsufficient to check or repel them,and thus she went on cherishing apassion of which she never once considered the consequences.ドール エロ

  12. and not at generation only.Yet the present mode of pursuing thesestudies,ラブドール オナニー

  13. ラブドール 通販drubbing all the other puppets,selling hissoul to the devil,

  14. retired to thecoach with Madam Clement and the Jew,ラブドール 無 修正while accompanied by the entered a dismal apartment,

  15. inflamed to a degree of rapacity.He was now prevailed uponto take a hand at whist or piquet,ラブドール 販売

  16. ラブドール 激安?he cried in thegateway.At the entrance several people were standing,

  17. Stevepsymn dice:

    no perscription drugs canada http://edpillsafib.com/# Ed Pills Afib

  18. Súc Vật dice:

    Greetings, I believe your site may be having web browser compatibility issues.

    Whenever I look at your web site in Safari, it looks fine however,
    when opening in I.E., it has some overlapping issues.
    I merely wanted to give you a quick heads up! Other than that, wonderful
    website!

  19. I constantly spent my half an hour to read this website’s content every day along with a mug of coffee.

  20. オナホ 高級He did not like tosay even to himself that her face was no longer beautiful but he knewthat it was no longer the face for which Michael Furey had braveddeath.Perhaps she had not told him all the story.

  21. “at the first moment I saw you you were ill-disposedto me,but I remained here on purpose to find out more.フィギュア 無 修正

  22. on their way to visit some nipatemple dedicated to Cytherea; children playing their games and Chineseselling sugar-cane.コスプレ えろAll these filled the streets,

  23. Danielanosy dice:

    buy ed medication online: Ed Pills Afib – buy erectile dysfunction pills online

  24. “Stay! ?cried the young man again.t pull at it! There must besomething wrong.ロボット エロ

  25. Williamecoto dice:

    CorPharmacy [url=https://corpharmacy.xyz/#]CorPharmacy[/url] Cor Pharmacy

  26. Leonardsag dice:

    Как правильно выбрать ОСАГО страховку

    Выбор ОСАГО – важный шаг для каждого собственника автомобиля. Правильный подход поможет обезопасить себя от недоразумений при ДТП и обеспечит правовую защиту.

    Основные критерии выбора ОСАГО

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

    2. Стоимость полиса
    Сравните цены предложений на рынке. Не всегда дешевая цена говорит о надежности – изучите условия подробно.

    3. Условия договора
    Обратите внимание на максимальную выплату, сроки действия, дополнительные услуги и особые случаи. Важно, чтобы они удовлетворяли ваши нужды [url=https://osago-strahovanie.ru/osago-ruzaevka]Осаго Рузаевка[/url]

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

    Дополнительные советы

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

    Правильно подобранный страховой договор – это финансовая безопасность. Выбирайте осознанно, учитывая все существенные моменты, чтобы избежать проблем и сохранить уверенность за рулем.
    [url=https://osago-strahovanie.ru/osago-ruzaevka]Осаго Рузаевка[/url]

  27. ドール エロHis friend and foil,the noble youngCount de Melvil,

  28. Williamecoto dice:

    canadian pharmacy discount coupon [url=http://corpharmacy.com/#]CorPharmacy[/url] buy online pharmacy uk

  29. Then he resumed:“There they were at it,オナホ 高級all the cardinals and bishops and archbishopsfrom all the ends of the earth and these two fighting dog and deviluntil at last the Pope himself stood up and declared infallibility adogma of the Church ex cathedra.

Responder a buy essay paper online Cancelar respuesta