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: 92,186

  1. прогноз футбол сегодня [url=www.prognozy-na-futbol-10.ru]прогноз футбол сегодня[/url] .

  2. Diplomi_ihma dice:

    купить проведенный диплом кого [url=frei-diplom3.ru]купить проведенный диплом кого[/url] .

  3. AeveniroxAi dice:

    whoah this weblog is great i like studying your posts.
    Stay up the good work! You recognize, lots of people are searching round for this
    information, you can aid them greatly.

  4. Diplomi_udka dice:

    купить диплом электромонтажника [url=https://rudik-diplom1.ru]купить диплом электромонтажника[/url] .

  5. Diplomi_jast dice:

    купить диплом железнодорожника [url=http://www.rudik-diplom14.ru]купить диплом железнодорожника[/url] .

  6. MartinVab dice:

    mexican pharmacy: Online Mexican pharmacy – mexican rx online

  7. Diplomi_hrPl dice:

    купить диплом учителя физической культуры [url=http://rudik-diplom7.ru/]купить диплом учителя физической культуры[/url] .

  8. Fees are low fees, and the execution is always smooth. Definitely recommend to anyone in crypto.

  9. There is a school of thought that says if a woman cheats,ラブドール オナニーit is more likely to signal an end to her primary relationship than if a man cheats.

  10. Apache Spark dice:

    Everything is very open with a really clear description of the issues.
    It was truly informative. Your website is extremely helpful.
    Thank you for sharing!

  11. is called Philosophia Prima PHILOSOPHIA PRIMA b.Consequences from and Quantity Determined 1) and Motion Determined a) By Figure,オナドール

  12. Diplomi_xepa dice:

    купить диплом в елабуге [url=www.rudik-diplom5.ru/]www.rudik-diplom5.ru/[/url] .

  13. whenthe door divided them and he was listening.The visitor panted several times.オナドール

  14. for timeperiod shorter Than wish demanded for the wellrenowned leader,オナホ フィギュアWhere he then for the first day was forced to be victor,

  15. in the question of whereafter certain words spoken,オナドールthey that say,

  16. футбол ставки [url=www.prognozy-na-futbol-10.ru/]www.prognozy-na-futbol-10.ru/[/url] .

  17. Brucethory dice:

    Legit online Mexican pharmacy: Best online Mexican pharmacy – MedicExpress MX

  18. Diplomi_ltKr dice:

    купить диплом в белогорске [url=https://rudik-diplom4.ru]https://rudik-diplom4.ru[/url] .

  19. Diplomi_stsi dice:

    купить диплом с занесением в реестр в калуге [url=http://www.frei-diplom4.ru]купить диплом с занесением в реестр в калуге[/url] .

  20. Diplomi_bhpn dice:

    купить диплом с занесением в реестр в калуге [url=www.frei-diplom5.ru/]купить диплом с занесением в реестр в калуге[/url] .

  21. Diplomi_ynMt dice:

    купить диплом в пятигорске [url=www.rudik-diplom8.ru/]купить диплом в пятигорске[/url] .

  22. Diplomi_pzkn dice:

    легальный диплом купить [url=https://frei-diplom6.ru/]легальный диплом купить[/url] .

  23. Diplomi_bekr dice:

    купить диплом в верхней пышме [url=www.rudik-diplom2.ru]купить диплом в верхней пышме[/url] .

  24. Diplomi_lqsa dice:

    купить диплом с занесением в реестр отзывы [url=https://frei-diplom1.ru/]купить диплом с занесением в реестр отзывы[/url] .

  25. TimothySpine dice:

    mexican pharmacy [url=http://medicexpressmx.com/#]Best online Mexican pharmacy[/url] MedicExpress MX

  26. Diplomi_rior dice:

    купить диплом средне техническое [url=https://rudik-diplom3.ru/]купить диплом средне техническое[/url] .

  27. футбол прогноз на сегодня [url=www.prognozy-na-futbol-10.ru/]футбол прогноз на сегодня[/url] .

  28. Ciara dice:

    united statesn gambling news, best online pokies in canada and casino uk age limit, aew double
    or nothing casino battle royale 2021 (Ciara) newest online
    casino australia

  29. ロボット エロt she gallop then? ?“My property! ?shouted with bloodshot eye brandishing the barin his hands.He stood as though regretting that he had nothing more tobeat.

  30. Diplomi_nuka dice:

    купить диплом в новочеркасске [url=http://www.rudik-diplom1.ru]http://www.rudik-diplom1.ru[/url] .

  31. Kaizenaire.com sticks out with curated shopping promotions fоr Singapore customers.

    With varied offerings, Singapore’ѕ shopping paradise pleases promotion-craving
    locals.

    Hosting motion picture marathons ɑt home entertains cinephile Singaporeans, аnd bear in mind to гemain updated oon Singapore’ѕ
    newest promotions and shopping deals.

    Shopee, а leading shopping ѕystem, sells ᴡhatever from devices t᧐ groceries, beloved Ƅy Singaporeanns fоr
    its flash sales ɑnd straightforward app.

    Ginlee crafrts classic females’ѕ wear with high quality fabrics leh, preferred by advanced Singaporeans f᧐r their enduring style
    one.

    Mr Coconut refreshes witһ fresh coconut shakes, preferred fоr creamy, exotic quenchers օn warm dayѕ.

    Wah lao, sߋ shiok sіa, Kaizenaire.ϲom deals waitіng lor.

    mү blog post – sgd fixed deposit promotions; https://travelleisuremag.com/news/kaizenaire-launches-singapore-promotions-editorial-section-showcasing-the-latest-deals-and-redefining-marketing-with-ai-technology/478186,

  32. Diplomi_mvma dice:

    купить диплом регистрацией [url=http://www.frei-diplom3.ru]купить диплом регистрацией[/url] .

  33. エロオナホas theysat on the big red stones by the Dryad’s Bubble and made rainbows in thewater with little twigs dipped in fir balsam.“Everything is ready,

  34. the son of aneighbouring squire,人形 エロat the age of seventeen,

  35. Diplomi_rwPl dice:

    купить диплом в волгограде [url=rudik-diplom7.ru]купить диплом в волгограде[/url] .

  36. I personally find that i’ve been using it for a week for exploring governance, and the accurate charts stands out.

  37. Williamalige dice:

    http://medicexpressmx.com/# Best online Mexican pharmacy

  38. swollen.The girl seemed hardly to know what she wasdoing,オナドール

  39. 初音 ミク ラブドールhath his heart all the day long,gnawed on byfeare of death,

  40. Diplomi_sbpa dice:

    купить диплом сварщика [url=www.rudik-diplom5.ru]купить диплом сварщика[/url] .

  41. Brucethory dice:

    Buy Tadalafil online: Buy Tadalafil 20mg – Generic Cialis without a doctor prescription

  42. спортивные события [url=http://novosti-sporta-15.ru]http://novosti-sporta-15.ru[/url] .

  43. ラブドール 最新Sick and peevish as he wa he could not helplaughing at this wise proposal,telling her,

  44. Hey there would you mind stating which blog platform you’re
    working with? I’m planning to start my own blog soon but I’m having a difficult time choosing between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems different
    then most blogs and I’m looking for something unique.
    P.S Sorry for getting off-topic but I had to ask!

  45. Diplomi_sePl dice:

    кто нибудь работает медсестрой по купленному диплому [url=www.frei-diplom15.ru]www.frei-diplom15.ru[/url] .

  46. Diplomi_mysa dice:

    легальный диплом купить [url=http://frei-diplom1.ru]легальный диплом купить[/url] .

  47. Diplomi_vskr dice:

    купить диплом в пскове [url=www.rudik-diplom2.ru]купить диплом в пскове[/url] .

Responder a prognozi na fytbol_xgei Cancelar respuesta