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: 11,735
Oh my goodness! Awesome article dude! Thanks, However I am experiencing issues
with your RSS. I don’t understand the reason why I can’t subscribe to it.
Is there anyone else getting the same RSS problems? Anyone that knows the solution will you kindly respond?
Thanks!!
Awesome! Its really remarkable article, I have got much clear
idea concerning from this article.
Hey There. I found your blog using msn. This is a really well written article.
I will be sure to bookmark it and return to read more of your useful information. Thanks for the post.
I’ll certainly comeback.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? https://www.binance.com/pt-PT/register?ref=P9L9FQKY
Very shortly this website will be famous among all blogging users, due to it’s good content
This is the right website for anybody who hopes to find out about this topic.
You know so much its almost hard to argue with
you (not that I really would want to…HaHa).
You certainly put a fresh spin on a topic which has been written about for ages.
Excellent stuff, just great!
Howdy! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly?
My web site looks weird when viewing from my apple iphone.
I’m trying to find a theme or plugin that might be able to correct this issue.
If you have any recommendations, please share. Thanks!
I am truly pleased to read this weblog posts which carries tons of helpful facts, thanks for providing such information.
hoş geldin/teşvik bonusu: bu promosyonun topraklarında bonusu teklif ediyoruz/uyguluyoruz bitcoin ile kumar oynanan siteler ana/anahtar
için üç depozito vardır.
I have learn several excellent stuff here.
Definitely price bookmarking for revisiting. I surprise how a lot
attempt you place to create this kind of excellent informative website.
I comment when I especially enjoy a article on a webste or I have something
too contribute to the discussion. It is a result of the sincerness displayed in the
post I read. And on this post Infraestructura como código –
Politraining. I was actually excited enough to drop a thought :
-) I doo have 2 questions for you iif you don’t mind.
Could it be only me or does it look like a few
of thee remarks appear aas if they are written by brain dead
visitors? 😛 And, if you are writing on other onmline sites,
I would like to follow anything new youu
have to post. Would yyou make a list every one of
your social sites like yur Facebook page, twitter feed, or linkeddin profile? http://goldbullion.s3-website.us-east-2.amazonaws.com/Gold-Bullion/Silver-Austrian-Philharmonics-Tube-of-20-coins-569.html
These prinivil 10 mg tablet.
I love your blog.. very nice colors & theme. Did you design this website yourself or did you
hire someone to do it for you? Plz answer back as I’m
looking to construct my own blog and would like to know where u got this from.
kudos
Also visit my web site – 서귀포출장안마
museumbola”Sangatlah penting untuk bekerja menuju peningkatan kemitraan generasi baru, kemitraan tidak hanya dengan pemerintah, tidak hanya dengan masyarakat sipil dan akademisi tetapi juga kemitraan dengan komunitas perusahaan dalam konteks perspektif implementasi kebijakan ini. Tujuan Pembangunan Berkelanjutan, menciptakan situasi pertumbuhan yang inklusif dan berkelanjutan – salah satu cara paling sederhana untuk mencegah krisis dan konflik di dunia saat ini”.
Organisasi Pariwisata Dunia (UNWTO), badan khusus PBB yang bertanggung jawab atas promosi pariwisata, telah lama menganggap
sektor swasta sebagai mitra integral dalam memenuhi mandat bersama untuk mendorong pertumbuhan pariwisata yang
berkelanjutan. Selain itu, UNWTO merupakan satu-satunya badan PBB yang memiliki anggota sektor swasta yang berpartisipasi dalam pembangunan tata kelola.
Kami percaya bahwa sektor publik dan swasta memiliki banyak
kesamaan tujuan yang, di dunia global saat ini, dapat lebih berhasil
dicapai melalui kolaborasi bersama dan pembentukan kemitraan. Menyatukan lebih dari 500 perusahaan, lembaga akademis dan penelitian, lokasi dan LSM,
Anggota Afiliasi UNWTO menyediakan ruang bagi anggota untuk terlibat dalam dialog, berbagi data dan mengambil
tindakan lebih lanjut.
What i don’t understood is in truth how you’re not actually a lot more
smartly-favored than you might be now. You are very intelligent.
You recognize thus significantly in terms
of this subject, made me individually consider it from so many numerous angles.
Its like women and men are not fascinated except it is something to accomplish
with Woman gaga! Your own stuffs nice. At all times handle it up! https://Utahsyardsale.com/author/andreas52y0/
No matter if some one searches for his essential thing, therefore he/she needs to be available that in detail, so that thing is maintained
over here.
If some one needs expert view on the topic of running a blog after that i suggest
him/her to pay a visit this web site, Keep up the nice work.
Feel free to surf to my webpage; A片
As someone passionate about anime, I’ve been watching anime since my teenage years.
Some of my favorites include Naruto, One Piece, Berserk, and countless others.
I combine this passion with my love for design, and I’ve transformed my personal
spaces with an anime theme. It’s been an amazing way to express
my love for anime.
For fellow anime enthusiasts, I absolutely love using anime rugs, anime carpets, and woven tapestries.
These items bring your favorite series to life and make your room stand out.
Transform your decor with anime-inspired designs!
Feel free to surf to my website Anime Rug
At this moment I am going to do my breakfast, after having my
breakfast coming over again to read additional news.
Keep this going please, great job! https://Kenpoguy.com/phasickombatives/profile.php?id=2350195
Профессиональный подход и высокое качество от ООО “Трубодеталь сервис“.
Everything is just resting.Thoreau compares the seasons to times of day.ラブドール 通販
Your article helped me a lot, is there any more related content? Thanks! https://www.binance.com/join?ref=P9L9FQKY
That is a very good tip especially to those fresh to the blogosphere.
Short but very precise information… Thank you for sharing this one.
A must read post!
大型 オナホ おすすめor at a loss for what to do next — something like an actor who’s said their last line in a play.Relationship issues: The uncertainty of this transition may add tension to your relationship with your partner.
A ten yеarѕ ago, in the event you lived in New England and
had the urgе to start a little gɑmbling, you’d end up being make extended trip down to the big casino in Connecticut.
Today, thanks to ɑ $200 million restoration and
renoѵation from the was Lincoln Park Dog Traϲk,
in Lincoln, Rhode Island the Twin River Casino is operatіng at full point.
The associated with a bonus can possess a mɑxіmum. Oftentimes a
maximսm will be regarded as a few hundrеd dollars in take pleasure in. Ƭhis is something thаt, for instance
percentage of your bonus, wilⅼ varу with each casino out there.
Αlso, the frequency of wһen an online casino bonus can һave aсcess to out may range.
Sometimeѕ the bonus can figure on every dеposit. It
is sometіmes only good on the first one. Aɡain, this will be by every
person Сɑsino Online betting.
With this mɑssiѵe lіst of ցames (оver one hundred
in total), you have endless hours of internet gambling.
They are well renowned for their slots and huge jackpots.
Sureⅼy has witnesseɗ jackpots in the plethora
of $50,000 to $100,000. Trust it or not, people actually hit these
jackpots along with the casino pays them each pixel ρenny.
Loco Panda haѕ morе than only sⅼots though;
they are ɑn RTG drivеn online caѕino to be аble will carry all for the other great stuff like Poker, Blackjacқ
and Online rouⅼette. This is definitely a combination wߋrth trying.
This online casino certainly having a appealing variety content.
The thing to see about a dsl Casino bonus is how the
aЬility to withdraw or cash in on one’s free money can vary by eacһ casіno.
Usually cases an individual wiⅼl deϲide to get a
payment of winnings off of an free profit order to obtain this money to be
taken out. Desires to gіνe ᥙsed as being a means of ensurіng that a persоn will actually play a Casino game and how the person is
not going to use and run the caѕino for a ride.
First Casino Online involving most is personal good management of
their bucks. If you have this essential skill, you be that could grow money well and also
a good a lifetime. Have a sound financial plan and stick there.
According to other bettors’ experiences, plɑcing sevеral, yet smaller bets have a tendency to yield better гesults with regarԁ to
you.
For people who love to gamble, hi-def have to vіsit casinos anymore just to position a bet.
At a comforts that belongs to them homes, almoѕt now play online casino, make bets
and win just on the internet.
Betting in a fixed odds gɑme with an internet casino is a varietү of than placing bet in an online sports book.
Those that do not understand primɑry can make contact
ԝith the video slot or roulеtte wheel. Peoplе wһo understand help to make themselves a few extra dollars if they
take time to be able to fіnd the perimeters that can pɑy.
my blog post: http://www.ice.edu
I blog frequently and I really thank you for your content.
This great article has truly peaked my interest.
I will bookmark your website and keep checking for new details
about once a week. I subscribed to your Feed as well.
Hey 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.
because it’s really not a big amount in the context of a Dutch salary,but a noticeable amount in the context of a Polish one (at least in the jobs that they ended up having,ラブドール 無 修正
I’ll immediately take hold of your rss as I can’t in finding yolur email
subscription link or e-newsletter service.
Do you have any? Kindly permit me know so that I may
subscribe. Thanks.
The acne can bee treated without leaving aany rashes or sidе effects on the skin. Recovery іs imple and swelling
will tyoically lat lеss than a daʏ ᴡith some bruising to be
expected. Unwanted hair іs a common proƅlem affeϲting most womenn to varying degreeds
throughout tһeir lives аnd prompting tһе usse of various temporary methods ᧐f hair reduction or hair
management systems.
Right here is the right website for anyone who really wants to
find out about this topic. You realize so much its almost tough to argue with you (not that
I actually will need to…HaHa). You certainly put a new spin on a subject which
has been discussed for decades. Wonderful stuff, just wonderful!
Right here is the right web site for anyone who really wants to
find out about this topic. You realize so much its almost tough to argue with
you (not that I personally will need to…HaHa).
You definitely put a brand new spin on a subject which has been discussed for ages.
Excellent stuff, just excellent!
My brother suggested I might like this web site. He was totally right.
This submit truly made my day. You can not imagine just how much time I had spent for
this information! Thank you!