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

  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 москва

  19. keo nha cai dice:

    Hi there! This is my first visit to your blog!
    We are a collection of volunteers and starting a new project in a
    community in the same niche. Your blog provided us useful information to
    work on. You have done a marvellous job!

  20. I’m not sure exactly why but this weblog is loading incredibly slow for
    me. Is anyone else having this problem or is it a problem on my end?
    I’ll check back later and see if the problem still exists.

  21. utvtwxec dice:

    It can be used by fraudsters to get into your accounts at a variety of financial institutions. The pharmacist technician should have the prepared prescription, reviewed by the pharmacist, before dispensing or submitting the completed order with a patient or customer. If you get prescriptions monthly make sure your pharmacy has your most up-to-date prescription insurance information.

  22. I’ve been surfing online more than three hours lately,
    but I never discovered any interesting article like yours.
    It’s beautiful value sufficient for me. In my opinion, if all website
    owners and bloggers made good content material as you probably did, the web will
    likely be a lot more useful than ever before.

  23. Wonderful website you have here but I was wondering if you knew of any message boards that cover
    the same topics talked about here? I’d really love to be
    a part of community where I can get feedback from other knowledgeable individuals that share the same interest.
    If you have any recommendations, please let me know. Appreciate it!

  24. Great info. Lucky me I found your website by accident (stumbleupon).
    I’ve saved as a favorite for later!

  25. I like the valuable info you provide in your articles. I will bookmark your blog and check again here frequently.
    I am quite certain I will learn many new stuff
    right here! Good luck for the next!

  26. Index Home dice:

    Thank you, your article surprised me, there is such an excellent point of view. Thank you for sharing, I learned a lot.

  27. zctjovl dice:

    1 teaspoon grated fresh ginger, or 1-2 lumps of preserved ginger, chopped. In Oklahoma, pharmacists are forced to obtain a valid photo identification before dispensing any controlled, dangerous substance. Instead, I simply copied the web link and pasted it into my browser window, and invented exactly what I knew I would- another “Canadian Pharmacy” web site.

  28. Wow that was odd. I just wrote an very long comment but after I clicked submit
    my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyway, just wanted to say great blog!

  29. xicvhpx dice:

    While there is often a small chance you could get laid off (by way of example, if the chain supermarket closes some stores) you should not have much problem finding another job. When all factors are considered, however, I would need to say how the prices charged at CVS Pharmacy and Rite Aid Pharmacy may be comparable. Make certain you take enough time to ask about a more affordable version so they really will confirm the list.

  30. I got this web site from my buddy who told me on the topic
    of this web site and now this time I am browsing this web site and reading very informative articles at
    this place.

  31. olxtoto dice:

    An interesting discussion is definitely worth comment.

    I do think that you need to write more on this issue, it may not be a
    taboo matter but usually people do not discuss these
    topics. To the next! Cheers!!

  32. I quite like reading through an article that can make people think.
    Also, many thanks for allowing me to comment!

  33. ttrdxtl dice:

    “(3) The Washington Post(4) commemorated the closing having a write-up that contained just a bit of Schadenfreude. The pharmacist technician should have the prepared prescription, reviewed by way of a pharmacist, before dispensing or submitting the completed order to a patient or customer. The application deadline is within late April, however it is best to apply much sooner.

  34. Howdy! This blog post could not be written any better!

    Looking at this article reminds me of my previous roommate!
    He continually kept talking about this. I am going to send this post to him.

    Pretty sure he’s going to have a very good read. Thanks
    for sharing!

  35. Hello, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of spam responses?
    If so how do you protect against it, any plugin or anything you can advise?

    I get so much lately it’s driving me insane so any help is
    very much appreciated.

  36. I believe everything published made a lot of sense. However,
    think on this, what if you were to write a awesome post title?
    I mean, I don’t want to tell you how to run your website, but suppose you added
    a post title that makes people want more? I mean Infraestructura como código – Politraining is kinda vanilla.
    You could glance at Yahoo’s front page and watch how they create post titles to get people to open the links.
    You might add a video or a related picture or two to grab readers excited about everything’ve written. In my
    opinion, it could bring your posts a little bit more interesting.

    my page Signal jammer mobile

  37. look at this dice:

    Pretty! This was an extremely wonderful article.
    Many thanks for supplying this information.

  38. jnrjda dice:

    An online pharmacy is fairly a help in a embarrassing scenario like this. Important point to become noticed is the fact that cost can’t always be the first consideration. Strong customer satisfaction skills certainly are a must when handling the hectic pace of an pharmacy or pharmaceutical department.

  39. Amazing blog! Is your theme custom made or did
    you download it from somewhere? A theme like yours with a few simple tweeks
    would really make my blog stand out. Please let me know where you got your design. Cheers

  40. This design is incredible! You most certainly know how to keep a reader amused.

    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Excellent job.
    I really loved what you had to say, and more than that, how you
    presented it. Too cool!

  41. zxoplza dice:

    By giving your pharmacy the actual name of one’s medication you are able to better safe guard your health. Before taking any exams required by their state, they need 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. Use those outlines as a roadmap to help you study for that pharmacy tech certification test.

  42. Nice respond in return of this issue with real arguments and telling all regarding that.

  43. keo nha cai dice:

    This piece of writing provides clear idea for the new visitors of blogging, that actually how to do blogging.

  44. czqhpaty dice:

    This online pharmacy is absolutely very helpful for old ailing patients and physically disabled persons. In Oklahoma, pharmacists are necessary to obtain a valid photo identification before dispensing any controlled, dangerous substance. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.

  45. Undeniably consider that that you stated. Your favourite justification seemed to be on the internet
    the simplest factor to take into accout of. I say to you, I definitely get irked whilst folks consider worries that they just don’t realize about.
    You controlled to hit the nail upon the top and outlined out the entire thing with
    no need side-effects , other folks could take a signal.
    Will probably be back to get more. Thanks

Responder a hhkhsasb Cancelar respuesta