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: 107,813

  1. Hey There. I found your blog using msn. This is a really well written article.
    I will make sure to bookmark it and return to read more of your useful info.
    Thanks for the post. I’ll certainly comeback.

  2. 营口上门 dice:

    I appreciate the step-by-step approach.

  3. Kennethpem dice:

    Umass India Pharm: Umass India Pharm – buy medicines online in india

  4. Admiring the commitment you put into your
    blog and in depth information you provide. It’s good to come across a blog
    every once in a while that isn’t the same outdated rehashed
    material. Fantastic read! I’ve saved your site and I’m adding your RSS feeds to my Google account.

  5. Hello i am kavin, its my first occasion to commenting anywhere, when i read this piece of writing i thought i could also create comment
    due to this good article.

  6. CraigWed dice:

    canadian drugs pharmacy [url=https://nyupharm.com/#]Nyu Pharm[/url] legit canadian pharmacy

  7. Kennethpem dice:

    buying prescription drugs in mexico: Unm Pharm – Unm Pharm

  8. Diplomi_glSn dice:

    можно купить диплом медсестры [url=www.frei-diplom13.ru/]можно купить диплом медсестры[/url] .

  9. Nicely done dice:

    Generally I do not read post on blogs, however
    I would like to say that this write-up very pressured me to check out and do so!

    Your writing taste has been surprised me.
    Thanks, very great article.

  10. OMT’s proprietary analytic strategies mɑke dealing with harԁ inquiries feel likе a game, aiding trainees develop ɑ real love for mathematics ɑnd ideas to radiate in tests.

    Enroll toԁay in OMT’s standalone e-learning programs ɑnd seе your grades skyrocket through limitless access to top quality,
    syllabus-aligned content.

    As mathematics forms tһe bedrock of rational thinkig and vital
    рroblem-solving іn Singapore’s education ѕystem,
    expert math tuition supplies tһe customized guidance required to turn challenges іnto victories.

    Tuition in primary school math iѕ key for PSLE preparation, ɑs it introduces sophisticated
    strategies fοr dealing wіtһ non-routine issues tһаt stump mаny prospects.

    Tuition assists secondary students develop test methods, ѕuch ɑѕ time allotment
    f᧐r thе 2 O Level math documents, Ьring about mսch bettеr geneгal efficiency.

    Tuition ߋffers strategies f᧐r time managemeent ԁuring tһe prolonged А Level
    math examinations, permitting pupils tⲟ assign efforts efficiently thгoughout sections.

    Ꮃhat collections OMT аpart іs its customized curriculum
    tһat lines uр with MOE whіle providing adaptable pacing, enabling sophisticated students tо
    accelerate their knowing.

    Endless accessibility to worksheets suggests yⲟu exercise ᥙp until shiok,
    improving your math self-confidence аnd qualities in а snap.

    Tuition promotes independent analytic, ɑ skill highly valued in Singapore’ѕ application-based mathematics exams.

    my web-site – tuition h2 maths hourly rate

  11. Diplomi_been dice:

    купить красный диплом мгу [url=www.r-diploma22.ru/]купить красный диплом мгу[/url] .

  12. JetBlack dice:

    An interesting discussion is orth comment. I believe that you ought
    tto write moree about this topic, itt might not be a taboo matter but usually people
    do not speak about these subjects. To the next!
    Best wishes!!

    Also visit my web-site … JetBlack

  13. CraigWed dice:

    Umass India Pharm [url=http://umassindiapharm.com/#]п»їlegitimate online pharmacies india[/url] world pharmacy india

  14. Hi! Quick question that’s completely off topic.
    Do you know how to make your site mobile friendly? My website
    looks weird when browsing from my iphone
    4. I’m trying to find a theme or plugin that might be able
    to fix this issue. If you have any recommendations, please
    share. With thanks!

  15. Kennethpem dice:

    ed meds online canada: Nyu Pharm – reliable canadian pharmacy

  16. JosephDug dice:

    Umass India Pharm: Umass India Pharm – Umass India Pharm

  17. What’s up to every one, it’s in fact a fastidious for me to visit this
    web site, it includes precious Information.

  18. slot 4d dice:

    My partner and I stumbled over here by a different web address and thought I may as well check things out.

    I like what I see so now i’m following you.
    Look forward to checking out your web page for a second time.

  19. Michaelroyar dice:

    http://nyupharm.com/# online canadian pharmacy

  20. CraigWed dice:

    mail order pharmacy india [url=https://umassindiapharm.xyz/#]Online medicine home delivery[/url] Umass India Pharm

  21. Kennethpem dice:

    Umass India Pharm: top 10 online pharmacy in india – Umass India Pharm

  22. MarionMus dice:

    Металлоизделия (метизы)

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

    Виды металлоизделий

    Металлоизделия существуют в виде нескольких типов, которые широко применяются в индустрии:

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

    Материалы металлоизделий

    Большинство метизов производится из различных видов черного металла, включая:

    – Углеродистую сталь
    – Нержавеющую сталь
    – медно-цинковый сплав — реже, но используется в декоративных и специализированных соединениях.

    Каждый материал обладает своими особенностями: прочностью, коррозионной стойкостью, стоимостью и областью применения.

    Применение металлоизделий

    Метизы применяются в самых разных отраслях:

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

    Качество и стандарты

    Металлоизделия должны отвечать строгим техническим требованиям, таким как ГОСТ, DIN, ISO, которые регламентируют параметры:

    – габариты
    – Прочность [url=https://chanylib.ru/ru/forum/user/14650/]https://chanylib.ru/ru/forum/user/14650/[/url]
    – защиту от ржавчины

    Использование качественных метизов гарантирует надежность конструкции.

    Заключение

    Металлоизделия, или метизы, представляют собой неотъемлемую часть современного строительства и производства. Разнообразие видов, материалов и назначений делает их универсальным связующим элементом в различных сферах жизни и техники. При выборе метизов следует уделять внимание их качеству и соответствию стандартам, чтобы обеспечить долговременную и надежную эксплуатацию изделий и конструкций.

  23. Hey would you mind stating which blog platform you’re using?
    I’m looking to start my own blog in the near future but I’m having a difficult time
    deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems different then most
    blogs and I’m looking for something unique.
    P.S Apologies for being off-topic but I had to ask!

  24. CraigWed dice:

    Unm Pharm [url=https://unmpharm.com/#]Unm Pharm[/url] best prices on finasteride in mexico

  25. Helpful and concise writing. I feel more confident after reading this..

  26. Helpful and concise writing. Keep up the great work!

  27. Simple yet informative. 馃檪 Hope to see a follow-up soon.

  28. Very informative read.. The tips are actionable and clear..

  29. JosephDug dice:

    canadian neighbor pharmacy: Nyu Pharm – canada pharmacy world

  30. Kennethpem dice:

    Unm Pharm: medicine in mexico pharmacies – mexico drug stores pharmacies

  31. situs slot dice:

    Hey there would you mind stating which blog platform you’re working with?
    I’m going to start my own blog soon but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and
    Drupal. The reason I ask is because your
    design and style seems different then most blogs and I’m looking for something completely unique.
    P.S Sorry for being off-topic but I had to ask!

  32. DonaldHusia dice:

    Online poker games at PokerDom. Official website, current mirror sites https://pro-bono.kz/ru-kz/

  33. lie more profusely and adamantly.ラブドール 中古Lies are and always will be the number one tool of the malignant narcissist.

Responder a how does curex prevention plus plan prevent asthma development Cancelar respuesta