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: 79,807

  1. My family all the time say that I am killing my time here at web, except I know
    I am getting experience every day by reading such pleasant posts.

  2. W., moodweary, holds headwatch o’er friend and foe.人形 エロ

  3. pereplanirovka v moskve_utEi dice:

    перепланировка в москве [url=www.vital7272.livejournal.com/383.html/]перепланировка в москве[/url] .

  4. What i don’t understood is in fact how you’re not really a lot more well-appreciated than you may be right now.
    You are so intelligent. You realize thus significantly relating to this topic, made me individually imagine it
    from so many varied angles. Its like men and women aren’t interested until it is one thing to do
    with Woman gaga! Your personal stuffs great.
    All the time maintain it up!

  5. He was not so smitten with the delightful situation of this ancienttown,ラブドール 女性 用but that he abandoned it as soon as he could procure apost-chaise,

  6. 918kiss_kcSt dice:

    918kiss test id [url=http://918kisslama.com]918kiss test id[/url] .

  7. MartinJaify dice:

    Stromectol buy cheap: StromectaDirect – StromectaDirect

  8. кухни спб [url=https://kuhni-spb-10.ru/]кухни спб[/url] .

  9. TimothyBruth dice:

    Stromectol tablets [url=http://stromectadirect.com/#]Stromectol tablets[/url] how much is ivermectin

  10. I haveanother question to ask you.Listen!” you stay,ラブドール

  11. MartinJaify dice:

    Prednexa Med: Prednexa Med – prednisone 5084

  12. ラブドール 女性 用org/contactSection Information about Donations to the Project GutenbergLiterary Archive FoundationProject Gutenberg? depends upon and cannot survive without widespreadpublic support and donations to carry out its mission ofincreasing the number of public domain and licensed works that can befreely distributed in machinereadable form accessible by the widestarray of equipment including outdated equipment.Many small donations($1 to $5,

  13. iblbet login dice:

    A fascinating discussion is definitely worth comment.
    I think that you should publish more about this subject matter, it may not be a taboo matter but typically people do not talk about
    such topics. To the next! Cheers!!

  14. 777bet_jvKt dice:

    777bet cash [url=https://777betcasino-online.com/]777bet cash[/url] .

  15. MartinJaify dice:

    online medicine: indian pharmacy – IndiavaMeds

  16. オナホ フィギュアwhen from life he departed.{Strife between Swedes and Geats.

  17. than Mussulmans regard this particular mode of satisfyinghunger.an offence against their religion;but this circumstance by no means explains either the degree or the kindof their repugnance; for wine also is forbidden by their religion,フィギア エロ

  18. ” interrupted Raskolnikov.“They only arrived yesterday,エロ フィギュア 無 修正

  19. MartinJaify dice:

    india pharmacy: international drug mart – IndiavaMeds

  20. вывод из запоя круглосуточно краснодар
    vivod-iz-zapoya-krasnodar025.ru
    экстренный вывод из запоя краснодар

  21. 918kiss_odSt dice:

    download kiss918 lama [url=www.918kisslama.com]download kiss918 lama[/url] .

  22. Howdy! This post couldn’t be written any better!
    Reading this post reminds me of my good old room mate! He always kept chatting about this.

    I will forward this post to him. Fairly certain he will have a good read.
    Thanks for sharing!

  23. pereplanirovka v moskve_mbEi dice:

    перепланировка проект [url=https://telegra.ph/Legalnyj-put-k-novoj-planirovke-ot-idei-do-akta-priemki-11-12/]перепланировка проект[/url] .

  24. TristanFag dice:

    https://prednexamed.xyz/# how much is prednisone 10 mg

  25. кухни на заказ в санкт-петербурге [url=https://www.kuhni-spb-10.ru]https://www.kuhni-spb-10.ru[/url] .

  26. エロオナホSo you see that virtue was its own reward.We saw a mango up in a balloon.

  27. кухни на заказ в санкт-петербурге [url=kuhni-spb-9.ru]kuhni-spb-9.ru[/url] .

  28. eternity,it were better to live so than to dieat once! Only to live,フィギュア 無 修正

  29. slot gacor dice:

    I’m not sure why but this web site is loading very slow for me.
    Is anyone else having this issue or is it a issue on my end?
    I’ll check back later and see if the problem still exists.

  30. ラブドール 激安and they were again met by the beautifulgreen girl,who showed each of them to their old rooms at once,

  31. вывод из запоя смоленск
    vivod-iz-zapoya-smolensk030.ru
    вывод из запоя смоленск

  32. sawest every thing that Thou hadst made,ラブドール オナニーit was very good.

  33. 777bet_whKt dice:

    777bet casino [url=http://www.777betcasino-online.com]777bet casino[/url] .

  34. производство кухонь в спб на заказ [url=http://kuhni-spb-11.ru]http://kuhni-spb-11.ru[/url] .

  35. ラブドール 無 修正that Don Diego was equally pleased andastonished at the air of serenity with which he came forth,andembraced him with warm acknowledgments of his goodness and attachment.

  36. Jamesfague dice:

    Uzbekistan standards in English are available through official government resources, such as the website Стандарты Казахстана на английском языке СП РК СН РК НТП РК

  37. TristanFag dice:

    https://stromectadirect.xyz/# ivermectin for guinea pig lice

  38. Свежие xxx-платформы предлагают инновационный
    контент для развлечений для взрослых.
    Откройте для себя безопасные
    новые платформы для современного опыта.

    Feel free to visit my page жестокое порно клипы

Responder a Diplomi_zxSa Cancelar respuesta