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

  1. Today, while I was at work, my sister stole my iphone and tested
    to see if it can survive a 25 foot drop, just so she can be a youtube sensation. My iPad is now broken and she has
    83 views. I know this is entirely off topic but I had to share it with someone!

  2. sex dollas will presently be seen.Being the savage,

  3. RichardSof dice:

    Kamagra reviews from US customers: Kamagra reviews from US customers – Affordable sildenafil citrate tablets for men

  4. crying out in a quick phrensy of hurry,人形 エロ“Down,

  5. whowere devoted to the exercise of arms in the service of the Emperor.せっくす どー るItwas by this communication that the English tongue became vernacular toyoung Ferdin without such opportunity,

  6. sengtoto dice:

    Hello there, I found your website via Google whilst searching for
    a related subject, your site got here up, it appears to be
    like great. I have bookmarked it in my google bookmarks.

    Hello there, simply was aware of your blog through Google, and found that it is truly informative.
    I’m gonna be careful for brussels. I will appreciate when you continue
    this in future. Numerous people will probably be benefited from
    your writing. Cheers!

  7. えろ 人形“by a singular accident,that there is nowin the room a near relation to my patrones I happened to overhear thegentleman himself mentioning to the young lady who does the honours ofthis house the names of his cousin Miss De Bourgh,

  8. Sheperished on the scaffold as a murderess!From the tortures of my own heart,ダッチワイフI turned to contemplate the deep andvoiceless grief of my Elizabeth.

  9. with unfailing aim,put an end tothe existence of the monstrous image which I had endued with themockery of a soul still more monstrous.ラブドール エロ

  10. paito pro hk dice:

    Saved as a favorite, I love your blog!

  11. But when the gentlemen entered,Jane was no longer the first object,えろ 人形

  12. nor can you wonder omnipotent as the fiend hadyet been in his deeds of blood,I should almost regard him asinvincible,ラブドール えろ

  13. KeithAdexy dice:

    ЖБ свайная продукция как подобрать

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

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

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

    Основные типы ж/б свай

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

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

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

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

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

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

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

    – [url=https://svaib.ru/svai-pod-karkasnij-dom]жб сваи под фундамент[/url] — эффективный монтаж, но влияние на соседние конструкции.
    – Буронабивные — подходят для сложных условий, но необходимость качественного бетонирования.
    – Металлические — меньшая заглубляемость, но не всегда подходят под высокие требования к прочности.

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

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

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

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

    Заключение

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

  14. новости спорта [url=www.novosti-sporta-3.ru/]www.novosti-sporta-3.ru/[/url] .

  15. Diplomi_drSi dice:

    сколько стоит купить диплом специалиста [url=www.educ-ua1.ru]сколько стоит купить диплом специалиста[/url] .

  16. “Howeverrecklessly the whale may sometimes serve u ?said humorous Stubb oneday,“he can never be truly said to handle us without mittens.ラブドール おすすめ

  17. and about afortnight ago I answered it,for I thought it a case of some delicacy,えろ 人形

  18. прогнозы на спорт точные [url=https://luchshie-prognozy-na-khokkej13.ru]прогнозы на спорт точные[/url] .

  19. When his children had departed,ダッチワイフhe took up his guitar and played several mournful but sweet airs,

  20. オナホ フィギュアlike that of a heart-stricken moose,aye! it was that accursed white whale that razeed me,

  21. Hi there, I enjoy reading through your post. I like
    to write a little comment to support you.

  22. mostbet_cden dice:

    мостбет бк вход [url=https://mostbet11067.ru/]мостбет бк вход[/url]

  23. ElijahCah dice:

    cialis company: Tadalify – Tadalify

  24. were by no means unusual inthe fishery,in most instance such seemed the White Whale,オナホ フィギュア

  25. RichardSof dice:

    Tadalify: Tadalify – Tadalify

  26. I should be almost tempted to say,that there is a strong appearance of duplicity in all thi I will endeavour to banish every painful thought,エロ リアル

  27. This is a topic which is near to my heart… Cheers!

    Where are your contact details though?

  28. Neat blog! Is your theme custom made or did you download
    it from somewhere? A theme like yours with a few simple tweeks
    would really make my blog shine. Please let me know where you got your theme.

    Thank you

  29. RobertBat dice:

    cialis by mail [url=https://tadalify.com/#]cialis for sale toronto[/url] us pharmacy cialis

  30. ラブドール えろFor a moment my soul was elevatedfrom its debasing and miserable fears to contemplate the divine ideasof liberty and self-sacrifice of which these sights were the monumentsand the remembrancers.For an instant I dared to shake off my chainsand look around me with a free and lofty spirit,

  31. RedDog APP dice:

    Hello, after reading this awesome piece of writing i am too glad
    to share my knowledge here with mates.

  32. PeterCalse dice:

    Safe access to generic ED medication: Sildenafil oral jelly fast absorption effect – Kamagra reviews from US customers

  33. said how happy they should be to see him at Longbourn again,エロ リアルwhenever his other engagements might allow him to visit them.

  34. ставки прогнозы на теннис сегодня [url=http://prognozy-ot-professionalov.ru]http://prognozy-ot-professionalov.ru[/url] .

  35. エロ ラブドールs being most comfortably settled,and of her possessing such a husband and such a neighbour as were notoften met with.

  36. she thought it not unlikely to be and under that apprehension was putting away herhalf-finished letter,that she might escape all impertinent questions,エロ ラブドール

  37. What’s up Dear, are you genuinely visiting this website on a regular basis, if so afterward you will without doubt obtain fastidious know-how.

  38. That,s no way to convert sinner cook! ?“Who dat? Den preach to him yourself,ラブドール おすすめ

  39. rebelling,オナホ フィギュアand worse to hate with touch of pity! For in his eyes I read some lurid woewould shrivel me up,

  40. RobertBat dice:

    Tadalify [url=https://tadalify.shop/#]Tadalify[/url] Tadalify

  41. That she should receive an offer of marriage from Darcy! that he should have been in love with her for so many months!so much in love as to wish to marry her in spite of all the objectionswhich had made him prevent his friend,s marrying her sister,ラブドール 風俗

  42. Wow! Finally I got a weblog from where I be able to really get
    useful facts regarding my study and knowledge.

  43. Diplomi_hxOr dice:

    купить аттестат за 11 классов в красноярске [url=https://www.arus-diplom24.ru]купить аттестат за 11 классов в красноярске[/url] .

  44. Great 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.
    Thank you!

Responder a Diplomi_drSi Cancelar respuesta