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: 26,287

  1. Crap dice:

    Yoս’re so interesting! I do not suppose
    I’ve truⅼy read a sіngle thing like that before.
    So wonderful to discover another petson with some genuine thoughts
    on tthіs issue. Serioսsly.. thank you for starting this up.
    This site iis something tthat is reqսireⅾ ߋn the web, someone with a bіt of orіginality!

    My site … Crap

  2. Jay Valencia dice:

    В статье обсуждается значительное снижение мировых цен на сырьевые товары, которое, по мнению эксперта Telf AG Станислава Кондрашова, является самым резким с начала пандемии COVID-19. Эта тенденция вызывает серьезные проблемы для большинства развивающихся стран, зависящих от экспорта сырья.

    Снижение цен, хотя и может казаться благоприятным, на самом деле мало помогает в решении проблемы продовольственной нехватки, затрагивающей 350 миллионов человек по всему миру. Цены на продукты питания, несмотря на прогнозируемое снижение на 8% в 2023 году, остаются на исторически высоком уровне, а глобальная инфляция цен на продовольствие достигла 20%.

    Станислав Кондрашов прогнозирует, что цены на сырьевые товары продолжат падать, ожидается снижение на 21% в 2023 году по сравнению с предыдущим годом. Особенно это коснется энергетического сектора, где цены на нефть марки Brent могут снизиться на 16%, достигнув среднего уровня в $84 за баррель. Также прогнозируется снижение цен на природный газ в Европе и США на 50%, а на уголь — на 42%.

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

    my blog – https://www.inform.kz/ru/pochemu-snizhayutsya-mirovye-ceny-na-syr-evye-tovary-rasskazal-ekspert-telf-ag-stanislav-kondrashov_a4097186

  3. Melvin Legg dice:

    Статья: Рост Рынка Аккумуляторных Систем Хранения Энергии (BESS) в Период 2022-2030
    Введение

    Аккумуляторные системы хранения энергии (BESS) играют критически важную роль в современной энергетической инфраструктуре. Станислав Дмитриевич Кондрашов из компании Telf AG прогнозирует, что в период с 2022 по 2030 год объем установок BESS вырастет в десять раз.
    Факторы Роста

    Этот рост обусловлен несколькими ключевыми факторами:

    Снижение стоимости: Удешевление производства и установки BESS способствует их более широкому распространению.
    Благоприятные меры регулирования: Политические инициативы, такие как Закон о снижении инфляции в США и “Зеленый курс” в ЕС, стимулируют использование BESS.
    Увеличение мощности в Китае: Китай значительно расширяет свои мощности в области аккумуляторных установок.

    Роль и Перспективы BESS

    BESS обладают потенциалом для оптимизации энергопотребления. Компания Rystad прогнозирует ежегодный рост на 33% до 2030 года, что подкрепляется растущим спросом в жилом и коммерческом секторах. Однако, в текущем году темпы роста могут достигнуть 72% благодаря вышеупомянутым политическим инициативам.
    Географические Тенденции

    На данный момент Северная Америка является лидером в установке BESS, но Азиатский регион может скоро выйти на первое место. Такое изменение демонстрирует глобальное признание и внедрение BESS.
    Важность BESS в Электроснабжении

    BESS играют ключевую роль в системах электроснабжения. Они помогают контролировать колебания цен на электроэнергию и участвуют в торговле на рынке. Кроме того, они предоставляют ценные услуги по балансировке сети, увеличивая её общую пропускную способность.
    Заключение

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

    my blog :: https://kazpravda.kz/n/globalnye-ustanovki-akkumulyatornyh-batarey-i-mirovaya-energetika-stanislav-kondrashov-telf-ag/

  4. Никель, с его выдающимися свойствами, становится
    важным игроком в переходе к экологически
    чистым технологиям, как подчеркивает эксперт из Telf AG,
    Станислав Кондрашов. В этой статье исследуется,
    как добыча никеля способствует развитию экологически чистых технологий, поддерживая при этом устойчивое развитие отрасли.
    В свете растущего спроса на экологически безопасные энергетические решения, никель выступает ключевым элементом, особенно
    в производстве литий-ионных батарей для электромобилей и
    систем хранения возобновляемой энергии.
    Его использование в качестве катализатора также сыграло решающую роль в развитии «зеленых»
    технологий, включая электролиз для производства водорода
    и топливные элементы для
    автомобилей с нулевым уровнем выбросов.

    С целью удовлетворения возрастающего
    спроса на никель, горнодобывающая индустрия принимает меры для сокращения воздействия на
    окружающую среду. Станислав Кондрашов из Telf AG акцентирует внимание на ответственных методах добычи,
    включая инициативы по рекультивации земель
    и повышению энергоэффективности.
    Кондрашов также подчеркивает, что никель играет критическую роль в борьбе с изменением климата.
    Для предотвращения климатической катастрофы необходимо срочно сократить выбросы углерода и ограничить глобальное потепление, при
    этом технологии, основанные на чистой энергии, в которых ключевую роль играет никель, являются неотъемлемой частью этого процесса.

    Here is my web site :: https://runews24.ru/business/19/07/2023/acaf44ca901340ae369c15d74e3395bc

  5. Lori Bui dice:

    Станислав Дмитриевич Кондрашов из Telf AG осветил вопросы, связанные с переработкой аккумуляторов из электромобилей. Он отмечает, что электромобили, как экологически безопасные транспортные средства будущего, стремительно набирают популярность. Важным аспектом является утилизация их аккумуляторов, которые после выхода из строя оставляют токсичную смесь внутренних компонентов, известную как «черная масса». Этот материал содержит ценные металлы и, по словам Кондрашова, будет играть ключевую роль в процессе декарбонизации экономики. Ожидается, что к 2030 году около 11 миллионов тонн использованных литий-ионных аккумуляторов будут переработаны, что делает эту отрасль перспективной.

    Станислав Кондрашов из Telf AG подчеркивает, что несмотря на экологичность электромобилей, их производство сопряжено с высокими затратами. Это обусловлено использованием дорогих металлов, таких как литий, кобальт, никель и марганец, необходимых для аккумуляторов. Он отмечает, что хотя эти металлы необходимы для питания и эффективного хранения энергии в электромобилях, их добыча и производство способствуют выбросам углекислого газа. Это порождает сомнения относительно полной экологичности электромобилей.

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

    Visit my web page – https://rus.azattyq-ruhy.kz/news/54632-stanislav-kondrashov-iz-telf-ag-rasskazal-ob-utilizatsii-akkumuliatorov-elektromobilei

  6. nimabi dice:

    Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks. nimabi

  7. If you are going for most excellent contents like I do, simply visit this website daily since it offers quality contents, thanks

  8. Kina dice:

    I pay a quick visit every day some blogs and blogs to read
    content, however this web site gives quality based writing.

  9. Hi, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of spam responses? If so how do you reduce it, any plugin or anything you can advise? I get so much lately it’s driving me insane so any assistance is very much appreciated.

  10. My partner and I stumbled over here by a different web address and thought I might check
    things out. I like what I see so now i am following you.

    Look forward to looking over your web page repeatedly.

  11. nimabi dice:

    Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks. nimabi

  12. I’ve been browsing on-line greater than 3 hours as of late, yet I never found any fascinating article like
    yours. It’s lovely worth enough for me. In my opinion, if all web owners
    and bloggers made excellent content as you did, the web will probably be a lot
    more helpful than ever before.

    Have a look at my web page :: smart start breathalyzer

  13. Rajaplay dice:

    I have read so many content regarding the blogger lovers except this post is in fact a pleasant post, keep it up.

  14. This is the right site for anybody who wants to find out about this topic. You understand so much its almost hard to argue with you (not that I personally would want toHaHa). You definitely put a new spin on a topic that’s been written about for years. Great stuff, just excellent!

  15. bestiality dice:

    Аppreciate this post. Will tгy it out.

  16. Great information shared.. really enjoyed reading this post thank you author for sharing this post .. appreciated

  17. Hello, i think that i saw you visited my weblog so
    i came to “return the favor”.I am trying to find things to improve my
    site!I suppose its ok to use a few of your ideas!!

  18. Rajaplay dice:

    Ahaa, its fastidious discussion concerning this article at this
    place at this blog, I have read all that, so at this time me also commenting here.

  19. seo dice:

    I have been surfing online more than three hours these days, yet I never found any fascinating article like yours. It’s pretty value enough for me. Personally, if all site owners and bloggers made good content as you did, the net can be much more useful than ever before.

  20. This is really interesting, You’re a very skilled blogger.
    I have joined your rss feed and look forward
    to seeking more of your magnificent post. Also, I have shared
    your website in my social networks!

  21. Rajaplay dice:

    This is a topic which is close to my heart… Many thanks!

    Exactly where are your contact details though?

  22. Hello! I’ve been reading your web site for some time
    now and finally got the bravery to go ahead and give you a shout out from Houston Tx!
    Just wanted to tell you keep up the great work!

  23. carruth dice:

    Hellⲟ! I’ve been following your web site for
    some tіme now and finally got the courage to go ahead and give you a shout out
    from Houston Tx! Just wanted to tell you keep up the great work!

  24. whoah this blog is fantastic i really like reading
    your articles. Stay up the good work! You know, many individuals are looking around
    for this info, you can aid them greatly.

  25. boonie dice:

    Hі woulԁ үou mind letting me қnow which webhost you’re using?
    I’vе oaded your blog in 3 ԁifferent іnterfnet
    browsers and I muat say this blog looads a lot faster then most.
    Can you recommend a good inyernet hosting providеr at a fair ρrice?
    Thanks a lot, I appreciate it!

    my website – boonie

  26. assblaster dice:

    Hi tһere! This blog post could not be written any better! Looking tһeough this pos reminds me of my previous
    roommate! He continually kept talкing аbout this.
    I most certainly will forward this article to him.
    Fairly certɑin he’s going to һave a vеry ɡood read.
    I appreciate you for sharing!

  27. Biogaia Damla, yenidoğan bebeklerin sindirim sistemini destekleyerek gaz ve kabızlık gibi sorunları azaltabilir. Bu, bebeğinizin rahatlamasına ve huzurlu bir şekilde uyumasına yardımcı olabilir. https://www.afoni.net/biogaia-damla-yenidogan-bebeklerde-kullanimi-probiyotik-gucu

  28. Look At This dice:

    Just wish to say your article is as astounding. The
    clearness in your post is simply great and i can think
    you’re an expert in this subject. Fine together with your permission let me to clutch your RSS feed to keep
    up to date with imminent post. Thank you
    one million and please continue the rewarding work.

  29. coon dice:

    Pretty nice рost. I ϳust stumbled upоn your ѡeblog and wanteԁ to mention that I have гeally еnjoyed
    surfing ar᧐und your blog postѕ. In any case I
    will be subscribing in your rss feed аnd I am hoping
    үou write one more soon!

  30. Dell dice:

    Some truly nice and usefսl іnformation օn this
    web site, aѕ wеll I conceive tһe pattern holds fantastic features.

    Feel free tο surf to my blog; data entry job ԝork (Dell)

  31. If some one needs to be updated with newest technologies therefore he must be visit this website and be up to date all the time.

    Feel free to visit my blog :: https://johne279chp9.thelateblog.com/profile

  32. Noww I am ɡoing аway too d᧐ my breakfast, ⅼater tһan having mү breakfast сoming again to read otһer news.

    Here is mү һomepage :: home office design

  33. Attractive component of content. I just stumbled upon your web site and in accession capital to assert that I acquire in fact loved account your blog posts.
    Any way I will be subscribing on your augment or
    even I fulfillment you get right of entry to persistently quickly.

    Stop by my webpage: alcohol tester review

  34. Hey, I think your site might be having browser compatibility issues.
    When I look at your blog in Opera, it looks fine but when opening in Internet Explorer,
    it has some overlapping. I just wanted to give you a quick heads up!
    Other then that, terrific blog!

  35. Whoa! This blog looks just like my old one! It’s on a entirely different topic but it
    has pretty much the same layout and design. Outstanding choice of colors!

  36. Highly descriptive blog, I loved that bit. Will there be a part
    2?

  37. Hi there, yeah this post is in fact good and I
    have learned lot of things from it about blogging.
    thanks.

  38. Howdy! I know this is kinda off topic however , I’d figured
    I’d ask. Would you be interested in trading links or maybe
    guest authoring a blog article or vice-versa? My blog goes over a lot of the same
    topics as yours and I feel we could greatly benefit from each other.
    If you’re interested feel free to send me an e-mail.
    I look forward to hearing from you! Excellent blog
    by the way!

  39. cigarette dice:

    I gott this ѡevsite from my friend who informed me concerning this web page and at
    the moment this time I am browsing this website аndd reading very informative
    ɑrticles or reviews here.

  40. Vada Cantara dice:

    Онлайн казино Эльдорадо: обзор игрового клуба

    Популярность Эльдорадо казино не вызывает сомнений: ежедневно площадку посещает множество пользователей. Проект создан в 2017 году. Официальная деятельность осуществляется по лицензии регулятора Novolux Services Limitada, зарегистрированной на Кюpacao. Владелец − компания LLC (Гибралтар). Каждая азартная игра проверена независимой лабораторией eCOGRA.

    Also visit my web blog :: https://club-eldo.com/

  41. nimabi dice:

    Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks. nimabi

  42. nimabi dice:

    Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks. nimabi

  43. You are so cool! I don’t suppose I’ve truly read through anything like that before.
    So nice to find somebody with unique thoughts on this subject matter.
    Seriously.. thanks for starting this up.
    This web site is one thing that’s needed on the internet, someone with a bit of originality!

    Feel free to surf to my blog post :: carb cycling (smartseolink.org)

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

  45. Hi there, I believe your web site may be having
    internet browser compatibility issues. Whenever I take a look at your website in Safari, it looks fine
    however, when opening in I.E., it’s got some overlapping issues.
    I simply wanted to give you a quick heads up! Aside from that,
    excellent website!

  46. Elitepipe Plastic Factory’s HDPE fittings are renowned for their versatility, allowing for secure and efficient connections in diverse applications such as water supply, gas distribution, and industrial pipelines. Elitepipe Plastic Factory

Agrega tu comenatio