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,441

  1. DiscoverYourMoment – Customer service responded quickly, very polite and resolved my concerns efficiently.

  2. mostbet kg [url=https://www.mostbet12031.ru]https://www.mostbet12031.ru[/url]

  3. 1xbet_zakn dice:

    1xbet giri? linki [url=http://www.1xbet-10.com]http://www.1xbet-10.com[/url] .

  4. 1xbet_onkn dice:

    1 xbet [url=https://1xbet-12.com/]1xbet-12.com[/url] .

  5. YourTrustedOnlineStore – Always something new to explore, site keeps me coming back regularly.

  6. TimsothyDrada dice:

    May I just say what a relief to uncover an individual who really understands what they’re discussing on the web. You actually realize how to bring an issue to light and make it important. More people really need to read this and understand this side of the story. I can’t believe you’re not more popular since you surely have the gift.
    kra42 at

  7. ‘if I were but a thousand feet beneath theearth,that I might not hear that song.コスプレ h

  8. mostbet kg [url=mostbet12031.ru]mostbet12031.ru[/url]

  9. Davidjusty dice:

    farmacia con entrega rápida [url=http://confiafarmacia.com/#]Viagra genérico online España[/url] Viagra genérico online España

  10. Very helpful, I learned something new today.

  11. ラブドール 無 修正hisgood genius,and entreated him to gratify the inclination of thatfickle creature so far as to convey her to another lodging,

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

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

  14. 1xbet_anmr dice:

    1xbet giri? linki [url=www.1xbet-13.com/]1xbet giri? linki[/url] .

  15. 1xbet_dzkn dice:

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

  16. услуги гидроизоляции подвала [url=gidroizolyaciya-cena-7.ru]gidroizolyaciya-cena-7.ru[/url] .

  17. 1xbet_vpPa dice:

    1xbet g?ncel giri? [url=http://1xbet-16.com]1xbet g?ncel giri?[/url] .

  18. 1xbet_xdKt dice:

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

  19. コス エロand therefore hath decreed,That to his city none through me should come.

  20. GK88 dice:

    Heya i am for the primary time here. I found this board and I to find It really helpful & it helped me out much.
    I hope to give one thing again and aid others such as you aided me.

  21. 1xbet_gbkn dice:

    1xbet turkey [url=https://www.1xbet-12.com]https://www.1xbet-12.com[/url] .

  22. Davidjusty dice:

    trattamento ED online Italia [url=https://mediuomo.shop/#]MediUomo[/url] Medi Uomo

  23. KerrySnits dice:

    Онлайн игровые заведения: новый виртуальный мир азарта и развлечений

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

    Одним из главных преимуществ азартных платформ [url=https://ethnobs.ru/]покердом[/url] является их доступность. В отличие от реальных заведений, здесь не нужно путешествовать в другой город или страну. Достаточно иметь смартфон и надёжную связь. Кроме того, онлайн-платформы предлагают широкий выбор игр, которые можно попробовать в любое время суток.

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

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

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

  24. 1xbet_czmr dice:

    1x bet giri? [url=https://1xbet-13.com/]1xbet-13.com[/url] .

  25. so as to make heryield at discretion,without alarming her religion or pride.ラブドール 販売

  26. Can I just say what a comfort to discover somebody who actually understands what they are discussing on the
    net. You definitely realize how to bring a problem to
    light and make it important. More people need to look at this and understand this
    side of the story. It’s surprising you are not more
    popular given that you most certainly have the gift.

  27. Davidjusty dice:

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

  28. akongcuan dice:

    Appreciation to my father who informed me regarding this weblog, this weblog is genuinely amazing.

  29. ドール エロ?answered Jones.“Heaven be praised you haveescaped so well,

  30. алко помощь наркологическая [url=http://narkologicheskaya-klinika-23.ru/]http://narkologicheskaya-klinika-23.ru/[/url] .

  31. 1xbet_knSi dice:

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

  32. 1xbet_iyPa dice:

    1xbet guncel [url=https://www.1xbet-16.com]1xbet guncel[/url] .

  33. 1xbet_hamr dice:

    1xbet yeni giri? [url=www.1xbet-13.com]1xbet yeni giri?[/url] .

  34. 1xbet_nzKt dice:

    1xbet spor bahislerinin adresi [url=1xbet-17.com]1xbet spor bahislerinin adresi[/url] .

  35. So sheshook two dishes of peas into the ashes.But the little maiden went out into the garden at the back of the house,アダルト コスプレ

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

  37. slot dana dice:

    Wonderful work! That is the type of information that are meant to be shared across the web.

    Disgrace on the search engines for not positioning this submit higher!
    Come on over and talk over with my site . Thanks =)

  38. 1xbet_tpkn dice:

    bahis sitesi 1xbet [url=http://www.1xbet-10.com]bahis sitesi 1xbet[/url] .

  39. мостбет кг [url=https://mostbet12031.ru]https://mostbet12031.ru[/url]

  40. 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
    трипскан вход
    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.

  41. Randynuamy dice:

    farmacia online para hombres: farmacia online para hombres – Viagra genérico online España

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

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

  44. HermanWew dice:

    http://confiafarmacia.com/# comprar Sildenafilo sin receta

  45. Andar Bahar dice:

    With havin so much written content do you ever run into
    any issues of plagorism or copyright violation? My blog has a lot of completely unique content I’ve either authored myself or outsourced but it appears a lot of it is popping it up all over the internet without my agreement.
    Do you know any methods to help prevent content from being stolen? I’d definitely
    appreciate it.

  46. наркологический диспансер москва [url=www.narkologicheskaya-klinika-24.ru]наркологический диспансер москва[/url] .

Responder a Andar Bahar Cancelar respuesta