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: 95,971

  1. What the English call _reaching_,エロ い コスプレwe in America call_stretching_.

  2. et bientot après mon grandpère disait:?Je reconnais la voix de Swann.? On ne le reconnaissait en effet qu’ala voix,エッチ コスプレ

  3. Williamecoto dice:

    EdPillsAfib [url=http://edpillsafib.com/#]Ed Pills Afib[/url] what is the cheapest ed medication

  4. Attractive section of content. I just stumbled upon your weblog and in accession capital to assert that
    I acquire in fact enjoyed account your blog posts. Anyway I will
    be subscribing to your feeds and even I achievement you access consistently fast.

  5. Williamecoto dice:

    EdPillsAfib [url=https://edpillsafib.xyz/#]ed pills[/url] erectile dysfunction drugs online

  6. xxx dice:

    Hey all everyone. Wantred to show a really cool footage that complements the article!
    You might enjoy it Plus, it’s a great choice.
    I discovered more clips from this platform, and it could be fun forr the community!

    You won’t rrgret watching!

    my homepage; xxx

  7. エッチ な コスプレpraemī _rewar prize_?praeruptus,-um? [[ of ?prae-rumpō _break off_]],

  8. Stevepsymn dice:

    legitimate online pharmacy http://corpharmacy.com/# Cor Pharmacy

  9. Williamecoto dice:

    Cheap Viagra 100mg [url=https://viagranewark.com/#]Generic Viagra for sale[/url] Sildenafil Citrate Tablets 100mg

  10. __?it is; hie; iste; ille; _or not expressed_?Italy It __?its eius; huius; istīus; illīus; _reflexive_,-um (§116)?itself suī.エッチ な コスプレ

  11. almost engulfing and choking them.In vain were they ordered back,ロボット セックス

  12. la soif et la peur du danger.J’ouvris la fenêtre sans bruit etm’assis au pied de mon lit; je ne faisais presque aucun mouvement afinqu’on ne m’entendit pas d’ Dehors,エッチ コスプレ

  13. JamesOxype dice:

    cheap viagra canadian pharmacy: Cor Pharmacy – Cor Pharmacy

  14. as compared with those farther south where the land has beencarved only by rain and streams.ランジェリー エロAlong the coast the wearing away ofthe land by waves is shown at cliffs,

  15. Stevepsymn dice:

    most trusted canadian online pharmacy http://edpillsafib.com/# Ed Pills Afib

  16. Stevepsymn dice:

    canadian drug store cialis https://viagranewark.xyz/# generic sildenafil

  17. Copyright laws in most countries arein a constant state of change.If you are outside the United States,アダルト 下着

  18. I simply could not leave your web site before suggesting that I extremely loved the standard information an individual provide on your visitors?
    Is gonna be again steadily to check up on new posts

  19. Dahil dito,ランジェリー エロcahinahinayang na hindi cay marunong ng latin; sa latin ay mahuhusayna lahat.

  20. 1win_uasl dice:

    бк 1win официальный сайт [url=http://1win12043.ru/]бк 1win официальный сайт[/url]

  21. JamesOxype dice:

    buy erectile dysfunction pills: cheap ed medication – online ed pharmacy

  22. エッチ コスプレa serefaire avant une tentative suprême.Puis une deuxième fois,

  23. Stevepsymn dice:

    prescriptions online http://corpharmacy.com/# CorPharmacy

  24. Soeasie are men to be drawn to believe any thing,from such men as havegotten credit with them,初音 ミク ラブドール

  25. 6kg3.icu dice:

    Hi there, I read your new stuff regularly. Your story-telling style is awesome, keep doing what you’re doing!

  26. セクシー えろwere you? there was cause.I’ve fought through a bitter life since I last heard your voice; andyou must forgive me,

  27. btc from network btc hyper presale.

    With bitcoin hyper, it will be significantly easier to send tokens instantly,
    with small commissions any of us all over light.

  28. Thomasplape dice:

    смотреть здесь [url=https://www.neurokc.com/]Mega darknet[/url]

  29. The finest Independent Karachi Call Girls
    call girls offer a luxurious experience for those seeking high-class companionship.
    Whether you’re attending a special event or simply want to unwind,
    their services are designed to meet your needs and ensure your satisfaction.

  30. that almost allthe gardeners of South-Britain were natives of Scotland.The verdure ofthis country is not equal to that of England.ラブドール 最新

  31. MichaelChato dice:

    Главная [url=https://www.neurokc.com]Mega darknet[/url]

  32. Stevepsymn dice:

    safe reliable canadian pharmacy https://viagranewark.xyz/# ViagraNewark

  33. JamesOxype dice:

    Ed Pills Afib: Ed Pills Afib – pills for erectile dysfunction online

  34. that if he was now silent,he must submit to have his judgment censured.ドール エロ

  35. Stevepsymn dice:

    canada drugs without prescription https://corpharmacy.com/# CorPharmacy

  36. JamesOxype dice:

    ViagraNewark: Viagra Newark – Viagra tablet online

  37. and so may relieve each other in difficulties,えろ こすぷれbuteither may be captured.

  38. Williamecoto dice:

    discount pharmacy card [url=https://corpharmacy.xyz/#]CorPharmacy[/url] Cor Pharmacy

  39. Web Site dice:

    Hey There. I found your blog using msn. This is a very well written article.
    I will make sure to bookmark it and return to read more of your useful info.
    Thanks for the post. I’ll definitely return.

  40. his ears moving quickly backward and forward.This done,アダルト 下着

Responder a xxx Cancelar respuesta