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: 32,599

  1. Kennethdweks dice:

    Acheter Sildenafil 100mg sans ordonnance [url=https://bluepharmafrance.com/#]Blue Pharma[/url] BluePharma

  2. What’s Happening i am new to this, I stumbled upon this I’ve discovered It absolutely useful and
    it has helped me out loads. I’m hoping to give a contribution & aid different
    customers like its aided me. Great job.

  3. This provides an added degree of privacy and convenience for gamers who appreciate anonymity.

  4. There must be discussion,to show how experience is to beinterpreted.人形 エロ

  5. who had been writing some verses “To Priscilla” before hecalled the class,エロ フィギュア 無 修正was thinking about an obstinate rhyme still and nevermissed her.

  6. エロ コスプレBut the preparations to be made were few.He concentrated all hisenergies on thinking of everything and forgetting nothing,

  7. Anthonyevipt dice:

    Pharma Libre: PharmaLibre – kamagra

  8. She’s visiting her aunt over at Carmody just now.You’llhave to be careful how you behave yourself,高級 オナホ

  9. It’s awesome designed for me to have a web page, which is useful in favor of my knowledge.

    thanks admin

  10. “Aren’t you very sorry for me,エロオナホMarilla?”“It was your own fault,

  11. I am regular reader, how are you everybody?
    This paragraph posted at this site is actually pleasant.

  12. seo partner [url=www.internet-agentstvo-prodvizhenie-sajtov-seo.ru]www.internet-agentstvo-prodvizhenie-sajtov-seo.ru[/url] .

  13. seo partner [url=https://www.poiskovoe-seo-v-moskve.ru]https://www.poiskovoe-seo-v-moskve.ru[/url] .

  14. It is in the fifth,andseventh books that Plato reaches the ‘summit of speculation,ラブドール オナニー

  15. Excellent post! We will be linking to this great
    article on our site. Keep up the great writing.

  16. エロ フィギュア 無 修正becross with me.I’ve been so used in my early days to having people crossat me that I can endure it much better than Diana can.

  17. “They could probablytell us the way to the Emerald City.”“To be sure they could,ラブドール 激安

  18. It’s enormous that you are getting ideas from this paragraph as
    well as from our argument made here.

  19. лечение алкогольной зависимости в стационаре
    reabilitaciya-astana004.ru
    помощь при наркотической зависимости

  20. You ought to take part in a contest for one of the highest quality blogs on the internet.
    I am going to recommend this blog!

  21. エロオナホI feel that I have notlived in vain and I shall always feel like that even if I should neverbe invited to tea at a manse again.When I got there Allan met meat the door.

  22. Whoa! This blog looks just like my old one! It’s on a entirely different topic but it has pretty much the same layout
    and design. Outstanding choice of colors!

  23. na warìng sa kilos na iyón ay ibig palagiin doón ang mg?a labi ng?nasira.Ang kaniyang ting?ig ay nagkaroón ng? kasindaksindak atkalagimlagim na tunóg,エロ 衣装

  24. エロ下着 dice:

    or whetherit be barely travelling freely on the highway,コスプレ エロand in effect,

  25. частный seo оптимизатор [url=http://internet-agentstvo-prodvizhenie-sajtov-seo.ru/]частный seo оптимизатор[/url] .

  26. all the time he was ill,hewas in a feverish state,エロ コスプレ

  27. продвижение сайтов интернет магазины в москве [url=http://poiskovoe-seo-v-moskve.ru]http://poiskovoe-seo-v-moskve.ru[/url] .

  28. 你爸爸的鸡巴断了,你倒霉的阴部,你爸爸的网络钓鱼,你妈妈的内脏

  29. Spravkivjd dice:

    Для обладателей Nissan, заинтересованных в качественном сервисе и детальном сервисе — сервисный центр выполняет технический и кузовной, компьютерную диагностику, настройку сход-развала, сервис АКПП, инсталляцию ГБО, Webasto, тонирование стёкол и другие услуги. опытные автомеханики работают на сертифицированном станках, применяют фирменные запчасти и обеспечивают приятные условия с комфортным залом и Wi-Fi. [url=https://skupkaavtosp.ru]https://skupkaavtosp.ru[/url] Ознакомиться с деталями — ремонт Nissan ждёт вас на сайте.

  30. Diplomi_bxSl dice:

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

  31. ラブドール 激安” replied the Princess.They walked carefully through the china country.

  32. Terrific article! This is the kind of information that should be shared around the net.
    Disgrace on Google for no longer positioning this submit upper!
    Come on over and visit my website . Thank you =)

  33. フィギア エロis the rightful limit to the sovereignty of the individualover himself? Where does the authority of society begin? How much ofhuman life should be assigned to individuality,and how much to society?Each will receive its proper sh if each has that which moreparticularly concerns it.

  34. защитная пленка с клеевым слоем [url=https://samokleyushchayasya-plenka-1.ru]https://samokleyushchayasya-plenka-1.ru[/url] .

  35. дизайнерская мебель цена спб [url=https://dizajnerskaya-mebel-1.ru/]https://dizajnerskaya-mebel-1.ru/[/url] .

  36. エロオナホor I’d never have been ableto get through.Did I groan all right? indeed,

  37. сделать аудит сайта цена [url=http://internet-agentstvo-prodvizhenie-sajtov-seo.ru]http://internet-agentstvo-prodvizhenie-sajtov-seo.ru[/url] .

  38. エロ下着 dice:

    ストッキング えろTo keep the bark of Peter in deep seaHelm’d to right point; and such our Patriarch was.Therefore who follow as he enjoins,

  39. m98bet dice:

    Hi! I know this is kind of off topic but I was wondering if you knew where I could find a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having problems finding
    one? Thanks a lot!

  40. раскрутка сайта москва [url=https://www.poiskovoe-seo-v-moskve.ru]раскрутка сайта москва[/url] .

  41. mostbet for pc [url=mostbet4129.ru]mostbet4129.ru[/url]

  42. エロ フィギュア 無 修正I’m afraid I’m going to be a dreadfultrial to you.Maybe you’d better send me back to the asylum.

Responder a poiskovoe seo v moskve_hzOn Cancelar respuesta