

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,878
It’s truly very difficult in this busy life to listen news on Television, so I only
use web for that purpose, and get the most recent
information.
Undeniably 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 certainly get annoyed while people think about 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-effects
, people could take a signal. Will probably be back to get more.
Thanks
My homepage … Listerine and breathalyzer
Технология штукатурки по маякам стен гарантирует великолепный результат. Узнайте больше на mehanizirovannaya-shtukaturka-moscow.ru
hey therе and thank yoս for your info I’vе dеfinitely picked ᥙp anything new from right һere.
I ɗid howecer expertise ѕeveral technical issues
ᥙsing tһis site, аѕ I experienced t᧐ reload thе website ɑ lot of times prеvious
to I could get it to load properly. I
haԀ been wondering іf your hosting is OK? Not that I’m complaining, bսt sluggish loading instances tіmes will verу frequently affect ʏoսr
placement іn google and couⅼd damage your
quality score іf advertising аnd marketing witһ
Adwords. Ꮃell I’m adding tһis RSS to my email аnd couⅼd looҝ
ߋut for a lot moге of your respective intriguing
ϲontent. Ensure that yօu update this agaіn soon.
My blog post – trundle bed (Giselle)
Hey There. I found your blog using msn. This is a really well written article.
I will make sure to bookmark it and come back to read more of your useful info.
Thanks for the post. I’ll certainly return.
This is my first time go to see at here and i am
actually happy to read all at one place.
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 shakiness over that you wish be
delivering the following. unwell unquestionably come
further formerly again as exactly the same nearly a lot often inside case you shield this hike.
I am truly hаppy to read thiѕ weblog posts ᴡhich cοntains plenty of helpful infoгmation, thanks for
providing sᥙch infoгmation.
Feel free to surf to my web blog – ƅeѕt interior design singapore (Humberto)
My spouse and I absolutely love your blog and find the majority of your post’s to be exactly what I’m looking for.
Do you offer guest writers to write content for you personally?
I wouldn’t mind creating a post or elaborating on a
few of the subjects you write related to here. Again, awesome blog!
Greetings! This is my first visit to your blog!
We are a group of volunteers and starting a new initiative in a community in the same niche.
Your blog provided us beneficial information to work on. You have done a marvellous job! http://www.jangwontech.net/en/bbs/board.php?bo_table=en_qna&wr_id=1060158
Way cool! Some very valid points! I appreciate you writing
this post and also the rest of the site is also really good.
I’m not sure exactly why but this blog is loading extremely slow for me.
Is anyone else having this issue or is it a issue on my end?
I’ll check back later on and see if the problem still exists.
Hiya! 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 site goes over 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! Terrific blog by the way!
I really like what you guys are up too. This kind of clever work and coverage!
Keep up the fantastic works guys I’ve included you guys to my personal blogroll.
Hi there to every single one, it’s in fact a pleasant for me
to visit this web page, it consists of helpful Information.
Wonderful web site. Lots of useful information here. I’m sending it to some pals ans also sharing in delicious. And of course, thank you for your effort!
I’d ⅼike to fіnd out more? I’d want to find out some additional information.
my blog pοst; receive sms online china
Глубоко, но…
Увлекательно! Только не могу понять, как часто
обновляется блог?
Это прямо в яблочко!!!
You really make it seem so easy with your presentation but I find this
topic to be actually something which I think I would never understand.
It seems too complicated and extremely broad for me. I’m looking forward for your next
post, I’ll try to get the hang of it!
Excellent post. I used to be checking constantly
this weblog and I am inspired! Extremely useful information specifically the
ultimate part 🙂 I care for such info a lot. I used
to be looking for this certain info for a very long time.
Thanks and good luck.
Just want to say your article is as amazing. The clearness
to your publish is just nice and i could assume you’re an expert on this
subject. Fine along with your permission allow me to grab your RSS feed to stay up to date with drawing close post.
Thanks a million and please carry on the gratifying work.
Wow, incredible blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your site is fantastic, as well as the content!
If you want to take much from this piece of writing then you
have to apply these strategies to your won weblog.
Excellent items from you, man. I’ve understand your stuff previous to and you’re simply extremely
excellent. I really like what you’ve obtained right here, certainly like what you’re stating and the
way wherein you say it. You are making it enjoyable and
you continue to care for to keep it wise. I can’t wait to learn much more from you.
This is really a great web site.
Nice blog right here! Also your site rather a lot up fast!
What web host are you using? Can I get your affiliate hyperlink on your host?
I desire my website loaded up as fast as yours lol
This is very fascinating, You are an excessively professional blogger. I have joined your feed and look forward to seeking more of your wonderful post. Also, I have shared your site in my social networks
I think the admin of this web site is in fact working hard in support of his web page,
as here every data is quality based information.
Hi there, i read your blog from time to time
and i own a similar one and i was just wondering
if you get a lot of spam responses? If so how do you stop it, any plugin or anything you
can advise? I get so much lately it’s driving me crazy so any assistance is very much appreciated.
It’s the best time to make some plans for the longer term and it is time to be happy.
I’ve learn this publish and if I may I want to counsel you some interesting things
or advice. Maybe you could write subsequent articles regarding this article.
I want to learn even more issues about it!
%%
my webpage; https://top100ireland.com/
Please let me know if you’re looking for a article author for your site. You have some really great posts and I believe I would be a good asset. If you ever want to take some of the load off, I’d really like to write some material for your blog in exchange for a link back to mine. Please send me an e-mail if interested. Regards!
%%
my blog post: https://888pokerprobrazil.com/
Have you ever thought about including a little bit
more than just your articles? I mean, what you
say is valuable and all. Nevertheless just imagine if you added some great
visuals or video clips to give your posts more, “pop”!
Your content is excellent but with pics and video clips, this
website could undeniably be one of the very best in its niche.
Good blog!
Goood dɑy! Dо you սse Twitter? I’d lіke to follow yⲟu if that would be ok.
I’m defіnitely enjoying yoᥙr blog and ⅼook
forward tօ new updates.
My web blog … cara menambah view instagram tanpa aplikasi
If you wish for to obtain a great deal from this piece of writing then you have to apply such methods to your won weblog.
Wow, this post is good, my younger sister is analyzing these kinds of things, thus I am going to tell
her.
I do not even know how I ended up right here, but I believed this
submit was once great. I don’t recognize who you are however certainly you’re going to a famous blogger
if you happen to aren’t already. Cheers!
Hi there I am so excited I found your blog, I really found you by mistake, while I was browsing on Aol for something else, Anyways I am
here now and would just like to say kudos for a incredible post and a all round thrilling blog (I also love the theme/design), I don’t have time to
go through it all at the minute but I have bookmarked
it and also added your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the awesome job.
Nіce post. I lеarn something totaⅼly new and challenging onn websites
I stᥙmbleupon on a daily baѕis. It’s always usefuⅼ t᧐ reɑd
content from other ѡriters and pracice something from other sites.
We offer WhatsApp hash channels and WhatsApp software solutions
for your online marketing needs. You can buy WhatsApp hash channels and WhatsApp software
tools from us, such as:
• WhatsApp auto wart: This tool can register
and check WhatsApp hash channels in bulk.
• WhatsApp wart exactor 3.2: This tool can extract and convert WhatsApp queen channels from emulators.
• WhatsApp contact filter 5.3: This tool can filter out the
active WhatsApp users from any mobile numbers.
• WhatsApp lastseen v6.3: This tool can check the last seen status of any WhatsApp users.
• WhatsApp status filter V2.8: This tool can filter out the status content and update time
of any WhatsApp users. It can also identify the business WhatsApp users and their details.
• WhatsApp group blaster V3.2: This tool can create and edit bulk WhatsApp groups for yourself and promote your products or services in them.
• WhatsApp blaster sender V7.4: This tool can send bulk messages to your target audience using WhatsApp.
All our WhatsApp software tools are updated to 2023 versions and are
user-friendly and effective. You can boost your online marketing sales with our
WhatsApp software solutions.
Visit our website [www.kakabibi.com] to buy all WhatsApp software tools
I blog frequently and I seriously thank you for your content.
Your article has truly peaked my interest. I’m going to bookmark your
site and keep checking for new details about once per week.
I subscribed to your RSS feed as well.
I’m truly enjoying the design and layout of
your website. It’s a very easy on the eyes which makes
it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme?
Outstanding work!
Hello my loved one! I wish to say that this article is amazing,
nice written and include approximately all significant infos.
I’d like to peer more posts like this .
This blog was… how do you say it? Relevant!!
Finally I’ve found something that helped me. Many thanks!
Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks. nimabi
Восторг и радость!
Wonderful items from you, man. I have be aware your stuff prior to and
you are simply extremely magnificent. I really like
what you’ve obtained here, certainly like what you are saying
and the way wherein you assert it. You make it
enjoyable and you still care for to keep it sensible.
I can’t wait to learn far more from you. This is actually a tremendous website.
Hi to every body, it’s my first pay a quick visit
of this website; this weblog includes awesome and actually good
information for readers.