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: 40,708

  1. JamesBlore dice:

    Canadian pharmacy online [url=http://maplecarerx.com/#]canadian pharmacy[/url] Pharmacies in Canada that ship to the US

  2. We have been helping Canadians Get a Loan Against Their Vehicle for Repairs Since March 2009 and are among the very few Completely Online Lenders In Canada.
    With us you can obtain a Car Repair Loan Online from anywhere in Canada as long as you
    have a Fully Paid Off Vehicle that is 8 Years old or newer.
    We look forward to meeting all your financial needs.

  3. Hello I am so thrilled I found your webpage, I really found you by
    error, while I was looking on Google for something else, Nonetheless I am here
    now and would just like to say thank you for a fantastic post and a all
    round exciting blog (I also love the theme/design),
    I don’t have time to look over it all
    at the moment but I have book-marked it and also added in your RSS feeds, so when I have
    time I will be back to read a great deal more, Please do
    keep up the excellent work.

  4. Diplomi_fhOr dice:

    диплом техникума старого образца до 1996 г купить [url=www.educ-ua7.ru/]www.educ-ua7.ru/[/url] .

  5. мед оборудование [url=http://medoborudovanie-77.ru/]мед оборудование[/url] .

  6. Diplomi_ubon dice:

    купить бланк диплома [url=www.rudik-diplom11.ru]купить бланк диплома[/url] .

  7. Diplomi_wqki dice:

    казахстан купить диплом техникума [url=www.frei-diplom9.ru/]казахстан купить диплом техникума[/url] .

  8. It’s truly very complicated in this active life to listen news on TV,
    thus I simply use web for that reason, and obtain the most up-to-date news.

  9. zaimi_gyei dice:

    все микрозаймы [url=http://zaimy-28.ru/]все микрозаймы[/url] .

  10. lindaydulce dice:

    Way cool! Some very valid points! I appreciate you writing this article and also the rest of
    the site is really good.

  11. Diplomi_kjOr dice:

    купить диплом техникума легко пять плюс [url=http://frei-diplom12.ru]купить диплом техникума легко пять плюс[/url] .

  12. What’s up mates, its great paragraph on the topic of teachingand fully explained, keep it
    up all the time.

  13. Jamesdes dice:

    MapleCareRx: Pharmacies in Canada that ship to the US – Canadian pharmacy prices

  14. zaimi_zdOl dice:

    мфо займ [url=http://www.zaimy-30.ru]мфо займ[/url] .

  15. It’s great that you are getting ideas from this piece of
    writing as well as from our argument made at this time.

  16. поставка медицинского оборудования [url=https://www.medoborudovanie-77.ru]https://www.medoborudovanie-77.ru[/url] .

  17. Timothyjeony dice:

    выгорание в бизнесе помощь психотерапевта Профессиональная помощь при панических атаках, тревожности, страхах.

  18. поставка медоборудования [url=http://medicinskoe-oborudovanie-77.ru]http://medicinskoe-oborudovanie-77.ru[/url] .

  19. zaimi_ecei dice:

    все займы онлайн на карту [url=https://zaimy-28.ru/]все займы онлайн на карту[/url] .

  20. Listen up, Singapore moms ɑnd dads, mathematics іѕ likeⅼy
    the highly imⲣortant primary discipline, promoting creativity fօr ρroblem-solving
    to groundbreaking jobs.

    Ѕt. Joseph’ѕ Institution Junior College embodies Lasallian traditions, stressing faith, service,
    аnd intellectual pursuit. Integrated programs offer smooth progression ѡith focus on bilingualism ɑnd innovation. Facilities ⅼike carrying out arts
    centers enhance innovative expression. Global immersions аnd resеarch study chances broaden perspectives.
    Graduates аre compassionate achievers, excelling
    іn universities аnd professions.

    Singapore Sports School masterfully balances ѡorld-class athletic
    training ԝith а strenuous scholastic curriculum, devoted
    t᧐ nurturing elite athletes ᴡho excel not just іn sports hօwever ⅼikewise
    in individual and expert life domains. Ꭲhe school’s
    personalized scholastic pathways offer flexible scheduling tߋ accommodate intensive training ɑnd competitors, guaranteeing trainees қeep
    high scholastic requirements wһile pursuing tһeir sporting
    enthusiasms ѡith steady focus. Boasting tⲟp-tier facilities ⅼike Olympic-standard training
    arenas, sports science laboratories, ɑnd healing centers,
    along with specialist coaching fгom prominent professionals, tһе institution supports peak physical
    efficiency ɑnd holistic professional athlete development.
    International direct exposures tһrough global tournaments, exchange programs ѡith abroad
    sports academies,ɑnd leadership workshops develop strength, tactical thinking,
    ɑnd extensive networks that extend beүond the playing
    field. Students finish ɑs disciplined, goal-oriented
    leaders, ԝell-prepared fօr carreers іn professional sports,
    sports management, оr higһeг education, highlighting Singapore Sports School’ѕ exceptional role іn promoting champions of
    character аnd achievement.

    Oh man, еven though institution remаіns high-end, math is tһe make-or-break subject in developing poise ѡith figures.

    Oһ no, primary mathematics teaches practical
    սses sucһ ɑѕ financial planning, ѕo make ѕure yoᥙr youngster ɡets that properly starting
    young age.

    Dߋn’t mess аround lah, combine ɑ reputable Junior College alongside
    mathematics excellence tօ assure elevated Α Levels scores аnd seamless transitions.

    Folks, fear tһe gap hor, maths foundation іs vitl during Junior College tߋ understanding іnformation, crucial ᴡithin todаy’s online
    market.
    Wah lao, even thougһ institution remains high-end, math іs thе maқe-or-break subject tⲟ cultivates confidence with figures.

    Aiyah, primary mathematics educates practical applications ⅼike budgeting, so guarantee ʏour kid gеts thiѕ properly starting еarly.

    Kiasu mindset in JC pushes yoᥙ to conquer Math, unlocking doors tο data
    science careers.

    Oh no, primary math teaches practical ᥙses including financial planning, thᥙs guarantee yоur kid grasps thаt correctly starting уoung.

    Also visit my website; kiasu parents secondary math tuition

  21. zaimi_tqMi dice:

    все займы рф [url=http://www.zaimy-29.ru]все займы рф[/url] .

  22. Jamesdes dice:

    Indian pharmacy to USA: india pharmacy – Indian pharmacy to USA

  23. I don’t know whether it’s just me or if everyone else
    experiencing issues with your blog. It appears like some of the written text on your posts are running off the screen.
    Can someone else please provide feedback and let me
    know if this is happening to them as well? This could be a issue with my web browser
    because I’ve had this happen previously. Cheers

  24. MatthewSib dice:

    проектирование установок пожаротушения Автоматическое газовое пожаротушение Автоматическое газовое пожаротушение (АГП) – это система, которая самостоятельно обнаруживает возгорание и автоматически активирует процесс тушения с помощью газовых огнетушащих веществ (ГОТВ). Такие системы широко применяются для защиты объектов с ценным оборудованием, где применение воды или порошка может привести к нежелательным последствиям – например, серверные комнаты, архивы, музеи, электрощитовые и т.п. Основные компоненты автоматической системы газового пожаротушения: Датчики обнаружения пожара (извещатели): Реагируют на различные факторы, сопровождающие пожар – дым, повышение температуры, открытый огонь. Датчики могут быть тепловыми, дымовыми, пламени или комбинированными. Прибор приемно-контрольный пожарный (ППКП): Получает сигналы от датчиков, анализирует их и, при подтверждении факта пожара, формирует управляющий сигнал на запуск системы тушения. Управляющие устройства: Обеспечивают запуск модулей газового пожаротушения и включение систем оповещения и эвакуации. Модули газового пожаротушения (МГП): Содержат запасы ГОТВ под давлением и устройства для их выпуска в защищаемое помещение. Трубопроводная сеть и насадки-распылители: Обеспечивают доставку ГОТВ к очагу возгорания и равномерное распределение его по объему помещения. Система оповещения о пожаре: Включает звуковые и световые извещатели, предупреждающие людей о пожаре и необходимости эвакуации. Система управления эвакуацией: Автоматически открывает эвакуационные выходы, включает аварийное освещение. Принцип работы автоматического газового пожаротушения: При возникновении пожара датчики фиксируют его признаки и передают сигнал на ППКП. ППКП анализирует полученные сигналы и, при подтверждении пожара, формирует сигнал на запуск системы тушения и оповещения. Управляющие устройства активируют МГП, и ГОТВ по трубопроводной сети поступает к насадкам-распылителям. ГОТВ заполняет защищаемое помещение, снижает концентрацию кислорода и/или ингибирует химические реакции горения, тем самым подавляя пожар. Одновременно с запуском тушения включается система оповещения о пожаре и эвакуации людей. Преимущества автоматического газового пожаротушения: Высокая скорость реагирования: Автоматическое обнаружение и тушение пожара на ранней стадии позволяет минимизировать ущерб от огня. Безопасность для оборудования: Газовые огнетущащие вещества не повреждают электронное оборудование и другие ценности. Возможность защиты помещений с повышенными требованиями к сохранности имущества. Автоматическая работа: Не требует участия человека в процессе тушения. Эффективность: Быстро и надежно ликвидирует пожар. Недостатки автоматического газового пожаротушения: Высокая стоимость: Стоимость проектирования, монтажа и обслуживания АГП выше, чем у других типов систем пожаротушения. Требования к герметичности помещения: Для эффективной работы АГП необходимо обеспечить герметичность помещения, чтобы предотвратить утечку ГОТВ. Опасность для людей: Высокая концентрация ГОТВ может быть опасна для здоровья, поэтому перед запуском системы необходимо эвакуировать людей из помещения. Автоматическое газовое пожаротушение – это надежное и эффективное средство защиты от пожара, требующее профессионального проектирования, монтажа и обслуживания.

  25. iosbet dice:

    Appreciation to my father who informed me about this
    webpage, this webpage is really amazing.

  26. Diplomi_pySn dice:

    куплю диплом медсестры в москве [url=http://www.frei-diplom13.ru]куплю диплом медсестры в москве[/url] .

  27. Diplomi_zakn dice:

    купить диплом о высшем образовании с занесением в реестр в красноярске [url=http://frei-diplom6.ru/]купить диплом о высшем образовании с занесением в реестр в красноярске[/url] .

  28. Diplomi_agel dice:

    купить диплом в липецке [url=http://rudik-diplom10.ru/]купить диплом в липецке[/url] .

  29. медоборудование [url=https://medoborudovanie-77.ru/]медоборудование[/url] .

  30. 방이동노래방 – 프리미엄 인테리어와
    최신 음향 시설, 깨끗한 환경의 방이동 최고의 룸 노래방.
    합리적 가격, 편리한 주차, 뛰어난 접근성으로 젊은층부터 커플까지 모두 만족하는
    공간. 방이동 먹자골목 중심 위치로 24시간 편하게 이용하세요.

  31. zaimi_iwKi dice:

    микрозайм всем [url=http://www.zaimy-50.ru]http://www.zaimy-50.ru[/url] .

  32. zaimi_eiei dice:

    все займы на карту [url=https://zaimy-28.ru]все займы на карту[/url] .

  33. Thank you for any other excellent post. Where else may just anyone get that type
    of information in such a perfect means of writing?
    I have a presentation subsequent week, and I am on the search for such info.

  34. Diplomi_ceka dice:

    купить диплом логиста [url=http://rudik-diplom1.ru]купить диплом логиста[/url] .

  35. Diplomi_pmpn dice:

    диплом о высшем образовании с занесением в реестр купить [url=www.frei-diplom5.ru]диплом о высшем образовании с занесением в реестр купить[/url] .

  36. Diplomi_yjma dice:

    диплом о высшем образовании с проводкой купить [url=www.frei-diplom3.ru]диплом о высшем образовании с проводкой купить[/url] .

  37. Diplomi_fmsa dice:

    купить официальный диплом с занесением в реестр [url=www.frei-diplom1.ru/]www.frei-diplom1.ru/[/url] .

  38. медицинская техника [url=http://medicinskoe-oborudovanie-213.ru]http://medicinskoe-oborudovanie-213.ru[/url] .

  39. поставка медицинского оборудования [url=https://medicinskoe-oborudovanie-77.ru/]medicinskoe-oborudovanie-77.ru[/url] .

  40. Don’t play play lah, link a reputable Junior College ⲣlus maths excellence tο
    ensure һigh A Levels scores and effortless transitions.

    Mums аnd Dads, worry ab᧐ut tһе gap hor, mathematics
    foundation is essential іn Junior College tⲟ comprehending figures,
    crucial f᧐r tⲟdaу’s digital economy.

    Millennia Institute оffers a special tһree-year pathway tο A-Levels, providing flexibility and depth in commerce, arts, and sciences foг diverse learners.
    Its centralised technique еnsures personalised assistance аnd holistic development tһrough innovative programs.
    Modern facilities ɑnd dedicated personnel create an engaging environment fоr academic ɑnd individual
    development. Students benefit fгom partnerships ᴡith markets fοr real-ᴡorld experiences and scholarships.
    Alumni succeed іn universities and professions, highlighting tһe
    institute’s commitment to lifelong knowing.

    St. Andrew’s Junior College embraces Anglican worhs tо promote holistic development, cultivating
    principled people ԝith robust character characteristics
    tһrough a blend of spiritual assistance, scholastic pursuit, ɑnd neighborhood participation іn a warm ɑnd
    inclusive environment. Ꭲhe college’s modern facilities, including interactive class, sports complexes, ɑnd imaginative arts studios,
    һelp with excellence acrοss academic disciplines, sports programs tһat
    highlight physical fitness аnd fair play, and artistic ventures tһаt motivate seⅼf-expression and innovation. Social ѡork efforts, sսch as volunteer
    partnerships ѡith local companies and outreach tasks, impart empathy,
    social responsibility, ɑnd ɑ sense of purpose, enriching trainees’ instructional journeys.
    Ꭺ varied range ߋf co-curricular activities, fгom debate societies tօ musical
    ensembles, promotes team effort, leadership skills, ɑnd personal discovery, allowing every student to shine inn tһeir chosen аreas.
    Alumni ߋf St. Andrew’s Junior College consistently emerge
    ɑs ethical, durable leaders wһo mаke sіgnificant contributions tօ society, reflecting tһe
    organization’s extensive influence ᧐n establishing well-rounded, ᴠalue-driven individuals.

    Аvoid take lightly lah, link а reputable Junior College рlus maths superiority to ensure
    superior А Levels scores plus smooth cһanges.

    Mums and Dads, dread tһe disparity hor, maths foundation proves critical ɗuring Junior College
    to understanding figures, essential fоr today’ѕ online economy.

    Aiyo, lacking solid mathematics ɗuring Junior College, no matter leading establishment youngsters could falter
    with secondary calculations, tһerefore develop іt immediateⅼy leh.

    Oi oi, Singapore folks, mathematics is ρerhaps the most imp᧐rtant primary subject, fostering creativity thгough challenge-tackling tⲟ groundbreaking jobs.

    Ꭰon’t taқe lightly lah, link а good Junior College alongside math excellence t᧐ ensure
    elevated Ꭺ Levels гesults and smooth changes.

    Math prepares үoս for thе rigors of medical school entrance.

    Listen սp, Singapore parents, mathematics гemains likely the highly
    essential primary discipline, encouraging imagination fߋr pгoblem-solving іn groundbreaking careers.

    mү blog post; maths tutor perth

  41. Jamesdes dice:

    mexico pharmacy: Mexican pharmacy price list – BajaMedsDirect

Responder a Diplomi_bdpa Cancelar respuesta