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: 34,570

  1. a subject the researchers deemed to be under-researched.In the first study (Schweitzer,ラブドール

  2. リアル ラブドールCuckolding,the sexual practice of a husband consensually sharing his wife with other men,

  3. aypokerwin dice:

    Heya! I realize this is sort of off-topic but I had
    to ask. Does operating a well-established website such as yours require a large
    amount of work? I’m completely new to writing a blog
    however I do write in my journal on a daily basis. I’d like
    to start a blog so I can easily share my own experience and thoughts online.

    Please let me know if you have any kind of ideas or tips for brand new
    aspiring bloggers. Appreciate it!

  4. This invaluable resource provides essential insights into reducing energy bills while promoting sustainability.

  5. Having read this I believed it was very enlightening. I appreciate you taking the time
    and effort to put this informative article together.
    I once again find myself personally spending a lot of time both reading
    and posting comments. But so what, it was still worthwhile!

  6. авиатор игра 1хбет [url=http://aviator-igra-2.ru]авиатор игра 1хбет[/url] .

  7. AlbertSaw dice:

    viagra discreet delivery UK [url=https://bluepilluk.shop/#]BluePill UK[/url] viagra online UK no prescription

  8. but on women’s “marital duty” to have children and satisfy their husbands’ needs.The researcher interviewed 30 Poles,ラブドール オナニー

  9. either from a couple or from a husband seeking a sexual partner for the wif Interestingly,Tammy found that a disproportionate number of these requests came from military couples.リアル ラブドール

  10. a lack of arousal was associated with stress and anxiety,ドール アダルトnot enough time for sex,

  11. MichaelFierb dice:

    В эти дни развлечения становятся реально крутыми, чем раньше. Среди крутых проектов реально заходит [url=https://roddom2.ru/]vavada казино[/url] заведение, где структура удобен, а каталог держит. Каждый посетитель получит своё развлечение.

  12. Hello, i feel that i noticed you visited my blog so
    i came to return the desire?.I am trying to in finding
    things to enhance my site!I suppose its good enough to use
    some of your ideas!!

  13. Diplomi_baEi dice:

    купить диплом стоит [url=http://www.educ-ua2.ru]купить диплом стоит[/url] .

  14. regardless of their self-esteem,ラブドール 女性 用had more sexual partners.

  15. AlbertSaw dice:

    weekend pill UK online pharmacy [url=https://intimacareuk.shop/#]IntimaCare UK[/url] IntimaCare

  16. aviator money [url=aviator-igra-2.ru]aviator-igra-2.ru[/url] .

  17. For these Gods being male and female,海外 コスプレ エロhusbandand wife,

  18. We are a group of volunteers and opening a new scheme in our community.
    Your site provided us with valuable information to work on. You have
    done an impressive job and our whole community will be thankful to you.

  19. авиатор 1 win [url=https://aviator-igra-3.ru]авиатор 1 win[/url] .

  20. like the thread of the spider,ドール エロshot from out the crevice and fell full upon the vulture eye.

  21. Why users still use to read news papers when in this technological world everything is existing on web?

  22. Jimmyziz dice:

    Depending on the terms of the promotion, using such a code offers players https://1xbetwelcomes.blogocial.com/1xbet-pk-promo-code-100-bonus-up-to-130-73010529

  23. I believe his brain is a little disordered,コスプレ えろand,

  24. Why visitors still use to read news papers when in this technological world all
    is existing on net?

  25. aviator игра регистрация [url=https://aviator-igra-2.ru/]aviator игра регистрация[/url] .

  26. Pretty nice post. I just stumbled upon your weblog and wanted to
    mention that I’ve really loved surfing around your weblog posts.

    After all I’ll be subscribing to your rss feed and I am
    hoping you write once more soon!

  27. aviator игра сайт [url=https://aviator-igra-3.ru]aviator игра сайт[/url] .

  28. fetish dice:

    I do not even know how Iended up here, but I thought this post was good.
    I do noot kow who yoou are but definitely you’re going to
    a famous blogger if you are not already 😉 Cheers!

    My weeb site … fetish

  29. MiltonEsork dice:

    https://intimacareuk.shop/# tadalafil generic alternative UK

  30. aviator игра [url=www.aviator-igra-2.ru]aviator игра[/url] .

  31. StuartGox dice:

    BluePillUK https://intimacareuk.com/# confidential delivery cialis UK

  32. член сломался, секс-кукла, продажа секс-игрушек, राजा छह, राजा ने पैर फैलाकर, प्लर राजा,
    ৰাজ্যসমূহৰ ৰজা, গুৰুত্বপূৰ্ণ সঁজুলি বিক্ৰী কৰা

  33. Lhanehargo dice:

    Hi there, its good piece of writing about media print, we all understand media is a fantastic source of facts.
    kra39 at

  34. Diplomi_zukn dice:

    купить диплом занесением реестр [url=https://educ-ua15.ru/]купить диплом занесением реестр[/url] .

  35. Diplomi_beml dice:

    купить диплом в техникуме [url=http://www.educ-ua8.ru]купить диплом в техникуме[/url] .

  36. Oh my goodness! Awesome article dude! Thanks, However I am encountering problems with your RSS.
    I don’t understand the reason why I am unable to join it.
    Is there anybody else having the same RSS problems?
    Anyone who knows the answer will you kindly respond?
    Thanks!!

  37. Carrolloscit dice:

    http://intimacareuk.com/# tadalafil generic alternative UK

  38. 1win aviator play aviator [url=https://aviator-igra-2.ru]https://aviator-igra-2.ru[/url] .

  39. StuartGox dice:

    sildenafil tablets online order UK https://intimacareuk.shop/# confidential delivery cialis UK

  40. Carrolloscit dice:

    https://intimacareuk.shop/# cialis online UK no prescription

  41. Ronalddig dice:

    [url=https://domoscope.ru/]hands-on do-it-yourself tips[/url] that fit nicely with these suggestions, enhancing my fixes. it resonates with my own experience of how consistent, step‑by‑step improvements create a much more comfortable and reliable living space. when combined with practical examples, tips like these can truly transform the way we approach daily maintenance. It gives me a chance to analyze things differently and maybe apply it in practice. — What strikes me is that reading through this post highlights how regular upkeep can improve residence safety and comfort. the straightforward guidance helps people get started without fear. i’ve also applied some

  42. Thou saw,st the locked lovers when leaping from theirflaming ship,sex doll

Responder a AlbertSaw Cancelar respuesta