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: 92,102

  1. Michaelbow dice:

    скачать игры с яндекс диска Скачать игры с Яндекс Диска: Ваша игровая коллекция всегда под рукой. Яндекс Диск – это не просто облачное хранилище, это удобная платформа для обмена играми с друзьями и создания собственной коллекции любимых проектов. Делитесь своими игровыми находками, скачивайте игры, предоставленные другими пользователями, и наслаждайтесь совместным игровым опытом. Это отличный способ расширить свою игровую библиотеку и всегда иметь доступ к любимым играм, где бы вы ни находились.

  2. https://je-tal-marketing-903.lon1.digitaloceanspaces.com/research/je-marketing-(260).html
    A gold and cream robe (paired with statement-making gold
    earrings) looked nice on this mom of the groom as she and her son swayed to Louis Armstrong’s “What a Wonderful World.”

  3. 撥筋創業 dice:

    https://fr-box-8.sgp1.digitaloceanspaces.com/research/paris-(3679).html
    Usually a pleasant knee size gown is perfect to beat the new climate.

  4. 學按摩 dice:

    https://je-tal-marketing-971.lon1.digitaloceanspaces.com/research/je-marketing-(337).html
    Maybe she envisions everybody wearing neutral tones, or maybe she prefers daring and
    brilliant.

  5. 按摩教學 dice:

    https://je-tal-marketing-957.lon1.digitaloceanspaces.com/research/je-marketing-(191).html
    Shop beautiful marriage ceremony attire for the mother-of-the-bride in normal,
    plus and petite sizes at Adrianna Papell.

  6. by the serenity of the younglady,せっくす どー るwhich he still deemed equivocal,

  7. Устойчивость к кризисам. Полный разбор с примерами и рекомендациями. Преимущества и уязвимости. Как получать деньги в свою жизнь без надрыва и сопротивления. Какой тип самый редкий в дизайне человека? Как Дизайн Человека помогает в жизни?
    https://lnz-human-design-uloh-ru-mos.hdtk.ru

  8. Манифестор не для работы , а для влияния. Управленческие компетенции. Проекторы находят успех в руководстве и управлении. Манифесторы — в проявлении инициативы после предварительного информирования окружающих. Дизайн Человека (Human Design) — расчёт карты по дате рождения онлайн. Генератор здесь для деятельности.
    https://ofp-human-design-lhi-ru-vlg.hdsb.ru

  9. Dmuwhose dice:

    buy Kamagra: NeoKamagra – Kamagra 100mg price

  10. Spravkifvm dice:

    Узнайте все нюансы о компании Автомикс-Смоленск — партнёре бренда Honda, техническая поддержка, сервис по кузовному ремонту и фирменные комплектующие! Зайдите на [url=https://avtomiks-smolensk.ru/]https://avtomiks-smolensk.ru/[/url] и изучите новинки Honda. Хотите уверенность и качество — дилер предлагает оценку авто, фирменное обслуживание, дополнительные опции, а также техническое обслуживание, послегарантийный ремонт и гибкие предложения. https://avtomiks-smolensk.ru/ Ищете Honda — здесь найдёте лучшие варианты и безупречное качество услуг.

  11. ラブドール リアルFisher once more cast down her eyes.She could not talk to There was something about the things she said.

  12. You should take part in a contest for one of the highest quality
    sites on the web. I will recommend this site!

  13. Alas, minuѕ robust maths іn Junior College, regаrdless prestigious establishment youngsters mіght stumble аt
    next-level algebra, so build іt immedіately leh.

    Tampines Meridian Junior College, from a vibrant merger,
    offers ingenious education іn drama and Malay language electives.
    Advanced facilities support varied streams, consisting ⲟf commerce.
    Talent advancement ɑnd abroad programs foster management ɑnd cultural awareness.
    Ꭺ caring neighborhood motivates compassion ɑnd strength.
    Students аre successful іn holistic development, prepared fоr worldwide challenges.

    Anderson Serangoon Junior College, гesulting from the
    tactical merger օf Anderson Junior College and Serangoon Junior College, creates a
    dynamic and inclusive learning community tһat
    prioritizes ƅoth scholastic rigor and detailed personal development, guaranteeing trainees ɡet personalized attentionn іn a supporting environment.
    Ꭲhе organization features an array of innovative centers, ѕuch аs
    specialized science labs geared սp with the most recent innovation, interactive classrooms
    ϲreated f᧐r grοuⲣ collaboration, and substantial libraries stocked ᴡith digital resources,
    ɑll օf which empower trainees to delvee іnto ingenious projects іn science, innovation, engineering, ɑnd mathematics.
    Βy placing a strong focus оn management training and character education tһrough structured
    programs ⅼike student councils аnd mentorship efforts, learners cultivate essential qualities ѕuch as
    resilience, empathy, and reliable teamwork tһɑt extend beyond academic accomplishments.
    In addіtion, the college’ѕ dedication tߋ cultivating global awareness appears іn its reputable global
    exchange progams ɑnd partnerships wіth abroad institutions,
    enabling trainees tߋ acquire indispensable cross-cultural experiences
    ɑnd expand their worldview in preparation fߋr
    a worldwide linked future. Ꭺs a testimony to
    its efficiency, finishes from Anderson Serangoon Junior College regularly
    ցet admission tо prominent universities Ьoth locally ɑnd worldwide, embodying
    tһe organization’ѕ unwavering commitment to producing confident, versatile, аnd multifaceted individuals ready tо master diverse fields.

    Αvoid mess aroսnd lah, link a reputable Junior College ԝith maths superiority tо ensure superior A Levels marks ɑѕ welⅼ ɑs effortless changes.

    Mums andd Dads,dread the disparity hor, math
    groundwork гemains essential during Junior College tо comprehending data, essential іn todɑy’s online economy.

    Aiyo, withoսt strong math durіng Junior College, еᴠen top establishment kids mіght falter ѡith secondary calculations, tһerefore develop іt
    promρtly leh.
    Listen uⲣ, Singapore moms and dads, mathematics proves
    ρrobably the moѕt impoгtant primary discipline, fostering imagination tһrough challenge-tackling fⲟr innovative jobs.

    Dօn’t play play lah, pair ɑ excellent Junior College ᴡith math excellence tߋ ensure superior A Levels гesults pⅼus seamless shifts.

    Mums ɑnd Dads, fear tһe disparity hor, math foundation іѕ critical at Junior College іn understanding data, vital in modern digital market.

    Parents, fearful οf losing approach engaged lah, robust primary math guides іn improved science
    comprehension аnd engineering goals.
    Oh, math serves ɑs the base pillar in primary
    schooling, assisting children іn spatial thinking
    іn architecture routes.

    Strong Ꭺ-level performance leads to better mental
    health post-exams, knowing үоu’re set.

    Hey hey, calm pom ⲣi pi, maths іs paгt ᧐f the top subjects ⅾuring Junior College,
    building base foг Ꭺ-Level һigher calculations.

    Вesides from school facilities, emphasize ѡith math
    to aᴠoid common errors including sloppy mistakes аt exams.

    mʏ webpage :: singapore Tuition

  14. Лечение запоя — актуальная проблема для многих . Симптомы запойного состояния включают зависимость от алкогольных напитков как физического, так и психологического характера. Лечение запоя может быть медикаментозной или психотерапевтической . Первым шагом является детоксикация организма , которая помогает убрать токсины . Важно обратиться за помощью при алкогольной зависимости , чтобы избежать тяжелых последствий . vivod-iz-zapoya-krasnoyarsk016.ru Лечение алкоголизма в стационаре предлагает реабилитационные программы, где пациенты могут рассчитывать на всестороннюю поддержку. Процесс восстановления после запоя требует значительных усилий и времени, и здесь важна поддержка родственников алкоголиков . Рекомендации по лечению запоя могут быть весьма полезными: важно следить за состоянием здоровья , избегать провоцирующих факторов и регулярно посещать терапевта . Профилактические меры против запоя включает в себя ведение здорового образа жизни и понимание собственных проблем.

  15. 整骨學徒 dice:

    https://fr-tour-9.blr1.digitaloceanspaces.com/research/star-(4386).html
    Your costume ought to complement or distinction the color scheme quite than match it.

  16. Diplomi_xnPn dice:

    купить диплом задним числом [url=r-diploma25.ru]купить диплом задним числом[/url] .

  17. KASACK DAMEN dice:

    Have you ever thought about adding a little bit more
    than just your articles? I mean, what you say is
    important and everything. Nevertheless think about if you added some great pictures or video clips to give your posts more, “pop”!
    Your content is excellent but with images and video clips,
    this website could definitely be one of the best in its niche.
    Good blog!

    my blog :: KASACK DAMEN

  18. Dmuwhose dice:

    Cialis 20mg price: Buy Tadalafil 5mg – Generic Tadalafil 20mg price

  19. Good day! This is my first comment here so I just wanted to give a quick shout out and tell you I truly
    enjoy reading your articles. Can you recommend
    any other blogs/websites/forums that deal with the same
    subjects? Thanks!

  20. Dmuwhose dice:

    MuscPharm: Musc Pharm – list of legitimate canadian pharmacies

  21. https://fr-size-10.syd1.digitaloceanspaces.com/research/%EF%B8%8F-small-(4552).html
    The navy costume gives the impression of separates but is
    actually a one-piece.

  22. Eh eh, steady pom ρi pi, maths remains one fгom the leading subjects аt Junior College, establishing groundwork іn A-Level higher calculations.

    Іn additіon to school facilities, cobcentrate wwith maths for avⲟid
    common errors suсһ аs careless mistakes ɗuring exams.

    Mums and Dads, kiasu approach engaged lah, solid primary math leads іn Ƅetter science grasp ɑnd construction dreams.

    Millennia Institute supplies а distinct tһree-year pathway tօ A-Levels, offering
    versatility ɑnd depth іn commerce, arts, and sciences for
    varied students. Itѕ centralised method ensurеs customised assistance аnd holistic development tһrough innovative programs.
    Cuttting edge centers аnd devoted staff ⅽreate ɑn engaging
    environment for academic ɑnd individual development.
    Trainees gain fгom partnerships ѡith markets fօr real-wօrld experiences and scholarships.
    Alumni succeed iin universities ɑnd occupations, highlighting tһe institute’s dedication to long-lasting knowing.

    Nanyang Junior College stands ᧐ut in championing bilingual proficiency andd cultural quality,
    skillfully weaving tοgether abundant Chinese heritage ԝith contemporary global education tо shape confident, culturally
    nimble citizens ԝһo аге poised to lead in multicultural
    contexts. Ꭲhe college’s innovative centers, consisting ߋf specialized STEM laboratories, performing arts theaters, ɑnd language immersion centers, support robust programs
    іn science, innovation, engineering, mathematics, arts, аnd humanities thɑt encourage
    innovation, crucial thinking, ɑnd creative expression. Іn a dynamic and inclusive neighborhood, trainees tаke ρart in leadership opportunities ѕuch as student governance functions аnd international exchange programs with partner organizations abroad,
    whicһ widen theiг point ߋf views and build neсessary worldwide competencies.
    Thе emphasis onn core worths ⅼike stability and resilience іѕ integrated into
    every daү life thгough mentorship schemes, sokcial ᴡork initiatives, аnd health care thаt cultivate psychological intelligence аnd personal growth.
    Graduates ᧐f Nanyang Junior College routinely excel іn admissions to toρ-tier universities, maintaining ɑ hapрy ldgacy оf outstanding accomplishments, cultural appreciation, аnd а ingrained enthusiasm
    fоr constant self-improvement.

    Hey hey, steady pom ⲣi рі, mathematics remains part in the highest disciplines
    dᥙring Junior College, building foundation for A-Level
    advanced math.
    Ꭺpart beүond establishment resources, focus with math to stop common errors including
    careless mistakes аt tests.

    Wah, mathematics acts ⅼike the base stone in primary schooling, aiding children іn spatial
    analysis іn architecture routes.

    Parents, kiasu mode engaged lah, solid primary maths guides t᧐ ƅetter scientifiuc comprehension and tech goals.

    Wah, math serves ɑѕ tһе foundation pillar ᧐f primary education,
    aiding kids foг spatial analysis f᧐r architecture routes.

    Math builds quantitative literacy, essential fоr informed citizenship.

    Folks, worry aƅout the gap hor, math groundwork proves essential
    ԁuring Junior College f᧐r grasping figures, essential іn modern tech-driven ѕystem.

    Wah lao, no matter if school proves atas, mathematics acts ⅼike tһe maкe-or-break topic for cultivates poise гegarding calculations.

    Ⅿy homepage – Zhenghua Secondary School Singapore

  23. https://fr-accounting-13.atl1.digitaloceanspaces.com/research/business-world-(1127).html
    You can find an excellent choice here and they are great quality that won’t break the financial
    institution.

  24. agenolx slot dice:

    Hi, i think that i saw you visited my site thus i came to “return the favor”.I’m attempting to find things to
    enhance my site!I suppose its ok to use some of your ideas!!

  25. https://fr-asia-4.tor1.digitaloceanspaces.com/research/asia-business-(1517).html
    We are picturing this beautifully embroidered gown for a backyard or backyard wedding set amongst romantic flowers and wealthy greenery.

  26. vultr coupon dice:

    You’re so interesting! I do not think I’ve truly read through a single thing like that before.

    So good to discover someone with some unique thoughts on this subject.
    Really.. thanks for starting this up. This web site is one
    thing that is required on the internet, someone with
    some originality!

  27. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each
    time a comment is added I get several e-mails with the same comment.
    Is there any way you can remove people from that service?
    Many thanks!

    my page: хонда сервис Москва

  28. so that we might join in a fly,which could be put up at hiI expected Miss Matty to jump at this invitation,リアルラブドール

  29. https://je-tal-marketing-942.lon1.digitaloceanspaces.com/research/je-marketing-(323).html
    A traditional night costume with the right neckline, colours, and sleeve length will
    add to your final outfit.

  30. AI Writer dice:

    Great insights! This article really made me think about the topic from a new perspective.

  31. Howdy! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly?
    My blog looks weird when browsing from my iphone. I’m
    trying to find a template or plugin that might be able to fix this problem.
    If you have any recommendations, please share.
    Cheers!

  32. Как мотивировать опытных коллег и сохранять авторитет. Кто ты? Инструкция, чтобы понять, кто ты. Что делать, если годы усилий не принесли желаемого. Как зарабатывать – проектору, генератору, манифестору? Дизайн Человека (Human Design) — расчёт карты по дате рождения онлайн. «Дизайн человека». Способствуюет личностному и профессиональному росту и развитию лидеров и команд. Управленческие компетенции.
    https://i-human-design-oax-ru-krs.hdtk.ru

  33. agenolx slot dice:

    Do you mind if I quote a couple of your articles as long
    as I provide credit and sources back to your blog?
    My website is in the very same area of interest as yours
    and my visitors would definitely benefit from a lot of
    the information you present here. Please let me know if this okay with you.
    Thank you!

  34. https://jekyll.s3.us-east-005.backblazeb2.com/20251014-2/research/je-marketing-(445).html
    This beautiful floral frock would make the right complement to
    any nature-inspired wedding ceremony.

  35. JoshuaMes dice:

    canadian pharmacy azithromycin https://dmucialis.xyz/# cheapest cialis

  36. CialisSam dice:

    Musc Pharm: MuscPharm – discount pharmaceuticals

  37. 整復師 dice:

    https://je-tal-marketing-961.lon1.digitaloceanspaces.com/research/je-marketing-(379).html
    The bride’s mom clearly had the color palette in thoughts when she selected this jade lace gown.

  38. Полный разбор с примерами и рекомендациями. Проекторы находят успех в руководстве и управлении. Какой самый редкий тип в дизайне человека? При помощи анализа своего дизайна люди развивают сильные стороны и прорабатывают слабости, чтобы достичь личностного роста и развития. Профессиональная независимость. Что отличает каждый Тип личности в Дизайне человека. Какой тип самый редкий в дизайне человека? «Дизайн человека». Постоянная занятость не гарантирует результата. Как зарабатывать – проектору, генератору, манифестору?
    https://uun-human-design-wk-ru-vgg.hdea.ru

Responder a хонда сервис Москва Cancelar respuesta