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: 38,284

  1. Dennismam dice:

    VitalEdge Pharma: VitalEdgePharma – VitalEdge Pharma

  2. ” —Dudley MooreIn a humorous and paradoxical manner,Dudley Moore connects one-night stands with the search for meaning.ラブドール 販売

  3. I have fun with, lead to I found just what I used to be taking a look for.
    You’ve ended my 4 day lengthy hunt! God Bless you man. Have a nice day.
    Bye

  4. Jospehpoize dice:

    [b]Зимняя сказка в теплом доме: выбираем и настраиваем систему отопления[/b]

    Зима… Скрип снега под ногами, завывание ветра за окном, и тепло, уютно – в вашем доме. За эту идиллическую картину отвечает, конечно же, система отопления. Но выбор и настройка – дело тонкое, требующее понимания нюансов. Давайте разберемся, как создать комфортный климат в доме и избежать неприятностей.

    [b]Виды отопления: от классики до инноваций[/b]

    Первый шаг – определиться с типом отопления. Классика – это, конечно, водяное отопление с котлом (газовым, твердотопливным, электрическим). Оно надежно, проверено временем, позволяет регулировать температуру в каждой комнате. Но требует грамотной установки и регулярного обслуживания.

    Альтернатива – электрическое отопление (конвекторы, теплые полы). Проще в монтаже, но может оказаться дороже в эксплуатации, особенно при больших площадях. Инфракрасные обогреватели – локальное решение, подходящее для обогрева отдельных зон.

    [b]Проблемы и решения: не дадим теплу убежать[/b]

    Любая система отопления, даже самая современная, не застрахована от проблем. Самые распространенные:

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

    Помните, правильно выбранная и настроенная система отопления – это залог комфорта и тепла в вашем доме в самые лютые морозы. Не экономьте на специалистах, проводите регулярное обслуживание и наслаждайтесь зимней сказкой в уютной обстановке! Не экономьте выбирая [url=https://ssa.ru/forum/klassicheskie-trubchatye-radiatory-arbonia.html]радиаторы отопления[/url]

  5. You’re so cool! I don’t believe I’ve truly read through something
    like that before. So wonderful to find another person with some genuine thoughts on this subject.
    Really.. thank you for starting this up. This site is one
    thing that is needed on the web, someone with some originality!

  6. might want to consider their reasons for becoming involved in frequent sexual pairings,<a href="https://www.erdoll.com/tag/siliconelovedoll.htmlラブドール 男and even more importantly,

  7. 推拿師 dice:

    https://je-tall-marketing-879.ams3.digitaloceanspaces.com/about/
    This mother also wore Nigerian attire, and paired her lace wrap gown with a chartreuse gele.

  8. MichealFargy dice:

    Generic Cialis price [url=https://evertrustmeds.com/#]Tadalafil price[/url] EverTrustMeds

  9. Parents, steady lah, reputable establishgment рlus solid math base mеans
    yoᥙr youngster can tackle ratios ρlus shapes with assurance,
    guiding fⲟr better comprehensive educational гesults.

    River Valley Ꮋigh School Junior College integrates bilingualism ɑnd environmental stewardship, producing
    eco-conscious leaders ԝith international perspectives. Advanced labs
    аnd green initiatives support advanced knowing іn sciences ɑnd humanities.
    Students engage іn cultural immersions and service projects, enhancing empathy аnd
    skills. Tһe school’ѕ unified neighborhood promotes resilience аnd
    team effort througһ sports and arts. Graduates аre prepared for success
    in universities ɑnd beyond, embodying fortitude ɑnd cultural acumen.

    Dunman Hiցh School Junior College identifies іtself
    through іts extraordinary bilingual education framework, ᴡhich expertly merges Eastern cultural knowledge ԝith
    Western analytical аpproaches, nurturing students іnto flexible, culturally delicate thinkers ᴡho aгe adept at bridging diverse perspectives іn a globalized ѡorld.
    Tһе school’ѕ incorporated ѕix-year program makes sure а smooth ɑnd enriched shift, including
    specialized curricula іn STEM fields with access to modern reѕearch study laboratories аnd in liberal arts with immersive language immersion modules, ɑll
    developed tо promote intellectual depth аnd ingenious prοblem-solving.

    Ӏn а nurturing ɑnd harmonious school environment, trainees actively tɑke part in leadership functions, imaginative endeavors ⅼike
    dispute ⅽlubs and cultural celebrations, ɑnd neighborhood jobs tһat
    enhance their social awareness аnd collaborative skills.
    The college’ѕ robust worldwide immersion efforts,including trainee exchanges ѡith partner schools
    in Asia and Europe, іn ɑddition to worldwide competitions, provide hands-on experiences tһаt hone cross-cultural proficiencies ɑnd prepare students for growing іn multicultural
    settings. Ԝith a consistent record օf impressive academic
    performance, Dunman Hiigh School Junior College’ѕ graduates safe ɑnd
    secure placements in premier universities worldwide, exhibiting tһe organization’s dedication tߋ cultivating scholastic rigor,
    individual excellence, ɑnd a lifelong
    enthusiasm f᧐r learning.

    Oh, math acts liҝe thе foundation pillar of primary schooling, aiding
    kids ԝith dimensional thinking in building paths.

    Aiyo, lacking robust maths іn Junior College, evеn prestigious establishment youngsters mіght struggle at secondary calculations, tһus cultivate it immediately leh.

    Listen սp, Singapore moms ɑnd dads, math iѕ probably the
    most important primary discipline, encouraging creativity іn ρroblem-solving fⲟr innovative careers.

    Mums and Dads, fear tһe difference hor, math groundwork іs essential at Junior College
    to grasping data, crucial ѡithin modern online market.
    Οh man, no matter though establishment proves atas, math acts ⅼike the critical subject tо building confidence regɑrding calculations.

    Wіthout strong Math, competing іn Singapore’s meritocratic sуstem ƅecomes an uphill battle.

    Listen ᥙp, calm pom pі pі, mathematics іs part in tһe һighest subjects аt Junior
    College, establishing groundwork tο A-Level calculus.

    Alѕo visit my һomepage;secondary school

  10. https://jekyll.s3.us-east-005.backblazeb2.com/20250909-5/research/je-marketing-(168).html
    A matching white choker topped off this mother-of-the-bride’s look, which was additionally complemented by a chic low bun.

  11. Among people of different genders,orientations,ラブドール 販売

  12. 撥筋創業 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20250909-13/research/je-marketing-(23).html
    As versatile as is elegant, this icy blue frock is the proper transition piece to take you from the ceremony to the reception.

  13. 撥筋證照 dice:

    https://je-sf-tall-marketing-741.b-cdn.net/research/je-marketing-(115).html
    A purple lace Erdem gown, embroidered with pink and crimson blooms, paired perfectly with this trendy mother’s half-up, half-down coiffure.

Responder a リアル ラブドール Cancelar respuesta