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: 55,561

  1. перепланировки квартир [url=https://soglasovanie-pereplanirovki-kvartiry3.ru/]soglasovanie-pereplanirovki-kvartiry3.ru[/url] .

  2. brightmarketplace – Easy to navigate and quick checkout, very user-friendly website.

  3. But if you can accept these changes as natural and hold your head up high,you’ll not only feel better,セックス ドール

  4. Diplomi_ekei dice:

    где купить дипломы медсестры [url=https://frei-diplom14.ru/]где купить дипломы медсестры[/url] .

  5. Livpure dice:

    This is my first time pay a quick visit at here and i am genuinely happy to read
    everthing at one place.

  6. smartbuytoday – Found unique items not available elsewhere, great shopping experience.

  7. bestdealcorner – Impressed with the packaging and timely delivery, will shop again.

  8. classytrendstore – Found unique pieces not available elsewhere, great shopping experience.

  9. リアル ラブドールI have never asked of my beloved Fatherland for any honour.I havebeen content to serve humbly and obscurely.

  10. リアル ドールWe want to start new conversations about age-old topics from fertility and pregnancy to postpartum managing stress,healthy living,

  11. Do you have a spam problem on this site; I also am a blogger, and
    I was wondering your situation; many of us have developed some nice practices and we are
    looking to exchange strategies with others, please shoot me an e-mail if interested.

  12. согласование перепланировки квартиры [url=www.soglasovanie-pereplanirovki-kvartiry11.ru]www.soglasovanie-pereplanirovki-kvartiry11.ru[/url] .

  13. Сливы курсов ЕГЭ по русскому https://courses-ege.ru

  14. как согласовать перепланировку квартиры [url=https://www.soglasovanie-pereplanirovki-kvartiry14.ru]https://www.soglasovanie-pereplanirovki-kvartiry14.ru[/url] .

  15. In the new couple mantra of desire,ラブドール エロand satisfaction,

  16. Incorrect Customization Options: Every brand has their 人形 エロown set of customization options. If a website uses the same or wrong customization options for various brands, then they probably sell knockoff dolls.

  17. согласовать проект перепланировки [url=www.soglasovanie-pereplanirovki-kvartiry4.ru/]www.soglasovanie-pereplanirovki-kvartiry4.ru/[/url] .

  18. согласование перепланировки под ключ цена [url=www.stoimost-soglasovaniya-pereplanirovki-kvartiry.ru]www.stoimost-soglasovaniya-pereplanirovki-kvartiry.ru[/url] .

  19. in the Hinduvee _Bajà_,and in theSamscred _Berbera_.ラブドール 中出し

  20. проект перепланировки [url=https://www.proekt-pereplanirovki-kvartiry16.ru]https://www.proekt-pereplanirovki-kvartiry16.ru[/url] .

  21. There’s a pre-sale going on now with the actual release date TBA,エロ 人形 but some people already beta-tested the doll.

  22. melbet_wxSl dice:

    мелбет акции [url=https://www.melbetbonusy.ru]мелбет акции[/url] .

  23. justvotenoon2 – Really practical advice, I’ll definitely try these suggestions soon.

  24. Josephthemi dice:

    Cialis générique pas cher: achat discret de Cialis 20mg – Pharmacie sans ordonnance

  25. her over-involvement with her son can camouflage her toxic parenting.There’s usually a high price to pay for his attempts at autonomy.ラブドール エロ

  26. He went home alone that night,ラブドール オナニーbut images of him and Chloe having passionate sex kept racing through his mind.

  27. Georgevot dice:

    tadalafil italiano approvato AIFA [url=https://pilloleverdi.com/#]compresse per disfunzione erettile[/url] tadalafil senza ricetta

  28. Laurie Rau dice:

    Your blog has quickly become my go-to source for reliable information and thought-provoking commentary. I’m constantly recommending it to friends and colleagues. Keep up the excellent work!

  29. bandar macau dice:

    I will right away take hold of your rss as I can not find
    your email subscription hyperlink or e-newsletter service.
    Do you have any? Kindly permit me recognise in order that I may subscribe.
    Thanks.

  30. Raymondseazy dice:

    cialis prezzo: farmacia online italiana Cialis – п»їFarmacia online migliore

  31. IyannaAnoni dice:

    официальный сайт ПокерОК
    ПокерОК

  32. вывод из запоя круглосуточно
    narkolog-krasnodar019.ru
    экстренный вывод из запоя

  33. Mickeylurne dice:

    https://pilloleverdi.shop/# farmacia online italiana Cialis

  34. ダッチワイフFeedback on Comprehensive Analysis:- Your article on [specific topic] provided a comprehensive analysis that was both thorough and enlightening.The way you covered all aspects of the subject,

  35. irontech doll“Waken him before she takes the next wave! Hasten!”The words were borne away on the gale but in the ear of the sleepingRabbi,Peter was shouting as he shook his shoulder,

  36. actionable gestures that address the individual’s tangible and emotional needs.Practical assistance,エロ 人形

  37. casino isyan gibi {bunlardan biri olan yenilikler,
    indirim casino’da {gerçekleşir|gerçekleşir}.

    Feel free to visit my homepage … casino spinrise

  38. we need to work with our youth to assure that peer norms support them in making the best choices and encouraging accountability.オナホTo counter the influences of hypersexualized media and the all too easy access to pornography,

  39. где заказать проект перепланировки квартиры [url=https://proekt-pereplanirovki-kvartiry16.ru/]https://proekt-pereplanirovki-kvartiry16.ru/[/url] .

Responder a Diplomi_nsOn Cancelar respuesta