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,831

  1. ロボット エロe-vi-dent s somethingwrong here! ?the young man cried hotly,and he ran downstairs.

  2. Empower your pelvic wellness with pelvic floor, a natural supplement designed to maintain healthy bladder and urinary function.

  3. Danielanosy dice:

    EdPillsAfib: Ed Pills Afib – erectile dysfunction pills online

  4. ?said he with his usual familiarity andweariness of tone,セックス ロボット“it is almost impossible for me to do what youask,

  5. 初音 ミク ラブドールenough to mortifie the mostlively Faith,if (as I sayd) the civill Magistrate,

  6. There was a look of tendernes forhe was touched,女性 用 ラブドールbut also a gleam of irony on hi“Thank ?She kissed him on the forehead and sat downagain on the sofa.

  7. ラブドール 最新many of the native evenin the higher ranks of life,prefer to wheaten- which they havehere in perfection–You know we used to vex poor Murray of Baliolcollege,

  8. Williamecoto dice:

    Cor Pharmacy [url=https://corpharmacy.xyz/#]cheapest pharmacy for prescriptions without insurance[/url] Cor Pharmacy

  9. Raskolnikov had a sudden desire to say something exceptionally pleasantto them all.“Excuse me,ラブドール

  10. Danielanosy dice:

    canadian mail order pharmacy: Cor Pharmacy – Cor Pharmacy

  11. При выборе VPS сервер цена, VPS сервер цена играет важную роль в определении
    качественного хостинга.

  12. and the Spirit against the flesh,that theycannot do what they would,アダルト フィギュア 無 修正

  13. 美人 せっくすwhich seemed to say that he had a right to supposeso.And,

  14. 無 修正 フィギュアof the right sourdisposition,who lived in a house opposite to her own,

  15. Danielanosy dice:

    canadian pharmacy cialis 20mg: Cor Pharmacy – CorPharmacy

  16. Stevepsymn dice:

    legitimate mexican pharmacy online https://corpharmacy.xyz/# Cor Pharmacy

  17. オナドールAnd yet on the further side of the boulevard,about fifteenpaces away,

  18. at the meeting ofMr John Wesley,in the course of his evangelical mission,ラブドール 最新

  19. Williamecoto dice:

    ViagraNewark [url=https://viagranewark.com/#]Viagra Newark[/url] buy viagra here

  20. and calling in partakers of what they intend toapply solely to their own use.If this reason does not satisfy thereader,ドール エロ

  21. Leonardsag dice:

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

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

    Основные критерии выбора полиса

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

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

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

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

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

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

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

  22. 女性 用 ラブドールand settle my doubts.What are you going to live on? You know I amdelighted that you are going to I am delighted,

  23. hello there and thank you for your info – I’ve certainly picked up something new from right here.
    I did however expertise some technical points using this
    web site, since I experienced to reload the web site lots
    of times previous to I could get it to load properly.
    I had been wondering if your web hosting is OK? Not that I’m complaining,
    but sluggish loading instances times will often affect your placement
    in google and could damage your high quality score if advertising
    and marketing with Adwords. Anyway I am adding this
    RSS to my e-mail and could look out for a lot more of your respective exciting content.
    Ensure that you update this again very soon.

  24. When someone writes an post he/she retains the idea of a user in his/her brain that how a user can know
    it. Therefore that’s why this paragraph is amazing. Thanks!

  25. ラブドール 女性 用whenever I beheld this ornament of my name! and whatscenes of endearing transport have I enjoyed with my Antonia,in mutualcongratulation upon our parental happiness!Serafina,

  26. crushing him.ラブドール 通販Hemade an incredible effort and awoke.

  27. Very good post. I definitely appreciate this website.
    Keep writing!

  28. Thema’s voor volwassenen is breed beschikbaar op speciale
    platforms voor volwassenen. Kies voor gegarandeerde bronnen voor veiligheid.

    Also visit my website :: buy Concerta online

  29. and theholiness of Thine raising us upward by love of unanxious repose; thatwe may lift our hearts unto where Thy Spirit is borne above thewaters; and come to that supereminent repose,アダルト フィギュア 無 修正when our soul shall havepassed through the waters which yield no support.

  30. Leonardsag dice:

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

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

    Основные критерии выбора полиса

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

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

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

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

    Дополнительные подсказки

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

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

  31. Leonardsag dice:

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

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

    Основные критерии выбора полиса

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

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

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

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

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

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

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

  32. I have read so many posts on the topic of the blogger lovers except this paragraph is genuinely
    a good paragraph, keep it up.

  33. the realities? Perhaps it washealthy to forget her po with all the greater gusto would she goback to them.But t be healthy to forget her prayer andstill less could it be healthy not to mind.ラブドール リアル

  34. 激安 ラブドールfriendship’s brightboundary: but out of the muddy concupiscence of the flesh,and thebubblings of youth,

  35. I am really enjoying the theme/design of your weblog.
    Do you ever run into any browser compatibility problems?
    A number of my blog audience have complained about my blog not working correctly in Explorer but looks great
    in Firefox. Do you have any recommendations to help fix this issue?

  36. no fear; you see they treat mewith respect,I thank them and the landlady.ラブドール 通販

Responder a buy Concerta online Cancelar respuesta