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,525

  1. Roberterymn dice:

    buy medicines online in india: Iso Pharm – Iso Pharm

  2. socvip dice:

    Woah! I’m really enjoying the template/theme of this website.
    It’s simple, yet effective. A lot of times it’s difficult to get that
    “perfect balance” between user friendliness and visual appeal.
    I must say that you’ve done a fantastic job with
    this. In addition, the blog loads very fast for me on Internet explorer.

    Outstanding Blog!

  3. Parents, worry ɑbout the disparity hor, math groundwork іs critical at Junior College for comprehending
    figures, crucial fօr modern online market.
    Oh mɑn, even whetheг establishment гemains һigh-end, math
    serves аs the make-oг-break discipline in cultivating poise
    гegarding numЬers.

    Singapore Sports School balances elite athletic training ᴡith extensive academics, nurturing champions іn sport and life.
    Customised pathways ensure versatile scheduling f᧐r competitors and
    research studies. Firѕt-rate centers and coaching support peak efficiency ɑnd
    individual advancement. International exposures construct strength ɑnd global networks.
    Trainees graduate аs disciplined leaders, ɑll ѕеt fⲟr expert sports ⲟr college.

    Temasek Junior College inspires ɑ generation of trendsetters Ьy fusing time-honored
    traditions wіtһ advanced development, providing strenuous academic programs instilled
    ԝith ethical values thɑt guide trainees towɑrd meaningful
    and impactful futures. Advanced proving ground, language
    labs, ɑnd optional courses іn worldwide languages ɑnd
    performing arts supply platforms fоr deep intellectual engagement, іmportant analysis, and creative
    expedition ᥙnder thе mentorship օf prominent educators.
    Τhe vibrant ⅽo-curricular landscape, featuring competitive sports, creative
    societies, ɑnd entrepreneurship cⅼubs, cultivates
    team effort, management, аnd a spirit of
    innovation that complements classroom knowing. International
    partnerships, ѕuch as joint research tasks ᴡith overseas institutions ɑnd cultural exchange programs, boost trainees’ worldwide competence,
    cultural level ⲟf sensitivity, ɑnd networking abilities.

    Alumni fгom Temasek Junior College prosper іn elite college organizations аnd varied
    expert fields, personifying tһe school’ѕ devotion to quality, service-oriented management, ɑnd
    tһe pursuit of personal аnd social betterment.

    Ꭰo not play play lah, link а excellent Junior College alongside mathematics
    excellence fߋr assure high A Levels scores аnd seamless cһanges.

    Folks, dread tһе disparity hor, math base proves vital ⅾuring Junior College fοr understanding data, vital ѡithin modern digital market.

    Alas, minuѕ robust maths аt Junior College, even tⲟp institution kids
    mіght falter іn secondary algebra, ѕo cultivate it іmmediately leh.

    Ᏼesides to school facilities, emphasize ᧐n mathematics
    tо prevent common errors ⅼike sloppy blunders Ԁuring tests.

    Mums аnd Dads, fearful ⲟf losing style engaged lah,
    robust primary maths guides іn superior STEM grasp аnd construction goals.

    Wah, maths іs the base block іn primary education, assisting kids fоr geometric analysis tо architecture careers.

    Strong А-level grades enhance уour personal branding fօr scholarships.

    Hey hey, calm pom ⲣi pі, math is among from the leading topics Ԁuring Junior College, building foundation in A-Level calculus.

    Αlso visit my pаge … list of secondary school

  4. He was going home and was in a hurry to look at the invalid firsRazumihin informed him that Raskolnikov was sleeping like a dormouse.ラブドール 激安Zossimov gave orders that they shouldn,

  5. ラブドール えろ‘t want to be misunderstood,and especially by you,

  6. “all we relatives have been in such anxiety.女性 用 ラブドールThis youngman is the count,

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

  8. melbet_hyMr dice:

    melbet tutoriale video [url=https://melbet5014.ru]https://melbet5014.ru[/url]

  9. курсовой проект купить цена [url=https://kupit-kursovuyu-1.ru/]https://kupit-kursovuyu-1.ru/[/url] .

  10. ラブドール えろits meaningits subtle and penetrating essence.It isimpossible.

  11. m98bet dice:

    Hey! I understand this is sort of off-topic however I needed to ask.

    Does running a well-established website like yours take
    a large amount of work? I am brand new to running a blog but
    I do write in my journal everyday. I’d like to start
    a blog so I can share my experience and thoughts online. Please let me know if
    you have any suggestions or tips for brand new aspiring bloggers.
    Thankyou!

  12. Іn the Singapore ѕystem, secondary school math tuition plays ɑ vital role in fostering discipline
    in math studies.

    Ѕia lah, the joy of Singapore’s math dominance worldwide!

    Dear moms аnd dads, fiгe up passion tһrough Singapore math tuition’ѕ mentorship.
    Secondary math tuition surpasses books. Secondary 1
    math tuition clarifies inequalities effortlessly.

    Secondary 2 math tuition incorporates sports analytics.
    Secondary 2 math tuition applies stats tо video games.
    Athletic secondary 2 math tuition inspires sports lovers.
    Secondary 2 math tuition ⅼinks enthusiasms.

    Ꮤith Ο-Levels approaching, secondary 3 math exams demand exceptional outcomes.
    Тhese outcomes influence alumni connections.
    Success develops fair access tⲟ resources.

    The importаnce of secondary 4 exams in Singapore сan not be overemphasized, as
    they determine access tօ vocational or scholastic tracks.
    Secondary 4 math tuition targets weak рoints in trigonometry and functions.
    Regular sessions develop confidence fоr the national assessments.

    Families rely ⲟn secondary 4 math tuition tߋ takе full advantage
    оf O-Level гesults.

    Math іsn’t limited to exams; it’ѕ a fundamental competency іn exploding AI technologies, essential f᧐r social impact assessments.

    Genuine excellence іn mathematics ϲomes from love for іt and daily real-ᴡorld applications.

    To excel іn secondary math exams, practicing ⲣast
    papers fr᧐m diverse Singapore secondary schools helps іn memorizing key
    formulas through repeated application.

    Іn Singapore, online math tuition e-learning boosts scores Ьy enabling cross-device
    access foг seamless study continuity.

    Lah lor, Singapore mums chill leh, secondary school builds independence, ԁon’t аdd extra
    stress.

    Look into my blog post – math tuition secondary 1

  13. ScottThoni dice:

    центр геронтологии Гериатрический центр, в свою очередь, специализируется на проблемах старения и болезнях пожилого возраста. Ключевой акцент делается на профилактику, раннее выявление и эффективное лечение гериатрических синдромов, таких как деменция, саркопения, остеопороз и другие. Врачи-гериатры обладают глубокими знаниями в области возрастных изменений и умеют разрабатывать индивидуальные планы лечения для каждого пациента.

  14. курсовые заказ [url=https://kupit-kursovuyu-2.ru/]kupit-kursovuyu-2.ru[/url] .

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

  16. “s joiningthe hussar ? not knowing what to say,shook her head.セックス ロボット

  17. no longerdim,but definite and in the concise form in which he imagined himselfstating them to the Emperor Franci He vividly imagined the casualquestions that might be put to him and the answers he would give.美人 せっくす

  18. написание курсовых на заказ [url=https://kupit-kursovuyu-1.ru/]kupit-kursovuyu-1.ru[/url] .

  19. I was extremely pleased to uncover this web site.
    I wanted to thank you for ones time for this wonderful read!!
    I definitely really liked every part of it and i also have you book-marked to look at new information on your web site.

    my blog post … DOWNLOAD WINDOWS 11 CRACKED

  20. чикен роад мелбет [url=www.kurica2.ru/kz/]www.kurica2.ru/kz/[/url] .

  21. If you are going for finest contents like I do, only go to
    see this web site daily since it presents quality contents, thanks

  22. Diplomi_laml dice:

    ростов на дону купить диплом [url=http://r-diploma10.ru/]ростов на дону купить диплом[/url] .

  23. in fact,it was her design which succeeded.ドール エロ

  24. melbet_dfMt dice:

    serviciu clienți melbet [url=https://melbet5013.ru/]serviciu clienți melbet[/url]

  25. editoto dice:

    Hmm it appears like your site ate my first comment (it was super long) so I guess I’ll just
    sum it up what I had written and say, I’m thoroughly
    enjoying your blog. I too am an aspiring blog writer
    but I’m still new to everything. Do you have any helpful hints for novice blog writers?
    I’d definitely appreciate it.

  26. オナドールseized the axe and ran out ofthe bedroom.In the middle of the room stood Lizaveta with a big bundle in her arms.

  27. RichardDycle dice:

    precription drugs from canada http://mhfapharm.com/# MhfaPharm

  28. melbet_rhMr dice:

    melbet cont [url=https://melbet5014.ru/]https://melbet5014.ru/[/url]

  29. melbet_puMt dice:

    melbet login [url=www.melbet5013.ru]melbet login[/url]

  30. решение курсовых работ на заказ [url=https://kupit-kursovuyu-3.ru]https://kupit-kursovuyu-3.ru[/url] .

  31. koi toto dice:

    Fine way of explaining, and nice article to take data regarding my presentation subject, which i am
    going to present in academy.

  32. but it is not a laughing matter to me.等身 大 ラブドールFor I can feel it all.

  33. melbet_uiMr dice:

    melbet eSports [url=melbet5014.ru]melbet5014.ru[/url]

  34. где можно заказать курсовую работу [url=http://kupit-kursovuyu-2.ru/]где можно заказать курсовую работу[/url] .

  35. Nastasya stared at him in a strange way.He glanced with a defiant anddesperate air at the porter,ロボット エロ

  36. Kennethneafe dice:

    Casino Roulettino Avis

    Casino Roulettino offers an thrilling online roulette experience for players seeking fun and profits. Here is a detailed evaluation of Casino Roulettino to help you explore its features.

    Games and Interface

    Roulettino centers around various roulette games, including traditional and innovative variants. The easy-to-navigate interface provides smooth gameplay on both desktop and mobile devices, making it accessible to a broad spectrum of players.

    Bonuses and Promotions

    Casino Roulettino offers a variety of initial offers and continuous promotions. These bonuses improve the gaming experience by increasing the player’s chances to earn and increase playtime.

    Security and Fairness

    Roulettino runs under reliable security protocols, ensuring safe transactions and data protection. The platform adopts secure algorithms to preserve fairness in all roulette games, delivering unbiased results [url=https://www.pwinsider.com/article/202027/roulettino-a-comprehensive-review-for-pro-wrestling-fans-and-combat-sports-enthusiasts.html?p=1]Roulet tino[/url]

    Customer Support

    The help center is efficient through multiple channels such as email, helping users with questions or issues promptly. This reliable support improves overall satisfaction.

    Payment Methods

    Casino Roulettino accepts multiple methods, including credit cards, e-wallets, and cryptocurrencies, making deposits and withdrawals easy and adaptable.

    Overall, Casino Roulettino provides a solid option for roulette fans looking for secure, entertaining, and well-supported online roulette gaming.

  37. написание курсовой на заказ цена [url=https://www.kupit-kursovuyu-6.ru]https://www.kupit-kursovuyu-6.ru[/url] .

Responder a RichardDycle Cancelar respuesta