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: 66,804

  1. Robertvub dice:

    Vita Homme: Vita Homme – Kamagra 100mg prix France

  2. Richardnog dice:

    differenza tra Spedra e Viagra: pillole per disfunzione erettile – FarmaciaViva

  3. RichardWof 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]трипскан сайт[/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
    tripskan
    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.

  4. and seeing how late it wasuddenly jumped up wide awake as though someone had pulled him off thesofa.ロボット エロHe crept on tiptoe to the do stealthily opened it and beganlistening on the staircase.

  5. Robertvub dice:

    kamagra: kamagra oral jelly – Kamagra pas cher France

  6. And do not yield to the impulseto handle the sex organs in order to relieve the pressure which mayoccasionally feel overwhelming,コスプレ hunless you find that nature does notbring you relief during sleep.

  7. and in another have sought to make clear thepresent relations of the sons of master and man.ロボット セックスLeaving,

  8. depo 10k dice:

    Greetings, I think your blog could be having web browser compatibility problems.

    Whenever I take a look at your website in Safari, it looks fine however, when opening in IE, it’s got some overlapping
    issues. I merely wanted to give you a quick heads up!

    Apart from that, excellent website!

  9. セックス ロボットher worn faceagain expressing deep sorrow.“They give little hope,

  10. 2.アダルト 下着Substitute a pronoun for each noun in the objective case.

  11. It’s actually a nice and helpful piece of information. I am
    happy that you just shared this helpful info with us.
    Please keep us up to date like this. Thanks for sharing.

  12. rather than that,he would creep down the stairs like a cat andslip out unseen.等身 大 ラブドール

  13. I think the admin of this website is in fact working
    hard for his web site, since here every stuff is
    quality based information.

  14. ClydeGride dice:

    differenza tra Spedra e Viagra: Spedra prezzo basso Italia – Spedra

  15. ClydeGride dice:

    differenza tra Spedra e Viagra: Spedra – Avanafil senza ricetta

  16. ClydeGride dice:

    Spedra: FarmaciaViva – comprare medicinali online legali

  17. Thomasjobre dice:

    Erfahrungen mit Kamagra 100mg: Erfahrungen mit Kamagra 100mg – Kamagra 100mg bestellen

  18. ラブドール えろhis loneliness,the essentialdesolation of his futile wanderings.

  19. コスプレ h” connects two statements,and shows that one of them is a meresupposition (for Charles may or may not come).

  20. Richardnog dice:

    ereksjonspiller på nett: ereksjonspiller på nett – Mann Vital

  21. In the corridorhe met Nesvítski,美人 せっくすwith whom he shared a room,

  22. 拘束 衣 dice:

    -re {est {sunt PLUPERFECT _I had loved_,エッチ コスプレ_I had been loved_,

  23. sakong toto dice:

    I was curious if you ever considered changing the page layout of
    your blog? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so
    people could connect with it better. Youve got an awful lot
    of text for only having 1 or 2 images. Maybe you could space it out better?

  24. your whole future,等身 大 ラブドールyouwill devote to them when you have finished your studies and obtained apost? we have heard all that before,

  25. Thomasjobre dice:

    Kamagra Wirkung und Nebenwirkungen: Kamagra Wirkung und Nebenwirkungen – Kamagra online kaufen

  26. Richardnog dice:

    Potenzmittel ohne ärztliches Rezept: Potenzmittel ohne ärztliches Rezept – vitalpharma24

  27. tan sólo encontraron los viejos yremendados zapatos de Tamburí.Furioso el Cadí mandó a un esclavo a cambiar el calzado,コスプレ r18

  28. エッチ コスプレ] [Footnote 3: ?quī … praedīcerent §504] [Footnote 4: ?ita multum trahēbat _had a great influence in that direction_.] [Footnote 5: ?Paucīs ante annīs _a few years before_; in Lat _before by a few years_,

  29. купить электрические рулонные шторы [url=www.rulonnye-shtory-s-elektroprivodom7.ru]www.rulonnye-shtory-s-elektroprivodom7.ru[/url] .

  30. situs toto dice:

    Having read this I thought it was really enlightening.
    I appreciate you finding the time and energy to put this content together.
    I once again find myself personally spending a significant
    amount of time both reading and posting comments. But so what, it was still worth it!

  31. presently launched into extravagant praises on the magnanimity,等身 大 ラブドールas shecalled it,

  32. наш онлайн площадка разработан с целью обеспечения наиболее спокойных положений для проведения времени в контакте с.

    Take a look at my site https://amazingradio.com/profile/wepari1122

Responder a criskis7mug Cancelar respuesta