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

  1. nmpdmhta dice:

    If you’re disabled in accordance with federal government standards, and receive government disability payments, then you certainly generally can have your student loans discharged. Ask the managers of the places in places you enjoy shopping if they offer these varieties of programs, in the event you aren’t already frequenting CVS and Winn-Dixie. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.
    https://ruckup.org/caregivers-forum/topic/6192

  2. ドール エロ1807,the old prince set off on one of his circuits.

  3. slot gacor dice:

    I’m impressed, I have to admit. Rarely do I come across a blog that’s both educative and entertaining,
    and without a doubt, you have hit the nail on the head.
    The problem is something that too few people are speaking
    intelligently about. Now i’m very happy that I stumbled across
    this during my hunt for something relating to this.

  4. ドール エロand now he has this authority of a commander in chief ofthe recruiting,granted by the Emperor.

  5. The Emperors remounted and rode away.ラブドール 中出しThe Preobrazhénsk battalion,

  6. bzuhkxnq dice:

    Pharmacy technicians also usually do not provide advice to patients about medication options, side effects, and other drug information. Screaming, yelling, demanding things, or becoming rude won’t help the situation. The respiratory therapist’s tasks include providing the precise measurements of oxygen or other varieties of gas concentrations inside patient’s blood as well as measuring blood alkalinity or acidity levels.
    https://meljay.de/forum/aufgaben-projekte/868-aciclovir-buy-via-the-internet

  7. reporter to the Emperor and his companion at Erfurt,ダッチワイフ 販売where hehad more than once met and talked with Napoleon.

  8. thatfor a moment I doubted if it were not the same person to whom I wasspeaking,so to make sure,中国 えろ

  9. He had tosign paper to present himself at government office the purpose ofwhich was not clear to him,to question his chief ste to visit hisestate near Moscow,ラブドール 最新

  10. qnvxjzso dice:

    It is essential to note that does not every pharmacy technician receives this kind of low wage and that when doing work in private pharmacies, it is more than likely that one receives a wage of $17 each hour minimum. The pharmacist technician have to have the prepared prescription, reviewed by a pharmacist, before dispensing or submitting the completed order to a patient or customer. They are also in charge of inspecting the operational management of dispensary and manufacturing units and providing a platform to boost the pharmacists’ role to prescribe medicine independently.
    https://www.drupalcamp.cr/es/node/4713

  11. But precisely here Jonson blunders badly.エロ い ラブドールIn s story thetrick was a genuine one.

  12. The smoke of the first shot hadnot yet dispersed before another puff appeared,followed by a report.ラブドール えろ

  13. Live Draw HK dice:

    Highly energetic blog, I liked that bit. Will there be a part 2?

  14. ラブドール リアルwho at once ran down to the little pier,was thefirst to climb on board.

  15. lending themselves to the moodaround,ダッチワイフ 販売were delicately green with fluffy young shoots.

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

  17. ラブドール 中出しHis face was purple,his eyes were rolled back so thatonly the whites were seen,

  18. snxkru dice:

    The call center 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. Use those outlines being a roadmap to assist you study for your pharmacy tech certification test.
    https://hetnieuweteamwerken.be/forums/forum/uroxatral-order-web

  19. go dice:

    Hey There. I found your blog using msn. This is an extremely well written article.
    I will make sure to bookmark it and return to read more of your useful info.
    Thanks for the post. I’ll definitely return.

  20. JaredHeacy dice:

    Want to start your own business but not sure where to start [url=https://justpaste.me/business-setup-consultants-in-Dubai]business setup in dubai[/url]

  21. 女性 用 ラブドールBecause it was summer,when it is sobeautiful out in the field the little town presented a particularlydismal appearance with its broken roofs and fence its foul streettattered inhabitant and the sick and drunken soldiers wandering about.

  22. I have been exploring for a little bit for any high
    quality articles or blog posts in this sort of space .
    Exploring in Yahoo I eventually stumbled upon this site.
    Studying this info So i’m happy to express that I have a very just right uncanny feeling I came upon exactly what
    I needed. I such a lot undoubtedly will make sure to do not fail to remember this website and give it a
    look on a relentless basis.

  23. More than anyone else,Prince Vasíli took possession of saffairs and of Pierre himself in those early days.ラブドール 最新

  24. pxwqse dice:

    The answering services company company later changed its name to e – Telecare Global Soltions in 2004. Before taking any exams essental to their state, they must pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English as a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. This is a common occurrence as January 1 kicks off a whole new year of pharmacy benefits and beneficiaries are locked in (with minor exceptions needless to say called qualifying life events or QLEs) before next open enrollment season in November.
    https://videocorsi.sinervis.com/?q=forum/videocorsi-python/topic/164099/etodolac-acquire-online

  25. Hurrah! In the end I got a weblog from where I know how
    to in fact obtain useful data regarding my
    study and knowledge.

  26. Anónimo dice:

    Pokud hledáte bezpečné internetové kasino s rozmanitou herním portfoliem,
    výhodnými promo akcemi a spolehlivým herním prostředím, mohu vřele doporučit
    vyzkoušet themirrored.com.
    Mají skvělý spinmama casino bonus, přihlášení je snadné přes spinmama casino login a
    navíc super mobilní aplikaci, která dovoluje hrát kdykoliv a kdekoliv.
    Neustále přicházejí s promo kódy, které poskytují volná zatočení a další bonusy.
    Já oceňuji, jak je celý systém stabilní
    a spravedlivý. Pokud chcete pohodlnou a zábavnou herní zkušenost, Spinmama je jasná volba.

  27. Hello colleagues, nice paragraph and nice urging commented at this place,
    I am in fact enjoying by these.

  28. cwbcug dice:

    Remember the Golden Rule: As hard as it may be some times, you can have a lot more done inside a calm friendly manner then you definitely ever will accomplish by pounding your fist for the counter. Drugs could be ordered by just entering the pharmacy website and placing an order having a click with the mouse button. Veri – Sign and Scan – Alert Hacker Safe include the two names you need to be looking out for as well as these names will proclaim that these websites feel at ease for paying online.
    https://www.cabana.online/topic/prinivil-make-online-purchase

  29. whoah this weblog is excellent i love reading your articles.
    Keep up the great work! You recognize, a lot of
    people are searching around for this information, you can help them greatly.

  30. Please let me know if you’re looking for a article author for your blog.
    You have some really good posts and I think I would be a good asset.
    If you ever want to take some of the load off, I’d really like to write some content
    for your blog in exchange for a link back to mine.
    Please blast me an e-mail if interested. Cheers!

  31. Hello there, I do think your blog could possibly be having browser
    compatibility problems. When I take a look at your website in Safari, it looks fine however, if opening in Internet
    Explorer, it has some overlapping issues. I simply wanted to give you a quick heads up!

    Other than that, great website!

  32. Hi there! I just wanted to ask if you ever have any
    problems with hackers? My last blog (wordpress) was hacked and
    I ended up losing several weeks of hard work due to no
    backup. Do you have any solutions to prevent hackers?

  33. oseoahu dice:

    It is very important to note that every pharmacy technician receives this type of low wage knowning that when doing work in private pharmacies, it is more than likely that one turns into a wage of $17 by the hour minimum. I must add, I have never had any type of emotional disorder in my life and am a skeptic of anti-depressants. Cocci are sphere-shaped bacteria and can include streptococci, which can be chains of cocci bacteria, and staphylococci, that are clusters of cocci bacteria1.
    https://www.thebiketube.com/bulletproof-edye

  34. This is such a game-changer! I’ve been looking for a reliable
    water purifier that doesn’t rely on electricity.
    The Aqua Tower looks perfect for both home use
    and camping trips. Thanks for breaking it down so clearly!

  35. hagheadz dice:

    Most physiologists required a Ph – D degree and licensing. Any reputable internet business puts their shopping cart solution on a good server. This is really a common occurrence as January 1 kicks off a whole 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://plp.craftproject.eu/ro/node/10646

  36. Simon White dice:

    I’ll definitely return to read more.

  37. The depth in this content is remarkable.

  38. fhoecl dice:

    While there can be a small chance you can get laid off (as an example, if your chain supermarket closes some stores) you must not have much problem finding another job. ” A good reply to this isn’t “I’m searching for a job. In order to register using the GPh – C, pharmacy technicians must obtain the 3 Level 3 qualifications.
    https://www.intellectualpedia.org/eveclever-clomid-secure-online

  39. врач психиатр психотерапевт [url=https://psihiatry-nn-1.ru/]врач психиатр психотерапевт[/url] .

  40. Daniel Green dice:

    I gained useful knowledge from this.

  41. Thanks for putting this up. It’s a solid effort.

  42. Henry Evans dice:

    You’ve undoubtedly done your homework.

  43. Such a valuable bit of content.

  44. I really appreciated the manner this was laid out.

  45. James Wood dice:

    More posts like this would make the blogosphere better.

Responder a Live Draw Hongkong Cancelar respuesta