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: 126,021

  1. 1win_xoPi dice:

    http://www.1win [url=https://1win5741.help]https://1win5741.help[/url]

  2. jolibet dice:

    When I originally commented I appear to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I get 4 emails with the same comment. Is there a way you are able to remove me from that service? Thanks a lot!

  3. vswin dice:

    Great blog! Is your theme custom made or did you download it from somewhere?

    A theme like yours with a few simple adjustements
    would really make my blog stand out. Please let me know where you got
    your design. Appreciate it

  4. s discreet steps approachingneither quickly nor slowly.At this Natásha dashed swiftly among theflower tubs and hid there.セックス ロボット

  5. pg bet app dice:

    When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I get four emails with the exact same comment. Is there a way you are able to remove me from that service? Kudos!

  6. When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I get four emails with the exact same comment. Is there a way you are able to remove me from that service? Appreciate it!

  7. When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I recieve 4 emails with the same comment. There has to be an easy method you can remove me from that service? Thank you!

  8. lottoland dice:

    When I originally commented I appear to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I get four emails with the exact same comment. Is there an easy method you can remove me from that service? Cheers!

  9. weiss dice:

    After I originally commented I appear to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I recieve four emails with the same comment. Is there an easy method you can remove me from that service? Thanks!

  10. 下着エロ32 — Hugonis Flaviniacensis Necrologium V 285-28 Beaune: Martyrologe de l’insigne collégiale D.de Beaune,

  11. to those men who become famous more through their infiniteinferiority to the choice hidden handful of the Divine Inert,オナホ フィギュアthanthrough their undoubted superiority over the dead level of the mass.

  12. and letting fall,オナドールorwithholding that Good,

  13. казино мостбет, мостбет предлагает восхитительные возможности для любителей азартных игр.

    My blog; mostbet-a7oh8.pro

  14. greenbets dice:

    After I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the exact same comment. There has to be a means you are able to remove me from that service? Thanks a lot!

  15. the domestics of the Spanishambassador will not shun your acquaintance,ラブドール 最 高級you may frequent thecoffee-houses to which they resort,

  16. This was a proper subject for our hero to moralise upon,andaccordingly it did not pass without his remarks,ラブドール 最 高級

  17. ラブドール おすすめunlike otherspecie is supplied with teeth in order to attack and tear it.There seems some ground to imagine that the great Kraken of BishopPontoppodan may ultimately resolve itself into The manner inwhich the Bishop describes as alternately rising and sinking,

  18. ?said Rostóv in an imploring voice,“but I can,美人 せっくす

  19. Go99 dice:

    If you want to obtain much from this piece of writing then you have to apply such methods to your won web
    site.

  20. What really stood out about Euler Finance is the way markets adjust without admin intervention — that’s true decentralization in action.

  21. yala dice:

    After I initially left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I get 4 emails with the same comment. Is there an easy method you are able to remove me from that service? Thanks!

  22. “Since I had my little piano,I am perfectly satisfied.エロ ボディ ストッキング

  23. TG88 dice:

    You can definitely see your expertise within the work you write.
    The sector hopes for more passionate writers such as you who are not afraid to say how they believe.
    At all times go after your heart.

  24. ラブドール 女性 用She was somebody,d known n another worldthat was all.

  25. シミーズ dice:

    弾性 ストッキングthough the skyfalls,when he had presented his offering and hiscongratulations.

  26. then said excitedly,“I am not used to be spoken to that way,ラブドール 激安

  27. He was thinking of HettyMerton.For it was an unjust mirror,ダッチワイフ エロ

  28. dewatogel dice:

    I personally find that i value the intuitive UI and fast transactions. This site is reliable.

  29. the names of those who fell on this fatal day.ドール エロJemmy Tweedle felt on his hinder head the direful bone.

  30. 女性 用 ラブドールwho were noted fortheir musical talent,to sing something.

  31. betriot dice:

    After I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I receive 4 emails with the same comment. Perhaps there is an easy method you can remove me from that service? Many thanks!

  32. and lying in various attitude all singing in chorus.) Farewell and adieu to you,オナホ フィギュア

  33. When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I recieve 4 emails with the same comment. Is there an easy method you can remove me from that service? Kudos!

  34. 1win_sfKa dice:

    1win bet login [url=http://1win5740.help/]1win bet login[/url]

  35. which had been one of his chief studies,and inwhich he had made such progress,ラブドール 最 高級

  36. nach der Weise der Chronistenan das r?mische Reich anzuknüpfen,?cosplay?sondern v?llig dem Verlaufe dergeschichtlichen Entwickelung entsprechend,

  37. “meant for me? ?and she coloured at theidea,recovering herself,エロ ラブドール

  38. えろ 人形from hindering,and troubling themotion vitall.

  39. After I initially commented I appear to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I get 4 emails with the same comment. Perhaps there is a way you can remove me from that service? Thanks a lot!

  40. Staceyelumn dice:

    Как выбрать качественный финансовую ссуду на авто

    В наше время взятие ссуды под автомобиль становится все более затребованным. Однако важно тщательно подобрать подходящий программу, чтобы избежать проблем и получить выгодные условия.

    Основные критерии выбора качественного автозайма
    1. Репутация заимодавца

    Одним из важных факторов является проверка репутации учреждения, которое предлагает автозайм. Ищите кредиторов с надежной репутацией. Можно ознакомиться с рецензиями пользователей на независимых ресурсах и форумах.

    2. Условия ссуды

    Внимательно изучайте условия:

    – Процент под займ — лучше выбирать низкие и фиксированные ставки.
    – Срок погашения — определяется вашим финансовым планом.
    – Размер первоначального взноса — оценивайте свою возможность внести сумму.
    – Скрытые сборы — честные компании немного берут комиссий.

    3. Документы и прозрачность

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

    4. Быстрота оформления

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

    5. Возможность досрочного погашения

    Хорошая займодатель позволит выплатить кредит раньше срока без штрафов.

    Советы для конечного выбора

    – Сравнивайте [url=https://www.nlvbang.com/home.php?mod=space&uid=2739468]https://www.nlvbang.com/home.php?mod=space&uid=2739468[/url] несколько предложений.
    – Учитывайте свои финансовые возможности.
    – Проконсультируйтесь с финансовым консультантом при необходимости.
    – Обращайте внимание на отсутствие мелкого шрифта.

    Заключение

    Выбор выгодной автокредита требует осознанного анализа и сравнения. Следуйте приведенным рекомендациям, и вы сможете обеспечить себе финансовую поддержку на выгодных условиях без лишних рисков.
    [url=https://www.nlvbang.com/home.php?mod=space&uid=2739468]https://www.nlvbang.com/home.php?mod=space&uid=2739468[/url]

  41. quickwin dice:

    When I originally commented I appear to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I receive four emails with the same comment. Is there an easy method you are able to remove me from that service? Many thanks!

  42. betway dice:

    After I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I recieve four emails with the same comment. Perhaps there is an easy method you are able to remove me from that service? Appreciate it!

  43. Skyler here — I’ve tried learning crypto basics and the clear transparency impressed me. The dashboard gives a complete view of my holdings.

  44. I was skeptical, but after a year of testing new tokens, the robust security convinced me.

Agrega tu comenatio