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: 27,395

  1. They were still firing,not at the cavalrywhich had disappeared,ラブドール 最新

  2. like that of a heart-stricken moose,オナホ フィギュアaye! it was that accursed white whale that razeed me,

  3. ラブドール えろaround the fires sat others,dressed and undressed,

  4. Justinstync dice:

    indian pharmacy paypal: best online pharmacy india – Indian Meds One

  5. рулонные шторы производство [url=https://elektricheskie-zhalyuzi.ru/]https://elektricheskie-zhalyuzi.ru/[/url] .

  6. mostbet_tfPi dice:

    mostbet com login [url=https://www.mostbet11061.ru]mostbet com login[/url]

  7. toto togel dice:

    Today, I went to the beach with my children. I found a sea shell and gave it
    to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to
    her ear and screamed. There was a hermit crab inside and it
    pinched her ear. She never wants to go back! LoL I know this is totally off topic but I
    had to tell someone!

  8. .. ?he paused,高級 オナホ“than to have a good sleep.

  9. tabak online dice:

    Tabak24.shop – die Adresse für hochwertige Genussmittel
    für Raucher & Dampfer. Beste Auswahl & kompetente
    Beratung – schon lange für anspruchsvolle Kunden verfügbar.

  10. A fascinating discussion is worth comment. I think that you ought to publish more on this issue, it might not
    be a taboo subject but usually people don’t speak about such issues.
    To the next! Best wishes!!

  11. stained i ?answered theartilleryman,ラブドール 最新wiping away the blood with his coat sleeve,

  12. Наркологическая помощь в Туле — это серьезный шаг для тех, кто сталкивается с проблемами зависимости. На сайте vivod-iz-zapoya-tula009.ru можно получить сведения о наркологической помощи, включая обследование зависимостей и лечение. Наши специалисты предлагают консультацию нарколога и конфиденциальное лечение. Выездная служба наркологии готова предоставить экстренную помощь при приступе зависимости или других ситуациях. Наши услуги включают стационарное лечение и реабилитацию наркоманов для наркоманов. Мы обеспечиваем поддержку зависимых и их родственников и занимаемся профилактикой зависимостей. Не медлите с помощью — позвоните наркологу и начните путь к лечению.

  13. Hi there, yeah this post is truly nice and I have learned lot of things from
    it concerning blogging. thanks.

  14. toto slot 4d dice:

    Awesome things here. I am very glad to peer your post.

    Thanks a lot and I’m having a look forward to contact you.

    Will you please drop me a e-mail?

  15. Now those vague liberal dreams with which theEmperor Alexander had ascended the thr and which he had tried to putinto effect with the aid of his associate Czartoryski,ダッチワイフ 販売Novosíltsev,

  16. He has a passion for givingaudiences,but he does not like talking himself and can,ラブドール 最新

  17. S^r? PO A practice foule For one ?o faire: Hath thi credit with you? Do you beleeue in,t? PO Gentlemen,初音 ミク ラブドール

  18. Roccopully dice:

    pharmacy website india: Indian Meds One – indian pharmacy paypal

  19. Pierre himself feared to begin tospeak in the tone of decided refusal and disagreement in which he hadfirmly resolved to answer his father-in-law.ドール エロMoreover,

  20. Jamesbet dice:

    MediDirect USA: MediDirect USA – discount online pharmacy

  21. Lady Politick in The Alchemist,エロ い ラブドールthe collegiate ladiesin The Silent Woman,

  22. and hewas vexed with himself for having stayed.ダッチワイフ 販売He got up and went to the window to open it.

  23. and Ihave had the pleasure of your acquaintance long enough to know,エロ ラブドールthat youfind great enjoyment in occasionally professing opinions are not your own.

  24. The news of the arrival ofthe Pharaon had not yet reached the old man,中国 エロmounted on a chair,

  25. ダッチワイフ 販売for a man whovalued his success in the service,to be at Tilsit on the occasion ofthis interview between the two Emperor and having succeeded in thiBorís felt that henceforth his position was fully assured.

  26. Sazrjtp dice:

    Заказать диплом вы сможете через сайт компании. [url=http://altaqm.nl/employer/diploms-ukraine/]altaqm.nl/employer/diploms-ukraine[/url]

  27. hello there and thank you for your information – I have definitely
    picked up anything new from right here. I did
    however expertise some technical issues using this site, as I experienced to reload the website many times previous to I
    could get it to load properly. I had been wondering
    if your hosting is OK? Not that I’m complaining, but
    sluggish loading instances times will often affect your placement in google and could damage your quality score if advertising and marketing with Adwords.
    Well I’m adding this RSS to my e-mail and could look out for a lot more of your respective exciting content.
    Make sure you update this again soon.

  28. Great article! This is the type of information that should be shared
    across the internet. Disgrace on Google for no longer positioning this publish upper!
    Come on over and discuss with my web site .
    Thank you =)

  29. you are truly a just right webmaster. The website loading velocity is amazing.
    It sort of feels that you’re doing any unique trick.
    In addition, The contents are masterpiece. you’ve done a
    great task on this topic!

  30. Then heapproached Lázarev (who rolled his eyes and persistently gazed at hisown monarch),女性 用 ラブドールlooked round at the Emperor Alexander to imply that whathe was now doing was done for the sake of his ally,

  31. аттестат за 11 класс купить в новосибирске [url=https://www.arus-diplom21.ru]аттестат за 11 класс купить в новосибирске[/url] .

Responder a glass replacing and repair services Cancelar respuesta