

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,359
It’s hard to find educated people on this topic, but
you sound like you know what you’re talking about!
Thanks
I am regular visitor, how are you everybody? This post posted at this
web page is genuinely nice.
Post writing is also a fun, if you be acquainted with after that you can write if not it
is difficult to write.
Hmm is anyone else having problems with the images on this blog loading?
I’m trying to determine if its a problem on my end or if it’s the blog.
Any responses would be greatly appreciated.
It is not my first time to go to see this web site, i am visiting this web page dailly and obtain fastidious data from here all the time.
Hi there, I read your new stuff regularly. Your story-telling style is awesome, keep doing
what you’re doing!
вклад под высокий процент [url=http://deposit-kg.ru/]вклад под высокий процент[/url] .
Thanks to its medium volatility, players have the opportunity to win frequently and win big [url=https://tavukoyunubahis.com/]tavuk kumar[/url]
Excellent article. Keep posting such kind of information on your page.
Im really impressed by your blog.
Hello there, You have performed an excellent job.
I will definitely digg it and personally recommend to
my friends. I’m sure they will be benefited from this web site.
Right here is the perfect webpage for anyone who really
wants to understand this topic. You realize a whole lot its almost tough to argue with you
(not that I personally will need to…HaHa). You certainly
put a brand new spin on a topic which has been written about for
years. Great stuff, just great!
I do consider all of the ideas you have presented on your post.
They are very convincing and can definitely work. Nonetheless,
the posts are too quick for newbies. May just you please prolong them a bit
from next time? Thanks for the post.
Thanks , I’ve recently been looking for information about this topic for a
while and yours is the greatest I’ve discovered so far.
But, what concerning the bottom line? Are you positive
concerning the supply?
Base Bridge
I have read so many articles about the blogger lovers however this article is genuinely a nice paragraph, keep
it up.
I used to be suggested this blog through my cousin. I’m now
not positive whether or not this publish is written via him as no one
else recognise such distinct about my difficulty.
You are incredible! Thanks!
I know this web site provides quality depending
articles and other stuff, is there any other web page
which offers these things in quality?
Thank you for any other fantastic post. The place else may
just anybody get that type of information in such a perfect method of writing?
I’ve a presentation subsequent week, and I am at the look for such information.
Hi there, all is going sound here and ofcourse every one is
sharing information, that’s genuinely fine, keep up writing.
Selalu kasih kemenangan cuma disini
Good post. I learn something new and challenging on sites I stumbleupon everyday.
It will always be exciting to read articles from other writers
and practice something from other websites.
I think the admin of this web site is actually working hard in favor of
his website, since here every stuff is quality based material.
I love it when people get together and share views.
Great website, stick with it!
My brother suggested I might like this blog. He was entirely right.
This post actually made my day. You cann’t imagine simply how much time I had spent
for this info! Thanks!
Nice answer back in return of this issue with genuine
arguments and telling everything regarding that.
We’re a gaggle of volunteers and starting a new
scheme in our community. Your site offered us with valuable info to work on. You’ve done
a formidable job and our entire group might be thankful to you.
Thanks , I have just been searching for information about
this subject for a long time and yours is the greatest I’ve discovered so far.
But, what in regards to the bottom line? Are you certain concerning the supply?
Great blog right here! Also your website loads up very fast!
What host are you the usage of? Can I get your
associate hyperlink in your host? I wish my site loaded up as quickly as
yours lol
Hello everybody, here every person is sharing these kinds of
know-how, so it’s good to read this webpage, and I used to visit this website every day.
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 desire to suggest you some interesting things or advice.
Maybe you could write next articles referring to this article.
I wish to read more things about it!
Saya adalah penggemar game slot dari Jepangbet yang ingin berbagi info terbaru
soal situs gacor dan game mudah jackpot.
Nhận Ngay 100$ Khi Tham Gia https://vn888-vi.com Lần Đầu
I every time spent my half an hour to read this webpage’s posts everyday along with a cup of coffee.
Do you need reliable j&j junk removal services ? call us today.
After I originally left a comment I appear to have clicked the
-Notify me when new comments are added- checkbox and from now on each
time a comment is added I receive four emails with the same comment.
There has to be a means you can remove me from that service?
Many thanks!
My coder is trying to persuade me to move to .net from PHP.
I have always disliked tthe idea because of the costs. Butt he’s
tryiongg noone the less. I’ve been using WordPress on various
websites for about a year and am nervous about switching to another platform.
I have heard fantastic things about blogengine.net. Is
there a way I ccan traansfer all my wordpress posts into it?
Any help would bee really appreciated!
my weeb blog :: coralina.gov.co
These are genuinely impressive ideas in about blogging.
You have touched some nice things here. Any way keep up wrinting.
Great article, just what I needed.
Benefits of DefiLlama for crypto asset analysis.
Hey very interesting blog!
Here is my homepage :: All frequency Jammer
You’re so awesome! I do not believe I have read through something like this before.
So good to discover someone with a few unique thoughts on this subject matter.
Seriously.. thank you for starting this up.
This web site is something that is needed on the web, someone with a bit of originality!
Криптобосс Казино — это место, где каждый найдет игру по душе. Мы предлагаем огромное разнообразие слотов и настольных игр, включая популярные слоты, рулетка, покер и блэкджек. Каждый игрок сможет насладиться азартом и использовать уникальные возможности для выигрыша.
Специальные предложения в Криптобосс Казино созданы, чтобы вы могли выигрывать больше. Система вознаграждений дают возможность максимизировать ваши шансы на успех. Присоединяйтесь сейчас, чтобы почувствовать дух настоящей игры – https://cryptoboss-speed.top/.
Когда стоит открыть для себя Криптобосс Казино? Решение очевидно: в любое удобное время!
Почему выбирают нас:
Мы рекомендуем ознакомиться с нашими условиями и правилами, чтобы избежать недоразумений.
Если вы хотите получить максимум удовольствия, обратите внимание на VIP-программу.
Если вы только начинаете или делаете перерыв, у нас есть бесплатные версии игр, чтобы освоиться и набраться опыта.
I don’t know whether it’s just me or if
perhaps everyone else encountering problems with your site.
It appears as if some of the written text within your posts are running off the screen. Can someone else please
comment and let me know if this is happening to them too?
This may be a issue with my browser because I’ve had this happen before.
Thanks
It’s 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
want to suggest you few interesting things or advice.
Perhaps you could write next articles referring to this article.
I want to read even more things about it!
Hi there, just became alert to your blog through Google, and
found that it’s truly informative. I’m gonna watch out for brussels.
I’ll be grateful if you continue this in future.
A lot of people will be benefited from your writing. Cheers!
Yes! Finally something about fake site.
Salut buat blog ini. Kalau cari situs slot terpercaya, cobain JEPANGBET — RTP
tinggi dan withdraw cepat bro!
Great blog here! Also your website loads up fast! What host are you using?
Can I get your affiliate link to your host?
I wish my site loaded up as fast as yours lol
Do you need reliable j&j junk removal services ? call us today.
Hello! I know this is kinda off topic but I was wondering which blog platform are you using for this website?
I’m getting fed up of WordPress because I’ve
had problems with hackers and I’m looking at alternatives
for another platform. I would be awesome if you could point me in the direction of a good
platform.
Unlock the generous world of 1xBet bonuses [url=https://www.imdb.com/list/ls4100056903/]https://www.imdb.com/list/ls4100056903/[/url]