Infraestructura como código

Festival Politraining Industria 4.0

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: 130,062

  1. RolandRosse dice:

    OANDA FX Summary

    OANDA FX, also known as OANDAFX, is a prominent online forex dealer that caters to a broad variety of traders, from beginners to experienced.

    Target Audience as well as User Base

    The platform is designed for clients with varying trading experience, starting from complete beginners to professional forex dealers. This inclusive approach provides that all users can benefit in its tools.

    Trading Platforms and Tools

    OANDA FX offers a variety of trading platforms, including its own proprietary platform and the renowned MetaTrader 4 (MT4). These interfaces facilitate effective forex trading with state-of-the-art charting tools, market analysis, and tailorable settings that adapt to the unique needs of traders.

    Educational Resources

    Understanding the needs of inexperienced traders, OANDA FX provides comprehensive educational resources, including online classes, tutorials, and detailed market commentary. This emphasis on training helps make sure that novices develop proficiency before engaging in live trading.

    Regulation and Security

    OANDA FX operates under robust regulatory frameworks in multiple jurisdictions like the US, UK, Canada, and Australia. This compliance guarantees protection for traders’ funds and clear trading practices, fostering confidence among its client base [url=https://golf-lessons.jp/]オアンダジャパン[/url]

    Customer Support plus Service

    The broker delivers robust customer support via instant messaging, email, and phone, available in multiple languages. This responsive support team helps traders with all issues, ranging from technical problems to account management inquiries.

    Conclusion

    OANDA FX stands out as a flexible forex broker that successfully addresses the requirements of a diverse trader audience. With its innovative platforms, rich educational tools, and reliable regulatory frameworks, OANDA FX stands firmly as a dependable name in the forex trading industry.

  2. MichaelAlmom dice:

    Hey there, I just found a great website to order prescription drugs securely. If you need antibiotics, OnlinePharm is worth a look. Fast delivery and it is very affordable. Check it out: https://onlinepharm.jp.net/#. Have a nice day.

  3. MichaelAlmom dice:

    Hey there, I recently discovered a useful online drugstore for purchasing generics online. If you are looking for safe pharmacy delivery, this store is highly recommended. They ship globally and huge selection. See for yourself: check availability. Good luck with everything.

  4. xxxxxx dice:

    捕风捉影在线免费在线观看,海外华人专属平台,高清无广告体验。

  5. ArthurVaree dice:

    Greetings, Just now stumbled upon an amazing source from India to save on Rx. For those looking for cheap antibiotics without prescription, IndiaPharm is worth checking. You get fast shipping to USA. Check it out: https://indiapharm.in.net/#. Cheers.

  6. CarrolIsoca dice:

    Hey guys, Just now came across a great website to save on Rx. For those looking for ED meds without prescription, this store is very reliable. You get secure delivery worldwide. More info here: India Pharm Store. Hope it helps.

  7. Cazryut dice:

    Заказать диплом ВУЗа поспособствуем. Купить диплом экономиста – оптимальное решение – [url=http://diplomybox.com/diplom-ekonomista/]diplomybox.com/diplom-ekonomista[/url]

  8. 101 tiger dice:

    Greetings from Carolina! I’m bored at work so I decided to check out your site on my
    iphone during lunch break. I enjoy the information you present here
    and can’t wait to take a look when I get home. I’m amazed at how quick your blog loaded on my phone ..
    I’m not even using WIFI, just 3G .. Anyways, excellent blog!

  9. JamesPyday dice:

    Hey there, I recently came across a trusted website for cheap meds. If you want to save money and want generic drugs, this store is highly recommended. Fast shipping plus very reliable. Check it out: https://pharm.mex.com/#. Thanks!

  10. CarrolIsoca dice:

    Hi all, Lately stumbled upon a useful Indian pharmacy for cheap meds. If you want to buy ED meds at factory prices, this site is highly recommended. It has secure delivery to USA. Take a look: [url=https://indiapharm.in.net/#]visit website[/url]. Good luck.

  11. Hey there just wanted to give you a quick heads up.
    The text in your article seem to be running off the
    screen in Chrome. I’m not sure if this is a format issue or something to do with
    web browser compatibility but I thought I’d post to let you know.
    The layout look great though! Hope you get the
    problem fixed soon. Cheers

  12. Anthonyagimi dice:

    Как определиться с и приобрести памятник на могилу

    Выбор и заказ памятника на могилу — значимый шаг, который требует внимательного и взвешенного подхода. Ниже представлены основные факторы, которые помогут выбрать и оформить заказ красивого памятника.

    Виды памятников

    Памятники бывают разных форм, включая:

    – Фигуры
    – Плиты
    – Обелиски

    Каждый вид имеет характеристики, которые надо учитывать в зависимости от вкуса и финансовых возможностей.

    Материалы памятников

    Выбор материала играет важную роль на долговечность и внешний вид памятника. Наиболее распространённые материалы:

    – Гранит – прочный, устойчивый к погодным условиям
    – Мрамор – красивый, но требующий заботы
    – Металл – редко используется, но возможен

    Размер и форма памятника

    Размер памятника зависит от желаниями заказчика и регламентом места. Важно учитывать ограничения и выбирать форму, которая отражает память об усопшем.

    Дизайн и памятные надписи

    Один из ключевых элементов — это дизайн и текст на памятнике. Надпись может включать:

    – Имя и фамилию усопшего
    – Даты рождения и смерти
    – Цитаты, эпитафии или молитвы

    Здесь важен вкус, а также читаемость надписей.

    Заказ памятника

    При оформлении памятника стоит учитывать:

    – Репутацию мастера, выполняющей работу
    – Сроки изготовления и установки
    – Возможность индивидуального дизайна
    – Стоимость и условия оплаты

    Рекомендуется получать примеры выполненных работ и отзывы клиентов [url=https://granitnyj-pamyatniki-zakaz.by/]памятники в минске недорого[/url]

    Заключение

    При выборе и заказе памятника на могилу важно проявить внимательность, подобрать качественный материал, определиться с формой и дизайном, и обращать внимание на надежность исполнителей. Такой подход поможет получить памятник, выражающий уважение к близкому человеку.

  13. CarrolIsoca dice:

    Greetings, I just discovered an awesome online source to buy medication. If you want to save money and need cheap antibiotics, Pharm Mex is a game changer. They ship to USA plus very reliable. Check it out: Pharm Mex. Kind regards.

  14. evostoto dice:

    Hi there, I enjoy reading through your article post. I like to write a
    little comment to support you.

  15. Richarddiept dice:

    The Pin Up Casino official website mirror is a reliable alternative to the main resource регистрация в Pin Up

  16. технического аудита сайта [url=https://prodvizhenie-sajtov-v-moskve232.ru/]prodvizhenie-sajtov-v-moskve232.ru[/url] .

  17. internet seo [url=https://prodvizhenie-sajtov-v-moskve232.ru/]internet seo[/url] .

  18. интернет продвижение москва [url=https://prodvizhenie-sajtov-v-moskve232.ru/]интернет продвижение москва[/url] .

  19. seo аудит веб сайта [url=https://prodvizhenie-sajtov-v-moskve232.ru/]seo аудит веб сайта[/url] .

Responder a ArthurVaree Cancelar respuesta