saa Infraestructura como código – Politraining

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: 135,014

  1. WilliamMor dice:

    Why Cheats Were Created for Games

    Cheats in games came into continuance object of a range of purposes, serving unique users and plucky environments. Understanding the stubbornness behind strategy cheats helps to simplify why they are at rest in fashion today.

    Providing Players with Advantages and Benefits

    Anyone main motive cheats came up is to transmit players benefits that assign faster achievement in games. These advantages can tabulate astronomical fitness, unlocking levels, or making a badge invincible. Cheats offer players a way to beat obstacles that influence otherwise gradual down their progress.

    Enhancing Fun and Experimentation

    Cheats also are euphemistic pre-owned to raise high jinks and enjoyment by allowing players to struggle escape game mechanics in ways not in the first place intended. They lease out gamers to familiarity novel scenarios, check up on boundaries, or artlessly be experiencing a asunder from the everyday gameplay. Using cheats, players can take advantage of a job more without restraint without worrying close by constricting rules or failures.

    Facilitating Learning and Preparation

    Another prominent purpose of cheats is to remedy players practice their skills by reducing difficulties. Recompense eg, enabling cheats to harvest infinite resources or invincibility allows players to concentrate on discrete to strategies or study profession levels safely. This gain is peculiarly beneficial in spite of beginners or those trying to мастер complex games.

    Supporting Regatta Developers and Testers

    Cheats were also created [url=https://www.weconsultit.tech/hwid-spoofers-permanent-temp-spoofers-to-unban-pc-2/]https://www.weconsultit.tech/hwid-spoofers-permanent-temp-spoofers-to-unban-pc-2/[/url] as imperative tools recompense meeting developers and testers during the development phase. Cheats help them to fast access unusual parts of a round, test various functionalities, and tag bugs or glitches without playing the entire engagement normally. This use streamlines the situation modify and improves the ultimate fallout quality.

    Addressing Sexual and Competitive Aspects

    In multiplayer or competitive games, cheats are on seen to bag unfair advantages, although this workout is normally prohibited. Nonetheless, their endurance highlights players’ desire to top and occasionally invite the arrangement, outstanding to ongoing debates close to fairness and ethics.

    Conclusion

    Cheats in games were created 5t46to give players with advantages, and bankroll developers, reflecting distinct motivations behind their use. While unsettled in competitive settings, their sang-froid underscores important aspects of gaming culture such as creativity, experimentation, and accessibility.

  2. Louiscaf dice:

    Chào cả nhà, ai đang tìm sân chơi đẳng cấp để giải trí Nổ Hũ đừng bỏ qua trang này nhé. Uy tín luôn: Game bài đổi thưởng. Chúc anh em may mắn.

  3. StephenPhoth dice:

    Xin chào 500 anh em, nếu anh em đang kiếm cổng game không bị chặn để chơi Game bài thì tham khảo địa chỉ này. Đang có khuyến mãi: [url=https://pacebhadrak.org.in/#]Nhà cái BJ88[/url]. Chúc các bác rực rỡ.

  4. Louiscaf dice:

    Hello mọi người, ai đang tìm nhà cái uy tín để giải trí Game bài thì xem thử địa chỉ này. Nạp rút 1-1: sunwin. Chúc anh em may mắn.

  5. AnthonyZex dice:

    Chào cả nhà, nếu anh em đang kiếm cổng game không bị chặn để gỡ gạc Casino thì xem thử con hàng này. Uy tín luôn: [url=https://pacebhadrak.org.in/#]BJ88[/url]. Chúc các bác rực rỡ.

  6. Joshuatop dice:

    Hi cac bac, n?u anh em dang ki?m trang choi xanh chin d? choi Tai X?u thi tham kh?o d?a ch? nay. Uy tin luon: https://gramodayalawcollege.org.in/#. Hup l?c d?y nha.

  7. StephenPhoth dice:

    Chào anh em, ai đang tìm sân chơi đẳng cấp để gỡ gạc Game bài thì tham khảo chỗ này. Nạp rút 1-1: https://homemaker.org.in/#. Về bờ thành công.

  8. Joshuatop dice:

    Hello m?i ngu?i, n?u anh em dang ki?m trang choi xanh chin d? gi?i tri Tai X?u d?ng b? qua trang nay nhe. T?c d? ban th?: [url=https://gramodayalawcollege.org.in/#]T?i app Dola789[/url]. Chi?n th?ng nhe.

  9. Rickyner dice:

    TripScan — Надежность путешествий начинается здесь

    Планируете поездку и хотите убедиться, что всё пройдёт гладко? Тогда вам нужен TripScan! Это удобный онлайн-сервис, позволяющий проверить наличие ваших билетов и бронировок всего одним кликом.
    [url=https://trip64c.cc]tripscan[/url]
    ¦ Что такое TripScan?

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

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

    ¦ Как пользоваться TripScan?
    [url=https://trip64c.cc]трипскан вход[/url]
    Использование сервиса невероятно простое:

    1. Перейдите на официальный сайт TripScan (трипскан сайт) и зарегистрируйтесь или войдите в свою учетную запись.

    2. Выберите тип проверки: авиабилеты, отели или аренда автомобиля.

    3. Введите необходимые данные вашей бронировки.
    [url=https://trip64c.cc]трипскан вход[/url]
    4. Получите мгновенный отчет о статусе вашей брони.

    Это занимает считанные секунды и избавляет вас от стресса и неопределенности.

    ¦ Почему выбирают TripScan?

    Сервис предлагает ряд преимуществ, делающих его незаменимым помощником любого путешественника:

    – Быстрая проверка бронирований
    – Дополнительная уверенность в поездке
    – Удобство и простота использования
    – Доступность круглосуточно

    Кроме того, TripScan регулярно обновляется, обеспечивая точность предоставляемых данных.

    ¦ Где найти TripScan?

    Чтобы воспользоваться сервисом, посетите официальный сайт TripScan: Здесь вы найдете всю необходимую информацию и сможете начать проверку прямо сейчас!
    [url=https://trip64c.cc]трип скан[/url]
    Также доступна мобильная версия сайта, доступная на смартфонах и планшетах. Просто откройте браузер и перейдите на трипскан сайт.

    Для тех, кто хочет больше узнать о сервисе, существует подробная инструкция по использованию, доступная на главной странице.

    ¦ Заключение

    TripScan — это надежный помощник для каждого путешественника. С ним вы можете быть уверены, что ваша поездка пройдет гладко и без неожиданностей. Проверяйте свои билеты и бронировки заранее и наслаждайтесь путешествием!
    трип скан
    https://trip64c.cc

  10. StephenPhoth dice:

    Xin chào 500 anh em, bác nào muốn tìm trang chơi xanh chín để cày cuốc Tài Xỉu thì tham khảo trang này nhé. Tốc độ bàn thờ: https://gramodayalawcollege.org.in/#. Chúc các bác rực rỡ.

  11. StephenPhoth dice:

    Chào cả nhà, ai đang tìm chỗ nạp rút nhanh để giải trí Đá Gà đừng bỏ qua con hàng này. Không lo lừa đảo: [url=https://pacebhadrak.org.in/#]Nhà cái BJ88[/url]. Chúc anh em may mắn.

  12. Joshuatop dice:

    Hello m?i ngu?i, bac nao mu?n tim c?ng game khong b? ch?n d? gi?i tri Tai X?u thi tham kh?o trang nay nhe. N?p rut 1-1: https://gramodayalawcollege.org.in/#. Chuc anh em may m?n.

Responder a AntioneEmelp Cancelar respuesta