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: 27,096

  1. Hello I am so glad I found your website, I really found you by accident,
    while I was looking on Bing for something else, Anyways I
    am here now and would just like to say cheers for a incredible post and a all round thrilling blog (I also love the theme/design), I don’t have time to read through
    it all at the moment but I have bookmarked it and also added
    in your RSS feeds, so when I have time I will be back to read more, Please do keep up the
    fantastic job.

  2. Hello! Someone in my Myspace group shared this site with
    us so I came to look it over. I’m definitely
    enjoying the information. I’m bookmarking and will be tweeting this to my followers!
    Outstanding blog and outstanding design.

  3. Its like you read my mind! You appear to know so much about this, like you wrote the book
    in it or something. I think that you could do with a few pics to drive
    the message home a bit, but instead of that, this is fantastic
    blog. A great read. I’ll certainly be back.

  4. The SportWatch uses GPS and an accelerometer to trace location and exercise and has a bigger show than the SportBand. A few of Nike’s different sports training units, including the SportWatch GPS and the FuelBand, offer extra functionality on their shows. The corporate plans to release apps for cell devices, like iOS and Android smartphones, which will enable users to prompt message with their Nintendo Network mates and take part in Miiverse. This is often coordinated by an organization that cares for the automotive and manages points like insurance coverage and parking. When using a card reader, the keys are waiting for you somewhere contained in the car, like in a glove compartment or storage console. Nintendo TVii missed its scheduled launch alongside the console in November, but was launched in Japan on Dec. 8 2012. Nintendo TVii works very much like Google Tv: It’s designed to tug in programming guide data from tv suppliers like cable firms and allow you to prepare all of your Tv content material (including the video available by way of Netflix, Hulu, and so on.) by way of one interface.

    Here is my blog post – https://Slothydra.com/

  5. Hello Dear, are you truly visiting this web page daily,
    if so afterward you will without doubt obtain good knowledge.

  6. Hello, I log on to your new stuff on a regular basis. Your
    writing style is awesome, keep up the good work!

  7. This design is steller! You definitely know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved to start
    my own blog (well, almost…HaHa!) Wonderful job. I really enjoyed what you had to say,
    and more than that, how you presented it.

    Too cool!

  8. I do believe all the concepts you have introduced on your post. They are very convincing and will definitely work. Still, the posts are too brief for newbies. May just you please extend them a bit from next time? Thank you for the post.

  9. 20bet dice:

    Your article gave me a lot of inspiration, I hope you can explain your point of view in more detail, because I have some doubts, thank you. 20bet

  10. I visit daily some blogs and sites to read articles or reviews, except this website offers feature based content.

  11. Hi Dear, are you actually visiting this web site daily, if so then you will absolutely get good experience.

  12. Pretty nice post. I just stumbled upon your weblog and wanted to say that I’ve
    really enjoyed browsing your blog posts. After all I will be subscribing to your
    rss feed and I hope you write again very soon!

  13. I’m really inspired with your writing talents and also with the layout in your blog.
    Is that this a paid subject matter or did you modify it yourself?
    Either way stay up the nice quality writing, it’s uncommon to peer a nice blog like this one these days..

  14. It is perfect time to make some plans for the future and it is time to be happy.
    I have read this post and if I could I wish to suggest you some
    interesting things or suggestions. Perhaps you can write next articles referring to this
    article. I want to read even more things about it!

  15. First of all I would like to say fantastic blog! I had
    a quick question which I’d like to ask if you don’t mind. I was curious to know how you center yourself
    and clear your head before writing. I have had a tough time clearing my thoughts in getting my ideas
    out there. I truly do enjoy writing however it just seems like the first 10 to 15 minutes are wasted just trying
    to figure out how to begin. Any ideas or tips? Thank you!

  16. The other main distinction is players have the alternative
    to play a “late surrender”.

  17. Онлайн казино радует своих посетителей более чем двумя тысячами увлекательных игр от ведущих разработчиков.

  18. Unquestionably believe that which you stated. Your favorite justification appeared to be on the internet the simplest thing to be aware of. I say to you, I definitely get irked while people consider worries that they plainly do not know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks

  19. This is a good tip especially to those fresh to the blogosphere.
    Short but very precise info… Thanks for sharing this
    one. A must read post!

  20. Greetings I am so glad I found your webpage, I really found you by mistake, while I was researching on Digg for something else, Anyhow I am here now and would just like to say kudos for a marvelous post and a all round interesting blog (I also love the theme/design), I don’t have time to go through it all at the minute but I have saved it and also added in your RSS feeds, so when I have time I will be back to read much more, Please do keep up the awesome job.

  21. I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored material stylish.
    nonetheless, you command get bought an nervousness
    over that you wish be delivering the following.
    unwell unquestionably come further formerly again since exactly the same nearly
    very often inside case you shield this increase.

  22. These are really great ideas in concerning blogging. You have touched some pleasant
    points here. Any way keep up wrinting.

  23. Это лучшее онлайн-казино, где вы можете насладиться широким выбором игр и получить максимум удовольствия от игрового процесса.

  24. Вы ищете надежное и захватывающее онлайн-казино, тогда это идеальное место для вас!

  25. Excellent site you have here.. It’s difficult to find quality writing like
    yours these days. I honestly appreciate individuals like you!
    Take care!!

  26. Howdy! Do you know if they make any plugins to help with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains. If you know of any please share. Thank you!

  27. SMM Panel dice:

    My brother suggested I may like this website. He was once entirely
    right. This publish actually made my day.
    You cann’t consider just how a lot time I had spent for this information! Thanks!

  28. Thanks for your personal marvelous posting!
    I actually enjoyed reading it, you’re a great author.
    I will be sure to bookmark your blog and will eventually
    come back in the foreseeable future. I want to encourage that you continue your great job, have a nice
    weekend!

  29. Dallas dice:

    There’s stuff coming from Academy Award-winning actors
    and administrators, and long-awaited follow-ups to shows like Justified.

  30. Helpful information. Lucky me I found your website accidentally, and I’m surprised why this coincidence didn’t happened earlier!
    I bookmarked it.

  31. Rosaline dice:

    Everyone loves it whenever people come together and share opinions.
    Great blog, keep it up!

  32. Nice post. I was checking continuously this blog and I am impressed!

    Very helpful information particularly the last part 🙂 I care for such info much.

    I was seeking this particular info for a very long time.
    Thank you and good luck.

  33. Excellent blog here! Also your web site loads up very fast!
    What web host are you using? Can I get your affiliate link to your host?
    I wish my website loaded up as fast as yours lol

  34. To handle these phenomena, we suggest a Dialogue State Tracking with Slot Connections (DST-SC) mannequin to explicitly consider slot correlations throughout different domains.
    Specially, we first apply a Slot Attention to learn a set of slot-particular options from the
    unique dialogue and then integrate them utilizing a slot
    info sharing module. Slot Attention with Value Normalization for Multi-Domain Dialogue State Tracking Yexiang Wang author
    Yi Guo author Siqi Zhu writer 2020-nov text Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) Association for
    Computational Linguistics Online convention publication Incompleteness of domain ontology and unavailability of some values are two
    inevitable issues of dialogue state monitoring (DST). In this paper, we suggest a brand new structure to cleverly exploit ontology, which consists of Slot Attention (SA) and Value Normalization (VN), referred to as SAVN.

    SAS: Dialogue State Tracking by way of Slot Attention and Slot Information Sharing Jiaying Hu author Yan Yang author Chencai Chen author Liang He author
    Zhou Yu writer 2020-jul text Proceedings of the 58th Annual
    Meeting of the Association for Computational Linguistics Association for Computational Linguistics
    Online conference publication Dialogue state tracker is accountable for
    inferring user intentions by dialogue historical past.

    We suggest a Dialogue State Tracker with Slot Attention and Slot Information Sharing (SAS) to scale back redundant information’s interference and enhance long dialogue context tracking.

  35. It’s very straightforward to find out any topic on net as compared to books, as I found this piece of writing at this web site.

  36. Today, I went to the beach with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell
    to her ear and screamed. There was a hermit crab inside and it pinched her ear.

    She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

  37. Nichole dice:

    ” — is as amazed as anybody the song has improbably bloomed into a postseason anthem for the Philadelphia Phillies.

  38. Note that the Aivo View is yet one more sprint cam that can’t seem
    to extrapolate a time zone from GPS coordinates, although it obtained the date
    correct. That mentioned, other dash cams have dealt with
    the same state of affairs higher. Otherwise, the Aivo View is a wonderful 1600p entrance sprint cam with integrated GPS, in addition to above-common day
    and night time captures and Alexa help. There’s no arguing the quality of the X1000’s front video
    captures-they’re pretty much as good as anything we’ve seen at 1440p.
    It’s additionally versatile with both GPS and radar choices and the contact
    display makes it exceptionally pleasant and straightforward to use.
    With a little knowledge of the Dart language, you’ll be able to simply customise this template and
    make a top quality product to your client. But we
    remind you that to work with Flutter templates, you need some knowledge in the
    field of programming. A clean code and a detailed description will enable you to understand the construction of this template, even for those who don’t have any knowledge in the field of coding.
    What’s to keep the ex from exhibiting up and inflicting a scene or even probably getting upset or violent?
    Overall, these two benchmark results bode well for gamers
    wanting a laptop computer that’s a lower above by way of graphics efficiency, with the excessive body charges equating to a smoother gaming experience and
    extra element in every scene rendered.

  39. Hey there! 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!

  40. Blake dice:

    It’s like an Ealing comedy with a Meadows sensibility – affectionate
    pisstaking, blues rock music cues, trippy interludes,
    cut up display screen pictures of chickens and all.

  41. I have been browsing online more than three hours today,
    yet I never found any interesting article like yours.
    It’s pretty worth enough for me. Personally, if all site owners and bloggers made good content as you did, the internet will be
    a lot more useful than ever before.

  42. Do you mind if I quote a couple of your articles as long as I provide
    credit and sources back to your blog? My website is in the exact same area
    of interest as yours and my users would truly benefit from a lot of the
    information you provide here. Please let me know if this alright with
    you. Regards!

  43. I’m amazed, I must say. Rarely do I come across a blog
    that’s both educative and engaging, and without a doubt, you have hit the nail
    on the head. The issue is something that too few men and women are speaking intelligently about.
    I’m very happy I found this during my hunt for
    something concerning this.

  44. If you are going for most excellent contents like
    me, simply pay a visit this site everyday because it offers feature
    contents, thanks

  45. I was wondering if you ever considered changing the layout of your site? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or two images. Maybe you could space it out better?

  46. Hello mates, its great paragraph concerning cultureand
    fully defined, keep it up all the time.

  47. Hola! I’ve been reading your weblog for some time now
    and finally got the bravery to go ahead and give you a shout out from Kingwood
    Texas! Just wanted to mention keep up the excellent job!

Agrega tu comenatio