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: 91,615

  1. https://je-tall-sf-marketing-58.research.au-syd1.upcloudobjects.com/research/je-tall-sf-marketing-(187).html
    If you’re in a pinch, many e-commerce websites like Net-a-Porter or Nordstrom offer
    rush shipping.

  2. https://je-tal-marketing-931.lon1.digitaloceanspaces.com/research/je-marketing-(393).html
    The mom of the bride’s Oscar de la Renta gown was such
    successful, it actually inspired the bridesmaids’ bouquets.

  3. 整復學徒 dice:

    https://fr-box-10.syd1.digitaloceanspaces.com/research/paris-(4519).html
    For this romantic wedding ceremony at Brooklyn’s Wythe Hotel, the bride’s
    mother selected a short-sleeved, full-length teal gown.

  4. 撥筋創業 dice:

    https://fr-box-3.atl1.digitaloceanspaces.com/research/paris-(1266).html
    If chic and complicated is what you’re going for, think about this sequined ensemble from
    Alex Evenings.

  5. https://fr-asia-7.fra1.digitaloceanspaces.com/research/asia-business-(3481).html
    Also, when it comes to a wedding, you need to ensure that you don’t steal
    the bride’s thunder.

  6. Pearlene dice:

    What Are the Top News Stories in Urdu From Pakistan? Cyndi Lauper, with the
    fourth single from her 1983 debut She’s So Unusual, “All Through the Night”, becomes the first woman in the 26-year history of
    the Billboard Hot 100 to have four singles from one album in the top five.

    One was Koolasuchus, a half-ton giant with eyes on the top of its head.
    Unionism in Scotland (Scottish Gaelic: Aonachas) is a political movement which
    favours the continuation of the political union between; Scotland,
    England, Northern Ireland and Wales as one United Kingdom,
    and hence is opposed to Scottish independence. The party is Eurosceptic, and supported
    the UK leaving the European Union. Some keep it mostly the
    same, but add useful utilities, while others make the operating system
    nearly unrecognizable (which is made possible by the extreme customizability of
    open source code). Cooks differ (and sometimes argue)
    about whether to add milk or water to the beaten eggs
    to make a fluffy omelet. 3. You can customize the news intro template add text, change the color, position, alignment, and more.
    Add 1 1/4 inches for the seam allowance (the distance between the edge
    of the fabric and the seam you’ll sew).

  7. Great post! We are linking to this particularly great
    content on our website. Keep up the good writing.

  8. Donaldadota dice:

    Korepetitoriai Your Path to Efficient and Customized Learning

    Korepetitoriai, or tutors, provide a unique opportunity for students to enhance their educational journey through customized support. Choosing the right korepetitorius provides efficient learning and progress.

    Benefits of [url=https://keegantvut90001.blogunok.com/38804389/korepetitoriai-your-path-to-effective-and-personalized-learning]korepetitoriai[/url] for Students

    – Tailored lesson plans adapt to the learner’s demands and learning style.
    – Convenient schedules allow learning at a comfortable pace and time.
    – Specialized attention helps address specific obstacles and improve weak areas.
    – Interactive sessions increase motivation and boost confidence.

    How to Choose the Right Korepetitorius

    1. Evaluate their experience and certifications. Prefer those with proven results in your subject area.
    2. Look for a teaching style that aligns with your learning preferences.
    3. Consider testimonials from previous clients to assess effectiveness.
    4. Compare fees but prioritize outcome over cost alone.
    5. Check availability for remote or in-person sessions depending on your preference.
    Maximizing Your Learning with Korepetitoriai

    Set clear goals and communicate them openly to your korepetitorius. Regularly review progress and adjust the curriculum as needed. Active participation and asking questions enhance understanding.

    Korepetitoriai offer a effective and bespoke learning experience. With the right tutor, students can achieve greater success and build confidence in their knowledge and skills.

  9. бамбуковые электрожалюзи [url=www.elektricheskie-zhalyuzi5.ru/]www.elektricheskie-zhalyuzi5.ru/[/url] .

  10. 整復學徒 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251014-4/research/je-marketing-(50).html
    Keep issues traditional or try variations of the shades,
    like a champagne, rose gold, or shimmery charcoal.

  11. https://fr-accounting-16.ams3.digitaloceanspaces.com/research/business-world-(2668).html
    MOB etiquettes say if black flatters you, all–black could be
    your go-to mother of the bride or mother of the groom looking for the
    big day.

  12. 整骨學徒 dice:

    https://je-tal-marketing-899.lon1.digitaloceanspaces.com/research/je-marketing-(496).html
    Our Mother of the Bride Dresses collection will match any price range and style and flatter any
    form or dimension.

  13. Ramonicede dice:

    Dmu Cialis [url=http://dmucialis.com/#]DmuCialis[/url] Cialis 20mg price in USA

  14. голосовое управление жалюзи [url=elektricheskie-zhalyuzi5.ru]elektricheskie-zhalyuzi5.ru[/url] .

  15. Donaldadota dice:

    Korepetitoriai Your Path to Successful and Tailored Learning

    Korepetitoriai, or mentors, provide a valuable opportunity for students to enhance their educational journey through individualized support. Choosing the right korepetitorius guarantees efficient learning and academic success.

    Benefits of [url=https://andersonvabc34567.bloggerchest.com/38687381/korepetitoriai-a-modern-solution-for-personalized-learning]korepetitoriai[/url] for Students

    – Personalized lesson plans adapt to the pupil’s needs and method.
    – Adaptable schedules allow learning at a comfortable pace and time.
    – Targeted attention helps address specific difficulties and improve weak areas.
    – Interactive sessions increase motivation and boost confidence.

    How to Choose the Right Korepetitorius

    1. Evaluate their experience and qualifications. Prefer those with proven results in your subject area.
    2. Look for a teaching style that fits your learning preferences.
    3. Consider testimonials from previous students to assess professionalism.
    4. Compare pricing but prioritize quality over cost alone.
    5. Check availability for virtual or in-person sessions depending on your convenience.
    Maximizing Your Learning with Korepetitoriai

    Set clear targets and communicate them openly to your korepetitorius. Regularly assess progress and adjust the plan as needed. Active participation and asking questions enhance understanding.

    Korepetitoriai deliver a effective and bespoke learning experience. With the right tutor, students can achieve greater academic performance and gain confidence in their knowledge and skills.

  16. I appreciate how you’ve structured this information in a logical, easy-to-follow manner.

  17. 撥筋證照 dice:

    https://je-tal-marketing-919.lon1.digitaloceanspaces.com/research/je-marketing-(497).html
    Beach weddings tend to be slightly more informal or bohemian in type than traditional weddings.

  18. olxtoto dice:

    Hello there I am so thrilled I found your site, I really found you
    by error, while I was searching on Bing for something else, Anyways I am here now and would just like to say thank you
    for a fantastic post and a all round interesting blog (I also love the theme/design), I don’t have time to go through it all
    at the moment but I have book-marked it and also added your RSS feeds,
    so when I have time I will be back to read a lot more, Please do keep up the superb b.

  19. Owen Goldade dice:

    bestchoiceoutlet – Good variety available, and checkout process seemed straightforward and easy.

  20. Donaldadota dice:

    Korepetitoriai Your Path to Effective and Tailored Learning

    Korepetitoriai, or private instructors, provide a unique opportunity for students to enhance their educational journey through personalized support. Choosing the right korepetitorius guarantees effective learning and achievement.

    Benefits of [url=https://lanejqrp02356.onzeblog.com/38744745/korepetitoriai-a-modern-solution-for-personalized-learning]korepetitoriai[/url] for Students

    – Personalized lesson plans adapt to the pupil’s needs and method.
    – Convenient schedules allow learning at a comfortable pace and time.
    – Specialized attention helps address specific challenges and improve weak areas.
    – Engaging sessions increase motivation and boost confidence.

    How to Choose the Right Korepetitorius

    1. Evaluate their experience and qualifications. Prefer those with proven success records in your subject area.
    2. Look for a teaching style that fits your learning preferences.
    3. Consider reviews from previous learners to assess effectiveness.
    4. Compare rates but prioritize value over cost alone.
    5. Check availability for virtual or in-person sessions depending on your convenience.
    Maximizing Your Learning with Korepetitoriai

    Set clear objectives and communicate them openly to your korepetitorius. Regularly review progress and adjust the curriculum as needed. Active participation and asking questions strengthen understanding.

    Korepetitoriai offer a versatile and personalized learning experience. With the right tutor, students can achieve greater results and gain confidence in their knowledge and skills.

  21. 撥筋教學 dice:

    https://je-tal-marketing-933.lon1.digitaloceanspaces.com/research/je-marketing-(395).html
    In common, you’ll do your greatest to avoid matching with the bridesmaids or
    the mothers of the couple getting married.

  22. Donaldadota dice:

    Korepetitoriai Your Path to Efficient and Tailored Learning

    Korepetitoriai, or mentors, provide a valuable opportunity for students to enhance their educational journey through individualized support. Choosing the right korepetitorius guarantees productive learning and progress.

    Benefits of [url=https://cashrqok56667.blogsvila.com/38902610/korepetitoriai-a-modern-solution-for-personalized-learning]korepetitoriai[/url] for Students

    – Customized lesson plans adapt to the learner’s needs and learning style.
    – Convenient schedules allow learning at a comfortable pace and time.
    – Specialized attention helps address specific challenges and improve weak areas.
    – Engaging sessions increase motivation and boost confidence.

    How to Choose the Right Korepetitorius

    1. Evaluate their experience and certifications. Prefer those with proven track records in your subject area.
    2. Look for a instruction method that matches your learning preferences.
    3. Consider feedback from previous learners to assess reliability.
    4. Compare rates but prioritize outcome over cost alone.
    5. Check availability for remote or in-person sessions depending on your preference.
    Maximizing Your Learning with Korepetitoriai

    Set clear objectives and communicate them openly to your korepetitorius. Regularly assess progress and adjust the curriculum as needed. Active participation and asking questions improve understanding.

    Korepetitoriai deliver a effective and customizable learning experience. With the right tutor, students can achieve greater academic performance and develop confidence in their knowledge and skills.

  23. Donaldadota dice:

    Korepetitoriai Your Path to Efficient and Personalized Learning

    Korepetitoriai, or tutors, provide a valuable opportunity for students to enhance their educational journey through personalized support. Choosing the right korepetitorius guarantees productive learning and achievement.

    Benefits of [url=https://tysoncjlk67788.blazingblog.com/38626879/korepetitoriai-a-smarter-way-to-improve-academic-success]korepetitoriai[/url] for Learners

    – Personalized lesson plans adapt to the learner’s needs and learning style.
    – Adaptable schedules allow learning at a comfortable pace and time.
    – Targeted attention helps address specific difficulties and improve weak areas.
    – Dynamic sessions increase motivation and boost confidence.

    How to Choose the Right Korepetitorius

    1. Evaluate their experience and certifications. Prefer those with proven success records in your subject area.
    2. Look for a teaching style that matches your learning preferences.
    3. Consider reviews from previous clients to assess effectiveness.
    4. Compare fees but prioritize value over cost alone.
    5. Check availability for online or in-person sessions depending on your situation.
    Maximizing Your Learning with Korepetitoriai

    Set clear objectives and communicate them openly to your korepetitorius. Regularly review progress and adjust the plan as needed. Active participation and asking questions improve understanding.

    Korepetitoriai offer a effective and personalized learning experience. With the right tutor, students can achieve greater results and gain confidence in their knowledge and skills.

  24. RichardBam dice:

    В пятницу премьер-министр Бельгии Барт де Вевер направил
    Еврокомиссии письмо, в котором предупредил,
    [url=https://blsp–at.com]blacksprut[/url]
    что поспешная реализация плана по использованию
    российских активов разрушит шансы на потенциальное
    [url=https://blacksprut2clear.com]black Sprut[/url]
    мирное соглашение. Ранее он не раз отмечал,
    что его стране нужны конкретные и надежные гарантии
    [url=https://bs-tor.com]блекспрут сайт[/url]
    от членов Евросоюза, если они хотят выделить
    Киеву кредит из суверенных средств другой страны.

    https://bs2bot.com

    blsp at

  25. Donaldadota dice:

    Korepetitoriai Your Path to Successful and Tailored Learning

    Korepetitoriai, or tutors, provide a distinctive opportunity for students to enhance their educational journey through customized support. Choosing the right korepetitorius provides productive learning and achievement.

    Benefits of [url=https://gunnermokl78888.blogoxo.com/38948373/korepetitoriai-personalized-tutoring-that-transforms-learning]korepetitoriai[/url] for Pupils

    – Customized lesson plans adapt to the student’s demands and learning style.
    – Adaptable schedules allow learning at a comfortable pace and time.
    – Specialized attention helps address specific challenges and improve weak areas.
    – Interactive sessions increase motivation and boost confidence.

    How to Choose the Right Korepetitorius

    1. Evaluate their expertise and certifications. Prefer those with proven track records in your subject area.
    2. Look for a approach that aligns with your learning preferences.
    3. Consider feedback from previous learners to assess effectiveness.
    4. Compare fees but prioritize quality over cost alone.
    5. Check availability for online or in-person sessions depending on your convenience.
    Maximizing Your Learning with Korepetitoriai

    Set clear targets and communicate them openly to your korepetitorius. Regularly monitor progress and adjust the curriculum as needed. Active participation and asking questions enhance understanding.

    Korepetitoriai deliver a versatile and bespoke learning experience. With the right tutor, students can achieve greater academic performance and build confidence in their knowledge and skills.

  26. однако их противопоказано использовать, http://odessaflower.ukrbb.net/viewtopic.php?f=67&t=34961 если есть риск перекрытия мочевых путей камнем.

  27. RichardBam dice:

    В пятницу премьер-министр Бельгии Барт де Вевер направил
    Еврокомиссии письмо, в котором предупредил,
    [url=https://bs2bestblacksprut.com]blsp at[/url]
    что поспешная реализация плана по использованию
    российских активов разрушит шансы на потенциальное
    [url=https://at-bs2best.at]black Sprut[/url]
    мирное соглашение. Ранее он не раз отмечал,
    что его стране нужны конкретные и надежные гарантии
    [url=https://bs2bestat.at]blacksprut ссылка[/url]
    от членов Евросоюза, если они хотят выделить
    Киеву кредит из суверенных средств другой страны.

    https://bspr.news/blsp-at

    блекспрут официальный сайт

  28. TimothyLoasy dice:

    В пятницу премьер-министр Бельгии Барт де Вевер направил
    Еврокомиссии письмо, в котором предупредил,
    [url=https://blsp2best.com]блекспрут сайт[/url]
    что поспешная реализация плана по использованию
    российских активов разрушит шансы на потенциальное
    [url=https://bsweb.org]blsp.at[/url]
    мирное соглашение. Ранее он не раз отмечал,
    что его стране нужны конкретные и надежные гарантии
    [url=https://bs2w-io.org]cпрут сайт зеркало[/url]
    от членов Евросоюза, если они хотят выделить
    Киеву кредит из суверенных средств другой страны.

    https://bs-hn.com

    блекспрут официальный сайт

  29. Diplomi_jasl dice:

    купить диплом о среднем образовании в сочи [url=http://r-diploma9.ru]купить диплом о среднем образовании в сочи[/url] .

  30. Lorenzobrisp dice:

    Подарок для конкурента https://xrumer.xyz/
    В работе несколько програм.
    Есть оптовые тарифы
    [url=https://xrumer.xyz/]Подарок для конкурента[/url]

  31. Donaldrog dice:

    В пятницу премьер-министр Бельгии Барт де Вевер направил
    Еврокомиссии письмо, в котором предупредил,
    [url=https://bs-onion.com]blacksprut зеркало[/url]
    что поспешная реализация плана по использованию
    российских активов разрушит шансы на потенциальное
    [url=https://bsme.top]blsp.at[/url]
    мирное соглашение. Ранее он не раз отмечал,
    что его стране нужны конкретные и надежные гарантии
    [url=https://blsp2bot.com]bs2web at[/url]
    от членов Евросоюза, если они хотят выделить
    Киеву кредит из суверенных средств другой страны.

    https://blacksprust.net/blsp-at

    bs2best at

  32. https://je-tal-marketing-970.lon1.digitaloceanspaces.com/research/je-marketing-(23).html
    You will wish to find one thing that works in each
    cold and warm, or find one thing to maintain you heat to go over it.

  33. Michaelphemi dice:

    Смарт кольца Samsung купить в Минске с доставкой по Беларуси
    [url=https://e-stock.by/product/televizor-samsung-neo-qled-8k-qn900b-qe75qn900buxce/]айфон 17 купить в кредит минск[/url]
    Samsung Galaxy Ring в Минске — у нас вы можете приобрести умные смарт-кольца Galaxy Ring по выгодной цене. Работаем как с физическими, так и с юридическими лицами, обеспечивая удобные условия покупки и гарантии. Так же можно приобрести умные кольца Samsung Galaxy Ring в рассрочку или кредит.
    [url=https://e-stock.by/product/televizor-supra-stv-lc32lt0085w/]моноблок недорого[/url]
    Всю технику Samsung можно купить в рассрочку или кредит.
    [url=https://e-stock.by/product/elektronnaya-kniga-onyx-boox-amundsen/]ASUS Zenbook Pro 16X OLED UX7602VI-MY073X купить[/url]
    Если Вам не хватает денег на приобретение топовых продуктов от Samsung вы можете купить их в кредит или банковскую рассрочку. А так же технику Apple, Google, Xiaomi, Huawei и другую

    Google Pixel 7 8GB/128GB купить Минск
    https://e-stock.by/product/televizor-polarline-32pl51tc-sm/

  34. JoshuaMes dice:

    online canadian pharmacy with prescription https://muscpharm.com/# canada prescription

Responder a TimothyLoasy Cancelar respuesta