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

  1. More content pieces like this would make the web more useful.

  2. “I’ve tried a few binaural beat tracks before, but Neuro Energizer seems way more structured and purposeful. If it really helps boost focus and creativity in just minutes, I’m all for it!”

  3. More blogs like this would make the online space better.

  4. xtmitgh dice:

    It is essential to note that every pharmacy technician receives a real low wage knowning that when 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 virtually any emotional disorder within my life and am a skeptic of anti-depressants. If you get prescriptions monthly make sure your pharmacy has your most up-to-date prescription insurance information.

  5. Remember that all types of fat are high in energy and should be eaten in small amounts.Find out more about the different types of fatsEat less saturated fat,ラブドール エロ

  6. you are actually a just right webmaster. The site loading velocity is amazing.
    It seems that you’re doing any unique trick.
    Moreover, The contents are masterpiece. you’ve performed a great activity
    in this matter!

  7. Enjoy every moment and return with a renewed spirit!Wishing you a vacation filled with and precious moments spent with loved ones.オナドールHave an amazing time!May your vacation be an unforgettable journey full of new experiences Enjoy every second!Wishing you a vacation filled with excitement,

  8. Alan Jackson dice:

    Thanks for creating this. It’s a solid effort.

  9. the last castle to have been built during the Renaissance in the Loire Valley.Next is Chateau d’Azay le Rideau,エロ ラブドール

  10. Hi! I could have sworn I’ve been to this site before but
    after browsing through some of the post I realized it’s
    new to me. Anyways, I’m definitely delighted I found it and I’ll be bookmarking and checking back frequently!

  11. mbvjomji dice:

    While there is often a small chance you could get laid off (for example, when the chain supermarket closes some stores) you must not have much problem finding another job. The local temperature in the medicine producing country is one and also the other country could possibly be another, and also the avian temperature is the other. In order to register using the GPh – C, pharmacy technicians must obtain sometimes a 3 Level 3 qualifications.
    #paroxetine

  12. Thank you for every other excellent article. The place else
    may just anybody get that kind of info in such a perfect method of writing?
    I have a presentation next week, and I am at the look for such info.

  13. I am extremely impressed with your writing skills as
    well as with the layout on your blog. Is this
    a paid theme or did you customize it yourself? Anyway keep up the excellent quality writing,
    it is rare to see a great blog like this one nowadays.

  14. rlkqon dice:

    The certification does play an important role in making a rewarding career as a PT as it helps for making one more qualified when they apply for promotion. College pre-pharmacy study as little like a day or two and can still pass the exam. So as being a buyer, you may need to identify a traditional online pharmacy that’s licensed and sells only Food and Drug Administration (FDA) approved medicines.

  15. Your mode of telling all in this paragraph is in fact nice,
    every one can effortlessly know it, Thanks
    a lot.

  16. Your style is very unique in comparison to other folks I’ve read stuff from.
    Thanks for posting when you have the opportunity, Guess I will just
    book mark this site.

  17. ethaddress dice:

    Just want to say your article is as astounding. The clarity
    for your publish is simply great and i can think you’re
    knowledgeable on this subject. Fine together with your permission let me to snatch your feed to
    keep up to date with drawing close post. Thanks a million and please carry on the rewarding work.

  18. izcardjc dice:

    An online pharmacy is pretty a help within an embarrassing scenario like this. Insurance is confusing to start with, and it also is constantly changing. Strong customer care skills really are a must when handling the hectic pace of an pharmacy or pharmaceutical department.

  19. Thanks for some other informative site. The place else could I am getting that type
    of info written in such an ideal manner? I have a venture that I am simply now working
    on, and I’ve been at the glance out for such info.

  20. Appreciate the recommendation. Will try it out.

  21. I every time emailed this webpage post page to all my associates,
    as if like to read it afterward my links will
    too.

  22. horizontal dice:

    I’m truly enjoying the design and layout of your blog.
    It’s a very easy on the eyes which makes it much more enjoyable
    for me to come here and visit more often. Did you hire out a designer to create your theme?
    Superb work!

  23. mrourq dice:

    It doesn’t seem fair people do not have cheap drugs available to them for purchase and that they are burdened with spending the rest of their life worrying about something that could affect their survival like this. Drugs can be ordered by only entering the pharmacy website and placing an order using a click from the mouse button. Veri – Sign and Scan – Alert Hacker Safe will be the two names you should be looking out for as well because these names will proclaim why these websites feel safe for paying online.

  24. I really love your blog.. Great colors & theme. Did you develop this website yourself?
    Please reply back as I’m hoping to create my own personal site
    and want to know where you got this from or what the theme is named.

    Appreciate it!

  25. jhhwrq dice:

    Location and the form of employer are the final factors in determining the amount pharmacists make. The very last volume of your certified local pharmacy professional program takes a twelve month preparation software in addition to as soon because completing the specific tutorials you could possibly purchase an associates education. If you receive prescriptions on a monthly basis make sure your pharmacy has your most up to date prescription insurance information.

  26. Can you tell us more about this? I’d like to find out some additional information.

  27. Hi there! I could have sworn I’ve been to this web
    site before but after looking at some of the posts I realized it’s new
    to me. Anyways, I’m certainly happy I stumbled upon it and I’ll be book-marking
    it and checking back regularly!

  28. I’ve been dealing with ringing in my ears for years, and it’s honestly draining.
    This review really helped me understand what ZenCortex
    is all about—definitely interested in seeing if it can finally offer
    some relief.

  29. crctez dice:

    “(3) The Washington Post(4) commemorated the closing using a write-up that contained just a little of Schadenfreude. The pharmacist technician have to have the prepared prescription, reviewed by the pharmacist, before dispensing or submitting the completed order to a patient or customer. Cocci are sphere-shaped bacteria and will include streptococci, which can be chains of cocci bacteria, and staphylococci, that happen to be clusters of cocci bacteria1.

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

    Many thanks

  31. Good day very nice blog!! Man .. Excellent .. Superb ..

    I will bookmark your website and take the feeds
    additionally? I am glad to search out numerous helpful information here in the put up, we need
    develop more techniques in this regard, thanks
    for sharing. . . . . .

  32. Cinrvam dice:

    The ultimate AI-powered Интернет3 knowledge platform you be in want of to end up terabytes of unstructured facts into actional insights.

    Attire 150 USDT extra on all users who abuse Desktop Model 2 weeks!

    DEMO APPROPRIATE FOR WINDOWS

    LESSEN 50%
    BUY THINGS BEING WHAT THEY ARE!

    [url=https://application.bonus-kaitoyaps.com/]Kaito токеномика[/url]
    [url=https://application.bonus-kaitoyaps.com/]Кайто Yapping[/url]
    [url=https://application.bonus-kaitoyaps.com/]Kaito токеномика[/url]
    [url=https://application.bonus-kaitoyaps.com/]Yap Points rewards[/url]
    [url=https://application.bonus-kaitoyaps.com/]Заработок на крипто-контенте[/url]

    Kaito ai assignment

    application.bonus-kaitoyaps.com

  33. Parfois, les récompenses seront plus importantes, et parfois, elles seront décevantes.

  34. xdyumbeh dice:

    To get the most out of the card, apply it every visit and track of coupon restrictions and expiration dates. The above image shows that the secure protocol ( will be used by the fraudster. However, by exercising with adequate practice pharmacy technician test questions we now have better chances of being successful.

  35. horizontal dice:

    Thank you, I’ve recently been looking for information approximately this topic for a while and yours is the greatest I’ve
    came upon till now. However, what about the conclusion? Are you positive in regards to the
    source?

  36. Thanks for finally talking about > Infraestructura como código – Politraining
    < Liked it!

  37. I got this web page from my buddy who informed me regarding this web
    page and now this time I am browsing this website and reading very informative articles at
    this time.

  38. 789BET dice:

    When you have been abroad and change your currency back
    into sterling, is it not reassuring to see that great painter JMW Turner looking out at you from the £20 note?

    Doesn’t the humble fiver – with Churchill on one side and the
    late Queen or, increasingly, the King overleaf – tell you that you’re home?

    As the Bank of England’s chief cashier, Victoria Cleland, says: ‘Banknotes
    are more than just an important means of payment – they
    serve as a symbolic representation of our national identity and an opportunity to celebrate
    the UK.’

    Why then, having lovingly created a suite of designs in recent years that
    evokes a Britishness all of us are content with – from
    Churchill on the £5, Jane Austen on the £10, Turner on the £20 and wartime code breaker and computing genius Alan Turing on the £50 – does the Bank
    now want to risk it all in the pursuit of the dreaded D-word: diversity?

    From today, the Bank invites the public to suggest artwork
    and figures to adorn the next tranche of notes. We have a
    month in which to submit our ideas to the
    Bank’s website – and Ms Cleland is anxious to make her own priorities clear when she urges us to think about ‘the great
    diversity in the UK’.

    ‘It may be we can get real diversity through a different theme than historic figures,’ she trills.

    Well, this is a classic case of ‘if it ain’t
    bust, don’t fix it’.

    Yes, the choice of figures on banknotes has long been rather boring.
    Civil engineer George Stephenson and his Rocket locomotive, for instance, were stalwarts of the fiver in the
    Nineties, while the great 17th century architect,
    Sir Christopher Wren, graced the £50 note from 1981 to 1994.

    When you have been abroad and change your currency back into sterling,
    is it not reassuring to see that great painter JMW Turner looking out at you from the £20 note?

    Doesn’t the humble fiver – with Churchill on one side and
    the late Queen or, increasingly, the King overleaf –
    tell you that you’re home?

    Why then, having lovingly created a suite of designs in recent years that evokes a Britishness all of us are content with –
    including Jane Austen on the £10 – does the Bank now want to risk
    it all in the pursuit of the dreaded D-word: diversity?

    But surely only such titanic figures from our past are suitable for something
    as vital and familiar as our currency. Ms Cleland is right: banknotes are not just a means of exchange.
    They are an expression of who ‘we’ are.

    And while diversity is undeniably a feature of modern Britain, now the risk is introducing
    notes that make a controversial or political point, or which
    might put some people’s backs up for championing a special-interest group.

    The chief cashier is wrong, then, if she thinks that throwing out this opportunity to the public will necessarily improve the notes.

    The world is teeming with discontented minorities who still believe
    they lack a ‘voice’ – despite how loudly they clamour on social
    media.

    I, for example, would love to see Captain James Cook on the banknotes:
    the first man to map New Zealand and the eastern coast of
    Australia and who met his untimely end by being murdered
    by furious natives in Hawaii. But these days, of course, Cook is seen for all his
    brilliance as a monstrous coloniser – and the sad truth is that his presence
    on the notes would offend large numbers of people.

    In that context, a moment’s consideration should show us that
    the chief cashier has fallen into a massive trap.
    She is not about to be bombarded with suggestions of great and under-recognised figures from our past.
    Instead, the Bank’s online submissions page is now destined
    to become a magnet for lobbyists for every cause. And because
    Ms Cleland is probably a nice person, with the instinctual British
    hunch that maybe she’s in the wrong, these lobbies will start making her feel guilty.

    Isn’t it a disgrace, they will ask her, that there are no disabled people on the
    £10 notes? Well, no. But as soon as you say that, you sound as if you do not care about the plight of
    the disabled.

    Is the Bank Islamophobic? Before you have time to insist
    it isn’t, people will be asking why there is no Islamic calligraphy on the currency; never mind that, until a few years ago,
    Muslims comprised a minuscule proportion of the country.

    Meanwhile, the estates of dead rock musicians – with one eye on back-catalogue royalties
    – will be equally hard at work, getting bloc votes for
    their man. The chief cashier, as well as going
    to bed at night wondering if she is an Islamophobe with a hitherto unrecognised prejudice against people in wheelchairs, will also realise she’s a
    fuddy-duddy who does not have the courage to put Sid Vicious of the Sex Pistols alongside the King on the note – and I don’t mean Elvis.

    The Bank of England’s chief cashier, Victoria Cleland, pictured, is
    anxious to make her own priorities clear when she urges us to think about
    ‘the great diversity in the UK’

    I, for example, would love to see Captain James Cook on the banknotes:
    the first man to map New Zealand and the eastern coast of Australia

    The chief cashier will realise she’s a fuddy-duddy who does not have
    the courage to put Sid Vicious of the Sex Pistols alongside the King on the note

    Along will come the republicans asking for the King’s head to
    be replaced by Oliver Cromwell himself

    Why are there no trans people on banknotes, either?

    Before she has racked her brains for an answer to that one, along will come the republicans asking for
    the King’s head to be replaced by Oliver Cromwell himself.

    (Mind you don’t cause offence to the Irish though,
    given how many of their citizens were massacred by the
    Lord Protector. The rap group Kneecap would have a field
    day.) The whole business will instantly become a moral maze of competing claims.

    The trouble with free votes is that they aren’t really free – they are lobbying in disguise.

    Opening the floor to the public is fine for Strictly Come Dancing
    and Eurovision, but as a means for deciding the design of something as
    boring, everyday and – well, yes, serious – as the British banknote, it is simply moronic.

  39. olxtoto link dice:

    I’ve been exploring for a little bit for any high quality articles or blog posts in this kind
    of space . Exploring in Yahoo I finally stumbled upon this site.
    Studying this info So i am glad to express that I have an incredibly
    excellent uncanny feeling I discovered just what I needed.

    I most unquestionably will make sure to do not forget this web site and
    give it a look on a constant basis.

  40. kbdinqxb dice:

    Also, look for the bargain table close to the front with the store packed with items as much as 50 percent off of the regular price. Important point to be noticed is always that cost can’t often be the first consideration. This is a common occurrence as January 1 kicks off a fresh year of pharmacy benefits and beneficiaries are kept in (with minor exceptions obviously called qualifying life events or QLEs) until the next open enrollment season in November.

  41. model girls dice:

    Hi, its pleasant article regarding media print, we all be aware of media is a fantastic source of
    facts.

  42. I do not know if it’s just me or if everybody else encountering
    problems with your blog. It appears like some of the written text in your content are running off the screen. Can someone else
    please comment and let me know if this is happening to them as well?
    This could be a issue with my internet browser because I’ve had this
    happen previously. Kudos

  43. Thanks for sharing your thoughts about find out here.
    Regards

  44. Thanks , I have recently been searching for information about this topic for a while and yours
    is the greatest I’ve discovered so far. However, what
    in regards to the conclusion? Are you positive concerning the source?

Responder a miototo link alternatif Cancelar respuesta