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: 110,400

  1. CraigWed dice:

    Unm Pharm [url=http://unmpharm.com/#]mexican pharmacy for americans[/url] Unm Pharm

  2. I’ve read several excellent stuff here. Certainly value bookmarking for revisiting.

    I wonder how much attempt you put to create one of these great informative website.

  3. JosephDug dice:

    Unm Pharm: Unm Pharm – gabapentin mexican pharmacy

  4. VincentPaype dice:

    CBS News editor in chief Bari Weiss decided to shelve a planned “60 Minutes” story titled “Inside CECOT,” creating an uproar inside CBS, but the report has reached a worldwide audience anyway.
    [url=https://minexchange.net]mine шахта[/url]
    On Monday, some Canadian viewers noticed that the pre-planned “60 Minutes” episode was published on a streaming platform owned by Global TV, the network that has the rights to “60 Minutes” in Canada.
    [url=https://minexchange.net]mine exchange[/url]
    The preplanned episode led with correspondent Sharyn Alfonsi’s story — the one that Weiss stopped from airing in the US because she said it was “not ready.”
    [url=https://minexchange.net]mine шахта[/url]
    Several Canadian viewers shared clips and summaries of the story on social media, and within hours, the videos went viral on platforms like Reddit and Bluesky.

    “Watch fast,” one of the Canadian viewers wrote on Bluesky, predicting that CBS would try to have the videos taken offline.

    Related article
    The Free Press’ Honestly with Bari Weiss (pictured) hosts Senator Ted Cruz presented by Uber and X on January 18, 2025 in Washington, DC.
    Inside the Bari Weiss decision that led to a ‘60 Minutes’ crisis

    Progressive Substack writers and commentators blasted out the clips and urged people to share them. “This could wind up being the most-watched newsmagazine segment in television history,” the high-profile Trump antagonist George Conway commented on X.

    A CBS News spokesperson had no immediate comment on the astonishing turn of events.

    Alfonsi’s report was weeks in the making. Weiss screened it for the first time last Thursday night. The story was finalized on Friday, according to CBS sources, and was announced in a press release that same day.

    On Saturday morning, Weiss began to change her mind about the story and raised concerns about its content, including the lack of responses from the relevant Trump administration officials.

    But networks like CBS sometimes deliver taped programming to affiliates like Global TV ahead of time. That appears to be what happened in this case: The Friday version of the “60 Minutes” episode is what streamed to Canadian viewers.

    The inadvertent Canadian stream is “the best thing that could have happened,” a CBS source told CNN on Monday evening, arguing that the Alfonsi piece is “excellent” and should have been televised as intended.

    People close to Weiss have argued that the piece was imbalanced, however, because it did not include interviews with Trump officials.

    Weiss told staffers on Monday, “We need to be able to get the principals on the record and on camera.” However, in an earlier memo to colleagues, Alfonsi asserted that her team tried, and their “refusal to be interviewed” was “a tactical maneuver designed to kill the story.”

    At the end of the segment that streamed on Global TV’s platform, Alfonsi said Homeland Security “declined our request for an interview and referred all questions about CECOT to El Salvador. The government there did not respond to our request.”

    The segment included sound bites from President Trump and Homeland Security Secretary Kristi Noem. But it was clearly meant to be a story about Venezuelan men deported to El Salvador, not about the officials who implemented Trump’s mass deportation policy.
    mine шахта
    https://minexchange.net

  5. fggqedldi dice:

    Se vuoi salpare anche tu alla scoperta di questo gioco, la recensione di CasinoItaliani.it ti aspetta. Il cuore pulsante di Pirots è il suo tema avventuroso, che porta una ventata di novità nel mondo delle slot a tema pirata. Qui, i pappagalli assumono il ruolo di protagonisti, sfoggiando costumi da pirati con un dettaglio e un’originalità che catturano immediatamente l’attenzione. La grafica, vivida e colorata, si fonde perfettamente con lo scenario tropicale di sfondo, evocando la magia e il mistero dei Caraibi. Ogni elemento, dai simboli delle gemme ai bonus, è curato nei minimi dettagli, rendendo ogni partita un’esperienza visiva senza precedenti. Pirots 3 si impone come una slot rivoluzionaria, non solo per l’innovazione tecnica del sistema CollectR™, ma anche per l’approccio strategico richiesto al giocatore. Le dinamiche di raccolta, unite alla griglia espandibile e alle modalità bonus bilanciate, creano un’esperienza completa e unica. Il potenziale di vincita fino a 1.000.000€ non è una promessa vuota, ma un traguardo che abbiamo visto realizzarsi in test mirati. È un gioco adatto a chi vuole il massimo dalla propria sessione, con una gestione del rischio consapevole.
    https://dados.iff.edu.br/user/tamickprewret1986
    La slot è stata sviluppata da Elk Studios. Se ami le emozioni e l’avventura di Pirots 3, immergiti in altre slot con lo stesso affascinante tema dei pirati e dei tesori nascosti. Vivi emozioni indimenticabili con Pirates Millions, una slot ricca di sorprese, oppure esplora le fantastiche avventure di Treasure Fair, dove i tesori abbondano. Continua il tuo viaggio marino con Captain 8 Raiders Revenge e Captain 8 Portal of Peril, due slot che ti porteranno in mondi pieni di battaglie epiche e misteriosi forzieri da scoprire. L’altro criterio fontamentale per scegliere i titoli indicati qui sopra è la sicurezza delle slot a soldi veri. Questi giochi sono dotati di meccanismi RNG costantemente monitorati e garantiscono risultati e vincite eque. Tale caratteristica è comune a tutte le slot presenti sui siti legali AAMS. Per farvi conoscere più da vicino le slot che pagano di più, abbiamo inserito la breve presentazione di ognuna di esse.

  6. Diplomi_bsPl dice:

    купить диплом об окончании института [url=https://www.r-diploma3.ru]https://www.r-diploma3.ru[/url] .

  7. Jerryabove dice:

    подробнее [url=https://tstops2.cc]трип скан[/url]

  8. VirgilDot dice:

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

    Виды бонусов в казино

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

    – Бонусы за регистрацию — начальный подарок новичкам, который часто включает безвозмездные деньги или фриспины.
    – Бонусы на депозит — дополнительные средства, которые начисляются при внесении реальных денег на игровой счет. Чаще всего это процент от суммы (например, 100% бонус на первый депозит).
    – Бездепозитные бонусы — подарки без депозита, которые позволяют начать игру без риска.
    – Кэшбэк возврат средств — возвращают игроку часть проигранных денег за определенный период.
    – Фриспины или бесплатные вращения — подарочные вращения в игровых автоматах без необходимости использовать собственные средства.
    – Программы лояльности и VIP-бонусы — специальные вознаграждения для постоянных игроков.

    Как работают бонусы казино

    Бонусы работают благодаря системе требований, которые необходимо соблюсти для их получения и вывода средств.

    – Вейджер (условие отыгрыша) — это число оборотов, которое нужно отыграть, чтобы вывести выигрыш с бонуса. Например, вейджер 30х означает, что сумма бонуса и депозита должна быть поставлена в 30 раз.
    – Минимальный депозит — минимальная сумма, которую необходимо внести, чтобы активировать бонус.
    – Ограничения по играм — не все игры учитываются при отыгрыше бонусов. Например, слоты обычно учитываются на 100%, а настольные игры — меньше или вообще не учитываются.
    – Максимальная сумма ставки при отыгрыше — ограничение на максимальную ставку, которую можно делать во время использования бонусных средств.

    Преимущества бонусов в казино

    Бонусы способствуют:

    – Начать игру с большим балансом.
    – Познакомиться с новыми слотами без риска потерять собственные деньги.
    – Повысить шансы на выигрыш за счет бесплатных вращений.
    – Получить дополнительный азарт, играя в казино [url=https://stpaulpostville.org/]игровые автоматы бесплатно[/url]

    Риски и важные моменты

    Хотя бонусы предоставляют отличные возможности, важно помнить о особенностях. Нередки случаи, когда сложные условия отыгрыша или ограничения по игре делают бонус менее выгодным, чем кажется на первый взгляд.

    Рекомендуется тщательно читать правила и условия бонусов, чтобы избежать разочарований и проблем с выводом средств.

    Заключение

    Бонусы казино — это великолепный способ увеличить интерес к играм и получить дополнительные шансы на выигрыш. Правильное понимание видов бонусов и условий их использования поможет наилучшим образом использовать все предложенные возможности и получать удовольствие от игры.

    Помните о внимательном прочтении правил, и тогда бонусы станут вашим надежным помощником в мире азартных развлечений.

  9. CharlesFilla dice:

    CBS News editor in chief Bari Weiss decided to shelve a planned “60 Minutes” story titled “Inside CECOT,” creating an uproar inside CBS, but the report has reached a worldwide audience anyway.
    [url=https://minexchange.net]mine.exchange[/url]
    On Monday, some Canadian viewers noticed that the pre-planned “60 Minutes” episode was published on a streaming platform owned by Global TV, the network that has the rights to “60 Minutes” in Canada.
    [url=https://minexchange.net]mine шахта[/url]
    The preplanned episode led with correspondent Sharyn Alfonsi’s story — the one that Weiss stopped from airing in the US because she said it was “not ready.”
    [url=https://minexchange.net]mine.exchange[/url]
    Several Canadian viewers shared clips and summaries of the story on social media, and within hours, the videos went viral on platforms like Reddit and Bluesky.

    “Watch fast,” one of the Canadian viewers wrote on Bluesky, predicting that CBS would try to have the videos taken offline.

    Related article
    The Free Press’ Honestly with Bari Weiss (pictured) hosts Senator Ted Cruz presented by Uber and X on January 18, 2025 in Washington, DC.
    Inside the Bari Weiss decision that led to a ‘60 Minutes’ crisis

    Progressive Substack writers and commentators blasted out the clips and urged people to share them. “This could wind up being the most-watched newsmagazine segment in television history,” the high-profile Trump antagonist George Conway commented on X.

    A CBS News spokesperson had no immediate comment on the astonishing turn of events.

    Alfonsi’s report was weeks in the making. Weiss screened it for the first time last Thursday night. The story was finalized on Friday, according to CBS sources, and was announced in a press release that same day.

    On Saturday morning, Weiss began to change her mind about the story and raised concerns about its content, including the lack of responses from the relevant Trump administration officials.

    But networks like CBS sometimes deliver taped programming to affiliates like Global TV ahead of time. That appears to be what happened in this case: The Friday version of the “60 Minutes” episode is what streamed to Canadian viewers.

    The inadvertent Canadian stream is “the best thing that could have happened,” a CBS source told CNN on Monday evening, arguing that the Alfonsi piece is “excellent” and should have been televised as intended.

    People close to Weiss have argued that the piece was imbalanced, however, because it did not include interviews with Trump officials.

    Weiss told staffers on Monday, “We need to be able to get the principals on the record and on camera.” However, in an earlier memo to colleagues, Alfonsi asserted that her team tried, and their “refusal to be interviewed” was “a tactical maneuver designed to kill the story.”

    At the end of the segment that streamed on Global TV’s platform, Alfonsi said Homeland Security “declined our request for an interview and referred all questions about CECOT to El Salvador. The government there did not respond to our request.”

    The segment included sound bites from President Trump and Homeland Security Secretary Kristi Noem. But it was clearly meant to be a story about Venezuelan men deported to El Salvador, not about the officials who implemented Trump’s mass deportation policy.
    mine exchange
    https://minexchange.net

  10. Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point.
    You clearly know what youre talking about, why throw
    away your intelligence on just posting videos to your site when you could be giving us something enlightening
    to read?

  11. Very nice post. I just stumbled upon your blog and wanted
    to say that I’ve truly enjoyed surfing around your blog posts.

    After all I’ll be subscribing to your rss feed and I hope you write again very soon!

  12. link slot dice:

    Today, while I was at work, my sister stole my iphone
    and tested to see if it can survive a 30 foot drop, just so
    she can be a youtube sensation. My apple ipad is now broken and
    she has 83 views. I know this is entirely off topic but
    I had to share it with someone!

  13. as to think that Unjust which ithath been the custome to punish,and that Just,初音 ミク ラブドール

  14. Touche. Sound arguments. Keep up the great effort.

  15. Highly energetic blog, I liked that bit. Will there be a part
    2?

  16. Hello to every single one, it’s actually a nice for me
    to go to see this web page, it includes important Information.

  17. like openly dating someone and all of the different えろ 人形ways you could be having sex?

  18. Thanks for a marvelous posting! I genuinely enjoyed reading it, you could
    be a great author. I will remember to bookmark your blog and may come back at some
    point. I want to encourage one to continue your great job, have a nice holiday weekend!

  19. cm88.com dice:

    Wonderful items from you, man. I have have in mind your stuff prior to and you
    are just extremely great. I really like what you have obtained here, certainly
    like what you are stating and the way through which you
    say it. You make it entertaining and you still care for to keep it
    sensible. I can not wait to read far more from you.
    That is really a tremendous website.

  20. Diplomi_lpml dice:

    купить диплом пермь с занесением в реестр [url=https://r-diploma10.ru/]купить диплом пермь с занесением в реестр[/url] .

  21. Slot Online dice:

    Hey! I could have sworn I’ve been to this site before
    but after reading through some of the post I realized it’s new to me.

    Nonetheless, I’m definitely delighted I found it and I’ll be book-marking and checking
    back often!

  22. Dennisburry dice:

    [url=https://sazhaem-sad-i-ogorod.blogspot.com]Сайт о дачной жизни[/url]

  23. toto togel dice:

    Hello would you mind letting me know which webhost you’re
    working with? I’ve loaded your blog in 3 completely different web browsers and I must say this blog loads a
    lot quicker then most. Can you recommend a good hosting provider at a reasonable price?

    Thanks, I appreciate it!

  24. Because the admin of this web site is working, no uncertainty very soon it will
    be renowned, due to its feature contents.

  25. Kennethpem dice:

    Unm Pharm: mexican online pharmacies prescription drugs – medicine in mexico pharmacies

  26. Kennethpem dice:

    canada drugs reviews: Nyu Pharm – best online canadian pharmacy

  27. CraigWed dice:

    Unm Pharm [url=https://unmpharm.com/#]Unm Pharm[/url] finasteride mexico pharmacy

  28. Hi there, just became alert to your blog through Google, and found that it’s truly informative.
    I’m going to watch out for brussels. I’ll appreciate if you continue this
    in future. Lots of people will be benefited from your writing.
    Cheers!

  29. by raising future hopes and assurances,whichenable a strong and religious mind to take leave of a friend,人形 エロ

  30. Çok güzel bir yazı. Gerçekten çok yararlı.
    Tebrikler!|
    Yazınız gerçekten çok bilgilendirici. İzmir’deki taksi hizmetleri hakkında daha fazla bilgi almak için mutlaka tekrar
    ziyaret edeceğim!|
    Yazınızı okudum ve gerçekten çok beğendim. İzmir’deki taksi hizmetleri ve fiyatları hakkında
    böyle kapsamlı bir rehber bulmak gerçekten zor.
    Harika bir yazı olmuş!|
    Gerçekten çok yararlı bir yazı olmuş. İzmir’de taksi kullanmayı düşünenler için mükemmel bir kaynak.
    Çok teşekkürler!|
    Çok güzel bir yazı, tam olarak İzmir taksi hizmetleri hakkında verdiğiniz bilgiler
    çok faydalı oldu. Teşekkürler!|
    Çok güzel bir yazı. İzmir’deki taksi ücretleri ve servis hakkında böyle detaylı bilgi
    bulmak gerçekten çok zor. Çok teşekkürler!|
    Çok beğendim! İzmir’deki taksi hizmetleri ile ilgili daha fazla yazı görmek isterim.

    İçerik gerçekten çok yararlı olmuş. Teşekkürler!|
    Çok güzel bir yazı. İzmir’deki taksi sistemine dair her şeyin detaylı bir
    şekilde anlatıldığı bu yazıyı okumanın çok faydalı olduğunu düşünüyorum.
    Çok teşekkürler!|

  31. “I look at you,オナドールyou are likesome little babe.

  32. He concentrated all hisenergies on thinking of everything and forgetting nothing,and his heartkept beating and thumping so that he could hardly breathe.ロボット エロ

  33. Les robes vintage ont généralement une forme simple avec un style rétro, comme
    des robes à col bateau, des jupes longues et des robes à
    taille haute.

  34. JosephDug dice:

    Unm Pharm: Unm Pharm – Unm Pharm

  35. VirgilRab dice:

    нажмите здесь [url=https://vbet-brazil.vip/]vbet poker вход[/url]

Responder a bandar macau Cancelar respuesta