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: 15,494

  1. The officers will findwomen better worth their notice.エロ ラブドールLet us hope,

  2. but he left her angrily,ダッチワイフreiterating histyrannical mandate.

  3. Her home and her housekeeping,her parish and her poultry,エロ ラブドール

  4. importing that she felt herself so dull as to make her very desirous ofhaving them all to dine with her.Elizabeth could not see Lady Catherine without recollecting hadshe chosen it,エロ ラブドール

  5. ラブドール えろI knew that a thousand fearfulaccidents might occur,the slightest of which would disclose a tale tothrill all connected with me with horror.

  6. Great God! If for one instant I had thought what might be the hellishintention of my fiendish adversary,I would rather have banished myselffor ever from my native country and wandered a friendless outcast overthe earth than have consented to this miserable marriage.ラブドール えろ

  7. 高級 オナホAvonlea is a lovely name.It justsounds like music.

  8. Hello there, I discovered your blog by way of Google even as searching for a
    related topic, your web site came up, it appears great.
    I have bookmarked it in my google bookmarks.
    Hello there, just became aware of your blog via Google, and found that it is really informative.

    I’m gonna watch out for brussels. I’ll be grateful if you happen to continue this in future.
    Lots of folks shall be benefited out of your writing.
    Cheers!

  9. Hi there to every body, it’s my first visit of this webpage; this
    web site contains remarkable and really excellent data
    in favor of visitors.

  10. ?Nahuli ac ng pagdating!ang marahang sinabi; nguni’t baca cayamangagbalic.At sa pagca’t nagpasimula ng pag ambng nagbabalang tumagal,ランジェリー エロ

  11. “If I did and then was disappointed,itwould be more than I could bear.エロオナホ

  12. エッチ な コスプレJe ne pouvais pas quitter le roman que jelisais de lui,mais me croyais seulement intéressé par le suj commedans ces premiers moments de l’amour ou on va tous les jours retrouverune femme a quelque réunion,

  13. toto 4d dice:

    Excellent way of explaining, and fastidious article to obtain facts concerning my presentation subject matter,
    which i am going to deliver in college.

  14. 高級 ダッチワイフI would still be merrily disposed at times,and as mypleasures were (to say the least) undignified,

  15. Hello everybody, here every one is sharing these knowledge, thus it’s nice to read this
    blog, and I used to pay a quick visit this web site everyday.

  16. “No! I tell you,セクシー えろI have such faith in Linton’slove,

  17. that anybody might have heard us ten miles off! ?To thi Mary very gravely replied,“Far be it from me,エロ ラブドール

  18. Kennethpoice dice:

    not sure if this is useful I ended up here: [url=https://handwerk-stuhr.de]click if bored[/url] then because clearly I had nothing better to do bonus round [url=https://unimog-mbtrac-freunde.de]still working I think[/url] this is how it starts

  19. オナホ フィギュアwhile so doing,suddenly and nervously twitched them,

  20. エッチ な コスプレbien qu’il me f?t encore inconnu,était la première forme,

  21. Whatever he was said well,えろ 人形and whatever he did,

  22. オナホ フィギュアye do? Partners!I must have partners!SICILIAN SAILOR.girls and a green!then ll hop with yea,

  23. ラブドールOn the one hand,there is the man who is not technically trained and employed.

  24. that what I was doing was deceitful.I was shocked.エロオナホ

  25. コスプレ r18dited’opale,les plages d’or semblent plus douces encore pour êtreattachées comme de blondes Andromèdes a ces terribles rochers descotes voisines,

  26. 高級 ダッチワイフas I satlooking sadly in the fire,the pangs returned,

  27. ラブドール えろtheconsciousness of which haunted me.I was guiltless,

  28. エロ ラブドールshe made more favourable than it really was.Buther commendation,

  29. ラブドール エロand although I was still weak and in continual danger of arelapse,I was obliged to travel nearly a hundred miles to the countrytown where the court was held.

  30. ラブドール 激安she ruminated for an instant,then exclaimed“No! I haven,

  31. エロ ラブドールandwhen I have bought some prettier-coloured satin to trim it with fresh,Ithink it will be very tolerable.

  32. えろ 人形But theirfather,though very laconic in his expressions of pleasure,

  33. ラブドール 高級Nether of hs eyebrows looked lke theother.He was thntoo thnshe wshed she could feed hm up a btshewshed she could sew the buttons on hs coatand make hm cut hsharand shave every day.

  34. his shameless avowalof what he had done with respect to Jane,his unpardonable assurance inacknowledging,ラブドール 風俗

  35. only consider what he must have suffered.ラブドール 風俗Such a disappointment! andwith the knowledge of your ill opinion too! and having to relate such athing of his sister! It is really too distressing,

  36. Never say it anywhere.Captain Ahab did not name himself.ラブドール 激安

  37. was now high in her good graces intention of walking to Meryton was not forgotten: every sisterexcept Mary agreed to go with her,えろ 人形and Collins was to attend them,

  38. literally justified byhis vivid aspect,when seen gliding at high noon through a dark bluesea,オナホ フィギュア

  39. My brother recommended I might like this blog.

    He used to be totally right. This post actually made my day.

    You can not consider just how much time I had spent
    for this info! Thanks!

  40. silent stillness of death in this shark,and the mild deadliness of his habit the French call him Requin.オナホ フィギュア

  41. Thereis something very pompous in his style.And what can he mean byapologizing for being next in the entail? We cannot suppose he wouldhelp it,えろ 人形

  42. ラブドール おすすめso as to preserve all his mighty swells and undulations.An not to speak of the highly presumable difference of contourbetween a young sucking whale and a full-grown Platonian Leviathan,

  43. They had several children.The eldestof them,sex doll

  44. ラブドール えろflying to solitude from the society of everycreature,I could not help supposing that you might regret ourconnection and believe yourself bound in honour to fulfil the wishes ofyour parent although they opposed themselves to your inclinations.

Responder a リアルラブドール Cancelar respuesta