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: 89,465

  1. WiltonHog dice:

    A seabed of shipwrecks
    [url=https://rutorsite3s7oalfxlcv5kdk6opadvkoremcoyrdm75rgips6pv33did.com]rutorcoolfldlmrpalkmfklw3nyzad6b6fycdtof3xbnixkerr47udyd onion[/url]
    The Great Lakes have the most shipwrecks per square mile among all bodies of water in the world, largely due to the high shipping traffic in the 19th century and the lake’s volatile weather. Researchers know about the wrecks because reporting any commercial ship that sails on the lakes is required; from the early 19th century to the 20th century, about 40,000 ships sailed the Great Lakes, Baillod said.

    There are about 6,000 commercial vessels on the seabed of the Great Lakes, lost to storms or other issues. In Lake Michigan alone, there are over 200 shipwrecks waiting to be discovered, according to Baillod, who has created a database of these ships over the past three decades.
    https://rutorsite3s7oalfxlcv5kdk6opadvkoremcoyrdm75rgips6pv33did.net
    rutor форум
    Wrecks in the Great Lakes have been found since the 1960s, but in recent years the rate of these finds has accelerated greatly, in part due to media attention, clearer waters and better technology, Baillod said. Some wreck hunters and media outlets call this the golden age for shipwreck discoveries.

    “There’s a lot more shipwreck awareness now on the Great Lakes, and people are looking down in the water at what’s on the bottom,” he added. Part of the reason it’s easier to see in the water is thanks to quagga mussels — an invasive species that was introduced in the 1990s. The mollusks have filtered most of the lakes, turning them from their old greenish hue, which allowed for only a few feet of visibility, to clear blue. Now, the lakes have visibility of up to 50 to 100 feet (15 to 30.5 meters), Baillod explained.

    “Tourism has popped up around paddle boarding and kayaking, and these shipwrecks are visible from the surface because the water is so clear,” he added.

    Related article
    The wreckage of the Mary Rose at The Mary Rose Museum in Portsmouth, England.
    A Tudor warship sank nearly 500 years ago. The bones of its crew reveal what life was like

    And then there are advancements in technology. “Side-scan sonar used to cost $100,000 back in 1980,” he said. “The one we used to find this (shipwreck) was just over $10,000. They’ve really come down in price.”

    The National Oceanographic and Atmospheric Administration, or NOAA, has a project in the works to map the bottom of the Great Lakes in high resolution by 2030. If the organization succeeds, all shipwrecks will be found, Baillod said.

    In the meantime, Baillod said he hopes he and his team will continue to discover missing shipwrecks from his database in the coming years and bring along citizen scientists for the ride: “I keep looking, and I don’t doubt that we’ll keep finding.”

  2. Spravkijui dice:

    Узнайте всё об интернет-магазине Авто-Фокус — большой каталог автотоваров, допов и автокомпонентов для любых машин! Зайдите на [url=https://avto-fokus.ru]https://avto-fokus.ru[/url] и посмотрите наличие продукции. Нужна противоугонная система или модернизация мультимедиа? — интернет-ресурс предлагает автосигнализации, автозвук и аксессуары. https://avto-fokus.ru Подбираете автотовары — здесь найдёте качественные аналоги и удобную отправку.

  3. 撥筋創業 dice:

    https://fr-asia-5.lon1.digitaloceanspaces.com/research/asia-business-(2047).html
    From the trumpet cut to the swirled-lace embroidery and the sheer bow at
    the back, this mother’s slate gown was all in regards to
    the particulars.

  4. https://fr-asia-5.lon1.digitaloceanspaces.com/research/asia-business-(2348).html
    This glittery lace-knit two-piece features a sleeveless cocktail
    gown and coordinating longline jacket.

  5. 整復學徒 dice:

    https://je-tal-marketing-936.lon1.digitaloceanspaces.com/research/je-marketing-(190).html
    You should buy long sleeves, a long lace mom of the bride gown, or a beautiful ballgown with a boat neckline.

  6. бк мелбет бонусы [url=https://melbetbonusy.ru/]https://melbetbonusy.ru/[/url] .

  7. https://fr-box-5.lon1.digitaloceanspaces.com/research/paris-(2197).html
    This surprisingly inexpensive mother-of-the-bride dress is perfect
    for a formal fall or winter wedding.

  8. Ramonicede dice:

    NeoKamagra [url=https://neokamagra.xyz/#]NeoKamagra[/url] sildenafil oral jelly 100mg kamagra

  9. https://fr-box-2.sfo3.digitaloceanspaces.com/research/paris-(826).html
    If there was a worth for the most properly liked mother-of-the-bride dress,
    we’d fortunately give it to this one.

  10. 學按摩 dice:

    https://fr-world-4.tor1.digitaloceanspaces.com/research/cake-(1881).html
    Available in 14 colours, you may be certain to discover a gown that matches your
    daughter or son’s wedding theme.

  11. https://jekyll.s3.us-east-005.backblazeb2.com/20250904-3/research/je-marketing-(326).html
    So, on the very least, both mothers will need to put on colors that complement the opposite.

  12. https://je-tal-marketing-981.lon1.digitaloceanspaces.com/research/je-marketing-(252).html
    For a beach wedding ceremony I would wear something a bit extra flowy like the flowery and ruffly attire above.

  13. https://je-tal-marketing-946.lon1.digitaloceanspaces.com/research/je-marketing-(199).html
    We even have tea-length attire and lengthy attire to suit any season, venue or preference.

  14. https://je-tall-marketing-841.lon1.digitaloceanspaces.com/research/je-marketing-(452).html
    If you’re unsure the place to start (or you simply need to see what’s out
    there), contemplate us your personal stylist.

  15. There’s a warrant out for this lady,銉┿儢銉夈兗銉?銈儕銉嬨兗but we’vesucceeded in getting her away from the police,

  16. https://je-tall-marketing-846.ams3.digitaloceanspaces.com/research/je-marketing-(473).html
    It’s your duty to know what she desires from both you and the groom’s mom in phrases of your attire.

  17. 推拿學徒 dice:

    https://fr-accounting-13.atl1.digitaloceanspaces.com/research/business-world-(1121).html
    A pink lace Erdem gown, embroidered with pink and crimson blooms, paired perfectly with this fashionable
    mother’s half-up, half-down hairstyle.

  18. melbet_mhpt dice:

    промокод melbet 2024 [url=https://melbet5005.ru]https://melbet5005.ru[/url]

  19. Ramonicede dice:

    cialis generic [url=http://dmucialis.com/#]Cialis 20mg price in USA[/url] cheapest cialis

  20. 撥筋課程 dice:

    https://je-tall-marketing-867.tor1.digitaloceanspaces.com/research/je-marketing-(262).html
    Read our evaluations of 9 tie kinds and colors, perfect for your wedding
    ceremony.

  21. вывод из запоя иркутск
    vivod-iz-zapoya-irkutsk014.ru
    экстренный вывод из запоя

  22. 推拿師 dice:

    https://je-tal-marketing-890.lon1.digitaloceanspaces.com/research/je-marketing-(290).html
    This mother of the bride wore a white tunic and skirt for a boho-chic ensemble.

  23. melbet_cnpt dice:

    melbet вход [url=melbet5005.ru]melbet5005.ru[/url]

  24. melbet_ciea dice:

    melbet plinko [url=http://melbet5015.ru/]http://melbet5015.ru/[/url]

  25. https://je-tal-marketing-946.lon1.digitaloceanspaces.com/research/je-marketing-(296).html
    Stylish blue navy dress with floral pattern lace and fantastic silk lining, three-quarter sleeve.

  26. 經絡課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-811/research/je-marketing-(348).html
    Thus, you should not wear white when you’re the mother of the
    bride or even something like ivory.

  27. It’s an remarkable paragraph in favor of all the internet people;
    they will take advantage from it I am sure.

  28. 撥筋創業 dice:

    https://fr-well-7.fra1.digitaloceanspaces.com/research/%EF%B8%8F-france-(3387).html
    With options in any neckline or silhouette, look like A line, strapless, Taffeta, organza, and lace.

  29. Hi there, constantly i used to check blog posts here early in the break of day,
    as i enjoy to gain knowledge of more and more.

  30. агентство seo [url=www.reiting-seo-kompanii.ru]агентство seo[/url] .

  31. https://fr-tour-2.sfo3.digitaloceanspaces.com/research/star-(652).html
    If stylish and complicated is what you are going for, consider this
    sequined ensemble from Alex Evenings.

  32. ドール エロis no more alive than he; and equally wooden areJoshua,the high-minded,

  33. https://je-tal-marketing-964.lon1.digitaloceanspaces.com/research/je-marketing-(72).html
    One of our favourite issues about Karen Kane is that they are size inclusive and have options for all sizes.

  34. 舒壓課程 dice:

    https://fr-tour-9.blr1.digitaloceanspaces.com/research/star-(4276).html
    This mother’s gown featured a striped off-the-shoulder neckline that was an attractive complement
    to the bride’s own marriage ceremony dress.

  35. Spravkinxg dice:

    Узнайте максимум об AvtoGruzGroup — качественные обзоры, полезные советы и актуальные новости! Перейдите на [url=https://avtogruzgroup.ru]https://avtogruzgroup.ru[/url] и ознакомьтесь статьи по автозвуку. Хочешь объективная оценка — этот сайт обеспечивает тесты, технические данные и мнения пользователей. https://avtogruzgroup.ru Нужен обзор — здесь найдёшь проверенные устройства и экспертные выводы.

  36. Diplomi_skSn dice:

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

  37. PatrickFlicy dice:

    [b]Оцинкованные турбодефлекторы: Надежная защита и эффективная вентиляция[/b]

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

    Оцинкованная сталь служит надежной основой для турбодефлектора, обеспечивая его долговечность и устойчивость к коррозии. Это особенно важно в условиях сурового климата с перепадами температур и высокой влажностью. Благодаря цинковому покрытию, турбодефлектор сохраняет свои эксплуатационные характеристики на протяжении многих лет, не требуя частого обслуживания и замены.
    Принцип работы турбодефлектора довольно прост: под воздействием ветра ротор начинает вращаться, создавая разрежение в вентиляционном канале и усиливая тягу. Это позволяет эффективно удалять загрязненный воздух, испарения и запахи из помещений, обеспечивая здоровый микроклимат. Более того, турбодефлектор препятствует попаданию снега, дождя и мусора в вентиляционную систему, предотвращая ее засорение и повреждение.

    Оцинкованные турбодефлекторы широко используются в жилых домах, промышленных зданиях, складах и других сооружениях, где требуется эффективная и надежная вентиляция. Они легко устанавливаются и адаптируются к различным типам вентиляционных каналов.
    Современные производители предлагают широкий ассортимент турбодефлекторов различных размеров и конфигураций, позволяя подобрать оптимальное решение для конкретной задачи. При выборе турбодефлектора важно учитывать не только его размеры и производительность, но и качество материалов, надежность конструкции и репутацию производителя. В каких случаех необходима [url=http://www.bisound.com/forum/showthread.php?p=2888441#post2888441оцинкованная труба?[/url]

  38. ラブドール ブログor _Gaurs_; the consequence of which was,that the _Gebers_,

  39. https://fr-asia-10.syd1.digitaloceanspaces.com/research/asia-business-(4779).html
    A gown with jewels at the neckline alleviates the necessity for a necklace or a
    nice deal of different extras.

Responder a 撥筋課程 Cancelar respuesta