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: 17,021

  1. I’m not that much of a online reader to be honest but your sites really nice, keep it up!
    I’ll go ahead and bookmark your site to come back later.
    Cheers

  2. Ahaa, its nice conversation regarding this article here at this website, I have read all
    that, so at this time me also commenting here.

  3. Hello there! This post couldn’t be written any better!
    Reading this post reminds me of my old room mate!
    He always kept talking about this. I will forward this post to him.
    Pretty sure he will have a good read. Many thanks
    for sharing!

  4. pwreypkl dice:

    It doesn’t seem fair people do not have cheap drugs available for purchase and that they may be burdened with spending the rest of their life worrying about a thing that could affect their survival like this. ” A good response to this just isn’t “I’m looking for a job. Veri – Sign and Scan – Alert Hacker Safe are the two names you need to be looking out for as well as these names will proclaim why these websites feel at ease for paying online.

  5. After exploring a number of the blog articles on your web site,
    I seriously appreciate your way of writing a blog. I saved as a favorite it to my bookmark webpage list and will be checking back in the
    near future. Take a look at my web site too and tell me what you think.

  6. DonaldDum dice:

    A casino with exciting slot machines and thousands of gambling games to play [url=https://www.skypixel.com/users/djiuser-ltlyvsru3pxx]https://www.skypixel.com/users/djiuser-ltlyvsru3pxx[/url]

  7. I visit day-to-day a few sites and information sites
    to read posts, however this weblog provides feature based writing.

  8. tvxowqgp dice:

    Pharmacy technicians also tend not to provide advice to patients about medication options, side effects, or any other drug information. Ask the managers of the places in which you enjoy shopping if they have these kinds of programs, should 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.
    #tetracycline

  9. Thanks for another great article. Where else may just anyone get that kind of info in such a perfect manner of writing?
    I have a presentation subsequent week, and I’m at the look for such info.

  10. fwdgnb dice:

    The pharmaceutical industry especially can’t afford to allow its practitioners to delay or refuse management of clients due for the perceived use of any medical device, whether it’s a pill or possibly a syringe. You may also check out “Physician Assistant Is a Top Healthcare Career. If possible try to use the identical pharmacy just as much as possible.

  11. Appreciating the hard work you put into your website
    and in depth information you offer. It’s good to come across a blog every once in a
    while that isn’t the same old rehashed material. Fantastic read!
    I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

  12. I was very pleased to discover this website. I need to to
    thank you for ones time just for this fantastic read!! I definitely appreciated every
    bit of it and i also have you book-marked to look at new
    stuff in your blog.

  13. vrjbyf dice:

    1 teaspoon grated fresh ginger, or 1-2 lumps of preserved ginger, chopped. Screaming, yelling, demanding things, or being rude will not help the situation. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.

  14. Very good article. I definitely love this site. Keep it
    up!

  15. fdyymjlq dice:

    The call center company later changed its name to e – Telecare Global Soltions in 2004. Before taking any exams necessary for their state, they need to pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English like a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. An person that finds work within this profession can certainly be a radiology technician if his competency qualifies him to complete work using x-ray, ultra-sound, CAT or ECG equipment that delivers the doctors with scanned images the latter uses as bases for his or her diagnoses.

  16. BEJO88 dice:

    Hello, i believe that i noticed you visited my site thus i got here to return the prefer?.I’m attempting
    to in finding things to improve my site!I guess its good enough to make use of
    some of your concepts!!

  17. Barryrab dice:

    Кракен маркетплейс зеркало лучшее

  18. eafsrwrj dice:

    It can be used by fraudsters to get into your accounts at many different financial institutions. The very last volume of the certified local pharmacy professional study course takes a 12 month preparation software as well as as soon since the completing this tutorials you might purchase an associates education. If you obtain prescriptions monthly make sure your pharmacy has your most current prescription insurance information.

  19. Thankfulness to my father who shared with me regarding this weblog, this weblog is actually remarkable.

  20. Hey! I just wanted to ask if you ever have any issues with hackers?

    My last blog (wordpress) was hacked and I ended up losing months of hard
    work due to no back up. Do you have any solutions to protect against hackers?

  21. anmari dice:

    The certification does play an important role in making a rewarding career as being a PT as it helps in making one more qualified once they apply for promotion. You might also check out “Physician Assistant Is a Top Healthcare Career. However, by exercising with adequate practice pharmacy technician test questions we have better chances of being successful.

  22. I know this web site gives quality based posts and other information, is there any
    other web site which presents these data in quality?

  23. jxhuoehj dice:

    Remember the Golden Rule: As hard as it can be some times, you can obtain a lot more done in a very calm friendly manner then you definitely ever will accomplish by pounding your fist around the counter. ” A good reply to this isn’t “I’m trying to find a job. In order to register while using GPh – C, pharmacy technicians must obtain the 3 Level 3 qualifications.

  24. Hello there! Would you mind if I share your blog with my myspace group?
    There’s a lot of people that I think would really enjoy your content.

    Please let me know. Many thanks

  25. Hi i am kavin, its my first time to commenting anywhere, when i read this article i thought i could also make
    comment due to this good post.

  26. Hello! I know this is somewhat off topic but I was wondering if you knew where I could get
    a captcha plugin for my comment form? I’m using the same blog platform as yours and
    I’m having problems finding one? Thanks a lot!

  27. zgyzsr dice:

    Most patients were paying a nice income for their insurance and were often upset when their prescriptions required a $50 co-pay, or they had not met their $4,000 deductable and must spend the money for entire cost out-of-pocket. In 1960, the Ayala Group of Companies offered Mariano Que a place to lease inside shopping center that was about to be developed within the heart of Makati. According towards the Bureau of Labor Statistics (BLS), pharmacists perform a lot over provide prescriptions to patients.

  28. cbcetyyb dice:

    Pharmacy technicians also tend not to provide advice to patients about medication options, side effects, or other drug information. Ask the managers in the places that you enjoy shopping if they offer these forms of programs, in the event you aren’t already frequenting CVS and Winn-Dixie. The respiratory therapist’s tasks include supplying the precise measurements of oxygen or other forms of gas concentrations inside patient’s blood as well as measuring blood alkalinity or acidity levels.

  29. Ϲurrentlу it appears like Drupal is the top blogging platform out there right now.
    (from what I’ve read) Is that what you’re using on your blog?

  30. エロ い ラブドールCharles ?disguise as a Spaniar and Traffick,s jealous care of Isabinda.

  31. せっくす 美人a little,?pare 130 Shee thinkes her hu?band watches.

  32. Hi there, i read your blog occasionally and i own a similar
    one and i was just curious if you get a lot of spam responses?
    If so how do you prevent it, any plugin or anything
    you can advise? I get so much lately it’s driving me
    mad so any assistance is very much appreciated.

  33. hello!,I love your writing so a lot! proportion we keep
    up a correspondence more about your post on AOL? I need a
    specialist in this house to unravel my problem. Maybe that’s you!
    Taking a look forward to look you.

  34. 中国 エロThe charriot of Triump which mo?t of them are.And in the meane time,

  35. Barryrab dice:

    Вход через зеркало Кракен прошёл быстро

  36. Barryrab dice:

    Кракен маркетплейс зеркало работает без перебоев

  37. scbwvwi dice:

    It doesn’t seem fair people don’t have cheap drugs available to them for purchase and that they may be burdened with spending the rest of their life worrying about a thing that could affect their survival like this. The local temperature of the medicine producing country is one and the other country might be another, and the avian temperature is the other. Veri – Sign and Scan – Alert Hacker Safe include the two names you should be looking out for as well because these names will proclaim these websites feel at ease for paying online.

  38. slot777 dice:

    I think the admin of this web site is truly working hard in support of his
    site, for the reason that here every stuff is quality based data.

  39. uxuryj dice:

    In order to be eligible for federal loans a Free Application for Federal Student Aid (FAFSA) should be completed and aid is granted dependant on student need, tuition rates with the college, along with other factors. Fear not, as time passes you will know precisely how to handle different kinds of problems that may come about. You should find these details somewhere inside the “Contact Us” section of the website.

  40. Wonderful blog! I found it while searching on Yahoo
    News. Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Appreciate it

  41. slot online dice:

    Fabulous, what a web site it is! This website presents helpful facts to us, keep it up.

  42. 推拿學徒 dice:

    https://digi617sa.netlify.app/research/digi617sa-(283)
    Steer away from anything too close to white
    similar to champagne and beige colors without talking to your daughter
    beforehand.

  43. qeaxpiq dice:

    It might be used by fraudsters to gain access to your accounts at many different financial institutions. Fear not, with time you will know precisely how to handle different kinds of problems that can come about. They are also responsible for inspecting the operational control over dispensary and manufacturing units and providing a platform to further improve the pharmacists’ role to prescribe medicine independently.

  44. Superb, what a blog it is! This webpage gives valuable data to us,
    keep it up.

  45. gdxzcoqb dice:

    The call center company later changed its name to e – Telecare Global Soltions in 2004. Before taking any exams necessary for their state, they should pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English as a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. The massive boost in people online for many of their shopping and day by day needs has resulted in many pharmacies having an online site built, where they provide numerous services which can help you avoid making unnecessary trips to the local pharmacy.

  46. cfpukvn dice:

    The certification does play a crucial role in making a rewarding career like a PT since it helps for making one more qualified once they apply for promotion. The above image shows a secure protocol ( has been used with the fraudster. There is absolutely no difference between ordering drugs from a drugstore inside United States than by way of a Canada pharmacy except for your price.

Responder a DonaldDum Cancelar respuesta