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: 63,201

  1. выигрышные live ставки на мостбет [url=http://mostbet12032.ru/]http://mostbet12032.ru/[/url]

  2. Randynuamy dice:

    comprar Sildenafilo sin receta: farmacia con entrega rápida – farmacia online para hombres

  3. アダルト ランジェリーIn heav’n itself,but make my vaunt in thee!Yet cloak thou art soon shorten’d,

  4. brightnightpdx – Before linking or recommending it, I’d check for clear contact info, business registration, and recent activity.

  5. скачать мостбет кг [url=https://mostbet12031.ru]скачать мостбет кг[/url]

  6. 1xbet_lyPa dice:

    1xbet turkiye [url=1xbet-16.com]1xbet-16.com[/url] .

  7. Stanley Hyde dice:

    dearsparrows – Navigation could improve a little — I had to hunt for older posts.

  8. 1xbet_krmr dice:

    1xbet [url=https://1xbet-13.com/]1xbet[/url] .

  9. Jesussmeds dice:

    mannens apotek: billig Viagra Sverige – Sildenafil utan recept

  10. Howdy very nice website!! Guy .. Beautiful .. Amazing ..
    I will bookmark your web site and take the feeds also?
    I am happy to seek out numerous helpful info right here in the put up, we need develop extra strategies on this regard, thank you for
    sharing. . . . . .

  11. mostbets [url=https://www.mostbet12031.ru]https://www.mostbet12031.ru[/url]

  12. Jesussmeds dice:

    Confia Farmacia: farmacia con entrega rápida – farmacia online para hombres

  13. pepplish – The social media presence is modest but existent, so at least there’s a community aspect.

  14. 1xbet_wykn dice:

    1xbet g?ncel giri? [url=https://www.1xbet-12.com]1xbet g?ncel giri?[/url] .

  15. nomnomnomfordogs – If purchasing, check shipping conditions (freshness, packaging) especially if you’re out of state.

  16. 1xbet_cpKt dice:

    1xbet giri? g?ncel [url=https://1xbet-17.com]1xbet giri? g?ncel[/url] .

  17. 1xbet_xxkn dice:

    1xbet mobil giri? [url=https://1xbet-10.com/]1xbet-10.com[/url] .

  18. flourandoak – Would appreciate seeing more detail about ingredient sourcing or sustainable practices.

  19. мостбет. регистрация. [url=mostbet12032.ru]мостбет. регистрация.[/url]

  20. madmadedesigns – Overall: a promising site with distinct character—just do your usual due diligence on customization and terms.

  21. Davidjusty dice:

    billig Viagra Sverige [url=https://mannensapotek.shop/#]Sildenafil utan recept[/url] Sildenafil-tabletter pris

  22. エロ コスthough Ilived there more than two years,—not counting potatoes,

  23. Reyna Farran dice:

    connectdiscovergrow – Might be worth following or subscribing if you’re aiming for growth in your career or business.

  24. shopwithconfidence – Overall looks promising—just do a little extra verification (age, certificate, reviews) before full use.

  25. 1xbet_hykn dice:

    1xbet turkey [url=https://1xbet-12.com/]1xbet-12.com[/url] .

  26. keepgrowingforward – Some sections feel like they’re just getting started — hope to see more content soon.

  27. and seems to be very well adapted both for state andauthority.–The lord provost is equal in dignity to the lord mayorof London,ラブドール 最新

  28. staycuriousalways – Simple domain, memorable — that’s a plus if you plan to revisit it repeatedly.

  29. exploreopportunitiesnow – If you’re going to cite or link to it, I’d still verify its trustworthiness (owner, activity, reviews).

  30. 1xbet_zjkn dice:

    1xbet [url=www.1xbet-12.com/]1xbet[/url] .

  31. 1xbet_zgPa dice:

    1xbet yeni giri? [url=http://1xbet-16.com]1xbet yeni giri?[/url] .

  32. bestdealsforlife – The domain name sounds good, but I couldn’t verify much about who’s behind the site.

  33. Junior Leaf dice:

    createandgrow – The domain is clean and memorable, gives a good first impression.

  34. ラブドール 最新owing to the same cause in both,the neighbourhood of high mountain and a westerly situation,

  35. theperfectgiftshop – I would check whether shipping terms, returns policy and customer reviews are clear before buying.

  36. globaltrendmarket – If you’re using it for SEO/backlinks, pair it with stronger, established domains for balance.

  37. s own and goes barefoot summer and winter),he says,ラブドール 中出し

  38. 1xbet_vlkn dice:

    1xbet resmi sitesi [url=https://www.1xbet-10.com]https://www.1xbet-10.com[/url] .

  39. 1xbet_cyPa dice:

    1xbet t?rkiye giri? [url=https://1xbet-16.com]1xbet t?rkiye giri?[/url] .

  40. 1xbet_cvmr dice:

    1xbet ?yelik [url=https://1xbet-13.com/]https://1xbet-13.com/[/url] .

  41. simplybestchoice – The domain name sounds appealing, but I couldn’t find much trustworthy info about the business behind it.

  42. KerrySnits dice:

    Онлайн игровые заведения: новый виртуальный мир азарта и развлечений

    В современном мире интернет-пространстве игровые заведения азартные платформы переживают настоящий бум. С развитием технологий и увеличением доступности сетевых ресурсов всё больше людей выбирают виртуальные площадки для проведения досуга. Эти платформы предлагают не только традиционные игры, такие как рулетка, покер и слоты, но и уникальные оригинальные проекты, которые привлекают внимание как новичков, так и опытных пользователей.

    Одним из главных преимуществ азартных платформ [url=https://ethnobs.ru/]покердом[/url] является их доступность. В отличие от традиционных заведений, здесь не нужно перемещаться в другой город или страну. Достаточно иметь смартфон и стабильное интернет-соединение. Кроме того, игровые сайты предлагают разнообразие игр, которые можно проверить в любое время суток.

    Ещё одним важным аспектом является надежность виртуальных заведений. Многие платформы используют инновационные решения для защиты личной информации игроков, а также обеспечивают прозрачность игрового процесса. Это делает цифровой азарт не только интересными, но и защищёнными.

    Однако важно помнить, что игровые развлечения могут быть зависимостью. Поэтому осознанный выбор и ограничение играют ключевую роль. Многие игровые платформы предлагают возможности управления, которые помогают игрокам контролировать свои вложения и время, проведённое за игрой.

    В заключение можно сказать, что онлайн игровые заведения стали неотъемлемой частью современного развлекательного мира. Они предлагают уникальные возможности для тех, кто ищет острые ощущения и увлекательные приключения. Главное — подходить к этому с умом и радоваться процессу, не забывая о надежности и осознанности.

  43. to wait where wewere till next morning.ラブドール えろhe pointed out that if the warning toapproach cautiously were to be followed,

  44. Davidjusty dice:

    apotek online utan recept [url=https://mannensapotek.shop/#]erektionspiller på nätet[/url] MannensApotek

  45. simplybestchoice – From a branding perspective it’s memorable, but trust and authority appear uncertain at this time.

Responder a 1xbet_zjkn Cancelar respuesta