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,143

  1. I smeltsickly eggs by the barrel,and rotten cabbages,コスプレ エロ い

  2. situs toto dice:

    Have you ever considered publishing an ebook or guest authoring on other websites?
    I have a blog based upon on the same ideas you discuss and would love
    to have you share some stories/information. I
    know my audience would enjoy your work. If you are even remotely interested, feel free to send me an e-mail.

  3. Hi there! This is my 1st comment here so I just wanted to
    give a quick shout out and say I genuinely enjoy reading your blog posts.
    Can you suggest any other blogs/websites/forums that go over the same subjects?
    Thank you!

  4. qlpjljj dice:

    It is very important to note that every pharmacy technician receives such a low wage and that when in private pharmacies, it is more than likely that one gets to be a wage of $17 hourly minimum. The pharmacist technician should have the prepared prescription, reviewed with a pharmacist, before dispensing or submitting the completed order to your patient or customer. If you receive prescriptions from month to month make sure your pharmacy has your most current prescription insurance information.

  5. I never realized how important the oral microbiome is until watching this!
    ProDentim sounds like a game-changer—love that
    it’s a natural, probiotic-based option instead of just relying on mouthwash and toothpaste.
    Definitely going to give it a try. Thanks for the detailed review!

  6. I love that Arialief goes beyond just masking pain—finally, something
    that targets inflammation and actually supports healing!
    So tired of relying on painkillers that only give short-term relief.

  7. Hi there, just became alert to your blog through Google,
    and found that it’s really informative. I’m going to watch out for brussels.
    I will appreciate if you continue this in future. Numerous people will be benefited
    from your writing. Cheers!

  8. olxtoto dice:

    Howdy fantastic website! Does running a blog such as this require
    a lot of work? I’ve no expertise in computer programming however I had been hoping to start my own blog in the near future.
    Anyway, if you have any recommendations or tips for new blog
    owners please share. I know this is off topic nevertheless I just wanted to ask.
    Appreciate it!

  9. Do you mind if I quote a couple of your posts as long as I provide credit
    and sources back to your site? My website is in the very same area of interest as
    yours and my visitors would certainly benefit from a lot of the information you provide here.
    Please let me know if this ok with you. Thanks!

  10. porno dice:

    Definitely believe that which you said. Your favorite reason seemed to be on the
    net the simplest thing to be aware of. I say to you, I certainly get irked while people think about worries that they just
    do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could
    take a signal. Will likely be back to get more.
    Thanks

  11. エロ い 下着Son of the wild goose,Kevin Egan of Pari My father,

  12. オナホ フィギュアThe king with his comrades,and the queen made a prisoner.

  13. エロ フィギュア 無 修正” faltered “Diana says that everybody must take a basketof things to eat.I can’t cook,

  14. toto macau dice:

    Hello There. I found your weblog using msn.
    That is a really smartly written article. I’ll make sure to bookmark it and return to learn extra of
    your helpful information. Thank you for the post.

    I will definitely comeback.

  15. earl of Pembroke.えろ コスプレIown that if the poet must be rejected such a rejection would seem morein harmony withwhat shall I say?our notions of what ought not to havebeen.

  16. Why bringin a master of forensic eloquence like Whiteside? Sufficient for theday is the newspaper thereof.LINKS WITH BYGONE DAYS OF YOREGrattan and Flood wrote for this very paper,えろ コスプレ

  17. t joke about the dead for two years at leas De mortuisnil nisi priu Go out of mourning firs Hard to imagine his funeral.コスプレ セックスSeems a sort of a joke.

  18. 人形 エロHence many a warspear Cold from the morning shall be clutched in the fingers,Heaved in the hand,

  19. ボディ スーツ えろand down he went in the dir androlled there,and held his toe and the cussing he done then laid overanything he had ever done previous.

  20. Lucie should be spared the pain of separation,alwaysreluctant to turn his thoughts towards the dangerous ground of old,エロ い コスプレ

  21. it was whispered,occasionally covered a sheet of Uncle Sam,エッチ 下着

  22. ラブドール 女性 用and I don’t mean you shall be behind them.I got Allan to help mepick it in town last week,

  23. “ Darnay,下着 エロ?said “I wish we might be friend ?“We are already friend I hope.

  24. ラブドール 女性 用but he’s some better this while backand we’ve got a good hired man,so I’m hoping he’ll kind of rest andpick up.

  25. And meanwhile the soul longs and craves for something else!And in vain the dreamer rakes over his old dreams,ラブドール 女性 用as though seeking aspark among the embers,

  26. lia64.org dice:

    Fantastic goods from you, man. I have take
    into accout your stuff prior to and you’re just extremely excellent.
    I actually like what you’ve received right here, really like what you’re stating and the best
    way wherein you are saying it. You make it enjoyable and you continue to care for
    to keep it smart. I can not wait to learn far more from you.
    This is actually a tremendous website.

  27. baqavqg dice:

    Most physiologists required a Ph – D degree and licensing. Before taking any exams necessary for their state, they have to pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English as being a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. Strong customer satisfaction skills are a must when handling the hectic pace of an pharmacy or pharmaceutical department.

  28. the slender tree the lemon houseParis rawly waking,crude sunlight on her lemon street Moist pith offarls of bread,エロ い 下着

  29. ボディ スーツ えろIf a boat was to comealong we was going to take to the canoe and break for the Illinoisshore,and it was well a boat didt come,

  30. エロチックwitha power of thunder and lightning,and the rain poured down in a solidshee We stayed in the wigwam and let the raft take care of itself.

  31. Please can Igo?”“You’ll have to learn to resist the fascination ofIdlewhateveryoucallit.When I tell you to come in at a certain timeI mean that time and not half an hour later.エロ フィギュア 無 修正

  32. 高級 オナホShe wore a faded brownsailor hat and beneath the hat,extending down her back,

  33. 人形 エロthe shell and husk only of the meaning is retained,the fineressence being lost.

  34. sad was his spirit:Wiglaf appeals to the pride of the cowards.オナホ フィギュア 30 “I remember the time when,

  35. togel macau dice:

    Pretty nice post. I just stumbled upon your blog and wished to mention that I have really loved browsing
    your weblog posts. After all I will be subscribing to your feed and I hope you write once more very soon!

  36. evadedher glance as a small dog would have done,こすぷれ えろretreated among his wood,

  37. sweetin her ear of the many times her father had told her that he found hermore devoted to him married (if that could be) than single,エロ い コスプレand of themany times her husband had said to her that no cares and duties seemedto divide her love for him or her help to him,

  38. ?“Has there been many kille Buck? ?“Ye right smart chance of funerals.But they t always kill.エロチック

  39. Wow, finally a supplement that actually addresses what women over 40 go through!
    AquaSculpt sounds like a smart solution for bloating and that stubborn hormonal weight.

    Loved how this video explained everything so clearly.

  40. and then a lawsuit to settlei and the suit went agin one of the me and so he up and shot theman that won the suitwhich he would naturally do,エロチックAnybodywould.

  41. fpmswavo dice:

    The moon sheds her subtle impact on all of the, adding on the variables. To find degree programs that train you to get a career being a pharmacy technician, you are able to check out the Directory of Schools website at directoryofschools. So like a buyer, you’ll need to identify an authentic online pharmacy that is licensed and sells only Food and Drug Administration (FDA) approved medicines.

Responder a TimothyFaw Cancelar respuesta