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: 16,829

  1. situs kontol dice:

    Superb site you have here but I was curious about
    if you knew of any community forums that cover the same topics
    talked about in this article? I’d really like to
    be a part of group where I can get comments
    from other knowledgeable individuals that share the same interest.
    If you have any recommendations, please let me know.
    Cheers!

  2. cqobiwes dice:

    This online pharmacy is really very of great help for old ailing patients and physically disabled persons. Screaming, yelling, demanding things, or being rude can’t help the situation. The respiratory therapist’s tasks include supplying the precise measurements of oxygen or other types of gas concentrations inside patient’s blood in addition to measuring blood alkalinity or acidity levels.
    #clonazepam

  3. What’s up, this weekend is nice for me, as this occasion i am reading this enormous educational piece
    of writing here at my home.

  4. Hello there! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains.
    If you know of any please share. Appreciate it!

  5. Hi! I could have sworn I’ve been to this web site before but after browsing through a few of the
    posts I realized it’s new to me. Regardless, I’m definitely
    pleased I found it and I’ll be book-marking it and checking back regularly!

  6. nagano tonic official buy online today. Jack Dietitian is your trusted nutrition expert, offers personalized, science-backed advice to boost health and weight loss. Specializing in Nagano Tonic, Jack guides you to a vibrant, balanced lifestyle.

  7. appzmouh dice:

    Pharmacy technicians also usually do not provide advice to patients about medication options, side effects, or another drug information. Screaming, yelling, demanding things, or being rude will not help the situation. The respiratory therapist’s tasks include offering the precise measurements of oxygen or other kinds of gas concentrations in the patient’s blood as well as measuring blood alkalinity or acidity levels.

  8. Ouvrez simplement votre navigateur (Chrome/Safari), visitez notre site, collez le lien de la
    vidéo et téléchargez.

  9. hbilzbrm dice:

    While there is really a small chance you can get laid off (as an example, when the chain supermarket closes some stores) you shouldn’t have much problem finding another job. The local temperature with the medicine producing country is one and the other country may be another, and also the avian temperature could be the other. Veri – Sign and Scan – Alert Hacker Safe are the two names you have to be looking out for as well since these names will proclaim these websites feel safe for paying online.

  10. Fine way of telling, and good paragraph to get facts regarding my presentation topic, which i am going to deliver in school.

  11. Hello I am so thrilled I found your site, I really found you by accident, while I was
    looking on Google for something else, Anyways I am here now and would just like
    to say thanks for a remarkable post and a all round entertaining blog (I also love the theme/design),
    I don’t have time to browse it all at the moment but I have bookmarked
    it and also included your RSS feeds, so when I have time I
    will be back to read a lot more, Please do keep up the
    excellent work.

  12. oksaak dice:

    It can be used by fraudsters to get into your accounts at numerous financial institutions. The very last volume of the certified local pharmacy professional study course takes a 12 month preparation software in addition to as soon as the completing the actual tutorials you could possibly purchase an associates education. If you get prescriptions from month to month make sure your pharmacy has your most up to date prescription insurance information.

  13. homepage dice:

    Ayo mainkan peluang besar anda di LIGACOR untuk kaya dengan bermain game di website terbaik
    tanpa stress! Dapatkan info cuan mudah dan jadilah kaya secara otomatis

  14. Excellent site you have here.. It’s difficult to find high-quality
    writing like yours nowadays. I honestly appreciate people like you!

    Take care!!

  15. 성인웹툰 dice:

    Hello, i think that i saw you visited my web site so i came to “return the favor”.I am trying to
    find things to improve my site!I suppose its ok to use a few of your ideas!!

  16. vhkcre dice:

    By giving your pharmacy the exact name of one’s medication it is possible to better safe guard your health. Important point to become noticed is that cost can’t always be the first consideration. An individual who finds work within this profession can be described as a radiology technician if his competency qualifies him to execute work using x-ray, ultra-sound, CAT or ECG equipment that delivers the doctors with scanned images that the latter will use as bases because of their diagnoses.

  17. I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. http://plcu-hoy.cryptostarthome.com

  18. Excellent post. I was checking continuously this blog and I’m impressed!

    Very helpful information particularly the final section 🙂 I care for such info a lot.
    I was looking for this certain info for a very long time. Thank you and good luck.

    https://youzhieducation.com/

  19. xrviapg dice:

    The certification does play a crucial role in making a rewarding career as a PT as it helps in making one more qualified after they apply for promotion. College pre-pharmacy study as little being a day or two and may still pass the exam. However, by exercising with adequate practice pharmacy technician test questions we’ve better probability of being successful.

  20. more dice:

    Great information. Lucky me I recently found your blog by
    chance (stumbleupon). I’ve saved it for later!

  21. Interesting blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple tweeks would really make my blog shine.
    Please let me know where you got your theme. Cheers

  22. ip880.com dice:

    You’ve made some good points there. I checked on the net to learn more about the issue and found most individuals will go along with your views on this site.

  23. mqyzgyzc dice:

    CVS Pharmacy must rely on prescription drug sales to stay in business, but Wal-Mart doesn’t must add a tremendous markup to the medications they sell. The local temperature from the medicine producing country is one and the other country might be another, along with the avian temperature may be the other. It is essential that the online doctor exactly understands just what the problem is and accordingly gives the medicine.

  24. demo pg soft dice:

    When I initially commented I clicked the “Notify me when new comments are added” checkbox
    and now each time a comment is added I get several e-mails with
    the same comment. Is there any way you can remove people
    from that service? Appreciate it!

  25. useful link dice:

    Remarkable things here. I am very glad to peer your
    article. Thanks so much and I am having a look ahead to touch you.
    Will you kindly drop me a mail?

  26. It is truly a nice and useful piece of info. I am satisfied that you just shared
    this helpful info with us. Please keep us informed like this.
    Thank you for sharing.

Responder a online pharmacies legitimate Cancelar respuesta