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

  1. ” she uncovering a splendid gown heavy with spangles ofsilver and rare lace,銉┿儢銉夈兗銉?銈儕銉嬨兗“and bring back the jewels that have been underguard since we left Rome.

  2. Jamestrien dice:

    сукааа Сам сайт “Большая Sykaaa Casino” обычно отличается современным дизайном и интуитивно понятным интерфейсом. Навигация простая, все разделы легко найти. Игры загружаются быстро, что важно для комфортной игры.

  3. mostbet azerbaycan, mostbet login, platforma, müasir idman mərcləri və kazino oyunları təklif edir.
    Saytda müxtəlif sporit oyunlar mövcuddur. Oyunçular asudə mühitdə
    qazanmaq imkanı əldə edirlər.

  4. 整復學徒 dice:

    https://fr-kai-3.sfo3.digitaloceanspaces.com/research/%EF%B8%8F-love-shot-(1207).html
    However, coordination continues to be crucial for chic images on the massive
    day.

  5. 按摩學徒 dice:

    https://fr-asia-8.sgp1.digitaloceanspaces.com/research/asia-business-(3801).html
    Keep in mind that many websites allow you to filter dresses by colour,
    silhouette, length, and neckline.

  6. OMT’ѕ standalone е-learning choices encourage independent exploration, nurturing ɑ personal
    love fоr mathematics ɑnd test passion.

    Register tοday in OMT’s standalone е-learning programs аnd
    enjoy your grades skyrocket through endless access tο high-quality, syllabus-aligned material.

    Іn Singapore’s extensive education ѕystem, wһere mathematics is compulsory ɑnd
    tаkes in around 1600 hours of curriculum time in primary and
    secondary schools, math tuition Ьecomes neϲessary tⲟ
    assist trainees build ɑ strong foundation fоr lοng-lasting success.

    Tuition programs fⲟr primary school mathematics concentrate οn error analysis fгom previօuѕ PSLE papers, teaching trainees tօ avοid
    repeating errors іn estimations.

    Ӏn Singapore’s competitive education landscape, secondary math tuition ρrovides the additional ѕide neeɗed to attract attention in O Level rankings.

    Іn an affordable Singaporean education and learning ѕystem, junior college math
    tuition ⲣrovides trainees tһe edge tto accomplish һigh qualities essential fοr university admissions.

    Ꮃhat mɑkes OMT attract attention іs itѕ tailored syllabus tһat
    lines uρ witһ MOE while integrating АI-driven adaptive understanding tߋ suit private needѕ.

    Bite-sized lessons mɑke іt very easy t᧐ suit leh,
    resulting in consistent method and mucһ betteг totɑl grades.

    Tuition helps stabilize cօ-curricular tasks ԝith reseaгch studies, enabling Singapore students tօ stand out in mathematics exams ѡithout burnout.

    Have ɑ look at my web blog … maths specialist tuition centre

  7. My brother suggested I might like this website.
    He was entirely right. This post truly made my day.
    You cann’t imagine just how much time I had spent for this info!

    Thanks!

  8. 銉┿儢銉夈兗銉?銈儕銉嬨兗underst agree toand accept all the terms of this license and intellectual property(trademark/copyright) agreement.If you do not agree to abide by allthe terms of this agreement,

  9. リアル ラブドールunder the clock at King’s Cross Station.”At eight o’clock I was at King’s Cross.

  10. Mobile Casinos bieten einen bequemen Zugriff auf Casino Spiele unterwegs und eine optimierte Spielerfahrung auf Smartphones und Tablets. Viele Online Casinos veranstalten spezielle Aktionen zu Feiertagen, bei denen Spieler zusätzliche Freespins oder Boni gewinnen können. Diese Programme verbessern die Spielerfahrung und bieten den Spielern ein Gefühl von Exklusivität und Wertschätzung. VIP-Clubs bieten noch exklusivere Vorteile, wie maßgeschneiderte Boni, persönliche Betreuung und Einladungen zu exklusiven Veranstaltungen.
    Ja, du kannst in Schweizer Spielbanken mit Freispielen echtes Geld gewinnen. Freispiele ohne Einzahlung sind eine Form von Bonusangeboten, bei welchen eine bestimmte Anzahl von Spins an Spielautomaten ohne vorherige Einzahlung gewährt wird. Unabhängig davon, ob Freispiele mit oder ohne Einzahlung angeboten werden, sind beide Formen fast immer an vom Anbieter festgelegte Bonusbedingungen geknüpft. Bonuscodes werden von Online-Casinos für verschiedene Promotionen angeboten und bieten den Spielern unterschiedliche Vorteile. In der Regel werden umsatzfreie Freispiele im Rahmen von Sonderaktionen für eine begrenzte Zeit angeboten. Einige Online Casinos bieten Freispiele ohne Einzahlung als Willkommensbonus an. Das liegt daran, dass das Casino möglicherweise bestimmte Beschränkungen hat, die begrenzen, wie viel Geld Sie mit den Freispielen gewinnen können.

    References:
    https://online-spielhallen.de/verdecasino-deutschland-jetzt-e1-200-bonus-sichern/

  11. Um die Freispiele zu bekommen, musst du dein Konto verifizieren lassen. Insgesamt kannst du hier bis zu 100€
    gewinnen. SlotMagie gibt vor, dass du die Freispiele in 7 Tagen 40-mal umsetzen musst.
    Die Freispiele werden dir nach der Verifizierung deines Konto automatisch gutgeschrieben.
    Alternativ stellen Ihnen die Casinos auch eine bestimmte Anzahl Freispiele
    für ausgewählte Spielautomaten zur Verfügung. Teilweise erhalten Sie
    einen kleinen Eurobetrag als Spielkapital. Teilweise können Sie Ihr Bonusguthaben oder Freispiele
    nur an bestimmten Spielautomaten einsetzen. Beachten Sie beim Bonus ohne Deposit, dass genauso Bonusbedingungen gelten. Dort werden Ihnen das Bonusguthaben und eventuelle Freispiele angezeigt, je nachdem was für einen No Deposit Bonus Ihr Casino
    bereitstellt. Diese Art Bonus ist zudem besonders gut geeignet für Einsteiger, denn
    Sie können damit einen Vorgeschmack auf das Spiel um Echtgeld bekommen, ohne selbst Spielkapital aufbringen zu müssen.

    References:
    https://online-spielhallen.de/n1-casino-erfahrungen-bonus-spiele-einzahlen/

Responder a gitlab.ngser.com Cancelar respuesta