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: 35,368

  1. проект перепланировки квартиры цена москва [url=proekt-pereplanirovki-kvartiry9.ru]proekt-pereplanirovki-kvartiry9.ru[/url] .

  2. карнизы с электроприводом [url=https://elektrokarnizy5.ru/]https://elektrokarnizy5.ru/[/url] .

  3. Medicine information leaflet. Drug Class.
    can i order generic chlorpromazine
    Best information about medicine. Get information here.

  4. Hi to all, the contents present at this web site are actually remarkable for people knowledge,
    well, keep up the nice work fellows.

  5. aviator игра 1xbet [url=http://www.aviator-igra-5.ru]aviator игра 1xbet[/url] .

  6. 海外バイナリーオプションとは?メリット・デメリットと注意点

  7. bet aviator [url=www.aviator-igra-4.ru/]www.aviator-igra-4.ru/[/url] .

  8. изготовление проекта перепланировки [url=http://proekt-pereplanirovki-kvartiry9.ru]изготовление проекта перепланировки[/url] .

  9. электрические карнизы для штор в москве [url=www.elektrokarnizy5.ru/]www.elektrokarnizy5.ru/[/url] .

  10. проектная организация перепланировка [url=https://www.proekt-pereplanirovki-kvartiry8.ru]проектная организация перепланировка[/url] .

  11. evostoto dice:

    Excellent post. I was checking continuously this blog and I’m
    impressed! Very useful information specifically the last part :
    ) I care for such info a lot. I was seeking this
    certain information for a long time. Thank you and good luck.

  12. plane money game [url=http://aviator-igra-5.ru]http://aviator-igra-5.ru[/url] .

  13. togel online dice:

    Hey there would you mind stating which blog platform you’re working with?
    I’m looking to start my own blog in the near future
    but I’m having a hard time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design seems different
    then most blogs and I’m looking for something completely unique.
    P.S Apologies for being off-topic but I had to ask!

  14. 1win самолет [url=www.aviator-igra-4.ru]1win самолет[/url] .

  15. заказать проект перепланировки москва [url=https://proekt-pereplanirovki-kvartiry9.ru/]proekt-pereplanirovki-kvartiry9.ru[/url] .

  16. Spravkispp dice:

    Узнайте больше о сильных сторонах взаимодействия с компанией — стабильность, профессионализм и полный спектр услуг! Зайдите на [url=https://tdstyling.ru]https://tdstyling.ru[/url] и ознакомьтесь цены, способы связи, а также интересные статьи. Хотите сотрудничать — эта фирма гарантирует тематические ссылки, гибкие условия и доступные цены.

  17. Returning to The Residency,Jack Frankfort found with surprise thatthe old man had not changed his mind over night.ラブドール sex

  18. карнизы для штор купить в москве [url=www.elektrokarnizy5.ru]www.elektrokarnizy5.ru[/url] .

  19. WilliamHax dice:

    Обработка и обрезка Устройство подпорных стенок: укрепление склонов и предотвращение оползней Устройство подпорных стенок – это строительство специальных конструкций для укрепления склонов и предотвращения оползней. Подпорные стенки помогают сохранить устойчивость территории и предотвратить разрушение зданий и сооружений.

  20. mostbet_aiMa dice:

    most bet skachat [url=https://www.mostbet12007.ru]https://www.mostbet12007.ru[/url]

  21. Charlesvap dice:

    CuraBharat USA: indian pharmacy online – buy medicine online in delhi

  22. Charlesvap dice:

    mexican pharma: mexico prescriptions – order meds from mexico

  23. заказать проект перепланировки квартиры в москве цена [url=https://proekt-pereplanirovki-kvartiry8.ru]https://proekt-pereplanirovki-kvartiry8.ru[/url] .

  24. evostoto dice:

    Hello There. I found your blog using msn. This is a very well written article.
    I’ll make sure to bookmark it and come back to read more
    of your useful information. Thanks for the post. I’ll certainly comeback.

  25. играть в авиатор [url=http://aviator-igra-4.ru/]играть в авиатор[/url] .

  26. проект перепланировки квартиры сро [url=proekt-pereplanirovki-kvartiry9.ru]проект перепланировки квартиры сро[/url] .

  27. Michaelhaurf dice:

    medicine online india [url=https://curabharatusa.shop/#]india ki pharmacy[/url] pharmacy online shopping

  28. Michaelhaurf dice:

    SaludFrontera [url=http://saludfrontera.com/#]farmacia mexicana online[/url] SaludFrontera

  29. заказать перепланировку квартиры в москве [url=https://www.proekt-pereplanirovki-kvartiry9.ru]заказать перепланировку квартиры в москве[/url] .

  30. авиатор игра 1вин [url=https://aviator-igra-4.ru/]авиатор игра 1вин[/url] .

  31. играть в авиатор [url=http://aviator-igra-5.ru/]играть в авиатор[/url] .

  32. My partner and I stumbled over here coming from a different web page and thought I might as well check things out.
    I like what I see so now i’m following you. Look forward to finding out about your web page for a second time.

  33. карниз с приводом [url=www.elektrokarnizy5.ru/]www.elektrokarnizy5.ru/[/url] .

  34. StevenTup dice:

    Стоматологическое оборудование с большим выбором ассортимента от автолкавов до наконечников и airflow https://aviadent.ru/news/chto-dolzhno-byt-v-stomatologicheskom-kabinete

  35. сделать проект перепланировки квартиры [url=http://proekt-pereplanirovki-kvartiry9.ru]сделать проект перепланировки квартиры[/url] .

  36. Charlesvap dice:

    SaludFrontera: mexican medicine – SaludFrontera

  37. aviator игра официальный сайт [url=http://www.aviator-igra-4.ru]aviator игра официальный сайт[/url] .

  38. KILL dice:

    Hello, after reading this remarkable post i am as well cheerful to share my knowledge here with mates.

  39. авиатор казино [url=http://aviator-igra-5.ru/]авиатор казино[/url] .

  40. прокарниз [url=http://elektrokarnizy5.ru/]http://elektrokarnizy5.ru/[/url] .

  41. лечение запоя оренбург
    vivod-iz-zapoya-orenburg007.ru
    лечение запоя оренбург

  42. где сделать проект перепланировки [url=https://www.proekt-pereplanirovki-kvartiry9.ru]https://www.proekt-pereplanirovki-kvartiry9.ru[/url] .

  43. raja123 dice:

    Hi there! Do you know if they make any plugins
    to help with Search Engine Optimization? I’m trying to get my blog to rank for some targeted
    keywords but I’m not seeing very good results.
    If you know of any please share. Kudos!

  44. airplane game money [url=www.aviator-igra-4.ru/]www.aviator-igra-4.ru/[/url] .

  45. TeddyUsath dice:

    mexico prescriptions: mexican pharmacies – mexican online pharmacy wegovy

Responder a proekt pereplanirovki kvartiri_nzor Cancelar respuesta