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: 29,235

  1. Thank you for every other informative site.
    Where else may just I get that type of info written in such a perfect
    means? I have a project that I’m simply now running on, and I’ve been on the look out for such information.

  2. fantastic put up, very informative. I ponder why the opposite experts of this sector don’t understand this.
    You should continue your writing. I am sure, you have a great readers’ base already!

  3. mcdvoice dice:

    It’s enormous that you are getting thoughts from this paragraph as well as from our
    discussion made at this place.

  4. keo nha cai dice:

    Thanks to my father who told me on the topic of this website, this blog is actually awesome.

  5. Robertquode dice:

    Azure Virtual Desktop (AVD) is a cloud?based virtual desktop and application virtualization service that lets organizations to deliver Windows desktops and remote applications from Microsoft Azure. It provides scalable, secure, and manageable virtual desktop infrastructure for distributed teams and hybrid environments.

    Key components and architecture
    – Host pools — groups of session hosts that deliver Windows multi?session or single?user desktops.
    – Session hosts — virtual machines running the desktop OS that users connect to.
    – Broker and control plane — Azure service that routes user connections and maintains session state.
    – Workspace and application groups — logical entities that publish desktops and apps to users.
    – FSLogix profile containers — profile management solution that stores user profiles in VHD(X) files for fast, consistent sign?in.

    Benefits and capabilities
    – Scalability and flexibility — scale host pools up or down with machine types and autoscaling.
    – Cost optimization — leverage Windows 10/11 multi?session and Azure Reserved Instances or spot VMs to reduce costs.
    – Security and compliance — integrate with Azure AD, Conditional Access, MFA, and network controls like NSGs and Azure Firewall for protected access.
    – Performance and user experience — support for GPU VMs for graphics workloads, FSLogix for profile performance, and optimization for multimedia and real?time audio/video.
    – Management and monitoring — use Azure Monitor, Log Analytics, and Azure Policy to observe, govern, and automate operations.

    Deployment models and use cases
    – Persistent desktops — give users dedicated desktops for customized environments.
    – Non?persistent session?based desktops — provide pooled desktops for task workers and shift workers.
    – Remote application delivery — publish individual apps without full desktop sessions.
    – Development and testing — spin up isolated environments for dev/test scenarios.
    – Graphics?intensive workloads — use NV or NC series VMs for CAD, 3D modeling, or visualization.

    Licensing and costs
    – Licensing typically requires Windows 10/11 Enterprise, Microsoft 365, or Windows subscriptions that include Azure Virtual Desktop rights. Confirm entitlements via Windows E3/E5 details.
    – Cost drivers include VM compute, storage (managed disks), networking, FSLogix storage, and supporting services. Use Azure Cost Management and pricing calculator to estimate expenses.

    Security best practices
    – Enforce Azure AD Conditional Access and MFA for user sign?ons.
    – Use role?based access control (RBAC) to limit administrative rights [url=https://github.com/mstcp/Microsoft-Project/releases]https://github.com/mstcp/Microsoft-Project/releases[/url]
    – Isolate network segments, use private endpoints and ExpressRoute or VPN for secure connectivity.
    – Encrypt data at rest and in transit; apply endpoint protection on session hosts.

    Management and optimization tips
    – Implement autoscale rules to reduce costs during off?hours.
    – Use pooled session hosts for efficient resource utilization when appropriate.
    – Store profiles with FSLogix on Azure Files or Azure NetApp Files for high IOPS and low latency.
    – Monitor session performance and resource metrics; right?size VMs based on utilization.

    Migration and planning checklist
    – Assess applications for compatibility with multi?session or GPU requirements.
    – Plan identity integration: Azure AD join, hybrid Azure AD join, or Azure AD DS.
    – Design networking, storage, and backup strategies.
    – Pilot with a subset of users to validate performance and user experience before broad rollout.

  6. Anónimo dice:

    Nice I think aviator feels one of the games that truly hooks fans right away.
    The combo of chance and strategy brings it thrilling each.
    Many gamers share about predictor, and a few even look for tools like fundamentale.ro, but the true rush is in playing fairly.
    The way you showed mines game and the aviator mobile app shows it obvious that they work nicely in today’s web games.
    Also, aviator game download is a huge plus since it gives a quick
    and smooth method to fun free from a site. For me, aviator
    online stands out because it mixes short rounds with high-stakes
    excitement. This text truly shows how both games impact the today’s fun world.

  7. Xrumertabus dice:

    Доброго!
    Долго ломал голову как поднять сайт и свои проекты и нарастить DR и узнал от успещных seo,
    энтузиастов ребят, именно они разработали недорогой и главное продуктивный прогон Хрумером – https://www.bing.com/search?q=bullet+%D0%BF%D1%80%D0%BE%D0%B3%D0%BE%D0%BD
    Линкбилдинг заказать – популярная услуга среди бизнеса. Специалисты создают ссылки под ключ. Это экономит время и гарантирует результат. Такой подход подходит новичкам и опытным SEO. Линкбилдинг заказать – удобное решение.
    какой лучше сайт для seo, seo интернет магазины цена, Xrumer для продвижения сайта
    Как настроить Xrumer для рассылок, продвижение молодых сайтов цена, топ 5 по seo
    !!Удачи и роста в топах!!

  8. I am sure this post has touched all the internet viewers, its really really nice article on building up new webpage.

  9. It is truly a nice and helpful piece of information. I’m glad that you
    just shared this useful information with us.
    Please stay us up to date like this. Thank you for sharing.

  10. Useful infoгmɑtion. Lucky me I found your websіte by accident, annd I’m shocked whʏ this accidrnt did nott
    came ɑbout earlier! I bookmarked it.

  11. RonaldEmpig dice:

    acquistare farmaci senza ricetta: ForzaIntima – farmaci senza ricetta elenco

  12. mostbet_rbst dice:

    официальный сайт мостбет [url=http://mostbet4147.ru/]официальный сайт мостбет[/url]

  13. Jamalinnof dice:

    Farmacie online sicure [url=https://forzaintima.com/#]ForzaIntima[/url] farmacia online

  14. Great blog here! Also your website loads up fast! What web host
    are you using? Can I get your affiliate link to your host?
    I wish my web site loaded up as quickly as yours lol

  15. hello!,I really like your writing so a lot! proportion we keep up a correspondence more about your article on AOL?
    I need an expert on this house to unravel my problem. May be that’s you!
    Having a look ahead to see you.

  16. Great post. I was checking constantly this blog and I’m impressed!
    Extremely helpful information specially the last part :
    ) I care for such info a lot. I was seeking this certain information for
    a long time. Thank you and best of luck.

  17. My brother recommended I might like this
    blog. He used to be totally right. This publish
    actually made my day. You cann’t believe simply how a lot time I had spent for this
    information! Thank you!

  18. RonaldEmpig dice:

    comprare farmaci online con ricetta: kamagra originale e generico online – comprare farmaci online con ricetta

  19. mostbet_nsoa dice:

    mostbet ro yxatdan o tish [url=mostbet4108.ru]mostbet4108.ru[/url]

  20. mostbet_rwPt dice:

    скачать mostbet kg [url=www.mostbet4118.ru]www.mostbet4118.ru[/url]

  21. Clone buyers trust RMCNARGS.org for practical guidance.

  22. Spot on with this write-up, I honestly believe that this amazing site needs a great deal more
    attention. I’ll probably be returning to read more, thanks
    for the info!

  23. Anónimo dice:

    O jogo Fortune Tiger é um dos mais jogos de caça-níqueis mais envolventes e interessantes disponíveis nos cassinos online.
    Sua temática oriental, com o tigre como símbolo de sorte e riqueza, se torna um grande atraente para os jogadores.
    Adicionalmente, o jogo disponibiliza recursos
    especiais, como rodadas grátis e multiplicadores, que realmente podem aumentar suas chances de conquistar
    grandes prêmios.

    Uma das razões que mais gosto no ethiofarmers.com é simplicidade de sua mecânica,
    combinada com as funcionalidades adicionais que tornam o jogo ainda mais
    emocionante. A capacidade de jogar tanto em desktop quanto em celulares, por meio da versão APK,
    proporciona ainda mais liberdade, permitindo que você jogue a qualquer momento e em qualquer local.

    Embora seja um jogo de azar, acredito que agir com estratégia, aproveitando ao máximo os
    bônus e as funcionalidades diferenciadas, pode definitivamente fazer a vantagem.
    Se você for jogar, não deixe de estabelecer um limite financeiro e
    seguir esse limite para garantir uma experiência agradável e
    responsável.

    Certamente, o Fortune Tiger representa uma excelente
    escolha para quem busca uma aventura de cassino online cheia
    de emoção e enormes oportunidades de ganho!

  24. проект перепланировки стоимость москва [url=www.proekt-pereplanirovki-kvartiry5.ru]www.proekt-pereplanirovki-kvartiry5.ru[/url] .

  25. Xrumertabus dice:

    Привет всем!
    Долго не спал и думал как поднять сайт и свои проекты и нарастить CF cituation flow и узнал от успещных seo,
    профи ребят, именно они разработали недорогой и главное продуктивный прогон Хрумером – https://www.bing.com/search?q=bullet+%D0%BF%D1%80%D0%BE%D0%B3%D0%BE%D0%BD
    Xrumer для линкбилдинга – это эффективный инструмент для увеличения DR и Ahrefs. Прогон ссылок через форумы позволяет создать качественные внешние ссылки. Массовые рассылки на форумах помогают улучшить SEO-позиции. Увеличение ссылочной массы с Xrumer даёт быстрые результаты. Начните использовать Xrumer для улучшения позиций в поисковиках.
    копирайтинг для продвижения сайта, продвижение seo цена, линкбилдинг что это такое
    Эффективный прогон для роста DR, seo плагины для вордпресс, доменная зона seo
    !!Удачи и роста в топах!!

  26. My spouse and I stumbled over here by a different web page and thought I should check things out.
    I like what I see so now i’m following you. Look
    forward to exploring your web page repeatedly.

  27. Definitely believe that which you said. Your favorite reason seemed to be on the internet the easiest thing to be aware of.
    I say to you, I definitely get annoyed while people think about worries that they
    plainly do not know about. You managed to hit the nail upon the top and defined
    out the whole thing without having side effect , people could take a signal.
    Will probably be back to get more. Thanks

  28. Jamalinnof dice:

    comprare farmaci online all’estero [url=https://farmacidiretti.com/#]tadalafil senza ricetta[/url] comprare farmaci online con ricetta

  29. I am extгemely impressed with your writing skills aand also
    with the layout on your blog. Is tis a paid theme or did you customize it y᧐urself?
    Anyway keep up thе nice qualіty writіng, it iis rare to ssee
    a great blog like thiѕ one nowadays.

  30. https://objectstorage.ap-tokyo-1.oraclecloud.com/n/nrswdvazxa8j/b/digi502sa/o/research/digi502sa-(453).html
    Much like the mother of the groom, step-mothers of both the bride or groom should comply with the lead of the mother of
    the bride.

  31. AntwanFox dice:

    For his personal bravery and active participation in military operations at sea, Fyodor Fedorovich [url=http://business-notebooks.ru/news/3_obryada_na_izmorozy_dlya_otkrytiya_finansovyh_potokov_zimnyaya_magiya_deneg.html]http://business-notebooks.ru/news/3_obryada_na_izmorozy_dlya_otkrytiya_finansovyh_potokov_zimnyaya_magiya_deneg.html[/url]

  32. winbet 299 dice:

    These are in fact wonderful ideas in on the topic of blogging.
    You have touched some fastidious things here.
    Any way keep up wrinting.

  33. Diplomi_epOt dice:

    купить аттестат 11 класс вечерней школы [url=http://arus-diplom25.ru]http://arus-diplom25.ru[/url] .

  34. KennethMup dice:

    viagra pfizer 25mg prezzo: viagra generico a basso costo – dove acquistare viagra in modo sicuro

  35. Jamalinnof dice:

    Farmacia online piГ№ conveniente [url=https://forzaintima.com/#]trattamenti per la salute sessuale senza ricetta[/url] farmacie online sicure

  36. mostbet_ghKr dice:

    mostbet com site oficial [url=mostbet4109.ru]mostbet4109.ru[/url]

  37. olxtoto jitu dice:

    Hey I know this is off topic but I was wondering if
    you knew of any widgets I could add to my blog that automatically tweet
    my newest twitter updates. I’ve been looking for a plug-in like
    this for quite some time and was hoping maybe you would have some experience with something like
    this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new updates.

  38. Hi there, just became aware of your blog through Google, and
    found that it is truly informative. I’m gonna watch out for brussels.
    I will be grateful if you continue this in future.
    Lots of people will be benefited from your writing. Cheers!

  39. It’s an remarkable piece of writing for all the online visitors; they will
    get benefit from it I am sure.

  40. Linking components in OMT’s curriculum convenience transitions Ƅetween levels, nurturing continual love
    fߋr math and exam sеⅼf-confidence.

    Enroll today in OMT’s standalone е-learning programs and see your grades soar tһrough limitless access tο һigh-quality,
    syllabus-aligned material.

    Аѕ mathematics underpins Singapore’ѕ reputation fоr excellence in worldwide standards liкe PISA, math tuition is essential to unlocking а kid’s potential and securing academic benefits іn thiѕ core
    topic.

    Ƭhrough math tuition, students practice PSLE-style concerns typicallies ɑnd graphs, improving precision аnd speed under test conditions.

    Math tuition instructs efficient tіme management techniques, helping secondary students fᥙll O Level tests within tһе allotted duration withoᥙt rushing.

    Inevitably, junior college math tuition іs essential to securing top Ꭺ Level гesults, оpening up doors tо distinguished scholarships аnd college opportunities.

    OMT’ѕ unique educational program, crafted t᧐ support tһe MOE
    curriculum, іncludes tailored components tһаt adjust t᧐
    individual understanding designs fоr mоre efficient math proficiency.

    OMT’ѕ platform іs straightforward ߋne, so even newbies can browse аnd Ьegin boosting grades ρromptly.

    In Singapore’s affordable education landscape, math tuition оffers the extra edge required fօr students to excel in һigh-stakes examinations ⅼike
    the PSLE, О-Levels, ɑnd A-Levels.

    Heгe is my webpage; Kaizenaire math tuition singapore

  41. Diplomi_fxEn dice:

    аттестаты за 11 класс купить в москве [url=www.arus-diplom22.ru]аттестаты за 11 класс купить в москве[/url] .

  42. RonaldEmpig dice:

    viagra originale in 24 ore contrassegno: sildenafil senza ricetta – viagra originale in 24 ore contrassegno

  43. Primera is a modern supplement designed to support pelvic health. It uses selected natural ingredients to improve bladder control and help urinary tract health while focusing on overall pelvic wellness.

Responder a Diplomi_fxEn Cancelar respuesta