saa Infraestructura como código – Politraining

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: 135,920

  1. lmfao dice:

    Whats up this is kinda of off topic but I was wanting to know if blogs
    use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding knowledge so
    I wanted to get advice from someone with experience.
    Any help would be enormously appreciated!

  2. https://irisetimothy.free-blogz.com/86842895/1
    For a mom, watching your daughter walk down the
    aisle and marry the love of her life is an unforgettable second.

  3. WilliamMor dice:

    Why Cheats Were Created in place of Games

    Cheats in games were created quest of a heterogeneity of reasons, serving unique gamers and plucky environments. Understanding the intentions behind encounter cheats helps to make plain why they are at rest dominant today.

    Providing Players with Advantages and Benefits

    One main vindication cheats were developed is to give players advantages that consent to them to advance in games. These advantages can comprehend strikingly lives, unlocking levels, or making a attribute impregnable. Cheats consent to players a way to overcome difficulties that puissance if not deny stuff up their progress.

    Enhancing Fun and Experimentation

    Cheats also were designed to heighten enjoyment and enjoyment by way of allowing players to explore diversion mechanics in ways not initially intended. They consider gamers to beget modern scenarios, study boundaries, or totally set up a crack from the traditional gameplay. Using cheats, players can profit from a game more freely without worrying far strict rules or failures.

    Facilitating Culture and Technique

    Another urgent purpose of cheats is to remedy players practice their skills not later than simplifying tasks. For the benefit of model, enabling cheats to harvest inestimable resources or invincibility allows players to well- on discrete to strategies or explore prey levels safely. This gain is especially useful for beginners or those fatiguing to master complex games.

    Supporting Trade Developers and Testers

    Cheats have been employed [url=https://mutiara888.org/embark-cracks-down-on-cheaters-in-latest-arc-4/]https://mutiara888.org/embark-cracks-down-on-cheaters-in-latest-arc-4/[/url] as basic tools for devices developers and testers during the development phase. Cheats boost them to very soon access different parts of a regatta, test diverse functionalities, and tag bugs or glitches without playing the unalloyed game normally. This scorn streamlines the situation process and improves the irrefutable upshot quality.

    Addressing Sexual and Competitive Aspects

    In multiplayer or competitive games, cheats have appeared to break into bits rules, although this tradition is normally condemned. Nonetheless, their actuality highlights players’ have one’s heart set on to authority and then to question the arrangement, prime to ongoing debates take fairness and ethics.

    Conclusion

    Cheats in games were created 5t46to assist knowledge, and bankroll developers, reflecting differing motivations behind their use. While moot in competitive settings, their quick-wittedness reflects weighty aspects of gaming elegance such as creativity, experimentation, and accessibility.

  4. 舒壓課程 dice:

    https://classic-blog.udn.com/b6f90ac5/185605687
    There isn’t any set do’s and don’ts in relation to color, only to avoid white.

  5. 公司社團 dice:

    https://michael324326.exblog.jp/35734320/
    For this romantic marriage ceremony at Brooklyn’s Wythe Hotel, the bride’s mother
    chosen a short-sleeved, full-length teal gown.

  6. AnthonyZex dice:

    Xin chào 500 anh em, ai đang tìm cổng game không bị chặn để chơi Game bài đừng bỏ qua chỗ này. Không lo lừa đảo: sunwin. Chúc anh em may mắn.

  7. glowing skin dice:

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

  8. 按摩教學 dice:

    https://triciaxxs4547hotmail.wordpress.com/2026/01/21/3-2/
    Our Mother of the Bride Dresses features a huge collection of formal
    gowns and dresses that match into any budget.

  9. нарколог краснодар [url=https://narkolog-na-dom-krasnodar-2.ru/]нарколог краснодар[/url] .

  10. Joshuatop dice:

    Chao anh em, ai dang tim c?ng game khong b? ch?n d? gi?i tri Game bai d?ng b? qua con hang nay. N?p rut 1-1: Link khong b? ch?n. Chuc cac bac r?c r?.

  11. I personally find that i’ve been active for several months, mostly for checking analytics, and it’s always reliable uptime.

  12. Louiscaf dice:

    Hello mọi người, nếu anh em đang kiếm chỗ nạp rút nhanh để gỡ gạc Casino đừng bỏ qua địa chỉ này. Tốc độ bàn thờ: https://pacebhadrak.org.in/#. Chúc các bác rực rỡ.

  13. экскурсии в пригороды санкт петербурга на автобусе [url=https://avtobusnye-ekskursii-po-spb.ru/]экскурсии в пригороды санкт петербурга на автобусе[/url] .

  14. gbgbet dice:

    Can I simply say what a comfort to find a person that truly understands what they’re talking about online.
    You certainly realize how to bring an issue to light and make it important.
    More and more people should look at this and understand this
    side of your story. I can’t believe you’re not more
    popular given that you most certainly have the gift.

  15. gbgbet dice:

    My spouse and I absolutely love your blog and find the majority of your post’s to be precisely what I’m looking for. can you offer guest writers to write content for yourself? I wouldn’t mind creating a post or elaborating on most of the subjects you write with regards to here. Again, awesome blog!

  16. https://kathrynwood2989.seesaa.net/article/519035985.html?1763595888
    Cue the confetti as we’ve obtained EVERYTHING you need for the special day.

  17. Joshuatop dice:

    Xin chao 500 anh em, ai dang tim ch? n?p rut nhanh d? g? g?c N? Hu thi xem th? con hang nay. T?c d? ban th?: Dola789. Chuc anh em may m?n.

Responder a vpbet Cancelar respuesta