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: 63,260

  1. HermanWew dice:

    https://confiafarmacia.shop/# Viagra sin prescripcion medica

  2. 건대가라오케는 단순히 노래를 부르는 장소를 넘어, 함께 웃고 공감하며 즐거움을 나누는 특별한 공간입니다.
    화려한 무대 조명 아래에서 부르는 신나는 댄스곡 한 곡

  3. клиника наркологическая [url=www.narkologicheskaya-klinika-23.ru/]www.narkologicheskaya-klinika-23.ru/[/url] .

  4. ShopTheLatestTrend – Highly recommend this platform, shopping experience is smooth and enjoyable.

  5. 1xbet_vcSi dice:

    1xbet [url=www.1xbet-14.com/]1xbet[/url] .

  6. FindYourPerfectDeal – Easy navigation, site layout makes shopping smooth and enjoyable overall.

  7. mystdate.com dice:

    legal muscle building supplement

    References:

    mystdate.com

  8. agen slot dice:

    My brother suggested I might like this website. He was totally right.
    This post actually made my day. You can not imagine simply how much time I had spent for this
    information! Thanks!

  9. Mason Blasco dice:

    TheBestPlaceToShop – Great selection of items, site makes finding deals really easy.

  10. Davidjusty dice:

    köpa Viagra online Sverige [url=https://mannensapotek.com/#]apotek online utan recept[/url] diskret leverans i Sverige

  11. TrendyFindsHub – Prices are reasonable, found exactly what I wanted without any hassle.

  12. поставщик медоборудования [url=medoborudovanie-postavka.ru]medoborudovanie-postavka.ru[/url] .

  13. ShopAndSmileAlways – Prices are reasonable, found exactly what I wanted without any hassle.

  14. ワンピース コスプレ エロYet a single glass of its water heldup to the light is as colorless as an equal quantity of air.It is wellknown that a large plate of glass will have a green tint,

  15. ShopForHappiness – Highly recommend this platform, shopping experience is smooth and enjoyable.

  16. changeyourworld – Love this site, always find great deals and unique items.

  17. do sit down.エロ フィギュア 無 修正”Raskolnikov sat down; he no longer shivered,

  18. Jess Zelenka dice:

    startsomethinggreat – Easy navigation, site layout makes shopping smooth and enjoyable overall.

  19. learnshareconnect – Practical insights and strategies shared to enhance professional development journeys.

  20. Davidjusty dice:

    betrouwbare online apotheek [url=http://herengezondheid.com/#]ED-medicatie zonder voorschrift[/url] betrouwbare online apotheek

  21. findwhatyoulove – I keep returning here, always find interesting products quickly and easily.

  22. Randynuamy dice:

    Viagra generico online Italia: farmaci per potenza maschile – MediUomo

  23. 1xbet_mcKt dice:

    1xbet giri? 2025 [url=www.1xbet-17.com]1xbet giri? 2025[/url] .

  24. everytrendinone – Prices are reasonable, found exactly what I wanted without any hassle.

  25. Bill Rogas dice:

    newseasoncollection – I keep returning here, always find interesting products quickly and easily.

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

  27. 1xbet_jdSi dice:

    1 xbet giri? [url=https://1xbet-14.com/]https://1xbet-14.com/[/url] .

  28. В 2024 году рейтинг сериалов только растёт благодаря их разнообразию, https://s.surveyplanet.com/kaawd3o0 качественным сценариям и высоким рейтингам.

  29. поставщик медоборудования [url=https://medoborudovanie-postavka.ru/]https://medoborudovanie-postavka.ru/[/url] .

  30. Davidjusty dice:

    betrouwbare online apotheek [url=https://herengezondheid.com/#]officiële Sildenafil webshop[/url] online apotheek zonder recept

  31. Nisha Alvelo dice:

    yourjourneybegins – Fast shipping, products arrived on time and in perfect condition today.

  32. Dolly Sow dice:

    everydayvaluecorner – I keep returning here, always find interesting products quickly and easily.

  33. ‘With all myheart: get up behind,エロ コスチュームand be sure you do not fall off.

  34. Irene Flicek dice:

    makelifebetter – Customer support was helpful, answered all my questions promptly and politely.

  35. Jamesfep dice:

    https://herengezondheid.com/# Sildenafil zonder recept bestellen

  36. медтехника [url=https://medicinskaya-tehnika.ru/]medicinskaya-tehnika.ru[/url] .

  37. JasonAntat dice:

    The trial of Bryan Kohberger – the man who brutally murdered four University of Idaho students inside their off-campus home – ended in July before it ever truly began when he accepted a plea deal that saw him sentenced to four consecutive life terms in prison without the possibility of an appeal or parole.

    Kohberger sat impassively throughout the hearing as the loved ones of each of the four students whose lives he so callously ended repeatedly asked him the same question: Why?
    [url=http://trip-skan45.cc]trip scan[/url]
    And when he was finally given the opportunity to answer their questions, he said, “I respectfully decline.”

    That decision further fueled the mystery around his motive for murdering Xana Kernodle, Madison Mogen, Ethan Chapin and Kaylee Goncalves.

    “There’s no reason for these crimes that could approach anything resembling rationality,” Idaho District Judge Steven Hippler said during Kohberger’s sentencing. “The more we try to extract a reason, the more power and control we give to him.”

    But, he added, investigators and researchers may wish to study his actions – if only to learn how to prevent similar crimes from occurring in the future.
    http://trip-skan45.cc
    tripscan
    Indeed, academics and former FBI profilers told CNN the challenge of unravelling the criminal mind of a man like Bryan Kohberger is enticing. And while his trial may be over, in many ways, the story of what can be learned from his crimes may have only just begun.

    “We want to squeeze any silver lining that we can out of these tragedies,” said Molly Amman, a retired profiler who spent years leading the FBI’s Behavioral Threat Assessment Center.

    “The silver lining is anything we can use to prevent another crime. It starts with learning absolutely, positively everything about the person and the crime that we possibly can.”

    CNN
    Only Kohberger knows
    Even seasoned police officers who arrived at 1122 King Road on November 13, 2022, struggled to process the brutality of the crime scene.

    All four victims had been ruthlessly stabbed to death before the attacker vanished through the kitchen’s sliding glass door and into the night.

    “The female lying on the left half of the bed … was unrecognizable,” one officer would later write of the attack that killed Kaylee Goncalves. “I was unable to comprehend exactly what I was looking at while trying to discern the nature of the injuries.”

    Initial interviews with the two surviving housemates gave investigators a loose timeline and a general description of the killer – an athletic, White male who wore a mask that covered most of his face – but little else.

    Police later found a Ka-Bar knife sheath next to Madison’s body that would prove to be critical in capturing her killer.

    One of the surviving housemates told police about a month before the attacks, Kaylee saw “a dark figure staring at her from the tree line when she took her dog Murphy out to pee.”

    “There has been lighthearted talk and jokes made about a stalker in the past,” the officer noted. “All the girls were slightly nervous about it being a fact, though.”

    But after years of investigating the murders, detectives told CNN they were never able to establish a connection between Kohberger and any of the victims, or a motive.

    Kohberger is far from the first killer to deny families and survivors the catharsis that comes with confessing, in detail, to his crimes. But that, former FBI profilers tell CNN, is part of what makes the prospect of studying him infuriating and intriguing.

  38. My brother suggested I might like this website.
    He was entirely right. This post truly made my day. You can not imagine simply how much time I had
    spent for this info! Thanks!

  39. наркологический частный центр [url=www.narkologicheskaya-klinika-23.ru]www.narkologicheskaya-klinika-23.ru[/url] .

Responder a narkologicheskaya klinika_qrmn Cancelar respuesta