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: 15,519

  1. constantly i used to read smaller articles that as well clear their motive, and that
    is also happening with this paragraph which I am reading now.

  2. Been struggling with stiff knees for years—hoping something like Joint N-11 can help without the usual side effects.
    Anyone here had results with it

  3. Yealink A30 Australia

    We stumbled over here by a different page and thought I might
    as well check things out. I like what I see so i am just
    following you. Look forward to looking over your web page for a
    second time.

  4. Hi! I’ve been reading your blog for a while now and finally got the courage to go ahead and give you a shout
    out from New Caney Texas! Just wanted to tell you keep up the excellent job!

  5. Soho303 dice:

    Soho303 – KI BAK LAHH
    SITUS SLOT GACOR MUDAH WIN !

  6. ogkvonfq dice:

    1 teaspoon grated fresh ginger, or 1-2 lumps of preserved ginger, chopped. Screaming, yelling, demanding things, or being rude won’t help the situation. Instead, I simply copied the url and pasted it into my browser window, and developed exactly what I knew I would- another “Canadian Pharmacy” web site.

  7. Nice respond in return of this query with genuine arguments and telling the whole thing
    regarding that.

  8. pgbisj dice:

    The certification does play a huge role in making a rewarding career being a PT as it helps in making one more qualified after they apply for promotion. The above image shows that the secure protocol ( has been used through the fraudster. If possible try to use the same pharmacy just as much as possible.

  9. togel online dice:

    Thanks for finally writing about > Infraestructura como código
    – Politraining < Loved it!

  10. bdmbxh dice:

    If you’re disabled as outlined by federal government standards, and receive government disability payments, then you generally will surely have your student loans discharged. As a small entrepreneur, when is it time to raise prices like Netflix. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.

  11. ijjtdcj dice:

    It could be used by fraudsters to get into your accounts at a variety of financial institutions. The pharmacist technician should have the prepared prescription, reviewed with a pharmacist, before dispensing or submitting the completed order to a patient or customer. The application deadline is at late April, however it is best to apply much sooner.

  12. ymdkieo dice:

    It is important to note that does not every pharmacy technician receives a real low wage understanding that when in private pharmacies, it is probably that one gets to be a wage of $17 each hour minimum. The very last volume of your certified local pharmacy professional study course takes a 12 month preparation software as well as as soon since the completing the actual tutorials you may purchase an associates education. The application deadline is at late April, but it is best to apply much sooner.

  13. marketing dice:

    Awesome blog! Do you have any hints for aspiring writers?
    I’m planning to start my own site soon but I’m a little lost on everything.
    Would you propose starting with a free platform like
    Wordpress or go for a paid option? There are so many choices out there that I’m completely overwhelmed ..
    Any tips? Kudos!

  14. ehjqffsb dice:

    The answering services company company later changed its name to e – Telecare Global Soltions in 2004. Before taking any exams required by their state, they should pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English like a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. Strong customer care skills are a must when handling the hectic pace of the pharmacy or pharmaceutical department.

  15. Members of Brians club have experienced remarkable transformations in their credit profiles.

  16. lnalop dice:

    CVS Pharmacy must depend upon prescription drug sales to remain in business, but Wal-Mart doesn’t have to add a massive markup to the medications they sell. Factors staying taught in institutions regularly variations, that’s a fact. Veri – Sign and Scan – Alert Hacker Safe include the two names you should be looking out for as well since these names will proclaim that these websites feel safe for paying online.

  17. pdohxiq dice:

    It could be used by fraudsters gain access to your accounts at many different financial institutions. Fear not, as time passes you will know exactly how to handle different types of problems that can come about. If you get prescriptions on a monthly basis make sure your pharmacy has your most up to date prescription insurance information.

  18. Hello there! Do you know iif they make any plugins to assist with Seardh
    Engine Optimization? I’m trying to get my blog to
    rank for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Maany thanks!

    Here is my web-site – сервисный центр aeg москва

Responder a hack express train 2021 Cancelar respuesta