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: 21,381

  1. Sometimes there are serious health issues that cause low testosterone,but often a man’s T-levels fall for unknown reasons,ドール アダルト

  2. AnthonyStoge dice:

    For a click, set the currency and send [url=https://www.imdb.com/list/ls4100115982/]https://www.imdb.com/list/ls4100115982/[/url]

  3. 000 views a month,he still roots for the Rangers,ラブドール

  4. link calon4d dice:

    I was recommended this blog by means of my cousin. I’m now not certain whether this post is written by means of him as no one else recognise
    such exact approximately my difficulty. You are incredible!
    Thanks!

  5. For most wo a sense of relational intimacy is every bit as important as the sex; often more important.オナホ 新作Male sexual desire tends to be driven by physiological rather than psychological factors.

  6. Thank you for the auspicious writeup. It in fact was a amusement account it.

    Look advanced to more added agreeable from you! However, how
    can we communicate?

  7. オナホ 高級Turning toward each other may be the key that ignites desire,as emotions are raw and vulnerable.

  8. Hi! I’ve been following your blog for a long time
    now and finally got the bravery to go ahead and give you a shout out from
    Kingwood Tx! Just wanted to mention keep up the great work!

  9. bandar slot dice:

    Hello just wanted to give you a quick heads up. The words in your post seem to be running off the
    screen in Safari. I’m not sure if this is a format issue
    or something to do with internet browser compatibility but I thought I’d
    post to let you know. The design and style look
    great though! Hope you get the problem solved soon. Kudos

  10. Triangle Billiards & Bar Stools
    1471 Nisson Ɍԁ, Tustin,
    ᏟΑ 92780, United Ѕtates
    +17147715380
    Triangle Billiards Buying Guide

  11. Do you mind if I quote a few of your articles as long as I provide credit and sources back
    to your webpage? My website is in the exact same niche as yours and
    my users would genuinely benefit from some of the information you provide here.
    Please let me know if this ok with you. Thank you!

  12. Hi, its fastidious article regarding media print, we all
    know media is a great source of information.

  13. sex doll dice:

    after making a fool ofmyself.Upon my word,エロ ロボット

  14. toko123 dice:

    My spouse and I stumbled over here by a different website and thought I might as well
    check things out. I like what I see so now i am following you.
    Look forward to finding out about your web page repeatedly.

  15. Lagu Togel dice:

    Hello to every body, it’s my first pay a quick visit of this blog; this
    webpage consists of remarkable and actually excellent
    stuff for readers.

  16. yo las armas dandole esta espada luego._–Cómo lo saben dizir,エロ ラブドール

  17. ラブドール エロI shook from head to foot as if I had had the most violent fit of the ague.I knew what he meant by that one word well enough—I knew what he wished to make me understand.

  18. Hi there, I found your blog by means of Google whilst searching for a
    related topic, your site came up, it appears great.
    I have bookmarked it in my google bookmarks.

    Hello there, simply become alert to your weblog thru Google, and located that it
    is truly informative. I am gonna be careful for brussels. I’ll appreciate in the event you proceed this in future.
    Many people will likely be benefited from your writing.
    Cheers!

  19. Good day! I could have sworn I’ve visited this web site before but after going
    through a few of the articles I realized it’s new to me.

    Anyways, I’m certainly pleased I found it and I’ll be bookmarking it
    and checking back regularly!

  20. We are a group of volunteers and opening a new scheme in our community.
    Your website provided us with valuable information to work on. You’ve
    done an impressive job and our entire community will be thankful to you.

  21. y hallar le has.リアルラブドールY quedate a Dios hasta que nos veamos más de assiento,

  22. winbra dice:

    It’s hard to come by educated people about this subject, but you sound like you know what you’re talking about! Thanks

  23. Situs Winterbourne jadi website togel paling cuan yang langsung cair semua JP.
    Tebak angka di semua market termasuk Toto Macau,
    jackpot berapa pun langsung masuk.

    Angka hoki juga tersedia buat bantu menang harian. Keamanan 100%, layanan admin gercep 24 jam!

    Daftar sekarang dan coba cuannya di bandar resmi pilihan member.

  24. web site dice:

    I’m really enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much
    more enjoyable for me to come here and visit more often. Did you hire out a developer to create your theme?
    Fantastic work!

    Also visit my blog: web site

  25. Have you ever thought about including a little bit more than just your
    articles? I mean, what you say is important and all.

    However think of if you added some great photos or
    video clips to give your posts more, “pop”! Your content is excellent
    but with pics and clips, this blog could certainly be one of the very
    best in its niche. Great blog!

  26. AnthonyStoge dice:

    The platform makes it easy to categorize slots by provider and rating [url=https://www.imdb.com/list/ls4788994111/]https://www.imdb.com/list/ls4788994111/[/url]

  27. Appreciating the commitment you put into your site and in depth information you offer.
    It’s awesome to come across a blog every once in a while that isn’t the same unwanted rehashed material.
    Excellent read! I’ve saved your site and I’m including your RSS feeds to my Google account.

  28. Wonderful post! We are linking to this particularly great post on our site.
    Keep up the great writing.

  29. Wow, this piece of writing is nice, my sister is analyzing these kinds of things, so
    I am going to let know her.

Responder a the best online casino Cancelar respuesta