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: 27,213

  1. vui123world dice:

    Hi, I do think this is a great site. I stumbledupon it
    😉 I may return once again since i have book-marked
    it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.

  2. 비아그라 구매를 고려하고 계신가요? 이 가이드는 비아그라 구매 방법부터 가격 정보, 처방전 없이 구입 가능 여부, 그리고 정품
    구별법까지 한 번에 정리했습니다.

  3. It’s an remarkable paragraph for all the internet viewers; they will take benefit from it I am sure.

  4. Danielrob dice:

    http://kamameds.com/# Sildenafil oral jelly fast absorption effect

  5. купить диплом зарегистрированный в реестре [url=https://arus-diplom34.ru/]https://arus-diplom34.ru/[/url] .

  6. The website Giai Tri focuses on Thai entertainment.
    This includes news about Phim, Phim Bo, and Le, Phim.

    A person can interact with other members on their forum.
    The members are always up-to-date on the newest entertainment news.

  7. RichardSof dice:

    Tadalify: cialis indien bezahlung mit paypal – canadian cialis 5mg

  8. Howdy excellent website! Does running a blog such as this require a lot of work?
    I have very little knowledge of computer programming but I was hoping to start my own blog in the near future.
    Anyway, should you have any recommendations or
    techniques for new blog owners please share.
    I know this is off topic nevertheless I simply wanted
    to ask. Thank you!

  9. Hi my loved one! I want to say that this article is awesome,
    nice written and include almost all significant infos.
    I’d like to peer extra posts like this .

  10. Great information. Lucky me I came across
    your website by chance (stumbleupon). I have saved as a favorite for later!

  11. coupon codes dice:

    Hello mates, its great post on the topic of cultureand completely defined, keep it up all the time.

  12. RobertBat dice:

    Tadalify [url=https://tadalify.com/#]Tadalify[/url] typical cialis prescription strength

  13. Hi there exceptional website! Does running a blog like this take a lot of work?
    I’ve very little understanding of programming however I was hoping to start my own blog soon. Anyway, should you have any recommendations or techniques
    for new blog owners please share. I know this is off topic
    however I simply had to ask. Thanks!

  14. Superb post however I was wondering if you could write a litte more on this
    subject? I’d be very thankful if you could elaborate a little bit more.
    Thanks!

  15. Have you ever considered creating an ebook or guest authoring on other sites?

    I have a blog based on the same subjects you discuss and
    would really like to have you share some stories/information. I know
    my subscribers would enjoy your work. If you’re even remotely interested, feel free to send me an email.

  16. ElijahCah dice:

    sildenafil 20mg coupon discount: viagra prescription medicine – can you buy real viagra online

  17. I’m more than happy to find this page. I want to to thank you for
    your time due to this fantastic read!! I definitely enjoyed every little bit of it and i also have
    you book marked to check out new information on your site.

  18. sport bets [url=http://sportbets32.ru]http://sportbets32.ru[/url] .

  19. Oh my goodness! Impressive article dude! Many thanks, However I am encountering problems with your RSS.
    I don’t understand the reason why I am unable to join it.
    Is there anybody else getting identical RSS issues?
    Anyone who knows the solution will you kindly respond?
    Thanx!!

  20. Spot on with this write-up, I actually think this site needs much more
    attention. I’ll probably be back again to read through more, thanks for
    the information!

  21. PeterCalse dice:

    Tadalify: Tadalify – cialis cost per pill

  22. … [Trackback]

    […] Find More on that Topic: politraining.upiita.ipn.mx/infraestructura-como-codigo/ […]

  23. What a material of un-ambiguity and preserveness of
    precious knowledge concerning unexpected emotions.

  24. RichardSof dice:

    Tadalify: cialis tablets – Tadalify

  25. Way cool! Some extremely valid points! I appreciate you penning this post plus the rest of the site is very good.

  26. Whoa! This blog looks exactly like my old one! It’s on a totally different subject
    but it has pretty much the same layout and design. Wonderful choice of colors!

  27. sport bets [url=https://sportbets31.ru/]sportbets31.ru[/url] .

  28. KeithAdexy dice:

    железобетонные сваи как выбрать

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

    Почему выбор важен

    Правильный типология опор влияет на устойчивость конструкции, на стоимость и на темп строительства. Ошибочный выбор может привести к непредвиденным работам и дополнительным тратам.

    Основные типы ж/б свайных элементов

    – Сваи-стойки забивные и винтовые — применяются для разных грунтов.
    – Забивные сваи из ж/б — классический вариант для нестискаемых грунтов.
    – Свайные буронабивные элементы используются там, где нельзя забивать.

    Ключевые параметры при выборе

    – Грузоподъемность, то есть сколько килограмм свая выдержит.
    – Длина — зависит от глубины залегания несущих слоев.
    – Толщина — влияет на устойчивость.
    – Марка раствора (например B20, B25) и сталь — важны для долговечности.
    – Схема армирования — количество и диаметр арматуры определяют устойчивость.
    – Обработка поверхности — влияет на коррозионную стойкость.
    – Сертификаты качества — наличие сертификатов подтверждает безопасность.

    Как определять нужные параметры

    1. Проведите геотехническое обследование — геотехнический анализ даст данные о глубине залегания.
    2. Оцените нагрузки от постройки — постоянные и временные напряжения.
    3. Выберите длину и диаметр с запасом по безопасности.
    4. Учитывайте уровень промерзания в вашем регионе.

    5. Посоветуйтесь с инженером-строителем для проектных решений.

    Преимущества и недостатки популярных вариантов

    – [url=https://svaib.ru/fundament-na-gbsvayah-kirpichniy-dom]размеры жб свай[/url] — оперативная постановка, но влияние на соседние конструкции.
    – Буронабивные — отсутствие вибрации, но длительнее монтаж.
    – Комбинированные — подходят для легких конструкций, но не всегда подходят под тяжелые здания.

    Покупка и монтаж

    – Работайте с надежными поставщиками с сертификатами.
    – Убедитесь в наличии всех элементов — наличие маркировки важно.
    – Обращайтесь к специалистам с рекомендациями и спецтехникой.
    – Контроль монтажа — проверяйте вертикальность и соблюдение технологии.

    Экономические аспекты

    – Стоимость зависит от диаметра и от сложности работ.
    – Сравнивайте предложения от нескольких поставщиков.
    – Проверяйте гарантию и возможность замены.

    Заключение

    Выбор ж/б опор требует серьезного подхода. Проводите аналитику грунта, рассчитывайте проектные величины, и обращайтесь к специалистам. Тогда вы получите надежный фундамент и стабильность на долгие годы.

  29. Excellent beat ! I wish to apprentice at the same time as you amend your website,
    how can i subscribe for a weblog web site?
    The account helped me a applicable deal. I have been tiny bit familiar of this your broadcast provided brilliant transparent concept

  30. slot mpo8080 dice:

    Hi, i read your blog from time to time and i own a similar one and i was just curious if you get
    a lot of spam feedback? If so how do you stop it, any plugin or anything you can recommend?
    I get so much lately it’s driving me crazy so any help is very much appreciated.

  31. LouisGralf dice:

    New sweeps platforms are rising as one favored option for players who prefer regulated methods to participate in gaming titles. This article describes how these operators perform and what sets them appealing to contemporary players.

    How they work

    Promo casinos adopt digital tokens to enable users to participate in table games without real staking of currency. These credits can often be converted for payouts under set terms. The model depends on marketing plans that adhere with gaming rules in many locations [url=https://locustglen.com/]sweepstake casinos[/url]

    Benefits for players

    Players value the low-risk setting where they can explore popular reels and card games without heavy monetary loss. Many upcoming promo platforms also supply generous bonuses such as bonus rounds and additional points to assist user retention.

    Key things to consider

    When selecting a sweeps operator, ensure license validity and read the policies for withdrawal credits. Look for clear reward procedures, random software function, and dependable service. Also evaluate the availability of the site in your jurisdiction.

  32. Braklevix dice:

    Oh my goodness! Amazing article dude! Thank you so much,
    However I am experiencing problems with your RSS. I don’t
    understand why I can’t join it. Is there anyone else getting identical RSS issues?

    Anybody who knows the solution can you kindly
    respond? Thanx!!

  33. Sazrqhm dice:

    Купить диплом на заказ в Москве можно используя сайт компании. [url=http://щербиновскийрайон.рф/users/160/]щербиновскийрайон.рф/users/160[/url]

  34. site dice:

    Do you mind if I quote a few of your posts as long as I provide
    credit and sources back to your website? My website is in the exact
    same niche as yours and my visitors would certainly benefit from a lot of the information you provide here.
    Please let me know if this alright with you. Many thanks!

  35. ElijahCah dice:

    Kamagra oral jelly USA availability: Fast-acting ED solution with discreet packaging – KamaMeds

  36. где купить аттестат за 10 11 [url=www.arus-diplom21.ru/]где купить аттестат за 10 11[/url] .

  37. I used to be able to find good information from your
    blog articles.

  38. Hi there, just wanted to mention, I liked this blog post.
    It was practical. Keep on posting!

  39. winbet299 dice:

    Hi there to all, the contents present at this website are actually amazing for people knowledge, well, keep up
    the good work fellows.

  40. e visa egypt dice:

    I must thank you for the efforts you have put in penning this blog.
    I am hoping to check out the same high-grade blog posts from you
    in the future as well. In fact, your creative writing abilities has motivated
    me to get my own website now 😉

  41. “How nicely we are crammed in! ?cried Lydia.ラブドール 風俗“I am glad I brought mybonnet,

  42. Valtrixio dice:

    If you would like to grow your familiarity just keep visiting this site and be updated with the hottest gossip posted here.

  43. 人形 エロwhen thecaptain is rowed anywhere in his boat,he always sits in the sternsheets on a comfortable,

  44. roofers dice:

    Hello everyone, it’s my first pay a quick visit
    at this web site, and article is really fruitful for me, keep up posting these posts.

Responder a vui123world Cancelar respuesta