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: 113,158

  1. Amazing! This blog looks just like my old one! It’s on a entirely different topic but
    it has pretty much the same layout and design. Excellent choice of colors!

  2. G28.COM dice:

    We stumbled over here coming from a different web address and
    thought I might as well check things out. I like what I see
    so now i’m following you. Look forward to looking at your web page again.

  3. bandar slot dice:

    Howdy! This post couldn’t be written any better!
    Reading through this post reminds me of my good old room
    mate! He always kept chatting about this. I will forward this post to him.
    Pretty sure he will have a good read. Thanks for sharing!

  4. DelmarerypE dice:

    https://umassindiapharm.xyz/# online shopping pharmacy india

  5. JosephDug dice:

    canadian pharmacy 365: canadian pharmacy prices – buy canadian drugs

  6. CraigWed dice:

    Unm Pharm [url=https://unmpharm.xyz/#]Unm Pharm[/url] Unm Pharm

  7. Attractive component of content. I just stumbled upon your site
    and in accession capital to assert that I get actually loved account
    your blog posts. Anyway I’ll be subscribing for your augment
    and even I achievement you get admission to persistently quickly.

  8. Heya i’m for the first time here. I found this board and I find It really useful
    & it helped me out a lot. I’m hoping to present something again and aid others like you aided me.

  9. rtp dice:

    Howdy, There’s no doubt that your blog may be having web browser compatibility issues.

    When I take a look at your site in Safari, it looks fine but when opening in Internet Explorer,
    it’s got some overlapping issues. I simply wanted to provide you
    with a quick heads up! Other than that, excellent website!

  10. CraigWed dice:

    Unm Pharm [url=https://unmpharm.xyz/#]buy antibiotics from mexico[/url] Unm Pharm

  11. CraigWed dice:

    canada pharmacy online [url=https://nyupharm.com/#]canadian pharmacies[/url] cross border pharmacy canada

  12. Thanks for sharing your thoughts on addictiontreatments101.com.
    Regards

  13. JosephDug dice:

    buy drugs from canada: Nyu Pharm – cheap canadian pharmacy

  14. I’m more than happy to find this page. I
    wanted to thank you for ones time for this fantastic read!!
    I definitely really liked every part of it and i also have you saved as a favorite to see new information in your site.

  15. It’s a shame you don’t have a donate button! I’d most certainly donate to
    this superb blog! I guess for now i’ll settle for book-marking and
    adding your RSS feed to my Google account. I look forward to new updates and
    will share this site with my Facebook group. Chat soon!

  16. boyarka dice:

    Thanks for finally talking about >Infraestructura
    como código – Politraining <Loved it! http://boyarka-inform.com/

  17. Quality posts is the key to invite the people to visit the web
    page, that’s what this website is providing.

  18. Ahaa, its fastidious discussion about this piece of writing here at
    this weblog, I have read all that, so at this time me also commenting at
    this place.

  19. Actually when someone doesn’t know after that its up to
    other visitors that they will help, so here it occurs.

  20. bk8thai dice:

    Sweet blog! I found it while surfing around on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there!
    Thanks

  21. bk8thai dice:

    Pretty nice post. I just stumbled upon your blog and wanted
    to say that I have really enjoyed browsing
    your blog posts. In any case I will be subscribing to your feed and I hope you write again very soon!

  22. bk888 dice:

    I must thank you for the efforts you have put in penning this website.

    I really hope to check out the same high-grade content from you in the future as
    well. In fact, your creative writing abilities has encouraged me to get my own website now
    😉

  23. Hermanacurl dice:

    Как выбрать деревянные балясины для лестниц из дерева

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

    Основные критерии выбора деревянных балясин
    1. Материал и порода древесины

    При покупке держателей важно учитывать породу дерева. Различают мягкие и твердые породы:

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

    Выбор зависит от назначения и бюджета.

    2. Форма и дизайн балясин

    Сегодня существует множество вариантов формы балясин:

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

    Важно, чтобы форма соответствовала архитектуре дома и общей стилистике интерьера.

    3. Размер и пропорции

    Обратите внимание на длину и толщину балясин. Они должны быть пропорциональны ширине лестницы и перил:

    – Оптимальная высота — от 80 до 110 см.
    – Толщина зависит от дизайна, обычно от 4 до 10 см.
    – Балясины не должны выглядеть слишком массивными или слишком тонкими, чтобы не потерять устойчивость и гармонию.

    4. Качество обработки и отделка

    Проверяйте качество шлифовки и ровность поверхности. Отделка может быть:

    – Лакированной — создает защитный слой, подчеркивает натуральную красоту дерева.
    – матовой — сохраняет естественную структуру, без блеска.
    – Покраской — для дополнительной защиты и декора.

    Важно, чтобы покрытие было равномерным и долговечным.

    5. Способы крепления и монтаж

    Балясина должна надежно фиксироваться к ступеням и перилам. Существуют разные технологии:

    – Врезка в ступень и перила.
    – Крепление на специальные крепежные элементы.
    – Универсальные системы сборки.

    Выбор способа зависит от конструкции лестницы и предпочтений.

    Дополнительные рекомендации

    – Подберите балясины, которые будут сочетаться с материалом и цветом ступеней, перил [url=https://ekolestnica.ru/mebelnyj-shhit-v-lipecke.html]щит мебельный купить в липецке[/url]
    – Обратите внимание на вес изделия — тяжелые балясины лучше устойчивы, но требуют прочного основания.
    – Если планируется самостоятельный монтаж, выбирайте модели с простой системой крепления.
    – Для outdoor-лестниц используйте балясины с защитой от влаги и перепадов температуры.

    Итог

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

    Если нужна помощь с подбором или совет по установке — обращайтесь, с удовольствием помогу!

  24. bk888 dice:

    Magnificent goods from you, man. I’ve keep in mind
    your stuff prior to and you are simply extremely magnificent.
    I actually like what you have received here, really like what you are saying and the best way by which you say
    it. You are making it entertaining and you continue to take care of to
    stay it wise. I can not wait to learn far more from you. That is really a terrific web site.

  25. 대전출장마사지(대전출장홈타이) 24시 연중무휴 운영!
    아로마·스포츠·발마사지 등 대전 홈타이 출장 서비스로,
    대전시 전지역 남녀노소 누구나 자택이나 호텔 등

  26. Cazrurw dice:

    [b]Диплом специалиста[/b]. Мы изготавливаем дипломы психологов, юристов, экономистов и любых других профессий по приятным тарифам: [url=http://nonoclick.com/read-blog/45916_kupit-diplom-vuza.html/]nonoclick.com/read-blog/45916_kupit-diplom-vuza.html[/url]

  27. Hi there! This is my first visit to your blog! We are a group of
    volunteers and starting a new initiative in a community in the same
    niche. Your blog provided us valuable information to work on. You have done a wonderful
    job!

  28. I do not even know how I ended up here, but I thought this post was good.
    I do not know who you are but definitely you’re going to a famous blogger
    if you are not already 😉 Cheers!

  29. JosephDug dice:

    Unm Pharm: Unm Pharm – finasteride mexico pharmacy

  30. Cazrysa dice:

    Приобрести диплом о высшем образовании поспособствуем. Мы поможем купить диплом юриста – [url=http://diplomybox.com/diplom-yurista/]diplomybox.com/diplom-yurista[/url]

  31. CraigWed dice:

    canadian family pharmacy [url=https://nyupharm.xyz/#]reliable canadian pharmacy[/url] canadian neighbor pharmacy

  32. Why people still make use of to read news papers when in this technological world everything is existing
    on web?

  33. I’ve been exploring for a bit for any high-quality articles or blog posts in this sort of area .
    Exploring in Yahoo I at last stumbled upon this website.
    Studying this information So i am happy to show that I have a very good uncanny feeling I found out exactly what I needed.
    I most unquestionably will make certain to do not forget this site and give it a look regularly.

  34. Please let me know if you’re looking for a article author for your site.
    You have some really great posts and I think I would be a good asset.
    If you ever want to take some of the load off, I’d absolutely love to write some content for your blog
    in exchange for a link back to mine. Please send me an e-mail if interested.

    Many thanks!

  35. If some one needs to be updated with latest technologies afterward he must be visit this web page and be up to date all the time.

  36. Have you ever thought about creating an ebook or guest authoring on other websites?
    I have a blog based on the same ideas you discuss
    and would really like to have you share some stories/information. I know my audience would value your work.
    If you’re even remotely interested, feel free to send me an e mail.

  37. Right away I am going to do my breakfast, after having my breakfast coming again to
    read additional news.

  38. Hey there exceptional website! Does running a blog similar to this
    take a massive amount work? I have virtually no understanding of programming but
    I had been hoping to start my own blog soon. Anyhow, should you have
    any recommendations or techniques for new blog owners please share.

    I understand this is off topic but I simply had to ask.
    Thanks!

  39. ThomasHaw dice:

    проверить сайт [url=https://captcha-krab2.cc]вход[/url]

Responder a addictiontreatments101.com Cancelar respuesta