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: 133,231

  1. TimothyFlout dice:

    Arkadaşlar selam, bu site kullanıcıları adına kısa bir duyuru yapmak istiyorum. Malum site giriş linkini tekrar değiştirdi. Erişim hatası varsa panik yapmayın. Güncel Vaycasino giriş linki şu an aşağıdadır: [url=https://vaycasino.us.com/#]Vay Casino Apk[/url] Paylaştığım bağlantı ile vpn kullanmadan siteye erişebilirsiniz. Güvenilir casino deneyimi için Vaycasino doğru adres. Herkese bol kazançlar temenni ederim.

  2. TimothyFlout dice:

    Herkese selam, bu popüler site kullanıcıları adına önemli bir duyuru yapmak istiyorum. Herkesin bildiği üzere Casibom adresini BTK engeli yüzünden yine değiştirdi. Siteye ulaşım sorunu varsa doğru yerdesiniz. Resmi Casibom giriş linki şu an paylaşıyorum https://casibom.mex.com/# Paylaştığım bağlantı üzerinden doğrudan hesabınıza bağlanabilirsiniz. Ek olarak yeni üyelere verilen freespin fırsatlarını da kaçırmayın. Lisanslı bahis deneyimi sürdürmek için Casibom tercih edebilirsiniz. Tüm forum üyelerine bol şans dilerim.

  3. Ricardoemund dice:

    Arkadaslar, Grandpashabet Casino yeni adresi belli oldu. Giremeyenler su linkten devam edebilir Grandpashabet Guvenilir mi

  4. Davidtulse dice:

    Herkese merhaba, Casibom sitesi oyuncuları adına kısa bir paylaşım yapmak istiyorum. Bildiğiniz gibi Casibom giriş linkini erişim kısıtlaması nedeniyle sürekli güncelledi. Giriş sorunu yaşıyorsanız doğru yerdesiniz. Son Casibom giriş bağlantısı artık aşağıdadır https://casibom.mex.com/# Bu link üzerinden doğrudan hesabınıza bağlanabilirsiniz. Ayrıca kayıt olanlara sunulan hoşgeldin bonusu fırsatlarını da kaçırmayın. Lisanslı casino deneyimi için Casibom tercih edebilirsiniz. Tüm forum üyelerine bol kazançlar dilerim.

  5. Georgebib dice:

    Herkese merhaba, bu site oyuncular? icin k?sa bir bilgilendirme paylas?yorum. Malum platform giris linkini yine guncelledi. Giris sorunu yas?yorsan?z endise etmeyin. Guncel Vaycasino giris linki su an asag?dad?r: [url=https://vaycasino.us.com/#]Vaycasino Uyelik[/url] Paylast?g?m baglant? ile vpn kullanmadan hesab?n?za girebilirsiniz. Guvenilir casino deneyimi surdurmek icin Vaycasino dogru adres. Tum forum uyelerine bol sans temenni ederim.

  6. AntioneEmelp dice:

    Matbet güncel adresi lazımsa doğru yerdesiniz. Hızlı için tıkla: Matbet Canlı Canlı maçlar burada. Arkadaşlar, Matbet bahis son linki belli oldu.

  7. Georgebib dice:

    Dostlar selam, Vay Casino kullan?c?lar? icin k?sa bir bilgilendirme paylas?yorum. Bildiginiz gibi platform giris linkini yine degistirdi. Giris sorunu varsa panik yapmay?n. Guncel siteye erisim adresi su an asag?dad?r: [url=https://vaycasino.us.com/#]Resmi Site[/url] Paylast?g?m baglant? ile direkt siteye erisebilirsiniz. Guvenilir casino deneyimi surdurmek icin Vaycasino dogru adres. Herkese bol sans dilerim.

  8. niggers dice:

    Hi everyone, it’s my first pay a visit at
    this site, and paragraph is really fruitful in support of me, keep up posting these content.

  9. Ricardoemund dice:

    Grandpashabet giris linki ar?yorsan?z dogru yerdesiniz. H?zl? giris yapmak icin https://grandpashabet.in.net/# Yuksek oranlar burada.

  10. AntioneEmelp dice:

    Dostlar selam, Vay Casino kullanıcıları adına kısa bir duyuru paylaşıyorum. Bildiğiniz gibi platform giriş linkini yine değiştirdi. Erişim hatası varsa endişe etmeyin. Güncel Vaycasino giriş linki artık aşağıdadır: https://vaycasino.us.com/# Paylaştığım bağlantı üzerinden doğrudan siteye girebilirsiniz. Lisanslı bahis deneyimi için Vay Casino tercih edebilirsiniz. Herkese bol şans dilerim.

  11. Davidtulse dice:

    Arkadaşlar selam, bu popüler site oyuncuları için önemli bir bilgilendirme yapmak istiyorum. Bildiğiniz gibi Casibom adresini erişim kısıtlaması nedeniyle sürekli taşıdı. Erişim hatası çekenler için doğru yerdesiniz. Son Casibom güncel giriş linki şu an burada [url=https://casibom.mex.com/#]Hemen Oyna[/url] Paylaştığım bağlantı ile doğrudan hesabınıza bağlanabilirsiniz. Ayrıca yeni üyelere verilen hoşgeldin bonusu kampanyalarını mutlaka inceleyin. Güvenilir bahis keyfi sürdürmek için Casibom tercih edebilirsiniz. Herkese bol şans dilerim.

  12. Georgebib dice:

    Matbet TV giris linki ar?yorsan?z dogru yerdesiniz. Sorunsuz icin: [url=https://matbet.jp.net/#]Matbet Twitter[/url] Yuksek oranlar burada. Arkadaslar, Matbet son linki belli oldu.

  13. webdesign dice:

    wow your article is simply a masterpiece, i like that, keep it up and will be checking for new update. do you post often? you can check the biggest webdesign freelancer in platform in germany called https://webdesignfreelancerhamburg.de/ Thank you for your wonderful post

  14. 國產 av dice:

    Hi there, I found your site by way of Google while looking for a related subject, your website got here up, it looks good. I have bookmarked it in my google bookmarks

  15. Ricardoemund dice:

    Grandpasha guncel adresi laz?msa dogru yerdesiniz. H?zl? erisim icin t?kla [url=https://grandpashabet.in.net/#]Grandpashabet Giris[/url] Yuksek oranlar bu sitede.

  16. koitoto dice:

    Hi there to all, how is all, I think every one is getting more
    from this web page, and your views are nice in support of new people.

  17. togel 4D dice:

    Hello, I check your new stuff like every week. Your story-telling style is witty,
    keep doing what you’re doing!

  18. wow your article is simply a masterpiece, i like that, keep it up and will be checking for new update. do you post often? you can check the biggest webdesign freelancer in platform in germany called https://webdesignfreelancerhamburg.de/ Thank you for your wonderful post

  19. I’m more than happy to discover this page. I need to to thank you for ones time just for this fantastic read!!
    I definitely appreciated every little bit of it and I have you saved to fav to see new information on your web
    site.

  20. Davidtulse dice:

    Grandpashabet güncel linki lazımsa işte burada. Sorunsuz giriş yapmak için Resmi Site Yüksek oranlar bu sitede.

  21. OMT’s bite-sized lessons protect аgainst overwhelm,
    enabling steady love for mathematics tо bloom and motivate consistent examination preparation.

    Founded іn 2013 by Mr. Justin Tan, OMT Math Tuition һas helped
    numerous trainees ace exams ⅼike PSLE, O-Levels,
    аnd A-Levels wіtһ tested analytical methods.

    Ԝith math integrated perfectly іnto Singapore’s classroom settings
    to benefit Ƅoth instructors and students, committed math tuition magnifies tһeѕe gains
    Ьy offering tailored support for sustained achievement.

    Math tuition assist primary students stand ⲟut in PSLE by strengthening thе Singapore Math curriculum’ѕ bar modeling method for visual
    analytical.

    Linking mathematics ideas tߋ real-world scenarios thrߋugh tuition strengthens understanding, mаking O Level application-based concerns m᧐re approachable.

    Junior college tuition ρrovides access to additional resources ⅼike worksheets аnd video clip descriptions, strengthening Α Level syllabus insurance coverage.

    Ꭲhe proprietary OMT curriculum stands аpart by incorporating MOE curriculum elements with gamified quizzes ɑnd obstacles to
    make discovering mⲟre satisfying.

    Limitless access t᧐ worksheets implies yoᥙ exercise untіl shiok, improving your math confidence ɑnd grades іn a snap.

    In a busy Singapore classroom, math tuition оffers tһe slower, comprehensive descriptions neеded tо build confidence for tests.

    Here iѕ my site best math tuition singapore

  22. AntioneEmelp dice:

    Grandpashabet giriş linki lazımsa işte burada. Sorunsuz giriş yapmak için tıkla [url=https://grandpashabet.in.net/#]Grandpashabet Güncel[/url] Deneme bonusu bu sitede.

  23. Hi there it’s me, I am also visiting this web page daily,
    this web site is truly nice and the users are truly sharing nice thoughts.

  24. TimothyFlout dice:

    Herkese selam, Vaycasino oyuncuları için önemli bir duyuru yapmak istiyorum. Bildiğiniz gibi site adresini yine değiştirdi. Erişim sorunu varsa panik yapmayın. Güncel Vay Casino giriş adresi şu an burada: [url=https://vaycasino.us.com/#]Vaycasino Kayıt[/url] Bu link ile direkt siteye girebilirsiniz. Güvenilir bahis keyfi için Vaycasino tercih edebilirsiniz. Tüm forum üyelerine bol şans dilerim.

  25. ремонт бетонных конструкций антикоррозия [url=https://remont-betonnykh-konstrukczij-usilenie4.ru/]ремонт бетонных конструкций антикоррозия[/url] .

  26. wow your article is simply a masterpiece, i like that, keep it up and will be checking for new update. do you post often? you can check the biggest webdesign freelancer in platform in germany called https://webdesignfreelancerhamburg.de/ Thank you for your wonderful post

  27. ремонт бетонных конструкций монолитный [url=https://remont-betonnykh-konstrukczij-usilenie4.ru/]remont-betonnykh-konstrukczij-usilenie4.ru[/url] .

  28. Hello would you mind stating which blog platform you’re using?

    I’m looking to start my own blog soon but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design seems different then most blogs and I’m looking for something unique.
    P.S Apologies for getting off-topic but I had to ask!

  29. ремонт бетонных конструкций договор [url=https://remont-betonnykh-konstrukczij-usilenie4.ru/]remont-betonnykh-konstrukczij-usilenie4.ru[/url] .

  30. ремонт бетонных конструкций материалы [url=https://remont-betonnykh-konstrukczij-usilenie4.ru/]ремонт бетонных конструкций материалы[/url] .

  31. Davidtulse dice:

    Arkadaşlar selam, Vaycasino oyuncuları adına önemli bir bilgilendirme yapmak istiyorum. Malum Vaycasino giriş linkini yine değiştirdi. Erişim sorunu varsa panik yapmayın. Son Vaycasino giriş linki şu an burada: Resmi Site Paylaştığım bağlantı üzerinden direkt siteye girebilirsiniz. Güvenilir bahis keyfi sürdürmek için Vay Casino doğru adres. Herkese bol kazançlar temenni ederim.

  32. Davidtulse dice:

    Herkese merhaba, Vay Casino oyuncuları için kısa bir duyuru paylaşıyorum. Malum platform adresini yine güncelledi. Giriş hatası yaşıyorsanız panik yapmayın. Son Vay Casino giriş linki şu an aşağıdadır: https://vaycasino.us.com/# Paylaştığım bağlantı ile direkt siteye girebilirsiniz. Lisanslı bahis deneyimi için Vaycasino tercih edebilirsiniz. Herkese bol kazançlar temenni ederim.

  33. Ricardoemund dice:

    Grandpashabet guncel linki ar?yorsan?z iste burada. H?zl? erisim icin t?kla [url=https://grandpashabet.in.net/#]Grandpashabet Guncel[/url] Yuksek oranlar burada.

  34. Thanks for any other wonderful post. Where else may just anybody get that type of information in such a perfect approach of writing?

    I have a presentation subsequent week, and I’m at the search for such information.

  35. Asking questions are really nice thing if you are not understanding anything totally, but this post provides pleasant understanding even.

  36. TimothyFlout dice:

    Grandpashabet güncel adresi arıyorsanız işte burada. Hızlı giriş yapmak için tıkla Grandpashabet Sorunsuz Giriş Yüksek oranlar bu sitede.

  37. AntioneEmelp dice:

    Grandpasha giriş linki arıyorsanız işte burada. Hızlı giriş yapmak için Grandpashabet Yüksek oranlar burada.

Responder a Pokerdom зеркало Cancelar respuesta