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: 78,585

  1. ラブドール sexSit? voi kulkea kahdeksankymment? mailiaja sitten saattoi kuukaudessa menn? karavaanitiet? Lagosiin siell?h?n toivoi tyt?n jo suostuvan.H?nen joukkonsa p??si p??m??r??ns? tarpeeksi l?helle my?h??niltap?iv?ll?.

  2. ラブドール 無 修正byowning that his shirt was in the hands of his washerwoman; thenshrouding himself in a blanket,desired to know what had procured himthe honour of such an extraordinary visit.

  3. exerting themselves with unusual strength,exceed what is commonly thought the due proportion of parts,コスプレ r18

  4. au milieu de la Grande Guerre,le 1er décembre 191 assassiné par les senoussistes qui redoutaient son influence de prêtre et de Fran?ais.ラブドール

  5. With grief the leader of the Lycian bandSaw the wide waste of his destructive hand:His bended bow against the chief he drew;Swift to the mark the thirsty arrow flew,Whose forky point the hollow breastplate tore,コスプレ せっくす

  6. Curtissweta dice:

    canadian pharmacy online: safe Canadian pharmacies for Americans – verified Canada drugstores

  7. Kennethsnusa dice:

    ко ланта что посмотреть Ко Ланта На Карте: Ко Ланта легко найти на карте Таиланда, расположенный в Андаманском море к югу от Краби.

  8. AlphaMindos7mug dice:

    Je ne me lasse pas de Action Casino, ca invite a l’aventure. Les options de jeu sont incroyablement variees, incluant des paris sportifs pleins de vie. Il amplifie le plaisir des l’entree. Le suivi est impeccable. Les transactions sont fiables et efficaces, rarement des offres plus genereuses seraient top. Pour faire court, Action Casino garantit un plaisir constant. En plus l’interface est simple et engageante, apporte une touche d’excitation. Particulierement interessant les options de paris sportifs variees, garantit des paiements rapides.
    Voir plus|

  9. Don’t you know that he’s called theBrown Cardinal?”“The Brown Cardinal?”“Or Black Eminence,コスプレ has you wish.

  10. Curtissweta dice:

    DrMedsAdvisor: mexico pharmacy – safe medications from Mexico

  11. kra44-cc dice:

    Официальный сайт Kraken https://kra44-cc.at безопасная платформа для анонимных операций в darknet. Полный доступ к рынку через актуальные зеркала и onion ссылки.

  12. goliath casino recension [url=http://www.goliath-casino.com]http://www.goliath-casino.com[/url] .

  13. Larrypit dice:

    verified Mexican pharmacies USA delivery [url=http://drmedsadvisor.com/#]Dr Meds Advisor[/url] DrMedsAdvisor

  14. エロ リアルand she had seen Miss Bingley.“I did not think Caroline in spirit ?were her word “but she was veryglad to see me,

  15. Si do?a Victorina’y isang guinoong babaeng may taglay ng mga apat napo’t limang agosto,コス エロna catumbas ng tatlompo’t dalawang abril ayon sacanyang balac sa aritmética.

  16. Larrypit dice:

    DoctorNorthRx [url=http://doctornorthrx.com/#]legitimate pharmacy shipping to USA[/url] ed drugs online from canada

  17. liretranquille.Mais l’interruption et le commentaire qui furent apportésune fois par une visite de Swann a la lecture que j’étais en train defaire du livre d’un auteur tout nouveau pour moi,エッチ な コスプレ

  18. Hello, i think that i saw you visited my weblog so i came to “return the favor”.I am
    trying to find things to enhance my site!I suppose
    its ok to use some of your ideas!!

  19. kra44-cc dice:

    Официальный сайт Kraken kra44 at безопасная платформа для анонимных операций в darknet. Полный доступ к рынку через актуальные зеркала и onion ссылки.

  20. ’ They stopped when they heard thecall,コスプレ hbut looking round and seeing nobody,

  21. goliath casino mobile [url=http://goliath-casino.com/]http://goliath-casino.com/[/url] .

  22. ‘Pray let the poor faithful creature live; he has served us well agreat many years,and we ought to give him a livelihood for the rest ofhis days.エロ コスチューム

  23. ?Siya,mg?a ginoo!ang sabing?ayó’y marami tayong nagawa,ボディ スーツ エロ

  24. мостбет ком [url=http://mostbet12040.ru]http://mostbet12040.ru[/url]

  25. and how they both retired into the pavilion.女性 用 ラブドールSince he had begunto move in the highest circles Borís had made it his habit to watchattentively all that went on around him and to note it down.

  26. Jerryevile dice:

    india pharmacy [url=http://drindiameds.com/#]trusted medical sources from India[/url] online medicine purchase in india

  27. “Had there been no Bagratión,it would have been necessary toinvent him,ラブドール 無 修正

  28. エロ ランジェリーNahahabag acong makita ang isang santong pulubi,caya’t aking ibinibigayang lahat cong nalimpoc.

  29. Larrypit dice:

    safe medications from Mexico [url=https://drmedsadvisor.xyz/#]Dr Meds Advisor[/url] Mexico to USA pharmacy shipping

  30. ラブドール リアルI am afraid,are not alwaysquite as fair as they should be.

  31. ElliottLaM dice:

    Regulation on designing and construction of pilot facilities Uzbekistan standards in English

  32. コスプレ r18Disposed in rank their hecatomb they bring;With water purify their hands,and takeThe sacred offering of the salted cake;While thus with arms devoutly raised in air,

  33. and anumerous posterity have inherited the land of their fathers? Thesterile soil would at least have been proof against a lowlanddegeneracy.Alas! how little does the memory of these human inhabitantsenhance the beauty of the landscape! Again,ワンピース コスプレ エロ

  34. at pinagcaisahan nilangilagay muna sa lupa ang santo.Baca maggalit ang aguacil ang tutol ng isa.海外 コスプレ えろ

  35. RobertHauck dice:

    mexico pharmacy: DrMedsAdvisor – trusted Mexican drugstores online

  36. Jerryevile dice:

    canadian pharmacy online [url=http://doctornorthrx.com/#]best online pharmacies Canada to USA[/url] canadian pharmacy

  37. goliath casino bewertung [url=http://goliath-casino.com/]http://goliath-casino.com/[/url] .

  38. supposing I had beenintroduced by his fellow; so that I tarried unquestioned,on pretenceof concern for the distress of a family in which I had been sogenerously entertained,ラブドール 無 修正

  39. situs toto dice:

    Hi, I would like to subscribe for this website to get hottest updates, so where can i do
    it please help.

  40. ll beginne at the Pan,No at the skirts: as ?ome ha ?done,せっくす 美人

  41. but hadforgotten where.フィギュア 無 修正One beggar was quarrelling with another,

  42. 건대가라오케는 단순히 노래를 부르는 장소를
    넘어, 함께 웃고 공감하며 즐거움을 나누는 특별한 공간입니다.
    화려한 무대 조명 아래에서 부르는 신나는 댄스곡
    한 곡

  43. but he felt even more overcomewith weariness than on the two previous days,and throwing himself down,コスプレ h

  44. icebet casino logowanie [url=www.icebet-online.com/]icebet casino logowanie[/url] .

  45.  「彼らはわたしを遅かれ早かれ殺すつもりでいたと思います」とオーブリーはいった.ダッチワイフ「そしてミスタ?ミフリンを町からおびき出すために偽の電話をかけました.

Responder a Larrypit Cancelar respuesta