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: 30,154

  1. pin_up_haPt dice:

    пин-ап [url=http://pinup5002.ru/]http://pinup5002.ru/[/url]

  2. After going over a few of the articles on your blog, I
    honestly like your technique of blogging. I book marked it to my bookmark
    website list and will be checking back in the near future.
    Please check out my web site as well and let me know your
    opinion.

  3. and though evidentlyregretting that her visitors were to go,エロ ラブドールshe did not seem to ask forcompassion.

  4. cosplay outfitsque sean Fiadas; porque en mi bolsa no hay con que pagarlaspor ahora.La agudeza del estudiante agradó tanto a la huéspeda,

  5. Hello, i think that i saw you visited my blog so i came to “return the favor”.I am attempting
    to find things to enhance my website!I suppose its ok to use a few
    of your ideas!!

  6. Fantastic website. A lot of useful info here.
    I’m sending it to a few pals ans also sharing in delicious.

    And certainly, thanks on your sweat!

  7. sohave perished their needs,irontech dolland with the coming of new generations havecome new needs.

  8. エロ ラブドールhas beenunavoidably acquainted with every particular of these transaction Ifyour abhorrence of me should make my assertions valueless,youcannot be prevented by the same cause from confiding in my cousin,

  9. or a meansof obtaining a copy upon request,of the work in its original “PlainVanilla ASCII” or other form.銉┿儢銉夈兗銉?銉戙偆銈恒儶

  10. Then the expression that told of a heavy burdencame again.irontech doll“Like sheep without a shepherd are my people scattered,

  11. In January, Maryum Mohammad visited Botonics Plastic Surgery Group in London to receive cosmetic filler from Naruschka Henriques, a listed mental health nurse
    prescriber online, as she has done annually for the past seven years.

  12. What’s up i am kavin, its my first occasion to commenting anyplace, when i read
    this piece of writing i thought i could also create
    comment due to this good piece of writing.

  13. Now I remembered the man! Haganfrom Washington! And she had married him.ラブドール ブログBy heavens! When I think ofthe depth of woman’s duplicity I could despise the race.

  14. Kennethhaima dice:

    MapleMeds Direct [url=https://maplemedsdirect.shop/#]MapleMeds Direct[/url] MapleMeds Direct

  15. Priobresti diplom o visshem obrazovanii!_bvsa dice:

    купить диплом занесением реестр украины [url=http://iton.tv/user/iliaanisimov]http://iton.tv/user/iliaanisimov[/url] .

  16. I’ll immediately seize your rss feed as I can not to find your e-mail subscription hyperlink
    or newsletter service. Do you have any? Please let me
    recognize so that I may subscribe. Thanks.

  17. ラブドール 中出しwhoare both ignorant and proud,incite the people and encourage them torebel against the bishop and missionaries.

  18. sexy cosplay dice:

    cosplay outfitsLa mayoranchura del canal es de unos 100 metros.En algunos puntos es de 60 enla superficie y de 20 al fondo.

  19. and _Sandal_ wood,grow here without any nursingor care.ラブドール 中出し

  20. sofa bed dice:

    Appreciating the commitment you put into your blog and in depth information you provide.
    It’s nice to come across a blog every once in a while that isn’t the
    same out of date rehashed material. Wonderful read! I’ve saved your site and I’m adding your RSS feeds to my
    Google account.

  21. Leandrojof dice:

    I wasn’t sure about this before, but reading through the discussion and thinking back, reading this reminded me how essential it is to address small household problems before they grow bigger. reading through this post offers beneficial guidance that doesn’t require special tools or knowledge. i’ve also looked into [url=https://kotelinaya.ru/]reliable repair tips[/url] recently that helped me handle common issues faster. combining such advice empowers anyone to maintain their residence better. it resonates with my own experience of how consistent, step‑by‑step improvements create a much more comfortable and reliable living space. i find that sharing such experiences motivates others as well, making house care a more collective learning journey. Now I feel it’s worth considering more seriously.

  22. con gran sentimiento de los pobres delbarrio.El tío Paciencia emprendió el camino del cielo muy contento con laesperanza de gozar eternamente de la gloria,cosplay outfits

  23. “CHAPTER XXXIKING OF THE JEWS”Jove,but my eyes are tired! Since the third watch hath my servicebeen required,irontech doll

  24. irontech doll“”A Galilean Rabbi? When did this Province of diggers in dirt andgutters of fish send forth Rabbis? Thou makest a jest.””Nay.

  25. attenuating anddetergent medicines.ラブドール 中出しThe most effectual is the _Velladamba_,

  26. Arielief dice:

    Arielief seems like a really promising option for supporting joint health and easing discomfort.
    I like that it’s made with natural ingredients and designed to improve mobility without relying
    on harsh chemicals. If you’ve been dealing with stiffness or everyday aches, Arielief
    could be a gentle yet effective way to find some relief and feel more comfortable in daily activities.

  27. sexy plus size lingeriedistinctly and articulately,some of the matters of objection which I feel to his late doctrines and proceedings,

  28. Danielrep dice:

    Как найти хорошие грузоперевозки

    Найти качественные грузоперевозки важно для бизнеса и частных перевозок. В этой статье — практические советы, проверенные методы и критерии выбора [url=https://infokam.su/vyvoz-stroitelnogo-musora-kak-izbavitsya-ot-othodov-bystro-vygodno-i-bez-hlopot.html]https://infokam.su/vyvoz-stroitelnogo-musora-kak-izbavitsya-ot-othodov-bystro-vygodno-i-bez-hlopot.html[/url]

    Определите требования к перевозке
    Сначала уточните параметры груза: вес, габариты, ценность, требуемые сроки и условия (температура, хрупкость). Чем точнее описание, тем проще выбрать перевозчика.

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

    Оцените репутацию и документы
    Проверьте у исполнителя:
    – Лицензии и разрешения.
    – Страхование ответственности.
    – Отзывы клиентов и портфолио задач похожего масштаба.
    Запросите контактные данные предыдущих клиентов для сверки отзывов.

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

    Условия доставки и тарифы
    Разберитесь в структуре тарифа: базовый рейс, доплаты за погрузку/разгрузку, ночные часы, ожидание и мелкие сборы. Проясните ответственность за повреждения и форс-мажорные обстоятельства. Сравнивайте не только цену, но и конечную стоимость с учетом всех платежей.

    Договор и гарантия
    Заключайте письменный договор, где прописаны сроки, маршрут, условия перевозки, ответственность сторон и порядок урегулирования споров. Требуйте товарно-транспортные документы и акты приема-передачи.

    Контроль и коммуникация
    Наладьте систему отслеживания: GPS-трекеры, регулярные отчеты от водителя или диспетчера. Оперативная связь снижает риски и помогает быстрее реагировать на изменения.

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

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

  29. staying at an hotelnot far from the station.リアル ラブドールMy progress was painfully slow.

  30. hegathered some scraps of meat and carried them out to the dogs,銉┿儢銉夈兗銉?銈儕銉嬨兗whogreeted him with hoarse barks of welcome.

  31. Visit Here dice:

    Very great post. I just stumbled upon your blog and wished to mention that I
    have truly enjoyed browsing your blog posts.
    In any case I will be subscribing to your rss feed and I’m hoping
    you write once more soon!

  32. “I have told the car not to wait beyond daybreak,ラブドール ブログ” I said (Germanforethought again!) “and as for the tools you may collect them afterdark to-nigh”I got back safely to my apartment and turned up at ten o’clock at myoffice,

Responder a Haroldnot Cancelar respuesta