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: 87,443

  1. RichardDycle dice:

    canadianpharmacyworld com http://mhfapharm.com/# medication canadian pharmacy

  2. курсовой проект цена [url=http://kupit-kursovuyu-4.ru/]http://kupit-kursovuyu-4.ru/[/url] .

  3. Ⲟh no, even witbin prestigious schools, kids require supplementary mathematics emphasis tߋ thrive in strategies,
    ᴡhat provіdes doors fοr advanced schemes.

    Catholic Junior College ρrovides а values-centered education rooted in compassion ɑnd truth, creating ɑ welcoming community ѡhere trainees grow academically аnd spiritually.
    Ԝith a focus оn holistic growth, tһe college offеrs
    robust programs іn humanities annd sciences, directed
    Ƅy caring mentors who motivate ⅼong-lasting learning.
    Itts dynamic сo-curricular scene, including sports
    and arts, promotes teamwork ɑnd ѕelf-discovery in an encouraging
    environment. Opportunities fⲟr social ᴡork and worldwide exchanges develop
    compassion ɑnd worldwide viewpoints аmongst trainees.
    Alumni ⲟften emerge ɑs understanding leaders, geared ᥙρ to make
    sіgnificant contributions to society.

    Dunman High School Junior College distinguishes іtself thrοugh its remarkable multilingual
    education structure, ᴡhich skillfully combines Eastern cultural knowledge ԝith
    Western analytical techniques, supporting students іnto versatile, culturally delicate thinkers
    ᴡhօ are adept аt bridging varied perspectives іn a globalized worlԀ.
    Ꭲhe school’s incorporated ѕix-year program makes sure a smooth аnd enriched
    transition, featuring specialized curricula іn STEM fields with access
    tⲟ advanced resеarch study laboratories аnd in humanities with
    immersive language immersion modules, ɑll developed to promote intellectual
    depth аnd ingenious problem-solving. In a nurturing
    and unified campus environment, trainees actively tаke paгt іn management
    functions, innovative endeavors ⅼike dispute ϲlubs and
    cultural celebrations, ɑnd neighborhood projects tһat
    boost tһeir social awareness ɑnd collective skills.
    Τhe college’ѕ robust international immersion efforts, consisting
    ⲟf student exchanges witһ partner schools in Asia аnd Europe, as
    well as international competitors, supply hands-ߋn experiences
    tnat hone cross-cultural competencies аnd prepare trainees ffor thriving іn multicultural settings.
    With а consistent record of impressive academic efficiency,
    Dunman Ꮋigh School Junior College’ѕ graduates safe аnd secure placements in premier universities globally, exemplifying tһe
    institution’s devotion to fostering academic rigor,
    individual quality, ɑnd a lifelong passion for
    learning.

    Аvoid play play lah, combine a excellent Junior
    College ԝith mathematics excellence tо ensure superior A Levels marks and seamless transitions.

    Parents, fear tһe gap hor, math base proves essential ԁuring Junior College for comprehending data,
    crucial fοr current digital system.

    Ohdear, ԝithout strong maths ԁuring Junior College, еven top establishment
    kids mіght stumble in high school equations, ѕo
    build that now leh.

    Parents, fearful ⲟf losing mode activated lah, strong primary math guides tо improved scientific understanding аnd construction dreams.

    Wow, maths acts ⅼike the groundwork block іn primary learning, assisting youngsters fօr spatial analysis to architecture paths.

    Kiasu study apps fоr Math make A-level prep efficient.

    Aiyo, lacking solid maths аt Junior College, еven prestigious school kids ϲould stumble wіth next-level
    algebra, tһus cultivate tһіѕ promрtly leh.

    Here is my web blog; Greendale Secondary School

  4. заказать студенческую работу [url=kupit-kursovuyu-2.ru]kupit-kursovuyu-2.ru[/url] .

  5. mutespell of the wildernessthat seemed to draw him to its pitiless breastby the awakening of forgotten and brutal instincts,by the memory ofgratified and monstrous passions.えろ 人形

  6. This piece of writing will assist the internet viewers for building
    up new weblog or even a weblog from start to end.

  7. курсовая заказ купить [url=www.kupit-kursovuyu-4.ru/]курсовая заказ купить[/url] .

  8. написать курсовую работу на заказ в москве [url=http://www.kupit-kursovuyu-3.ru]http://www.kupit-kursovuyu-3.ru[/url] .

  9. купить курсовую [url=http://kupit-kursovuyu-6.ru]http://kupit-kursovuyu-6.ru[/url] .

  10. куплю курсовую работу [url=http://www.kupit-kursovuyu-4.ru]куплю курсовую работу[/url] .

  11. so as to make it ashumiliating as possible,and quite right,等身 大 ラブドール

  12. chicken road demo [url=kurica2.ru/uz]kurica2.ru/uz[/url] .

  13. Cazroca dice:

    Заказать диплом о высшем образовании мы поможем. Купить диплом техникума, колледжа в Краснодаре – [url=http://diplomybox.com/kupit-diplom-tekhnikuma-kolledzha-v-krasnodare/]diplomybox.com/kupit-diplom-tekhnikuma-kolledzha-v-krasnodare[/url]

  14. заказать качественную курсовую [url=https://kupit-kursovuyu-2.ru]https://kupit-kursovuyu-2.ru[/url] .

  15. melbet_rnMr dice:

    instalare melbet iPhone [url=http://melbet5014.ru/]http://melbet5014.ru/[/url]

  16. чикен роад играть [url=https://www.kurica2.ru/kz]https://www.kurica2.ru/kz[/url] .

  17. listenedindifferently to his wife,セックス ロボットs chatter with Prince Hippolyte who had alsocome into the hall.

  18. 美人 せっくすssuite who had mimicked the regimental commander,fell back from thecarriage and rode up to Dólokhov.

  19. His countenance was much older inexpression and decision of feature than Linton’s; it lookedintelligent,and retained no marks of former degradation.セクシー えろ

  20. ass fuck dice:

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails
    with the same comment. Is there any way you can remove me from that service?
    Thanks!

  21. купить курсовую сайт [url=http://www.kupit-kursovuyu-1.ru]http://www.kupit-kursovuyu-1.ru[/url] .

  22. Rogerbum dice:

    Чтобы быстро перейти к актуальной информации и посмотреть подробные предложения по теме, воспользуйтесь ссылкой объекты недвижимости. На странице представлены актуальные варианты с описаниями, характеристиками и удобным подбором.

  23. when brought to the test of an inexorable physical necessity.Restraint! What possible restraint? Was it superstition,ラブドール えろ

  24. melbet_jiMr dice:

    melbet reputație [url=http://melbet5014.ru/]http://melbet5014.ru/[/url]

  25. Thanh Hotze dice:

    nightfallmarketplace – Stylish collection available, prices are fair, and website navigation is very simple.

Responder a evacuator chisinau Cancelar respuesta