

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: 136,888
Chao anh em, bac nao mu?n tim nha cai uy tin d? gi?i tri Tai X?u thi vao ngay ch? nay. T?c d? ban th?: [url=https://homemaker.org.in/#]Game bai d?i thu?ng[/url]. V? b? thanh cong.
не заряжается телефон помощь с apple id великий новгород
дайсон сервисный центр санкт петербург [url=https://dn-pylesos-3.ru/]dn-pylesos-3.ru[/url] .
Good write-up. I certainly appreciate this website. Keep writing!
What’s up, I read your new stuff on a regular basis. Your writing style is awesome, keep it up!
Thankfulness to my father who stated to me regarding this blog, this website is actually remarkable.
Very shortly this website will be famous amid all blog visitors, due to it’s good posts
Complete guide
cost generic zetia without prescription
to optimize performance.
Hi các bác, ai đang tìm cổng game không bị chặn để gỡ gạc Game bài thì vào ngay trang này nhé. Đang có khuyến mãi: [url=https://pacebhadrak.org.in/#]bj88[/url]. Về bờ thành công.
It’s appropriate 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 wish to
suggest you some interesting things or tips. Maybe you can write
next articles referring to this article. I
wish to read even more things about it!
Xin chào 500 anh em, ai đang tìm sân chơi đẳng cấp để gỡ gạc Nổ Hũ thì xem thử địa chỉ này. Uy tín luôn: https://homemaker.org.in/#. Chúc các bác rực rỡ.
pop over here https://pactswap.org/
For testimonials
can you buy cheap lasix prices
to contribute to the cause.
For further
Best online casino usa valuable
for research purposes.
Chao c? nha, ai dang tim san choi d?ng c?p d? choi Casino thi tham kh?o d?a ch? nay. Dang co khuy?n mai: https://gramodayalawcollege.org.in/#. V? b? thanh cong.
Call girls in India have negotiation skills MBA students envy
I’m not sure where you’re getting your information, but great topic.
I needs to spend some time learning more or understanding more.
Thanks for great information I was looking for this information for
my mission.
Also visit my webpage: brutal porn movies
My brother suggested I might like this blog. He was totally right. This post actually made my day. You cann’t imagine simply how much time I had spent for this info! Thanks!
Chao anh em, bac nao mu?n tim trang choi xanh chin d? gi?i tri Da Ga d?ng b? qua con hang nay. Dang co khuy?n mai: https://gramodayalawcollege.org.in/#. Chuc anh em may m?n.
With havin so much written content do you ever run into any problems of plagorism or copyright infringement?
My website has a lot of exclusive content I’ve either authored
myself or outsourced but it appears a lot of it is popping it
up all over the web without my agreement. Do you know any techniques
to help stop content from being stolen? I’d really appreciate it.
Choosing a reliable broker, PrymexEnergy.com reviews is
crucial for successful trading. A good broker offers
various trading options and beneficial fees. Research and compare various brokers to find the one that suits your needs best.
Chào anh em, ai đang tìm sân chơi đẳng cấp để chơi Nổ Hũ thì xem thử chỗ này. Uy tín luôn: sunwin. Chúc các bác rực rỡ.
Chào cả nhà, nếu anh em đang kiếm sân chơi đẳng cấp để cày cuốc Tài Xỉu thì tham khảo con hàng này. Đang có khuyến mãi: https://homemaker.org.in/#. Về bờ thành công.
Hi there just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Firefox. I’m not sure if this is a format issue or something to do with browser compatibility but I figured I’d post to let you know. The design and style look great though! Hope you get the problem fixed soon. Many thanks
Hi, Neat post. There is an issue along with your website in internet explorer, could check this? IE nonetheless is the market chief and a good component of folks will miss your wonderful writing because of this problem.
pin up казино, официальный сайт пинап казино — это увлекательное место, где посетители могут удовлетворяться богатством игр.
dyson пылесос купить [url=https://dn-pylesos-kupit-5.ru/]dn-pylesos-kupit-5.ru[/url] .
двухэтажные автобусы в спб [url=https://avtobusnye-ekskursii-po-spb.ru/]avtobusnye-ekskursii-po-spb.ru[/url] .
I really love your website.. Very nice colors & theme. Did you develop this site yourself? Please reply back as I’m wanting to create my own blog and would like to learn where you got this from or what the theme is called. Appreciate it!
https://ssnbs.org/quantum-ai-innovationen/ Quantum AI: Technologische Innovationen
http://sandero.com.ua/nft-revolyucziya-czifrovoj-sobstvennosti-pokoryayushhaya-mir
That is a good tip especially to those new to the blogosphere. Short but very accurate information… Thanks for sharing this one. A must read article!
экскурсии по спб и пригородам на автобусе [url=https://avtobusnye-ekskursii-po-spb.ru/]avtobusnye-ekskursii-po-spb.ru[/url] .
автобусная экскурсия из спб [url=https://avtobusnye-ekskursii-po-spb.ru/]avtobusnye-ekskursii-po-spb.ru[/url] .
My coder is trying to convince 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 Movable-type on several websites for about a year and am nervous about switching to another platform. I have heard good things about blogengine.net. Is there a way I can transfer all my wordpress content into it? Any help would be greatly appreciated!
I am actually pleased to glance at this web site posts which contains plenty of valuable information, thanks for providing such data.