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: 21,646

  1. It’s a pity you don’t have a donate button! I’d definitely
    donate to this excellent blog! I suppose for now i’ll settle for
    bookmarking and adding your RSS feed to my Google account.
    I look forward to new updates and will share this site
    with my Facebook group. Talk soon!

  2. Terrific article! That is the kind of information that
    are meant to be shared across the net. Disgrace on Google
    for no longer positioning this publish higher!
    Come on over and talk over with my web site . Thanks =)

  3. bk8 dice:

    We are a gaggle of volunteers and starting a new scheme in our
    community. Your web site provided us with useful information to work
    on. You have done a formidable task and our whole group can be thankful to you.

  4. togel 4d dice:

    I love it when individuals come together and share
    ideas. Great site, stick with it!

  5. First of all I would like to say superb blog! I had a quick question that I’d like
    to ask if you do not mind. I was interested to find out how you center yourself and clear your thoughts prior to writing.

    I’ve had a hard time clearing my thoughts in getting my thoughts
    out. I truly do take pleasure in writing but it just seems like the first 10 to
    15 minutes are generally wasted just trying to figure
    out how to begin. Any ideas or tips? Appreciate it!

  6. ProxenIQ dice:

    Have you ever thought about publishing an ebook or guest authoring on other blogs?
    I have a blog centered on the same subjects you discuss and would love to have you share some stories/information. I know my visitors would
    enjoy your work. If you’re even remotely interested,
    feel free to shoot me an email.

  7. Сервисный центр РемТочка предлагает услуги по диагностике,
    ремонту и обслуживанию компьютерной техники.
    Мы специализируемся на решении любых проблем
    с вашим компьютером, от простых
    настроек до сложных технических работ.
    Наши опытные специалисты всегда готовы помочь
    вам с любыми вопросами, такими как
    по ремонту компьютеров связанными
    с компьютерами и программным обеспечением.

  8. 188bet dice:

    Thank you for the auspicious writeup. It if truth
    be told was once a leisure account it. Glance complex to more added agreeable from you!
    However, how could we communicate?

  9. if he could possibly be released without thatmortification.ラブドール 最 高級The young nobleman explained his desire to the court,

  10. The unformed matter of the World,was by the name of Chaos.初音 ミク ラブドール

  11. and readover many books on both these subjects,for these sciences,人形 エロ

  12. see here now dice:

    Hmm it seems like your site ate my first comment (it was extremely long) so
    I guess I’ll just sum it up what I had written and
    say, I’m thoroughly enjoying your blog. I too am an aspiring blog writer but
    I’m still new to everything. Do you have any recommendations for inexperienced blog writers?
    I’d really appreciate it.

  13. hey there and thank you for your info – I have certainly picked up
    anything new from right here. I did however expertise some technical
    issues using this site, as I experienced to reload the web site many times previous to I could get
    it to load correctly. I had been wondering if your web host is
    OK? Not that I’m complaining, but slow loading instances times will very frequently affect your placement in google and can damage
    your quality score if advertising and marketing with Adwords.
    Anyway I’m adding this RSS to my e-mail and could look out for much more of your respective interesting content.
    Ensure that you update this again very soon.

  14. Very good post. I am facing a few of these issues as well..

  15. cici303 dice:

    I have been exploring for a little for any high quality articles or weblog posts in this
    sort of space . Exploring in Yahoo I at last stumbled upon this website.

    Studying this info So i’m satisfied to express that I have a very excellent uncanny feeling
    I found out just what I needed. I such a lot without a
    doubt will make sure to do not put out of your mind this website and give it a
    look regularly.

  16. I am actually grateful to the holder of this web site who has shared this fantastic piece of
    writing at here.

  17. Today’s briefings underscore the impact of verizon business on modern networks.
    The firm continues to invest in secure login.
    Organizations of all sizes now rely on verizon business login.
    From simple logins, the offerings are complete.

    Analysts report record uptime tied to verizon. This success is credited to customer
    focus.
    System deployment has been streamlined through
    verizon business. IT teams say it reduces onboarding
    time by up to 40%.
    With the release of mobile enhancements, adoption is accelerating.
    Customers using manual logins are switching rapidly.
    The praise from business leaders further validates verizon business login. Its
    position in tech review charts remains strong.
    There’s no doubt that verizon business is shaping
    the next era of enterprise systems.

  18. traffic dice:

    My developer is trying to persuade me to move to .net from PHP.

    I have always disliked the idea because of the expenses. But he’s tryiong none the less.
    I’ve been using WordPress on numerous websites for about a
    year and am anxious about switching to another platform.

    I have heard fantastic things about blogengine.net.
    Is there a way I can transfer all my wordpress content into it?

    Any kind of help would be really appreciated!

  19. ラブドール 最新he would have beenhonoured with a statue at the public expence.I moreover conversed withone Mr G–ssf–d,

  20. What’s up to all, how is all, I think every one is getting more
    from this web page, and your views are pleasant designed for new users.

  21. java burn​ dice:

    I have learn a few good stuff here. Definitely worth bookmarking for revisiting.
    I wonder how a lot attempt you place to make any such great informative
    website.

  22. Haroldsmero dice:

    Hello, everyone! In this article, we will tell you in detail how to use 1xBet [url=https://www.imdb.com/list/ls4100966899/]https://www.imdb.com/list/ls4100966899/[/url]

  23. and take out their linen and clothe when the other manhistwin-brother,she believed he washad gone off with the horse and cart.ダッチワイフ 販売

  24. This is a good tip particularly to those fresh
    to the blogosphere. Brief but very accurate information… Appreciate your sharing
    this one. A must read article!

  25. I’m curious to find out what blog platform you happen to be
    using? I’m experiencing some minor security issues with my latest blog and I’d like
    to find something more safe. Do you have any recommendations?

  26. My family members all the time say that I am wasting my time
    here at web, but I know I am getting knowledge daily by reading thes good articles or
    reviews.

  27. Hi, everything is going sound here and ofcourse every one is
    sharing information, that’s really good, keep up writing.

  28. Pretty! This was an extremely wonderful post. Thank you for providing
    this info.

  29. and the postilions were very careful in driving.I am nowsafely housed at the New Inn,エロ 人形

  30. My friends the wood-cutterswere likewise scandalized,ラブドール えろand with a better show of reasonthough Iadmit that the reason itself was quite inadmissible.

  31. Véanse la preciosa monografía del Dr.ラブドール エロMaximiano Lemos,

  32. Great article, totally what I wanted to find.

  33. вакуумное водопонижение иглофильтрами [url=vodoponizhenie-msk.ru]vodoponizhenie-msk.ru[/url] .

  34. I always used to read paragraph in news papers but now
    as I am a user of net so from now I am using net for articles,
    thanks to web.

  35. The worst wa all the ladiescried in concer Even Miss Pole cried,sex ドールwho had said a hundred timesthat to betray emotion before any one was a sign of weakness and want ofself-control.

  36. オナドール. then… s certainlynot that. ?And he trembled with joy. He felt sudden intense indescribable relief. Aload was lifted from his back.“And pray,what time were you directed to appear,

  37. intercediendo Franquila,ラブドール えろmujer de un mercader y personadiscreta,

  38. This website definitely has all the information and facts I
    wanted concerning this subject and didn’t know who to
    ask.

  39. 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 placed 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!

  40. Woah! I’m really digging the template/theme of this website.
    It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between usability and visual appearance.
    I must say that you’ve done a very good job with this.
    In addition, the blog loads super fast for me on Chrome.

    Exceptional Blog!

  41. промышленные холодильные камеры [url=www.xn—-7sbabtdykncetibz6f4f8b.xn--p1ai/]www.xn—-7sbabtdykncetibz6f4f8b.xn--p1ai/[/url] .

  42. Link Kokitoto merupakan akses registrasi slot Thailand dengan penawaran terbaik,
    cuma deposit mulai dari 5.000, di Slot777 yang gampang turun x500 dan x1000.

  43. скважинное водопонижение [url=https://vodoponizhenie-moskva.ru]https://vodoponizhenie-moskva.ru[/url] .

  44. slot mahjong dice:

    Great site you’ve got here.. It’s hard to find good
    quality writing like yours these days. I really appreciate
    individuals like you! Take care!!

  45. sighing.オナドールAt that moment something seemed to sting Raskolnikov,

  46. Good day! I could have sworn I’ve been to this blog before but after browsing through some
    of the posts I realized it’s new to me. Anyways, I’m
    certainly happy I found it and I’ll be book-marking it and checking
    back frequently!

Responder a link alternatif klikwin188 Cancelar respuesta