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: 14,574

  1. lipdhg dice:

    Pharmacy technicians also tend not to provide advice to patients about medication options, side effects, or another drug information. In Oklahoma, pharmacists are forced to obtain a valid photo identification before dispensing any controlled, dangerous substance. The respiratory therapist’s tasks include offering the precise measurements of oxygen or other varieties of gas concentrations within the patient’s blood in addition to measuring blood alkalinity or acidity levels.
    https://www.thebiketube.com/bulletproof-yoana

  2. ラブドール エロI inquired the way to the inn,butno one replied.

  3. ラブドール 風俗but the expression of thatlook was disputable.It was an earnest,

  4. ckvbifl dice:

    The pharmaceutical industry especially do not want to allow its practitioners to delay or refuse treatments for clients due to the perceived using any medical device, it could be a pill or perhaps a syringe. You might also check out “Physician Assistant Is a Top Healthcare Career. They may also check with doctors to authorize refills, and enter drug information into the computer.
    https://www.fr.adrenal-fatigue.de/node/5294

  5. hpzwti dice:

    This online pharmacy is really very ideal for old ailing patients and physically disabled persons. Screaming, yelling, demanding things, or being rude will not help the situation. According towards the Bureau of Labor Statistics (BLS), pharmacists perform lot a lot more than provide prescription drugs to patients.
    https://oregonweddingday.com/your-couple-name-2136

  6. we borrow the expressive hue of theshroud in which we wrap them.Nor even in our superstitions do we failto throw the same snowy mantle round our phantom all ghosts rising ina milk-white fogYea,オナホ フィギュア

  7. エロ ラブドールI dare say,whenever that happen ?“It was a subject which they could not mention before me.

  8. Foг neweѕt news yoᥙ һave tо pay a quick visit the web ɑnd on internet I found
    this site as a best web site fߋr most rеcent updates.

    my web site wismabet link

  9. trufywbg dice:

    It is important to note that doesn’t every pharmacy technician receives this type of low wage knowning that when employed in private pharmacies, it is probably that one receives a wage of $17 each hour minimum. The pharmacist technician must have the prepared prescription, reviewed by way of a pharmacist, before dispensing or submitting the completed order to some patient or customer. They are also responsible for inspecting the operational management of dispensary and manufacturing units and providing a platform to enhance the pharmacists’ role to prescribe medicine independently.
    https://globalro.org/node/3888

  10. It is the best time to make some plans for the future and it’s
    time to be happy. I have read this post and if I could I
    want to suggest you few interesting things or suggestions.
    Perhaps you could write next articles referring to this article.

    I desire to read more things about it!

  11. pharmeasy dice:

    This piece of writing gives clear idea in support of the
    new people of blogging, that actually how to do running
    a blog.

  12. oeqicx dice:

    If you are disabled as outlined by federal government standards, and receive government disability payments, then you definitely generally may have your student loans discharged. In 1960, the Ayala Group of Companies offered Mariano Que a place to lease inside shopping center that’s about to be developed in the heart of Makati. According on the Bureau of Labor Statistics (BLS), pharmacists execute a lot more than provide prescriptions to patients.
    https://meljay.de/forum/kritik-und-probleme/913-metformin-secure-online

  13. it needs a definition,and should be incorporated into theLexicon.人形 エロ

  14. cwsvzp dice:

    If you are disabled according to federal government standards, and receive government disability payments, then you certainly generally will surely have your student loans discharged. In 1960, the Ayala Group of Companies offered Mariano Que space to lease in the shopping center that has been about to become developed within the heart of Makati. Instead, I simply copied the hyperlink and pasted it into my browser window, and came up with exactly what I knew I would- another “Canadian Pharmacy” web site.
    https://museusvalenciapre.grupotecopy.es/en/node/3634

  15. Having read this I believed it was very informative.
    I appreciate you spending some time and energy to put this content together.
    I once again find myself spending way too much time both reading and posting comments.

    But so what, it was still worth it!

  16. I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored material stylish.
    nonetheless, you command get got an shakiness over that you
    wish be delivering the following. unwell
    unquestionably come more formerly again as exactly the same nearly a lot often inside case you shield this increase.

  17. situs toto dice:

    Great post. I will be experiencing some of these issues as well..

  18. Wow, marvelous blog format! How long have you ever been blogging for?

    you make blogging glance easy. The overall look of your site is wonderful, as well as the content material!

  19. howeverunequally they may be returned.It is natural that obligation should befelt,ラブドール 風俗

  20. ispncus dice:

    Most physiologists required a Ph – D degree and licensing. Important point to become noticed is cost can’t be the first consideration. This is a common occurrence as January 1 kicks off a brand new year of pharmacy benefits and beneficiaries are located in (with minor exceptions needless to say called qualifying life events or QLEs) until the next open enrollment season in November.
    https://www.rapidservice.com.ec/es/content/1-caja-o-paquete-1687

  21. Pretty great post. I just stumbled upon your weblog and wanted to mention that I’ve
    really enjoyed browsing your weblog posts. In any
    case I’ll be subscribing in your feed and I am hoping you write again soon!

Responder a Mesa kitchen remodeling company Cancelar respuesta