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: 24,376

  1. She noticedthat one section of the bookcase was covered by a strong door,銉┿儢銉夈兗銉?銈儕銉嬨兗coveredwith fine wire mesh,

  2. bandar 123 dice:

    I love your blog.. very nice colors & theme. Did you make this
    website yourself or did you hire someone to do it for you?
    Plz respond as I’m looking to design my own blog and
    would like to find out where u got this from.
    thank you

  3. Attractive portion of content. I just stumbled upon your web site and in accession capital to
    claim that I acquire in fact enjoyed account your blog posts.
    Anyway I’ll be subscribing in your feeds and even I
    achievement you access constantly rapidly.

  4. I like the helpful info you provide in your articles.
    I’ll bookmark your blog and check again here regularly.

    I am quite sure I’ll learn a lot of new stuff right here!
    Good luck for the next!

  5. MayI love you?”He was looking into her face,銉┿儢銉夈兗銉?銉戙偆銈恒儶which was still shining.

  6. It is perfect time to make a few plans for the future and it’s time to be
    happy. I’ve read this publish and if I may I want to suggest you few attention-grabbing issues or advice.

    Perhaps you could write subsequent articles referring to this article.
    I want to read more things approximately it!

  7. m98bet dice:

    Wow! At last I got a blog from where I know how to actually
    get valuable data concerning my study and knowledge.

  8. I’m now not sure where you are getting your info, however great topic.
    I must spend some time finding out more or understanding more.
    Thanks for magnificent information I was looking for this information for my mission.

  9. Touche. Solid arguments. Keep up the great effort.

  10. webpage dice:

    I’m amazed, I have to admit. Seldom do I encounter a blog that’s equally educative and engaging,
    and let me tell you, you have hit the nail on the head.
    The issue is an issue that not enough people are speaking intelligently about.
    I am very happy that I stumbled across this during
    my hunt for something regarding this.

  11. Where can I find a USDT ATM in Barcelona?

  12. Bookmarks dice:

    Mighty Dog Roofing
    Reimer Drive North 13768
    Maple Grove, MN 55311 United Ѕtates
    (763) 280-5115
    Bookmarks

  13. Emmettrep dice:

    Getting it apposite in the conk, like a disinterested would should
    So, how does Tencent’s AI benchmark work? Maiden, an AI is foreordained a originative reprove to account from a catalogue of closed 1,800 challenges, from construction materials visualisations and интернет apps to making interactive mini-games.

    On only prompt the AI generates the rules, ArtifactsBench gets to work. It automatically builds and runs the regulations in a non-toxic and sandboxed environment.

    To work out of how the assiduity behaves, it captures a series of screenshots ended time. This allows it to charges as a post to things like animations, calamity changes after a button click, and other affluent consumer feedback.

    Completely, it hands to the ground all this certification – the inbred name, the AI’s cryptogram, and the screenshots – to a Multimodal LLM (MLLM), to promise the standing as a judge.

    This MLLM regulate isn’t drab giving a let mistaken мнение and as contrasted with uses a wink, per-task checklist to swarms the d‚nouement begin across ten conflicting from metrics. Scoring includes functionality, medicament fling, and disinterested aesthetic quality. This ensures the scoring is light-complexioned, in computation, and thorough.

    The ample moronic is, does this automated dare say tete-…-tete in spite of news include incorruptible taste? The results proffer it does.

    When the rankings from ArtifactsBench were compared to WebDev Arena, the gold-standard convey where bona fide humans мнение on the most happy AI creations, they matched up with a 94.4% consistency. This is a monstrosity perspicacious from older automated benchmarks, which not managed circa 69.4% consistency.

    On lid of this, the framework’s judgments showed in glut of 90% concurrence with quick in any way manlike developers.
    [url=https://www.artificialintelligence-news.com/]https://www.artificialintelligence-news.com/[/url]

  14. webpage dice:

    Pretty! This was an extremely wonderful article.
    Many thanks for supplying these details.

  15. excellent put up, very informative. I’m wondering why the other specialists of this sector
    don’t understand this. You should continue your writing.

    I am confident, you’ve a huge readers’ base already!

  16. game tt88 dice:

    Nhà cái TT88 – nền tảng giải trí trực tuyến đỉnh cao tại Việt Nam với cá cược thể thao, casino trực tiếp, game bắn cá, slot game
    và khuyến mãi lớn mỗi ngày. Trải nghiệm mượt
    mà, an toàn cao và hỗ trợ 24/7.

  17. internetmix dice:

    интернет провайдеры в нижнем новгороде по адресу дома
    nizhnij-novgorod-domashnij-internet006.ru
    провайдеры в нижнем новгороде по адресу проверить

  18. BitPulseAI dice:

    I’d like to find out more? I’d want to find out some additional information.

Responder a Telegram中文 ,Telegram汉化 ,telegram中文语言包 ,telegram中文语言包下载 ,telegram安卓中文语言包 Cancelar respuesta