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: 98,904

  1. 按摩學徒 dice:

    https://fr-well-1.nyc3.digitaloceanspaces.com/research/%EF%B8%8F-france-(151).html
    It has over 140 positive critiques, many from ladies who wore this
    to a marriage and beloved it!

  2. It is perfect time to make a few plans for the longer term and it’s time to
    be happy. I’ve learn this publish and if I could I wish to counsel you some fascinating
    issues or suggestions. Maybe you can write subsequent articles referring to this article.
    I want to read even more issues about it!

    my blog post :: shillong common number

  3. ロボット エロif he had been able to realise all thedifficulties of his position,the hopelessnes the hideousness and theabsurdity of if he could have understood how many obstacles perhap crimes he had still to overcome or to comm to get out ofthat place and to make his way home,

  4. ringzen dice:

    I think this is one of the most significant information for me.
    And i’m glad reading your article. But want to remark on some general things, The web site style is great, the articles is really nice : D.
    Good job, cheers

  5. えろ 人形(though awake) have the Images of Lines,and Angles before hiseyes: which kind of Fancy hath no particular name,

  6. ドール エロit would beimpossible for me to recount the horse-whipping of that day.Having scoured the whole coast of the enemy,

  7. .. for the first time… you understand? and they,ve put herout into the street like that.オナドール

  8. but fastened with the hook! Do you hear howthe hook clanks? ?“Well? ?“Why,オナドールt you see? That proves that one of them is at home.

  9. 美人 せっくすand protectme! ?Rostóv whispered.The hussars ran back to the men who held their horse their voicessounded louder and calmer,

  10. 經絡課程 dice:

    https://je-tal-marketing-925.lon1.digitaloceanspaces.com/research/je-marketing-(341).html
    This black dress is perfect if you’re on the lookout for something more
    classic.

  11. that you could see onthe map,resembling an immense snake uncoiled,ロボット セックス

  12. The priest stepped back and turned to say a few words of admonition andconsolation to Katerina Ivanovna on leaving.“What am I to do with these? ?she interrupted sharply and irritably,ラブドール 激安

  13. FrankBrosy dice:

    Проф перевозки грузов с залогом комфорта и еще безобидности

    Юнидо квалифицированных равным образом надежных перевозки грузов становится неустранимой частично эффективного функционирования хоть какого бизнеса. Качественно организованная экспресс-доставка гарантирует своевременность расход продукции для покупателям, хранение ее единства и еще минимизацию издержек. Точно поэтому религия верного перевозчика перекидывается стержневую роль в преуспевании фирмы http://forums.auzth.com/viewtopic.php?p=662428#p662428

    Яко принимает клиент, выбрав профессиональный перевозчик?

    1. Минимизирование черта издержек: проф сопровождение всякой отправки равно контроль капиталом багажа уменьшат рискованность уродования или потери груза.
    2. Экономия ресурсов: эмпиричный перевозчик способен хорошо сконструировать маршруты, навести погреб временные отсрочки да освободить ненужные экономические траты.
    3. Высокая степень охраны груза: применение современных технологий и специализированных автотранспортных средств споспешествует хранению багажа в первозданном состоянии.
    Профессиональные автотранспортные сопровождения дают шаровой ясли услуг, подсоединяющих автомобильные, жд, морские да авиаперевозки, что-что также доп функции вроде хранения сверху складах и еще страховки. Важнейшими критериями подбора перевозчика являются недурная честь, богатый эмпирия работы, прогрессивное техническое уснащение а также конкурентоспособные цены.
    Работа раз-другой верными специалистами позволит для вас пренебрегать о почти всех дилеммах, появляющийся при независимой порядке доставки, равно сосредоточиться исключительно на развитии личного бизнеса.

  14. For a long while he did not go to her,ロボット エロforhe had lessons and managed to get along somehow.

  15. Никаких проблем с верификацией, загрузил документы — одобрили
    за час

    https://feeda.ai/uncategorized/melbet-zerkalo-rabochee-2025-vhod-live-stavki/

  16. We anchored off the seat of the government.ロボット セックスBut my work would not begintill some two hundred miles farther on.

  17. ?“Am I to come? ?“About seven o,clock to-morrow.オナドール

  18. ロボット セックスone must notforget an instant the drift of things in the later sixties.Lee hadsurrendered,

  19. He was a chatteringidiot.ラブドール えろAfterwards I took it back when it was borne in upon mestartlingly with what extreme nicety he had estimated the timerequisite for the ‘affair.

  20. The lodgings? But after all how could he knowthe character of the lodgings? He was furnishing a fla.. Foo! howdespicable it all was! And what justification was it that he was drunk?Such a stupid excuse was even more degrading! In wine is truth,ラブドール 激安

  21. オナドールRaskolnikov rushed at him with his fists,withoutreflecting that the stout gentleman was a match for two men likehimself.

  22. Charlesnam dice:

    Как выбрать хорошую клинику

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

    Репутация и отзывы пациентов

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

    Квалификация врачей и персонала

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

    Наличие современного оборудования

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

    Уровень сервиса и отношение персонала

    Комфортное внимание и доброжелательное обращение со стороны сотрудников важны для психологического комфорта. Хорошая медцентр обеспечивает личное внимание [url=https://www.trawka.ru/stati/2958-sovremennye-tehnologii-diagnostiki-v-meditsine-uzi-shhitovidnoj-zhelezy-organov-bryushnoj-polosti-i-revmatologiya.html]https://www.trawka.ru/stati/2958-sovremennye-tehnologii-diagnostiki-v-meditsine-uzi-shhitovidnoj-zhelezy-organov-bryushnoj-polosti-i-revmatologiya.html[/url]

    Локация и удобство записи

    Удобное место медцентра экономит ваше время. Также проверьте, насколько просто можно записаться на прием — через телефон, и есть ли возможность выбрать удобное для вас время.

    Ценовая политика и прозрачность

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

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

  23. I suppose you have seen young Master Blifil to-day? ?sheanswered with much passion,ドール エロ“I hate the name of as I dowhatever is base and treacherous: and I wonder Mr Allworthy wouldsuffer that old barbarous schoolmaster to punish a poor boy so cruellyfor what was only the effect of his good-nature.

  24. s lot humbly as it i once for all and stifle everything inoneself,giving up all claim to activity,等身 大 ラブドール

  25. and of Honour.オナドールAll which may be reduced to the first,

  26. But to speake more largly of theKingdome of God,both by Nature,初音 ミク ラブドール

  27. https://je-tal-marketing-936.lon1.digitaloceanspaces.com/research/je-marketing-(193).html
    This mom also wore Nigerian attire, and paired her lace wrap dress with a chartreuse gele.

  28. Diplomi_coEa dice:

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

Responder a RichardHak Cancelar respuesta