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: 116,361

  1. LloydRop dice:

    Heads up, an important overview on cross-border shipping rules. It breaks down quality control for ED meds. Full info: п»їhttps://polkcity.us.com/# mexican farmacia.

  2. закупка ссылок в гугл заказать услугу агентство [url=https://seo-kejsy8.ru/]seo-kejsy8.ru[/url] .

  3. иглофильтровое водопонижение [url=https://vodoponijenie-iglofiltrami-msk.ru/]иглофильтровое водопонижение[/url] .

  4. https://fr-seafood-3.sfo3.digitaloceanspaces.com/research/yearbook-(1189).html
    Speak with the bride to get her ideas on this and see what’s out there in shops and online.

  5. 學按摩 dice:

    https://fr-size-10.syd1.digitaloceanspaces.com/research/%EF%B8%8F-small-(4783).html
    But crucial piece of apparel you’ll select main as a lot as your kid’s wedding?

  6. AnySwap dice:

    I personally find that the interface is responsive team, and I enjoy cross-chain transfers here. Charts are accurate and load instantly.

  7. улучшение hero карточки [url=https://reklamnyj-kreativ1.ru/]улучшение hero карточки[/url] .

  8. плазменный автоклав [url=https://plazmennye-sterilizatory.ru/]plazmennye-sterilizatory.ru[/url] .

  9. Danielsnoni dice:

    п»їLately, I came across an interesting resource concerning ordering meds from India. It explains how to save money for generic meds. If you are looking for reliable shipping to USA, take a look: п»ї[url=https://kisawyer.us.com/#]buy prescription drugs from india[/url]. Good info.

  10. обслуживание и сопровождение 1с [url=https://1s-soprovozhdenie.ru/]1s-soprovozhdenie.ru[/url] .

  11. DonaldHusia dice:

    Офлайн-квест — это шанс на несколько часов вырваться из привычной жизни и попробовать себя в роли детектива, авантюриста или героя фильма https://dzen.ru/a/Z7xjLgVnpxCQNGVU

  12. запоминаемость рекламы [url=https://reklamnyj-kreativ.ru/]запоминаемость рекламы[/url] .

  13. RichardHex dice:

    п»їTo be honest, I found a useful resource concerning generic pills availability. The site discusses how to save money on prescriptions. In case you need reliable shipping to USA, take a look: п»ї[url=https://polkcity.us.com/#]see more[/url]. Worth a read.

  14. Ralphkic dice:

    п»їActually, I came across a great report regarding ordering meds from India. It covers WHO-GMP protocols for generic meds. If anyone wants reliable shipping to USA, visit this link: п»їtop online pharmacy india. Hope it helps.

  15. Ralphkic dice:

    п»їRecently, I found a great article regarding Indian Pharmacy exports. The site discusses CDSCO regulations for ED medication. In case you need factory prices, read this: п»їsee more. It helped me.

  16. Danielsnoni dice:

    п»їTo be honest, I found a helpful page concerning Indian Pharmacy exports. It details how to save money for generic meds. For those interested in reliable shipping to USA, take a look: п»ї[url=https://kisawyer.us.com/#]top 10 pharmacies in india[/url]. Good info.

  17. au88 dice:

    I blog frequently and I really appreciate your content.
    This article has truly peaked my interest. I
    will take a note of your blog and keep checking for new information about once a week.
    I opted in for your RSS feed too.

  18. What’s up, all is going sound here and ofcourse every one is sharing information, that’s truly fine, keep up writing.

  19. Danielsnoni dice:

    п»їActually, I stumbled upon a helpful article regarding generic pills from India. The site discusses CDSCO regulations on prescriptions. If you are looking for factory prices, read this: п»їhttps://kisawyer.us.com/# india online pharmacy. Cheers.

  20. I personally find that this platform exceeded my expectations with low fees and robust security. Great for cross-chain swaps with minimal slippage.

  21. Ralphkic dice:

    п»їJust now, I discovered an interesting resource about cheap Indian generics. It covers the manufacturing standards when buying antibiotics. If anyone wants factory prices, take a look: п»ї[url=https://kisawyer.us.com/#]kisawyer.us.com[/url]. Hope it helps.

  22. Diplomi_opPl dice:

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

  23. RichardHex dice:

    Heads up, a detailed analysis on FDA equivalent standards. It breaks down pricing differences for antibiotics. Link: п»їpolkcity.us.com.

  24. https://je-tal-marketing-953.lon1.digitaloceanspaces.com/research/je-marketing-(238).html
    This dress comes with a sweater over that may be taken off if it gets too sizzling.

  25. Danielsnoni dice:

    п»їTo be honest, I found an interesting guide concerning cheap Indian generics. The site discusses WHO-GMP protocols for generic meds. In case you need factory prices, take a look: п»їhttps://kisawyer.us.com/# india pharmacy. Good info.

  26. Yes! Finally something about address generator.

  27. RichardHex dice:

    Heads up, a helpful overview on FDA equivalent standards. The author describes pricing differences for generics. Source: п»їhttps://polkcity.us.com/# pharmacy in mexico online.

  28. Danielsnoni dice:

    п»їTo be honest, I discovered a great resource concerning ordering meds from India. It covers WHO-GMP protocols when buying antibiotics. In case you need reliable shipping to USA, visit this link: п»ї[url=https://kisawyer.us.com/#]kisawyer.us.com[/url]. Hope it helps.

  29. стерилизатор плазменный универсальный [url=https://plazmennyy-sterilizator.ru/]стерилизатор плазменный универсальный[/url] .

  30. RichardHex dice:

    Does anyone know buying generic pills online. I found a decent archive that compares affordable options: п»їhttps://polkcity.us.com/# mexico prescriptions. Seems useful..

  31. 整復學徒 dice:

    https://classic-blog.udn.com/8536c7fa/184477510
    Sort via our full selection of dresses to search out your perfect slot in many colours and any dimension.

  32. RichardHex dice:

    п»їActually, I discovered a useful page concerning safe pharmacy shipping. It explains how to save money on prescriptions. If you are looking for affordable options, go here: п»їhttps://polkcity.us.com/# mexico city pharmacy. Worth a read.

  33. OMT’s proprietary curriculum introduces enjoyable difficulties tһat
    mirror exam inquiries, stimulating love fοr math and the inspiration tߋ do remarkably.

    Broaden your horizons ѡith OMT’s upcoming brand-new physical space օpening
    in Sеptember 2025, offering a l᧐t more opportunities for hands-ߋn math exploration.

    Αs mathematics forms tһe bedrock оf abstract thougһt and critical analytical in Singapore’ѕ
    education ѕystem, professional matyh tuition pгovides the tailorfed guidance neⅽessary tⲟ tսrn difficulties іnto victories.

    Wіth PSLE mathematics contributing significantly to ⲟverall
    ratings, tuition offerѕ additional resources lіke design answers fоr
    pattern acknowledgment аnd algebraic thinking.

    Personalized math tuition іn senior high school addresses private learning voids іn topics liқe calculus and statistics, preventing tһem frⲟm hindering Ο Level success.

    Ԍetting ready fⲟr the unpredictability օf A Level
    inquiries, tuition establishes flexible analytic strategies f᧐r
    real-tіme test circumstances.

    Distinctly, OMT’ѕ syllabus matches tһe MOE structure by supplying modular lessons that permit fⲟr repeated reinforcement ᧐f weak locations at thе trainee’s rate.

    Specialist pointers іn videos offer faster ways
    lah, assisting ʏoᥙ solve concerns quicker аnd score mߋrе in tests.

    Singapore’ѕ global position in mathematics originates from supplemental tuition thаt hones skills for
    global benchmarks ⅼike PISA and TIMSS.

    Feel free tо visit my hߋmepage: math tuition center

  34. Ralphkic dice:

    п»їActually, I found a great article about Indian Pharmacy exports. It details CDSCO regulations when buying antibiotics. For those interested in Trusted Indian sources, visit this link: п»ї[url=https://kisawyer.us.com/#]cheapest online pharmacy india[/url]. Hope it helps.

  35. Diplomi_pzEr dice:

    Мы можем предложить документы институтов, расположенных на территории России.
    Купить диплом университета: [url=http://shorterlink.xyz/lawerenceb]shorterlink.xyz/lawerenceb[/url]

  36. in any facility cashback bonus on deposit, no fair go casino bonus
    and free spins.

  37. Your style is so unique compared to other folks I have read stuff from.
    Many thanks for posting when you’ve got the opportunity, Guess
    I’ll just book mark this page.

Responder a Diplomi_iwEi Cancelar respuesta