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: 94,023

  1. Cryptofetchs dice:

    For most recent news you have to pay a quick visit
    web and on internet I found this web page as a most excellent website for newest updates.

  2. according to research.Research suggests that casual or fleeting relationships may lead to alcohol or drug dependence issues.<a href="https://www.erdoll.com/tag/siliconelovedoll.htmlラブドール

  3. Michaelgig dice:

    price for 15 prednisone [url=https://predniwellonline.com/#]Prednisone without prescription USA[/url] prednisone uk

  4. MorrisHom dice:

    trusted Stromectol source online: low-cost ivermectin for Americans – low-cost ivermectin for Americans

  5. Hello there, just became aware of your blog through
    Google, and found that it’s really informative.
    I’m going to watch out for brussels. I’ll appreciate if you continue this in future.
    A lot of people will be benefited from your writing.
    Cheers!

  6. вывод из запоя в москве недорого [url=https://vyvod-iz-zapoya-9.ru]https://vyvod-iz-zapoya-9.ru[/url] .

  7. WillieBrart dice:

    NeuroCare Direct: Neurontin online without prescription USA – neuropathic pain relief treatment online

  8. Diplomi_xtma dice:

    где купить диплом техникума была [url=http://frei-diplom10.ru/]где купить диплом техникума была[/url] .

  9. Diplomi_xoSn dice:

    купить диплом строительный техникум [url=http://frei-diplom8.ru/]купить диплом строительный техникум[/url] .

  10. Nous nous rendons sur la carte de départ pour commencer la recherche
    d’indices.

  11. Diplomi_zvma dice:

    купить диплом с занесением в реестр в нижнем тагиле [url=https://frei-diplom3.ru]купить диплом с занесением в реестр в нижнем тагиле[/url] .

  12. Angel dice:

    Hey there! This post couldn’t be written any better!
    Reading through this post reminds me of my good old room mate!
    He always kept talking about this. I will forward this article to him.

    Pretty sure he will have a good read. Thanks for
    sharing!

  13. новости баскетбола [url=https://www.sportivnye-novosti-1.ru]новости баскетбола[/url] .

  14. while 1 in 10 said: “I love you.ラブドール” Those who reported less emotional connection in their primary relationship had more intimacy with their affair partner,

  15. I think this is one of the most important info for me.
    And i am glad reading your article. But want to remark on some
    general things, The web site style is ideal, the articles is really excellent :
    D. Good job, cheers

  16. WillieBrart dice:

    order Stromectol discreet shipping USA: order Stromectol discreet shipping USA – low-cost ivermectin for Americans

  17. Fobertinine dice:

    Hi there it’s me, I am also visiting this web site on a regular basis, this web page is in fact pleasant and the people are in fact sharing good thoughts.
    https://cpaday.com.ua/ekstruder-dlia-far-chy-varto-ekonomyty-na-instrumenti.html

  18. Arab invest dice:

    Hi there! I just wish to offer you a big thumbs up for the great information you’ve got here
    on this post. I will be coming back to your website for more soon.

  19. прогнозы на спорт на сегодня бесплатно [url=https://prognozy-ot-professionalov4.ru]https://prognozy-ot-professionalov4.ru[/url] .

  20. Inclusion criteria were that all articles were written in English and the title and abstract had to contain a reference to first sexual experience and sexual pleasure.エロ ラブドールThe final sample included 23 papers that were quantitative (n = 16),

  21. Alejandra dice:

    What’s Happening i am new to this, I stumbled upon this I
    have found It positively helpful and it has aided me out loads.
    I am hoping to contribute & help different users like its helped me.
    Great job.

  22. ラブドール えろ“what the custom of theEnglish may be,but it is the custom of the Irish to hate villains.

  23. Diplomi_siel dice:

    купить диплом парикмахера [url=http://rudik-diplom10.ru/]купить диплом парикмахера[/url] .

  24. Hi there to every , as I am in fact eager of reading this web
    site’s post to be updated regularly. It carries pleasant data.

  25. This piece of writing presents clear idea in support of the new visitors
    of blogging, that actually how to do blogging and site-building.

  26. Someone necessarily help to make critically posts I would state.
    This is the very first time I frequented your web
    page and to this point? I amazed with the research you
    made to create this particular post amazing. Fantastic task!

  27. sarrbet.com dice:

    I am really thankful to the holder of this site who has shared
    this wonderful piece of writing at at this time.

  28. спортивные новости [url=novosti-sporta-8.ru]спортивные новости[/url] .

  29. I am sure this post has touched all the internet
    users, its really really good post on building up new weblog.

  30. новости футбольных клубов [url=http://novosti-sporta-7.ru/]http://novosti-sporta-7.ru/[/url] .

  31. ドール アダルトand psychological and relationship factors,including anxiety and post-traumatic symptoms.

  32. Diplomi_ukon dice:

    купить диплом в майкопе [url=http://rudik-diplom11.ru/]http://rudik-diplom11.ru/[/url] .

  33. sex dollMiss Austen,drew back when the white frosttouched her shoe but I think she would have made a pretty good journeyeven in a black one.

  34. Howdy! I simply want to offer you a big thumbs up
    for the excellent information you have got here on this post.
    I’ll be returning to your site for more soon.

  35. WillieBrart dice:

    generic ivermectin online pharmacy: order Stromectol discreet shipping USA – low-cost ivermectin for Americans

  36. Bunnimens7mug dice:

    Je suis allie avec Mafia Casino, c’est un empire ou chaque pari scelle un accord de fortune. Les operations forment un plan de manigances innovantes, proposant des crash pour des chutes de pouvoir. Le service conspire en continu 24/7, mobilisant des canaux multiples pour une execution immediate. Les retraits s’executent avec une furtivite remarquable, malgre cela davantage de pots-de-vin bonus quotidiens renforceraient l’empire. Pour clore l’omerta, Mafia Casino forge une legende de jeu gangster pour les conspirateurs de victoires rusees ! Par surcroit le portail est une planque visuelle imprenable, amplifie l’engagement dans le territoire du jeu.
    mafia casino download for android|

  37. Diplomi_bika dice:

    купить диплом менеджера по туризму [url=http://rudik-diplom1.ru/]купить диплом менеджера по туризму[/url] .

  38. Diplomi_xrki dice:

    купить диплом колледжа в омске [url=https://frei-diplom9.ru]купить диплом колледжа в омске[/url] .

  39. анонимный вывод из запоя москва [url=https://vyvod-iz-zapoya-9.ru]https://vyvod-iz-zapoya-9.ru[/url] .

  40. Diplomi_lzel dice:

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

  41. Mathewhon dice:

    Позиционирует себя как белорусский психолог, гипнолог, логопед, сексолог и писатель. Является довольно известной фигурой в русскоязычном пространстве, особенно в области практической психологии и саморазвития. смотреть тут

  42. sportbets [url=http://www.novosti-sporta-8.ru]sportbets[/url] .

  43. Diplomi_ktPl dice:

    купить диплом в гуково [url=www.rudik-diplom7.ru]купить диплом в гуково[/url] .

  44. Diplomi_gsSn dice:

    купить диплом медсестры [url=https://frei-diplom13.ru]купить диплом медсестры[/url] .

  45. MarianoAbunc dice:

    ¡Hola!
    [url=https://casinowheel.shop]1xbet casino chile[/url]
    Lee este enlace – https://casinowheel.shop
    888 casino Chile

    ¡Buena suerte!

  46. Diplomi_gzel dice:

    купить диплом в ревде [url=https://rudik-diplom10.ru]купить диплом в ревде[/url] .

Responder a WillieBrart Cancelar respuesta