saa Infraestructura como código – Politraining

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: 134,392

  1. 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://webdesignfreelancerfrankfurt.de/ Thank you for your wonderful post

  2. 國產 av dice:

    Wonderful article! That is the type of info that are meant to be shared across the internet. Shame on Google for no longer positioning this post upper! Come on over and visit my web site . Thank you =)

  3. av 在线 dice:

    Hi Dear, are you really visiting this site on a regular basis, if so after that you will without doubt take nice know-how.

  4. AntioneEmelp dice:

    Grandpasha giriş linki arıyorsanız doğru yerdesiniz. Sorunsuz giriş yapmak için Siteye Git Deneme bonusu burada.

  5. Hi! Would you mind if I share your blog with my facebook group?
    There’s a lot of folks that I think would really appreciate your content.
    Please let me know. Cheers

    Feel free to surf to my site – BRUTAL PORN CLIPS

  6. MiltonTaf dice:

    Эскорт-карьера с поддержкой для девушек в Италии. rabota-devushkam-v-milane.ru

  7. AntioneEmelp dice:

    Dostlar selam, bu site kullanıcıları adına kısa bir duyuru yapmak istiyorum. Bildiğiniz gibi Vaycasino adresini tekrar değiştirdi. Erişim sorunu varsa endişe etmeyin. Son siteye erişim adresi artık burada: Vaycasino Bonus Bu link ile direkt hesabınıza erişebilirsiniz. Güvenilir bahis deneyimi sürdürmek için Vaycasino doğru adres. Tüm forum üyelerine bol kazançlar temenni ederim.

  8. AntioneEmelp dice:

    Dostlar selam, Casibom kullanıcıları adına kısa bir bilgilendirme paylaşıyorum. Herkesin bildiği üzere bahis platformu adresini BTK engeli yüzünden sürekli güncelledi. Giriş sorunu varsa doğru yerdesiniz. Yeni siteye erişim adresi şu an aşağıdadır https://casibom.mex.com/# Paylaştığım bağlantı üzerinden direkt siteye bağlanabilirsiniz. Ek olarak yeni üyelere sunulan yatırım bonusu fırsatlarını da inceleyin. Güvenilir bahis keyfi sürdürmek için Casibom tercih edebilirsiniz. Herkese bol kazançlar dilerim.

  9. b2xbet dice:

    This is a good tip especially to those new to the blogosphere. Short but very precise information… Thank you for sharing this one. A must read article!

  10. winpot dice:

    Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You clearly know what youre talking about, why waste your intelligence on just posting videos to your site when you could be giving us something enlightening to read?

  11. gbgbet dice:

    I have read so many articles or reviews about the blogger lovers but this paragraph is actually a nice paragraph, keep it up.

  12. Ricardoemund dice:

    Arkadaslar, Grandpashabet Casino son linki ac?kland?. Adresi bulamayanlar su linkten devam edebilir [url=https://grandpashabet.in.net/#]Grandpashabet Giris[/url]

  13. 1win_yrei dice:

    1вин официальный сайт [url=http://1win12050.ru]http://1win12050.ru[/url]

  14. Ricardoemund dice:

    Matbet TV guncel linki laz?msa dogru yerdesiniz. Sorunsuz icin: Resmi Site Canl? maclar burada. Arkadaslar, Matbet bahis yeni adresi belli oldu.

  15. 日本 av dice:

    Have you ever thought about including a little bit more than just your articles? I mean, what you say is fundamental and all. However just imagine if you added some great images or video clips to give your posts more, “pop”! Your content is excellent but with pics and clips, this blog could undeniably be one of the greatest in its niche. Excellent blog!

  16. Почему пользователи выбирают площадку KRAKEN?

    Маркетплейс KRAKEN заслужил доверие многочисленной аудитории
    благодаря сочетанию ключевых факторов.
    Во-первых, это широкий и разнообразный ассортимент, представленный сотнями продавцов.

    Во-вторых, интуитивно понятный интерфейс KRAKEN, который упрощает навигацию, поиск товаров и управление заказами даже для
    новых пользователей. В-третьих, продуманная система безопасных
    транзакций, включающая механизмы разрешения споров (диспутов) и возможность
    использования условного депонирования, что минимизирует риски для обеих сторон сделки.
    На KRAKEN функциональность сочетается с внимательным отношением к безопасности
    клиентов, что делает процесс покупок более предсказуемым, защищенным и, как следствие, популярным среди пользователей, ценящих анонимность и
    надежность.

  17. av 在线 dice:

    wonderful points altogether, you just received a new reader. What could you recommend about your submit that you simply made some days in the past? Any positive?

  18. Looking for some festive fun? This christmas bubble shooter game is a delightful way to get into the holiday spirit! With its vibrant graphics and engaging gameplay, it’s perfect for unwinding. Simple to pick up but offers a nice challenge. Highly recommend for some seasonal entertainment!

  19. 國產 av dice:

    I’ll right away seize your rss feed as I can’t to find your e-mail subscription link or e-newsletter service. Do you have any? Kindly permit me understand so that I may just subscribe. Thanks.

  20. av 女優 dice:

    I have read so many content regarding the blogger lovers but this post is actually a fastidious article, keep it up.

  21. TimothyFlout dice:

    Herkese selam, Vay Casino oyuncuları için önemli bir duyuru paylaşıyorum. Bildiğiniz gibi site giriş linkini yine değiştirdi. Giriş sorunu yaşıyorsanız panik yapmayın. Son siteye erişim linki artık aşağıdadır: https://vaycasino.us.com/# Paylaştığım bağlantı ile doğrudan hesabınıza girebilirsiniz. Lisanslı bahis deneyimi sürdürmek için Vay Casino tercih edebilirsiniz. Tüm forum üyelerine bol şans temenni ederim.

  22. 國產 av dice:

    Very descriptive article, I enjoyed that bit. Will there be a part 2?

  23. b2xbet dice:

    Pretty section of content. I just stumbled upon your weblog and in accession capital to claim that I acquire in fact loved account your blog posts. Anyway I will be subscribing to your augment or even I achievement you get entry to consistently fast.

  24. Definitely believe that which you stated.
    Your favorite reason seemed to be on the web the easiest thing to be aware of.
    I say to you, I certainly get annoyed while people think about worries that they just do not know
    about. You managed to hit the nail upon the top as well as defined out the whole thing without having side
    effect , people can take a signal. Will probably be back to get more.
    Thanks

  25. AntioneEmelp dice:

    Gençler, Grandpashabet son linki açıklandı. Adresi bulamayanlar buradan devam edebilir https://grandpashabet.in.net/#

  26. Ricardoemund dice:

    Herkese merhaba, Vay Casino kullan?c?lar? icin k?sa bir bilgilendirme paylas?yorum. Bildiginiz gibi site adresini yine guncelledi. Erisim sorunu yas?yorsan?z panik yapmay?n. Cal?san Vaycasino giris adresi art?k burada: https://vaycasino.us.com/# Paylast?g?m baglant? ile direkt hesab?n?za girebilirsiniz. Lisansl? casino deneyimi icin Vay Casino tercih edebilirsiniz. Tum forum uyelerine bol sans dilerim.

  27. AntioneEmelp dice:

    Matbet güncel linki lazımsa işte burada. Sorunsuz için tıkla: Matbet TV Giriş Canlı maçlar bu sitede. Gençler, Matbet bahis yeni adresi belli oldu.

  28. av 在线 dice:

    Awesome blog! Is your theme custom made or did you download it from somewhere? A theme like yours with a few simple adjustements would really make my blog jump out. Please let me know where you got your design. Cheers

  29. av 女優 dice:

    whoah this blog is fantastic i love studying your posts. Keep up the great work! You recognize, lots of individuals are hunting round for this information, you could aid them greatly.

  30. av 在线 dice:

    Attractive component of content. I just stumbled upon your weblog and in accession capital to assert that I get in fact loved account your blog posts. Anyway I will be subscribing for your feeds and even I achievement you get right of entry to consistently rapidly.

  31. Hello, of course this piece of writing is truly fastidious and I have learned lot of things from it concerning blogging.
    thanks.

  32. Hey there! I’m at work surfing around your blog from my new apple iphone!
    Just wanted to say I love reading your blog and look forward to all your
    posts! Carry on the great work!

  33. TimothyFlout dice:

    Matbet TV giriş adresi arıyorsanız doğru yerdesiniz. Sorunsuz için: [url=https://matbet.jp.net/#]Matbet TV[/url] Canlı maçlar burada. Gençler, Matbet bahis son linki belli oldu.

  34. 國產 av dice:

    Terrific work! This is the type of info that are meant to be shared across the web. Shame on the search engines for no longer positioning this post higher! Come on over and visit my web site . Thanks =)

  35. 國產 av dice:

    Wow that was strange. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say fantastic blog!

  36. 日本 av dice:

    I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get got an nervousness over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this increase.

  37. hi88 dice:

    Hiya! I know this is kinda off topic however , I’d figured I’d ask. Would you be interested in exchanging links or maybe guest authoring a blog article or vice-versa? My blog covers a lot of the same topics as yours and I think we could greatly benefit from each other. If you might be interested feel free to send me an email. I look forward to hearing from you! Awesome blog by the way!

  38. 비아샵 dice:

    Howdy very nice web site!! Guy .. Beautiful ..
    Wonderful .. I will bookmark your blog and take the feeds also?
    I am glad to find a lot of helpful information right here within the post, we need work out more strategies in this regard, thanks for sharing.

    . . . . .

  39. It is not my first time to pay a quick visit this site,
    i am visiting this site dailly and take good information from here everyday.

  40. hi88 dice:

    Pretty part of content. I simply stumbled upon your blog and in accession capital to claim that I acquire actually loved account your weblog posts. Any way I will be subscribing on your augment and even I success you get admission to persistently rapidly.

  41. Ricardoemund dice:

    Matbet TV guncel linki ar?yorsan?z iste burada. H?zl? icin: [url=https://matbet.jp.net/#]Matbet Indir[/url] Canl? maclar burada. Gencler, Matbet bahis son linki belli oldu.

Responder a ysilenie proemov_pxMr Cancelar respuesta