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: 74,154

  1. электрокарнизы для жалюзи [url=avtomaticheskie-zhalyuzi.ru]avtomaticheskie-zhalyuzi.ru[/url] .

  2. топ агентств seo продвижения [url=www.reiting-seo-kompanii.ru/]www.reiting-seo-kompanii.ru/[/url] .

  3. Jasonimisa dice:

    MexMedsReview: mexican pharmacy – cheap branded meds without prescription

  4. bugil dice:

    Great site you have here but I was curious if you knew of any forums that cover the same topics discussed
    here? I’d really like to be a part of online community where I can get advice from other experienced people
    that share the same interest. If you have any suggestions, please let me know.
    Thank you!

  5. Diplomi_odKn dice:

    диплом купить отзывы [url=https://r-diploma6.ru/]диплом купить отзывы[/url] .

  6. I beg you to close that door at once and to admit no one.ラブドール 激安Let him at least die in peace! Or I warn you the Governor-General,

  7. 初音 ミク ラブドールis theLiberty each man hath,to use his own as he will himselfe,

  8. urlki.com dice:

    Oi oi, Singapore folks, maths іs proƅably the highly crucial primary
    topic, promoting imagination tһrough рroblem-solving іn innovative jobs.

    Do not take lightly lah, combine а excellent Junior College alongside math excellence tօ guarantee superior A Levels гesults and effortless shifts.

    Folks, dread tһe gap hor,math foundation proves essential
    аt Junior College in understanding data, crucial in current tech-driven economy.

    Ⴝt. Andrew’ѕ Junior College fosters Anglican worths аnd holistic development,
    building principled individuals ԝith strong character.

    Modern facilities support excellence іn academics, sports, ɑnd arts.

    Neighborhood service ɑnd leadership programs instill empathy ɑnd
    duty. Varied ϲⲟ-curricular activities promote team effort ɑnd self-discovery.
    Alumni emerge as ethical leaders, contributing meaningfully
    tօ society.

    Yishun Innova Junior College, formed Ьy the merger օf Yishun Junior College аnd
    Innova Junior College, harnesses combined strengths tߋ champion digital
    literacy аnd excellent management, preparing students for excellence
    in a technology-driven age tһrough forward-focused education. Upgraded centers, ѕuch ɑs smart class, media production studios, аnd
    development labs, promote hands-on learning in emerging fields ⅼike digital media,
    languages, аnd computational thinking, cultivating imagination ɑnd technical proficiency.
    Diverse academic аnd ⅽo-curricular programs, consisting
    ᧐f language immersion courses аnd digital arts ϲlubs, encourage exploration оf personal іnterests ᴡhile constructing citizenship values аnd worldwide
    awareness. Community engagement activities, fгom regional service tasks tօ global
    collaborations, cultivate compassion, collaborative skills, ɑnd а sense օf social
    obligation among trainees. As positive and tech-savvy leaders, Yishun Innova
    Junior College’ѕ graduates are primed fοr the digital age, standing оut in college and ingenious
    professions tһɑt require versatility аnd visionary
    thinking.

    Αvoid play play lah, link ɑ excellent Junior College ѡith math superiority tⲟ assure superior
    А Levels scores pⅼus seamless shifts.
    Folks, worry аbout the gap hor, mathematics base is essential at Junior College
    tߋ grasping figures, vital wіthіn modern tech-driven ѕystem.

    Listen ᥙp, Singapore parents, maths proves рrobably the extremely crucial primary topic, encouraging innovation іn issue-resolving fοr creative jobs.

    Listen ᥙp, Singapore folks, math proves probablу the highly
    іmportant primary subject, encouraging innovation tһrough challenge-tackling t᧐ innovative careers.

    Ɗo not mess aroսnd lah, pair ɑ excellent Junior College alongside maths
    proficiency tо assure elevated Α Levels marks ⲣlus smooth transitions.

    Ԝithout solid А-levels, alternative paths aree
    ⅼonger and harder.

    Mums аnd Dads, worry аbout tһe disparity hor, mathematics base proves critical ԁuring Junior College t᧐ comprehending information, vital fоr todɑʏ’s digital economy.

    Oh man, regardless if establishment is atas, math
    іѕ thе decisive discipline іn cultivates poise гegarding figures.

    Here іs mү page Anglo-Chinese Junior College (urlki.com)

  9. yourmomentstarts – Really love the message behind this, feels fresh and motivating.

  10. пошив пижам оптом [url=http://www.miniatelie.ru]http://www.miniatelie.ru[/url] .

  11. but Substracting of one thing,えろ 人形as often aswe can.

  12. Diplomi_jbMa dice:

    диплом купить сургут [url=r-diploma18.ru]диплом купить сургут[/url] .

  13. “You rent this room from the Kapernaumovs?”…”“They live there,エロ フィギュア 無 修正

  14. Jasonimisa dice:

    verified Mexican pharmacy promo codes: save on prescription drugs from Mexico – save on prescription drugs from Mexico

  15. GeorgeLouck dice:

    https://rabattapotek.xyz/# Kundevurderinger av nettapotek

  16. as a fact,ラブドール 激安see from below thatthere was a light in Raskolnikov,

  17. электрожалюзи на заказ [url=https://avtomaticheskie-zhalyuzi.ru]https://avtomaticheskie-zhalyuzi.ru[/url] .

  18. situs slot dice:

    Wow, amazing blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your web site is fantastic, as well as the
    content!

  19. рекламное агентство seo [url=https://reiting-seo-kompanii.ru/]рекламное агентство seo[/url] .

  20. Stephencox dice:

    apotek på nett [url=https://rabattapotek.xyz/#]apotek på nett[/url] RabattApotek

  21. Diplomi_yqPn dice:

    купить диплом мами [url=http://r-diploma25.ru]купить диплом мами[/url] .

  22. Hey there! Someone in my Myspace group shared this website
    with us so I came to check it out. I’m definitely enjoying
    the information. I’m bookmarking and will be tweeting this to my followers!
    Fantastic blog and fantastic design.

  23. agenolx slot dice:

    It’s going to be finish of mine day, but before ending I am
    reading this wonderful paragraph to improve my know-how.

  24. I enjoy what you guys are usually up too. This type of
    clever work and reporting! Keep up the superb works guys I’ve incorporated
    you guys to my blogroll.

  25. And she has been fooled in thefirst place because her provinces have been pillagedthey say the HolyRussian army loots terriblyher army is destroyed,her capitaltaken,美人 せっくす

  26. Diplomi_ryMn dice:

    купить диплом о кинологическом образовании [url=http://r-diploma30.ru]купить диплом о кинологическом образовании[/url] .

  27. WilliamWar dice:

    Kunder rankar basta apotek online: apotek online sverige – Kop medicin utan recept Sverige

  28. Diplomi_xkKn dice:

    где купить диплом об образовании [url=https://www.r-diploma4.ru]где купить диплом об образовании[/url] .

  29. WilliamWar dice:

    apotheek online: Korting Apotheek – apotheek online

  30. WilliePeaky dice:

    Мебельный щит полотно для изготовления мебели

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

    Виды мебельного щита

    Существует несколько видов мебельного щита: щиты из лиственных пород дерева (бук, дуб, ясень), а также из хвойных пород (сосна, ель). Каждый вариант имеет свои преимущества: жесткие породы отличаются высокой долговечностью, а легкие — хорошей обработкой и доступной ценой [url=https://www.ekolestnica.ru/mebelnyj-shchit-iz-sosni.html]мебельных щитов[/url]

    Применение мебельного щита

    Мебельный щит широко используется в изготовлении фасадов, каркасов шкафов, лестниц и другого домашнего оборудования. Благодаря натуральной структуре древесины, изделия из мебельного щита выглядят естественно и создают уют в помещении.

    Преимущества мебельного щита

    Мебельный щит отличается высокими показателями надежности и экологичности, что делает его востребованным материалом при создании мебели как для домашнего использования, так и для офисов. Легкость обработки и возможность покраски или лакировки позволяют создавать изделия с любым дизайном.

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

  31. Diplomi_zmsl dice:

    купить диплом в набережных челнах [url=https://www.r-diploma9.ru]купить диплом в набережных челнах[/url] .

  32. Diplomi_lzma dice:

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

  33. Это был первый антивозрастный крем, https://byc-moze.ru/ демонстрировавший непревзойденные результаты.

  34. рейтинг сео компаний [url=https://reiting-seo-kompanii.ru/]рейтинг сео компаний[/url] .

  35. Jasonimisa dice:

    verified Mexican pharmacy promo codes: mexico pharmacy – Mexican pharmacies ranked 2025

  36. в нашей компании один из достаточно больших каталогов мебели на отечественном http://ecomebel-rotang.ru рынке.
    «Мебель.Ру» – ваш гид в мире мебели!

  37. GeorgeLouck dice:

    https://mexmedsreview.xyz/# discount meds from Mexico online

Responder a https://www.24propertyportugal.com/user/profile/379080 Cancelar respuesta