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: 134,269

  1. TR88 dice:

    Hi! This is my first visit to your blog! We are a team of volunteers and starting a new project in a community in the same niche.
    Your blog provided us beneficial information to work on. You have
    done a marvellous job!

  2. AntioneEmelp dice:

    Arkadaşlar selam, Casibom sitesi oyuncuları adına önemli bir bilgilendirme paylaşıyorum. Herkesin bildiği üzere site adresini erişim kısıtlaması nedeniyle tekrar güncelledi. Siteye ulaşım sorunu çekenler için link aşağıda. Son siteye erişim adresi şu an burada https://casibom.mex.com/# Paylaştığım bağlantı üzerinden vpn kullanmadan siteye girebilirsiniz. Ek olarak yeni üyelere sunulan freespin kampanyalarını da inceleyin. Lisanslı bahis keyfi sürdürmek için Casibom tercih edebilirsiniz. Tüm forum üyelerine bol kazançlar dilerim.

  3. TimothyFlout dice:

    Grandpashabet güncel linki lazımsa doğru yerdesiniz. Sorunsuz giriş yapmak için [url=https://grandpashabet.in.net/#]Siteye Git[/url] Deneme bonusu bu sitede.

  4. TimothyFlout dice:

    Grandpashabet giriş adresi lazımsa doğru yerdesiniz. Sorunsuz giriş yapmak için tıkla https://grandpashabet.in.net/# Deneme bonusu burada.

  5. Thank you for some other informative web site.
    The place else could I am getting that type of information written in such a perfect means?
    I’ve a challenge that I’m simply now working on, and I’ve
    been on the look out for such info.

    my site; Dientes amarillos solución

  6. Georgebib dice:

    Dostlar selam, bu populer site uyeleri icin onemli bir paylas?m paylas?yorum. Bildiginiz gibi bahis platformu adresini erisim k?s?tlamas? nedeniyle yine guncelledi. Erisim hatas? varsa link asag?da. Cal?san siteye erisim linki su an burada Casibom Twitter Paylast?g?m baglant? ile vpn kullanmadan siteye girebilirsiniz. Ayr?ca yeni uyelere verilen hosgeldin bonusu kampanyalar?n? mutlaka kac?rmay?n. Guvenilir casino deneyimi icin Casibom tercih edebilirsiniz. Herkese bol kazanclar dilerim.

  7. read more dice:

    I’ve been reading Paybis for a while now, especially after going through financial trouble, and I’m still not fully
    convinced whether it deserves all the attention it gets.
    Still, it’s certainly a noticeable name in the crypto industry, particularly
    for people in Germany who are trying to get back on track.

    From what I understand, Paybis presents itself as a well-established cryptocurrency
    service that supports standard payment methods, something
    many platforms either limit or complicate.

    What initially caught my eye is how Paybis seems to link traditional German banking methods with the crypto world.
    Many exchanges focus only on crypto-to-crypto trades,
    while Paybis allows users to sell crypto using debit cards.
    I’m not saying the process is perfect, but it does seem aimed at beginners
    rather than just advanced traders.

    Another aspect worth noting is the selection of supported assets.
    Paybis doesn’t restrict itself to just the top coins.
    Instead, it offers a broader token selection, which might attract users who are exploring options.
    Still, things like liquidity are worth checking before making decisions.

    Security and compliance also come up often around Paybis.
    The platform highlights regulatory compliance, which can feel reassuring for users in Germany, though
    others might see it as inconvenient. I’m still undecided, but it does suggest
    Paybis tries to operate as a long-term marketplace.

    When it comes to fees, reviews seem varied. Some say Paybis is straightforward about costs, while others note that pricing can change with transaction type.
    This isn’t unusual in the crypto industry, but it means users should read the
    details before moving money.

    Overall, I wouldn’t call Paybis the best option, but it does seem like a platform worth a closer look, especially for
    someone in Germany trying to build a new starting point.
    I’m still forming my opinion, but it seems relevant enough to
    justify further research.

  8. wow your article is simply a masterpiece, i like that, keep it up and will be checking for new update. do you post often? you can check the biggest webdesign freelancer in platform in germany called https://webdesignfreelancerfrankfurt.de/ Thank you for your wonderful post

  9. AntioneEmelp dice:

    Matbet güncel linki arıyorsanız işte burada. Sorunsuz için: Matbet Mobil Canlı maçlar burada. Gençler, Matbet son linki açıklandı.

  10. It’s really a great and useful piece of info. I’m satisfied
    that you simply shared this helpful information with us.
    Please keep us informed like this. Thanks for sharing.

  11. TimothyFlout dice:

    Herkese merhaba, Vay Casino oyuncuları için önemli bir duyuru yapmak istiyorum. Bildiğiniz gibi platform adresini tekrar güncelledi. Erişim sorunu varsa endişe etmeyin. Güncel Vaycasino giriş adresi artık burada: Vaycasino 2026 Bu link ile vpn kullanmadan siteye girebilirsiniz. Güvenilir bahis deneyimi için Vay Casino tercih edebilirsiniz. Herkese bol kazançlar dilerim.

  12. mostbet_nfor dice:

    mostbet регистрация [url=http://mostbet2027.help/]http://mostbet2027.help/[/url]

  13. Have you ever thought about adding a little
    bit more than just your articles? I mean, what you say is important and all.
    However think of if you added some great images or
    video clips to give your posts more, “pop”! Your content is
    excellent but with images and videos, this site could
    undeniably be one of the greatest in its niche.
    Terrific blog!

  14. Georgebib dice:

    Grandpasha guncel linki ar?yorsan?z dogru yerdesiniz. H?zl? giris yapmak icin t?kla https://grandpashabet.in.net/# Yuksek oranlar bu sitede.

  15. AntioneEmelp dice:

    Arkadaşlar, Grandpashabet Casino yeni adresi belli oldu. Giremeyenler şu linkten giriş yapabilir https://grandpashabet.in.net/#

  16. TimothyFlout dice:

    Herkese selam, bu popüler site kullanıcıları için önemli bir duyuru paylaşıyorum. Herkesin bildiği üzere site domain adresini erişim kısıtlaması nedeniyle sürekli güncelledi. Giriş sorunu çekenler için link aşağıda. Yeni siteye erişim bağlantısı şu an paylaşıyorum [url=https://casibom.mex.com/#]Buraya Tıkla[/url] Paylaştığım bağlantı ile direkt siteye erişebilirsiniz. Ek olarak kayıt olanlara verilen hoşgeldin bonusu kampanyalarını da inceleyin. Lisanslı casino deneyimi için Casibom doğru adres. Tüm forum üyelerine bol şans dilerim.

Agrega tu comenatio