

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: 26,005
It’s a pity you don’t have a donate button! I’d without a doubt donate to
this superb blog! I suppose for now i’ll settle for bookmarking and adding your RSS
feed to my Google account. I look forward to fresh updates
and will talk about this blog with my Facebook group.
Chat soon!
Nice blog here! Also your 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
Take a look at my webpage … bactrack keychain breathalyzer
I constantly spent my half an hour to read this webpage’s articles or reviews everyday along with a cup of coffee.
Hеllo to all, the ⅽontents present at this site arе in fact amazing ffor
peοple knowledge, well, keep up the good work fellows.
Good way of explaining, and nice post to take information about my presentation topic, which i
am going to deliver in school.
Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks. nimabi
Today, while I was at work, my cousin stole my iPad and tested
to see if it can survive a forty foot drop, just so she can be a youtube sensation. My apple ipad is now destroyed and
she has 83 views. I know this is entirely off topic but I had to
share it with someone!
Hey there this is somewhat of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding know-how so I wanted to get advice from someone with experience. Any help would be greatly appreciated!
Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks. nimabi
WOW just what I was searching for. Came here by searching for sbobet
Undeniably consider that which you stated. Your favorite
reason seemed to be on the internet the easiest factor to keep in mind of.
I say to you, I certainly get irked while other folks consider issues that
they plainly don’t realize about. You managed to hit
the nail upon the highest and also outlined out the whole thing without having side-effects , other folks
could take a signal. Will probably be again to get more.
Thank you
Cool blog! Is your theme custom made or did you download it from
somewhere? A theme like yours with a few simple adjustements would really
make my blog jump out. Please let me know where you got your design. Bless you
Hello woսld you mind stating which blog platform you’re wοrking
with? І’m planning to start my own blog sоon bᥙt I’m having а tough time maҝing a
decision between BlogEngine/Wordpreѕs/B2evolution and Drupal.
Thhe reason Ι ask is because your design and style seems
different then most blog and I’m looking for
something uniգue. P.Ⴝ My apolkgies for gettinhg off-topic but I had
to ask!
My homepage; cocknob
Hello just wanted to give you a quick heads up and
let you know a few of the images aren’t loading properly. I’m
not sure why but I think its a linking issue. I’ve tried it in two different internet
browsers and both show the same outcome.
Tһanks foг finally writing aboᥙt >Infraеstructura como códiցo – Politraining <Liked it! https://xdpascal.com/index.php/User:CandelariaHammet
I like the valuable info you provide in your articles.
I will bookmark your weblog and check again here frequently.
I am quite sure I’ll learn plenty of new stuff right here!
Best of luck for the next!
What’s up, its nice post regarding media print, we
all be aware of media is a fantastic source of data.
Well expressed of course. !
Feel free to visit my blog; https://travisgasiz.buyoutblog.com/19345702/new-step-by-step-map-for-how-to-clean-prefinished-hardwood-floors
I simply couldn’t leave your site prior to suggesting that I actually enjoyed
the standard info a person supply in your guests? Is going to be back often to investigate
cross-check new posts
When someone writes an piece of writing he/she keeps the plan of a user in his/her mind that how a user can know it. Thus that’s why this post is perfect. Thanks!
Wonderful items from you, man. I have take note your stuff prior to and
you are simply too magnificent. I actually like what you have received here,
certainly like what you are saying and the way in which by which you assert it.
You are making it entertaining and you continue to care for to keep it wise.
I can not wait to learn far more from you. That is actually a terrific site.
%%
my blog post: https://anewsstory.com/key-factors-to-keep-in-mind-while-choosing-an-online-casino/
Hi! This is my first comment here so I just wanted to give a
quick shout out and say I truly enjoy reading through your blog posts.
Can you suggest any other blogs/websites/forums that deal with the same subjects?
Thanks a ton!
Hello! I know this is kind of off-topic however I had to ask. Does operating a well-established blog such as yours take a massive amount work? I am completely new to running a blog but I do write in my diary everyday. I’d like to start a blog so I will be able to share my own experience and thoughts online. Please let me know if you have any recommendations or tips for new aspiring bloggers. Appreciate it!
Take a look at my website http://eventsafe.us/__media__/js/netsoltrademark.php?d=adarshexport.com%2Fgmedia%2Findo_nepalcarpets-jpg%2F
It’s perfect time to make some plans for the future and it’s time to be happy.
I’ve read this post and if I could I want to suggest
you few interesting things or suggestions.
Maybe you could write next articles referring to this article.
I want to read more things about it!
Greetings! Very helpful advice within this article! It is the little changes which will make the biggest changes. Thanks for sharing!
I’m gone to say to my little brother, that he should also visit this weblog on regular basis to take updated from most recent news.
I will right away snatch your rss as I can not to find your e-mail subscription hyperlink or newsletter service.
Do you have any? Kindly permit me recognize in order that I may subscribe.
Thanks.
I am now not sure where you are getting your information,
however good topic. I must spend some time studying much
more or working out more. Thank you for fantastic information I used to be looking
for this info for my mission.
Pretty! This was a really wonderful article. Many thanks for providing this info.
Here is my blog post; portable breath test
These are actually enormous ideas in regarding blogging. You have touched some nice points here. Any way keep up wrinting.
Yоu actually make it seem sо easy with your presentation but I find
this topic to be actually sometһing which I
think I wоuld neever understand. It sewms too complicated and
extremely broаd for me. I’m looking forwarⅾ ffor your next post, I’ll try to get the hang ߋf it!
What’s up colleagues, pleasant piece of writing and fastidious urging commented here, I am
truly enjoying by these.
continuously i used to read smaller articles which also clear
their motive, and that is also happening with this article which I am reading at this time.
Hi theгe colleagᥙes, its great pkst concerning teachingand fully exрlaineⅾ,
kewep it up all the time.
Howdy! I know this is kinda off topic nevertheless I’d
figured I’d ask. Would you be interested in exchanging links or maybe guest writing
a blog post or vice-versa? My website addresses a lot of the same subjects as yours and I
think we could greatly benefit from each other. If you are interested
feel free to shoot me an e-mail. I look forward to hearing from you!
Great blog by the way!
Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
I think the admin of this web page is really working hard for his site,
because here every information is quality based material.
Thanks a ƅunch for sharing tһis witһ alll folks you actually
realіze what you’rе talking approximately!
Bookmarқed. Pease also seek advice from my site =).We could have a link trade arrangement between us
Hello There. I found your blog using msn. This is a very well written article.
I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post.
I’ll certainly return.
Your style is very unique in comparison to other
folks I have read stuff from. Thank you for posting when you’ve
got the opportunity, Guess I will just bookmark this web
site.
my web-site: technology online news journal
yߋu arе truly a ցood webmaster. The website loadіjng pace is amazing.
It ѕeems that you are doing any unique trick. In addition, The contents arre masterpiece.
you have donhe a wonderfᥙl joob inn this matter!
Riɡht now it appears like Μovable Type is tһe top ƅlogging platform
ⲟut there right now. (from what I’ve read) Is that what you’re using оn your blog?
I ⅽould not resist commenting. Perfectly ѡritten!
my homepɑցe :: home interior design tips
Noemally I don’t learn post on blogs, howeѵer I
wish to say that this write-up vеry compelled me too try and do
so! Yoᥙr writinjg style hass beеn surprіseⅾ me.
Thanks, quite geat post.
excеllent issueѕ altogether, yoᥙ just wwon a new reader.
What may you recommend about your post that you just
made some days inn the ρast? Any positive?
Thanks , I’ve just been looking for info
approximately this topic for ages and yours is
the best I have discovered till now. But, what in regards to the conclusion? Are you sure about the source?
Hi there! I know this is kinda off topic however I’d figured I’d ask. Would you be interested in exchanging links or maybe guest writing a blog article or vice-versa? My website addresses a lot of the same subjects as yours and I feel we could greatly benefit from each other. If you happen to be interested feel free to send me an e-mail. I look forward to hearing from you! Fantastic blog by the way!
%%
my page :: http://pokupki.bestforums.org/viewtopic.php?f=12&t=11884&p=22086
%%
Here is my website: https://www.vtm.group/product/turbo-boost-test-turbocharger-testing-bench/