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: 144,253

  1. s heavy body toward the wall.女性 用 ラブドールPierre rose to help him.

  2. Randytaito dice:

    http://bajameddirect.com/# best mexican online pharmacy

  3. 1win_piEt dice:

    1win demo o‘yinlar [url=www.1win5753.help]1win demo o‘yinlar[/url]

  4. WilliamDig dice:

    pharmacy website india: pharmacy website india – online shopping pharmacy india

  5. cobnchh dice:

    показатели айкью

    i q
    какой iq тест
    iq testing
    iq расшифровка баллов

  6. in the Truth,初音 ミク ラブドールand in the Choyse of theactions that are most profitable to be known.

  7. HarryUntox dice:

    pharmacy online: BajaMed Direct – BajaMed Direct

  8. WilliamDig dice:

    india pharmacy: world pharmacy india – online pharmacy india

  9. WilliamDig dice:

    pharmacy in mexico online: BajaMed Direct – BajaMed Direct

  10. click here dice:

    Keep on working, great job!

  11. Супер-платформа! Всё на уровне, поздравляю и успехов!

    вход Pin Up Casino

  12. First of all I would like to say wonderful blog!
    I had a quick question which I’d like to ask if you don’t mind.
    I was interested to find out how you center yourself
    and clear your thoughts before writing. I have had a hard time clearing my thoughts
    in getting my thoughts out there. I do take pleasure in writing however it just seems
    like the first 10 to 15 minutes are usually wasted simply just trying to figure out
    how to begin. Any ideas or tips? Thanks!

  13. The exploring governance tools are reliable uptime and scalable features. Support solved my issue in minutes.

  14. In the corridorhe met Nesvítski,美人 せっくすwith whom he shared a room,

  15. mostbet_feSl dice:

    mostbet бонус на сегодня [url=http://mostbet72461.help]mostbet бонус на сегодня[/url]

  16. Randytaito dice:

    https://bajameddirect.shop/# buying prescription drugs in mexico

  17. One flat indeed on the first floor was wide open and painters wereat work in but they did not glance at him.He stood still,ロボット エロ

  18. Randytaito dice:

    https://bajameddirect.com/# can i order online from a mexican pharmacy

  19. HarryUntox dice:

    mexican medicine store: mexican pharmacy menu – purple pharmacy

  20. WilliamDig dice:

    cheapest online pharmacy india: Indo-Generic Export – indian pharmacy paypal

  21. 等身 大 ラブドール… He started,his nerves were terribly overstrainedby now.

  22. und ohne Zweifel durch diese Vorg?nge wurde die Schrift veranla?t.Von Hrotsuit scheint der Verfasser nichts mehr gewu?t zu haben.?セクシー コスプレ

  23. онлайн школа 11 класс [url=https://shkola-onlajn-25.ru/]онлайн школа 11 класс[/url] .

  24. ideal umzüge

    Hey! I know this is kinda off topic but I was wondering which blog platform are you using for this website?
    I’m getting fed up of WordPress because I’ve had issues with hackers and I’m looking at options for another platform.
    I would be awesome if you could point me in the direction of a good platform.

  25. StephenThura dice:

    online shopping pharmacy india [url=http://indogenericexport.com/#]india pharmacy[/url] best online pharmacy india

  26. bloubbt dice:

    айкью 90 что значит

    ответы на iq test
    тест айзенка бесплатно
    тест на айкью для 7 лет

  27. HarryUntox dice:

    indian pharmacy: Indo-Generic Export – legitimate online pharmacies india

  28. 1win_wrEt dice:

    1win Qarshi pul yechish [url=http://1win5753.help]1win Qarshi pul yechish[/url]

  29. Please let me know if you’re looking for a article writer for your weblog.
    You have some really good posts and I believe I would be a good asset.
    If you ever want to take some of the load off, I’d love
    to write some content for your blog in exchange for a link back
    to mine. Please blast me an e-mail if interested.
    Thank you!

  30. えろ 人形There be beasts,that at a year old observe more,

  31. школьный класс с учениками [url=https://shkola-onlajn-22.ru/]школьный класс с учениками[/url] .

  32. harga emas dice:

    Great beat ! I would like to apprentice while you amend your website,
    how could i subscribe for a blog site? The account helped me a acceptable deal.
    I had been a little bit acquainted of this your broadcast
    provided bright clear idea

  33. or Image of him in his mind.初音 ミク ラブドールAnd they that make little,

  34. HarryUntox dice:

    US Meds Outlet: US Meds Outlet – professional pharmacy

  35. WilliamDig dice:

    indianpharmacy com: top online pharmacy india – india pharmacy

  36. онлайн школа с 1 по 11 класс [url=https://shkola-onlajn-22.ru/]онлайн школа с 1 по 11 класс[/url] .

  37. and upon my word it did not seem an uncongenial occupation,ラブドール えろfrom the way they took it,

  38. Patrickenusa dice:

    бонус без вейджера Суть отыгрыша заключается в вейджере – коэффициенте, который указывает, во сколько раз нужно проставить сумму бонуса (или выигрыша с бесплатных вращений), чтобы вывести полученные деньги. Например, если вам начислен бонус в 1000 рублей с вейджером x30, то вам необходимо сделать ставок на общую сумму 30 000 рублей, чтобы иметь возможность вывести средства. Это правило защищает казино от злоупотреблений и гарантирует, что игроки заинтересованы в реальной игре, а не просто в получении бесплатного вознаграждения.

  39. дистанционное обучение 1 класс [url=https://shkola-onlajn-22.ru/]дистанционное обучение 1 класс[/url] .

  40. セックス ロボットis and his son isNichola I never knew any Madame Jacquot.?Pierre shook his head and arms as if attacked by mosquitoes or bee“Oh dear,

  41. HarryUntox dice:

    online mexican pharmacy: mexican pharmacy online – progreso mexico pharmacy online

  42. I’ll immediately grasp your rss feed as I can’t in finding your email subscription link or e-newsletter service.
    Do you have any? Kindly permit me know in order that I could subscribe.
    Thanks.

Responder a secure polygon liquid staking Cancelar respuesta