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: 86,313

  1. 撥筋證照 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20250904-5/research/je-marketing-(276).html
    Many of the options above would assist you to to cover a little bit of
    a tummy.

  2. betway dice:

    but by and large betway
    has become a reliable, comfortable for all kinds of devices betway and user-oriented
    platform, which/which is suitable and for amateurs, and for
    regulars.

  3. автоматические жалюзи [url=www.prokarniz23.ru/]автоматические жалюзи[/url] .

  4. Cazrdql dice:

    Получить диплом ВУЗа поможем. Купить диплом о высшем образовании в Уфе – [url=http://diplomybox.com/kupit-diplom-o-vysshem-obrazovanii-v-ufe/]diplomybox.com/kupit-diplom-o-vysshem-obrazovanii-v-ufe[/url]

  5. https://je-tal-marketing-887.lon1.digitaloceanspaces.com/research/je-marketing-(292).html
    A stunning formal gown with cap sleeves and floral embroidery that trails from the high neckline to the floor-grazing hem.

  6. Roberterymn dice:

    MhfaPharm: MHFA Pharm – canadian pharmacy 24h com

  7. rs rutanslot dice:

    Undeniably imagine that that you said. Your
    favourite reason seemed to be on the net the easiest thing to be aware of.

    I say to you, I certainly get irked even as other folks think about issues that they just don’t know about.

    You managed to hit the nail upon the highest and defined out the entire thing
    with no need side-effects , other people could take
    a signal. Will probably be again to get more. Thank you

  8. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-801/research/je-marketing-(177).html
    On the opposite hand, If you would possibly be curvy or apple-shaped, versatile gown styles like a-line and empire waist will work wonders for you.

  9. Quality articles or reviews is the secret to be a focus for the viewers to
    pay a quick visit the website, that’s what this
    website is providing.

  10. жалюзи с электроприводом купить [url=www.prokarniz23.ru/]жалюзи с электроприводом купить[/url] .

  11. 撥筋證照 dice:

    https://je-sf-tall-marketing-736.b-cdn.net/research/je-marketing-(293).html
    We even have tea-length dresses and lengthy attire to go nicely with any season, venue or
    desire.

  12. Roberterymn dice:

    MhfaPharm: thecanadianpharmacy – recommended canadian pharmacies

  13. DouglasApadO dice:

    В предновогодней тишине, когда воздух наполняется ожиданием чуда, пихты Нордмана становятся настоящими хранителями рождественского волшебства. Их глубокая зелень, густые ветви и тонкий смолистый аромат несут в дом ту самую атмосферу, которую мы помним с детства — тепло, свет и уют семейных праздников.
    Устанавливая пихту Нордмана в гостиной, мы словно открываем двери для сказки: мягкое мерцание гирлянд на её ветвях превращает обычный вечер в волшебный, наполняя пространство нежным сиянием и покоем. Эта ель не осыпается, долго сохраняет свежесть и, кажется, будто специально создана для того, чтобы стать центром рождественского чуда. Подскажите [url=http://elki.site/kupit-zhivuyu-elku/pihta-nordmana/]сколько стоит пихта живая дома где?[/url]

  14. Diplomi_pnen dice:

    купить диплом ветеринарного врача с занесением в реестр [url=http://www.r-diploma22.ru]http://www.r-diploma22.ru[/url] .

  15. slot gacor dice:

    Pretty nice post. I simply stumbled upon your weblog and wanted to
    say that I have truly enjoyed surfing around your weblog
    posts. After all I will be subscribing in your feed and I
    am hoping you write once more soon!

  16. Diplomi_yaKa dice:

    купить школьный аттестат за 9 класс [url=http://r-diploma23.ru/]купить школьный аттестат за 9 класс[/url] .

  17. rphenlnhf dice:

    Common Sense Media Explore expert articles and case studies on app growth, ASO, user retention, and mobile SaaS trends. While app stores are filled with hundreds of video-editing apps, most aren’t exactly user-friendly. Plus, they’re normally filled with ads and charge for all but the most basic features. The VITA app is free on both iOS and Android. There weren’t even any in-app purchases at the time of writing when I tested the Android version. There are many unique features VITA holds which differentiate this app from other video editing tools. One of the main features is that we can edit high-quality videos and share them without any watermark that itself can make VITA the most picked one among creators. The application supports users in crafting visually appealing content with customizable text options and animations. Additionally, VITA provides an extensive library of sound effects and music tracks to enrich the audio experience of the videos. Videos can be exported in full HD resolution, and the app is available in multiple languages. However, users should be aware of performance issues such as lagging or freezing, particularly when using numerous effects.
    https://cnclighting.in/crash-rocket-gambling-game-space-xy-by-bgaming-analysis/
    Use your Rotato mockups anywhere—PowerPoint, Google Slides, Docs, emails, App Store images, App Store Previews, TikTok, Instagram. Not sure if you want to subscribe? Keep exploring with a credit pack ImgPlay is a cool & simple app that allows you to create GIFs and videos from your photos with ease. Whether you want to add animation effects, text, or stickers, ImgPlay gives you the tools to customize your content. Stop Motion Studio makes it easy to create stunning stop-motion animations with powerful tools and intuitive controls. Whether you’re crafting LEGO shorts or claymation classics, it’s the perfect app for beginners and pros alike. Available for iPhone, iPad, and macOS as well as Android, Windows, Chromebook, and Amazon Fire devices. Developed by Meta, Animated Drawings is an excellent animated image AI tool if you want to give life to your sketches and doodles. It is an open-source project that helps creators and developers turn their static drawings into characters that move around the page. Once you upload your drawing, the AI will ask you to fill out a consent form before it tweaks and animates it.

  18. Today’s digital casino market continues to evolve at a fast pace, offering players a diverse mix of
    gaming sites.
    Recently, many users have become more focused on licensing and transparency, choosing platforms thaat provide verified game
    results.

    A well-regulated platform typicalply offers fair return-to-player values and supports responsible gambling tools.

    At the same time, regular visitors look foor fresh slot releases
    and enjoy fast-loading game libraries.

    Overall, the wider casino market provides a balanced combination of entertainment and safety, mazking it
    an appealing option for many differdent types of players.

  19. RichardDycle dice:

    my canadian pharmacy http://uvapharm.com/# UvaPharm

  20. Thanks for one’s marvelous posting! I really enjoyed reading it, you can be a great author.I will be sure to bookmark your blog
    and will come back sometime soon. I want to encourage you to ultimately continue your great
    work, have a nice evening!

  21. Diplomi_jjMn dice:

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

  22. dor123 login dice:

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

  23. 观看成人视频 在安全可靠的平台上进行。寻找 安全的流媒体中心 以获得一流体验。

    Here is my blog post; BRUTAL PORN CLIPS

  24. RichardDycle dice:

    best online canadian pharmacy https://mhfapharm.xyz/# MHFA Pharm

  25. In ɑddition from school amenities, focus ᧐n maths
    for avoid frequent mistakes ⅼike careless mistakkes at assessments.

    Folks, kiasu mode оn lah, strong primary math leads tߋ improved science understanding ρlus engineering
    aspirations.

    River Valley Ηigh School Junior College integrates
    bilingualism аnd ecological stewardship, producing eco-conscious
    leaders ᴡith international point ⲟf views. Modern laboratories
    аnd green efforts support advanced knowing іn sciences ɑnd humanities.
    Trainees engage іn cultural immersionbs and service projects,
    improving compassion аnd skills. The school’ѕ harmonious community promotes strength аnd team effort tһrough sports and arts.
    Graduates аre gotten ready f᧐r success іn universities annd bеyond, embodying fortitude ɑnd cultural acumen.

    Anglo-Chinese Junior College acts аѕ an exemplary
    design οf holistic education, seamlessly incorporating а tough
    academic curriculum ѡith a thoughtful Christian foundation tһat nurtures ethical
    worths, ethical decision-mаking, and a sense оf
    function in eνery student. Tһe college іs equipped wіth cutting-edge facilities, consisting of contemporary
    lecture theaters, ԝell-resourced art studios, аnd high-performance sports
    complexes, ᴡhеre seasoned educators direct students to achieve
    remarkable гesults in diciplines ranging fгom the liberal arts t᧐ thе
    sciences, frequently earning national аnd worldwide awards.
    Trainees аre motivated tо take paгt in а abundant variety of extracurricular activities,ѕuch as
    competitive sports teams thаt construct physical endurance ɑnd team spirit,
    along ѡith carrying out arts ensembles that cultivate artistic expression аnd cultural gratitude, all contributing to a balanced lifestyle filled with passion аnd discipline.
    Τhrough strategic international partnerships, consisting ᧐f student exchange programs
    ԝith partner schools abroad and involvement іn global conferences, tһe college
    imparts a deep understanding of varied cultures
    ɑnd worldwide рroblems, preparing learners tο browse an
    progressively interconnected wⲟrld with grace ɑnd insight.
    Tһe excellent performance history of іts alumni,
    who master management roles tһroughout markets lіke company,
    medication, and the arts, highlights Anglo-Chinese Junior
    College’s extensive influence іn establishing principled, innovative
    leaders ԝһo mаke positive effect on society at
    bіg.

    Wow, maths serves ɑs tһе foundation pillar for primary schooling, assisting children fߋr geometric reasoning t᧐ design careers.

    Aiyah, primary maths educates real-ѡorld implementations including financial planning, tһerefore ensure yоur youngster grasps that correctly starting young age.

    Parents, competitive style engaged lah, robust primary maths guides fⲟr superior science understanding
    and tech goals.
    Wow, math acts ⅼike tһe groundwork block іn primary education, assisting youngsters іn dimensional analysis іn design paths.

    Kiasu mindset іn JC pushes you to conquer Math, unlocking doors tо data science careers.

    Alas, primary math educates everyday implementations ⅼike money management, so mak sure youг child
    masters this rigһt frߋm young age.

    my web blog :: online math tutoring jobs in philippines

  26. She was forced to consent,to her intense vexation,アジア えろ

  27. Stevenhoage dice:

    подробнее [url=https://b-o-w.de]сайт kraken onion[/url]

  28. Foresttat dice:

    online mexican pharmacy [url=https://uvapharm.xyz/#]UvaPharm[/url] UvaPharm

  29. WY SLOT dice:

    Thanks for some other informative site. The place else may just
    I am getting that type of info written in such a perfect way?
    I have a undertaking that I’m simply now operating on, and I have been at the look out for such info.

  30. Latest porn platforms provide cutting-edge content VIAGRA FOR YOU mature audiences.
    Choose reliable platforms for safe viewing.

  31. https://jekyll.s3.us-east-005.backblazeb2.com/20251013-3/research/je-marketing-(20).html
    To inspire your mom’s own decide, we have rounded up a group of robes that real moms wore on the big day.

  32. Salvador dice:

    What’s Taking place i’m new to this, I stumbled upon this I have found It
    positively helpful and it has aided me out
    loads. I hope to contribute & aid other users like its helped me.
    Good job.

  33. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-817/research/je-marketing-(435).html
    This MOB gown falls just under the knee, so take the chance to
    indicate off a killer pair of heels.

  34. oqsxopfdu dice:

    When combined with the Tumble Reels, it becomes clear that these multipliers are key to delivering big wins in the base game. If you land at least four Zeus Scatters, you get an instant cash prize and access to the Bonus Round.The Gates of Olympus slot RTP is set at a pretty solid 96.5%. It’s a high-variance slot so you best be mindful of your bets. When it comes to the maximum payout, you can win up to 5,000x your stake. Stacked with multiple features and unique mechanics, the Gates of Olympus slot review has a lot to cover. To ensure we cover all the finer details, we’ll use the same layout as our other slot reviews, covering every aspect of the slot.  Withdrawal from online casinos where you can play Gates of Olympus is an important step, allowing players to cash out their winnings. Casinos offer various withdrawal methods, ensuring that players can easily and safely access their funds. Before making a withdrawal, it’s important to consider a few factors to ensure a smooth and convenient process.
    https://okanguraybulbul.com.tr/dragon-vs-tiger-by-tadagaming-a-thrilling-casino-game-review-for-indian-players/
    You can also check out more of our online slots and games here. A: The original Gates of Olympus set a high bar, which was raised even higher with Gates of Olympus 1000. This supercharged special edition introduced a 1,000x max multiplier, increasing the overall win potential from 5,000x to 15,000x. One of the best things about Gates of Olympus Super Scatter is that it builds on the core theme and gameplay that players love. Gambling can be harmful if not controlled and may lead to addiction! Use our online tools and play responsibly. Land four or more scatters to trigger 15 free spins, where multipliers accumulate and apply to all wins. Hit three more scatters for five extra spins, with no retrigger limit. This feature shines here, delivering instant cash prizes when these fiery Zeus symbols appear. For impatient players, the Bonus Buy option costs 100x for standard free spins or 500x for Super Free Spins with 10x+ multipliers.

  35. 推拿師 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-810/research/je-marketing-(122).html
    From neutral off-white numbers to daring, punchy,
    and fashion-forward designs, there’s one thing here that
    can go well with her fancy.

  36. ewo24.win dice:

    I have fun with, cause I discovered just what I used to be taking a look for.
    You have ended my four day long hunt! God Bless you man. Have a great day.
    Bye

  37. ldqspladi dice:

    SIGN UP FOR CASINO AND SPORTS BETTING UPDATES For online casino games that are able for outcomes to be determined quickly, instant win games may be the genre for you. These games offer a seamless blend of luck-based and fast-paced gameplay, with online scratch cards being a perfect example of these titles. These digital versions work exactly the same as their physical counterparts, with players scratching off sections to reveal numbers, symbols or pictures in hopes of matching a number to trigger a corresponding prize. The graph shows the probability of getting a multiplier that’s higher than a certain value in Gates of Olympus Super Scatter. Online casinos often run slot tournaments, in which players score points only for certain win multipliers, for instance, x20 or x100, etc. So, this information will be especially useful for those who participate in such tournaments.
    https://losmerida.com/aviator-betting-game-tips-for-beginners/
    Discover how free video editing apps can transform your creativity and make professional-quality videos accessible right from your smartphone. Provides the option to add on NewBlue TotalFX, featuring 1,500 presets in 177 video plugins in one comprehensive toolbox. You’ll find titling, stabilisation, transitions, filters, background generators, and dozens of video effects. Here is a list of apps to create and edit videos for ads, products, and content marketing. There are easy-to-use template tools and multi-track editors with a suite of effects. Nearly all of the apps are free, though most offer premium plans and in-app purchases. Creating the best YouTube Shorts isn’t just about having the right video editing app – it’s about building a comprehensive content creation system that maximizes every piece of content you produce. We’ve explored everything from free powerhouses like CapCut to specialized options like Facetune, Videoleap, and Filmora, each offering unique advantages for different types of creators.

Responder a rphenlnhf Cancelar respuesta