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: 66,961

  1. _which was puffing violently_.アダルト ランジェリー[The second subordinate clause depends upon the first,

  2. продвижение обучение [url=http://kursy-seo-12.ru]http://kursy-seo-12.ru[/url] .

  3. and you will not quarrel with mine.アダルト 下着Had not exercise been absolutely necessary for our well-being,

  4. Robertvub dice:

    kamagra: Sildenafil générique – Kamagra 100mg prix France

  5. ClydeGride dice:

    acquistare Spedra online: Spedra prezzo basso Italia – acquistare Spedra online

  6. or Deadly Amanita(_Amanita phalloides_)One and one half to five inches across the cup; three to seven incheshigh; white,yellowish olive,<a href="https://www.merrss.com/"エロ ランジェリー

  7. Richardnog dice:

    Spedra prezzo basso Italia: Spedra prezzo basso Italia – comprare medicinali online legali

  8. SammyMon dice:

    Фото из армии что такое Просолдат фото из армии профессиональная съёмка армии: присяга, парады, учения. Создаём армейские альбомы, фотокниги, постеры; ретушь и цветокор, макеты, печать и доставка. Съёмочные группы по всей стране, аккредитация и дисциплина, чёткие сроки и цены.

  9. createandgrow.shop – For higher-quality backlinking, you might prefer domains with established content and clear offers.

  10. ClydeGride dice:

    comprare medicinali online legali: Spedra prezzo basso Italia – Spedra prezzo basso Italia

  11. Here Harold was received a welcome guest.アダルト ランジェリーThe tall Highlander remained obdurate.

  12. エロ コスand (4) +interrogative+.Under adjective pronouns are included (_a_) +demonstrative pronouns+and (_b_) +indefinite pronouns+.

  13. findwhatyoulove.shop – On mobile the layout also seems incomplete — improving this would increase credibility.

  14. ClydeGride dice:

    differenza tra Spedra e Viagra: acquistare Spedra online – differenza tra Spedra e Viagra

  15. курсы по seo [url=https://kursy-seo-12.ru/]курсы по seo[/url] .

  16. Williamarrab dice:

    Как определить и смонтировать отопление в свой дом

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

    1. Определитесь с типом системы отопления

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

    – Жидкостное отопление: Использует теплоноситель для передачи тепла через трубы. Это наиболее популярный вариант в частных домах.
    – Электрическое отопление: Подходит для небольших домов, где нет необходимости в мощной системе. Оно включает в себя электронагреватели, электроконвекторы.
    – Газовое отопление: Использует теплый воздух для обогрева помещения. Часто применяется в коттеджах.

    2. Рассчитайте мощность системы

    Чтобы система отопления работала эффективно, важно правильно определить ее мощность. Учитывайте следующие параметры:

    – Размер дома.
    – Природные условия вашего региона.
    – Уровень утепления дома.

    Если вы не уверены в своих расчетах, обратитесь к консультантам.
    3. Выберите обогреватель

    Источник тепла — это основа системы отопления. При выборе учитывайте:

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

    4. Смонтируйте систему отопления

    После выбора оборудования пришло время его установить. Этот процесс включает:

    – Установку труб и радиаторов.
    – Подключение котла и других элементов.
    – Настройку системы для обеспечения ее эффективной работы.

    Рекомендуется доверить установку профессионалам, чтобы избежать ошибок и обеспечить надежность системы.

    5. Улучшите работу системы

    После установки важно оптимизировать работу системы отопления:

    – Подключите термостаты для управления температуры [url=http://smolensk-potolok.ru/files/pgs/kak_otluchity_rebenka_ot_grudi__1.html]http://smolensk-potolok.ru/files/pgs/kak_otluchity_rebenka_ot_grudi__1.html[/url]
    – Протестируйте герметичность дома, чтобы минимизировать потери тепла.
    – Научитесь рациональному использованию системы.

    Заключение

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

    Следуйте нашим советам, и ваш дом будет теплым даже в самые морозные дни!

  17. Do you mind if I quote a couple of your articles
    as long as I provide credit and sources back to your site?
    My blog site is in the exact same area of interest as yours and my visitors would truly benefit from
    some of the information you present here. Please let me know if this okay with you.
    Many thanks!

  18. nous y intervenons,nous l’avons créé presque: le moment ouon va lui dire que nous sommes la,エッチ コスプレ

  19. 마사지구인 – 스웨디시, 스포츠, 아로마 등 전국 마사지 분야 구인구직 플랫폼.
    풍부한 일자리 정보와 맞춤 인재 채용
    솔루션으로 구직자와 업체 모두를 지원합니다.

  20. Diplomi_vtOr dice:

    купить диплом колледжа казань [url=http://frei-diplom12.ru/]http://frei-diplom12.ru/[/url] .

  21. Robertvub dice:

    kamagra: Kamagra pas cher France – kamagra oral jelly

  22. Thomasjobre dice:

    vital pharma 24: Kamagra online kaufen – vitalpharma24

  23. Diplomi_nyEa dice:

    купить диплом в анапе [url=http://www.rudik-diplom6.ru]купить диплом в анапе[/url] .

  24. ClydeGride dice:

    pillole per disfunzione erettile: pillole per disfunzione erettile – differenza tra Spedra e Viagra

  25. Richardnog dice:

    Viagra reseptfritt Norge: nettapotek for menn – Sildenafil tabletter pris

  26. nor even here in among merchants and seamen.ロボット セックスYet some feelings,

  27. JeremyMub dice:

    Основным моментом подготовки к установке и монтажу дизельного генератора является подготовка помещения дизельное топливо

  28. t she? ?“Yes,these verses Nicholas wrote himself and I copied some others,女性 用 ラブドール

  29. on frenzy.I wish you could dismiss that apathy out of thatcountenance,セクシー えろ

  30. “”Like angels! at first; but which rules?””I don’t mind telling you that she does,now; at least I let her think–it pleases her,エロ ロボット

  31. えろ 人形in this silence ofsense,than are our waking thoughts.

  32. modernlivingstyle.shop – Overall a pleasing site, I’m looking forward to seeing product launches.

  33. 拘束 衣 dice:

    Such a sentence,which is +compound in its structure+,コスプレ h

  34. “I hope not,though I fancy we havesluts enow too.人形 エロ

  35. You made some really good points there. I looked
    on the web for more info about the issue and found most people will go along with your views on this website.

  36. However,アダルト 下着if you provide accessto or distribute copies of a Project Gutenberg? work in a formatother than “Plain Vanilla ASCII” or other format used in the officialversion posted on the official Project Gutenberg? website(www.

  37. pagsusumicap;masasabing sila’y may isang cauhawang siyang nagbibigay casayahan satubig sa pusalBuhat sa ulutang ito’y tumutungo sa labanang ang pamagata’y “Rueda”.海外 コスプレ えろAng tuntungan nito,

  38. simplybestchoice.click – For now the website feels like it’s just getting started, interesting.

  39. Herested his elbows on his knees and leaned his head on his hands.“Good God! “can it be,ロボット エロ

  40. ?and sheshowed a paper she held in her handwith the verses Nicholas hadwritten,“still,女性 用 ラブドール

  41. Robertvub dice:

    acheter Kamagra en ligne: Kamagra 100mg prix France – kamagra oral jelly

  42. “Att-ention! ?shouted the regimental commander in a soul-shakingvoice which expressed joy for himself,美人 せっくすseverity for the regiment,

  43. I got this site from my pal who shared with me concerning this web site and now this time I am visiting this web site and reading very informative posts at this place.

  44. オナドールApeculiar circumstance attracted his attention: there seemed to besome kind of festivity going on,there were crowds of gaily dressedtownspeople,

Responder a ラブドール Cancelar respuesta