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: 134,482

  1. 1win_vmei dice:

    1win ставки на спорт [url=http://1win12050.ru/]http://1win12050.ru/[/url]

  2. winpot dice:

    I am in fact grateful to the holder of this web site who has shared this fantastic paragraph at at this place.

  3. Chriskab dice:

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

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

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

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

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

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

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

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

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

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

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

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

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

    ¦ Где найти TripScan?

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

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

    ¦ Заключение

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

  4. hi88 dice:

    Howdy! This post could not be written any better! Reading this post reminds me of my previous room mate! He always kept chatting about this. I will forward this page to him. Fairly certain he will have a good read. Thank you for sharing!

  5. Hmm is anyone else having problems with the images
    on this blog loading? I’m trying to find out if its a problem on my end or if it’s the blog.

    Any feedback would be greatly appreciated.

  6. av 女優 dice:

    Wow, amazing blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is excellent, let alone the content!

  7. b2xbet dice:

    This is my first time visit at here and i am genuinely pleassant to read all at alone place.

  8. Georgebib dice:

    Arkadaslar, Grandpashabet Casino yeni adresi ac?kland?. Giremeyenler buradan giris yapabilir Grandpashabet Apk

  9. Ricardoemund dice:

    Arkadaslar, Grandpashabet Casino son linki ac?kland?. Adresi bulamayanlar su linkten giris yapabilir [url=https://grandpashabet.in.net/#]Grandpashabet 2026[/url]

  10. TimothyFlout dice:

    Grandpashabet güncel linki lazımsa doğru yerdesiniz. Hızlı erişim için tıkla [url=https://grandpashabet.in.net/#]Siteye Git[/url] Deneme bonusu bu sitede.

  11. b2xbet dice:

    Currently it looks like WordPress is the preferred blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?

  12. Georgebib dice:

    Arkadaslar, Grandpashabet yeni adresi belli oldu. Adresi bulamayanlar buradan giris yapabilir https://grandpashabet.in.net/#

  13. WarrenViets dice:

    узнать больше [url=https://tripscan01.cc]трипскан[/url]

  14. Mervinslubs dice:

    скачать тикток мод последняя 2026 Безопасность и Законность: Важные Предостережения Использование TikTok модов сопряжено с определенными рисками. Загрузка приложений из неофициальных источников может привести к установке вредоносного ПО. Кроме того, нарушение условий использования TikTok может повлечь за собой блокировку аккаунта. Поэтому, прежде чем “скачать TikTok мод на андроид бесплатно” или любую другую версию, важно взвесить все “за” и “против”.

  15. Georgebib dice:

    Grandpasha giris adresi laz?msa iste burada. Sorunsuz giris yapmak icin t?kla T?kla Git Yuksek oranlar bu sitede.

  16. AntioneEmelp dice:

    Herkese merhaba, bu site oyuncuları adına kısa bir bilgilendirme yapmak istiyorum. Malum platform adresini tekrar güncelledi. Giriş sorunu varsa endişe etmeyin. Yeni Vay Casino giriş linki şu an aşağıdadır: [url=https://vaycasino.us.com/#]Vaycasino Giriş[/url] Bu link ile direkt hesabınıza girebilirsiniz. Güvenilir bahis keyfi sürdürmek için Vay Casino tercih edebilirsiniz. Tüm forum üyelerine bol şans dilerim.

  17. AYUTOGEL dice:

    Excellent goods from you, man. I’ve understand your stuff previous to and you’re just too fantastic.
    I really like what you have acquired here, really like
    what you are saying and the way in which you say it.
    You make it enjoyable and you still care for to keep it wise.
    I can not wait to read far more from you. This is actually a
    terrific web site.

  18. 1win_hcei dice:

    1win Ош [url=http://1win12050.ru/]http://1win12050.ru/[/url]

  19. Hey There. I found your blog using msn. This is a really well written article.
    I’ll be sure to bookmark it and come back to read more of your useful info.

    Thanks for the post. I will definitely return.

  20. hi88 dice:

    Great article! That is the kind of info that are meant to be shared around the net. Shame on Google for no longer positioning this put up upper! Come on over and seek advice from my web site . Thank you =)

  21. xn88 dice:

    I’m gone to tell my little brother, that he should also pay a visit this web site
    on regular basis to get updated from latest reports.

  22. AntioneEmelp dice:

    Arkadaşlar, Grandpashabet yeni adresi açıklandı. Giremeyenler buradan devam edebilir [url=https://grandpashabet.in.net/#]Grandpashabet Üyelik[/url]

  23. SCAMMER dice:

    Having read this I thought it was extremely informative.

    I appreciate you taking the time and effort to put this
    article together. I once again find myself spending a lot
    of time both reading and leaving comments.
    But so what, it was still worth it!

  24. вывод из запоя цена краснодар [url=https://vyvod-iz-zapoya-krasnodar-2.ru/]vyvod-iz-zapoya-krasnodar-2.ru[/url] .

  25. av 在线 dice:

    Hello there! I just wish to give you a big thumbs up for the great information you have here on this post. I am returning to your blog for more soon.

  26. AntioneEmelp dice:

    Matbet TV giriş linki arıyorsanız işte burada. Sorunsuz için tıkla: Matbet Üyelik Yüksek oranlar bu sitede. Gençler, Matbet yeni adresi açıklandı.

  27. Henrybrere dice:

    Что такое Ledger?
    [url=https://ledger20.com]ledger nano[/url]
    Ledger — это компания, основанная в 2014 году, известная своими аппаратными кошельками для хранения криптовалют. Аппаратные кошельки обеспечивают высокий уровень защиты благодаря хранению приватных ключей вне сети, что минимизирует риск взлома.
    Основные продукты Ledger
    Ledger Nano
    [url=https://ledger20.com]ledger x[/url]
    Ledger Nano — линейка аппаратных кошельков от компании Ledger. Они представляют собой небольшие устройства, похожие на USB-накопители, предназначенные для безопасного хранения криптовалют. Среди наиболее популярных моделей линейки выделяются Ledger Nano X, Ledger Nano S Plus и оригинальная версия Ledger Nano S.
    Особенности Ledger Nano:

    – Поддержка множества криптовалют, включая Bitcoin, Ethereum, Litecoin и многие другие.
    – Возможность установки приложений для управления активами прямо на устройстве.
    – Высокая степень защиты благодаря встроенному чипу безопасности.
    Ledger X
    [url=https://ledger20.com]heath ledger[/url]
    Ledger X представляет собой регулируемый биржевой продукт, предназначенный для институциональных инвесторов. Этот сервис позволяет торговать цифровыми активами безопасным образом, обеспечивая выполнение сделок с высоким уровнем надежности.
    Heath Ledger

    Стоит отметить, что термин “Ledger” также ассоциируется с именем известного австралийского актера Хит Леджер. Однако, этот аспект не имеет отношения к криптовалютному миру и является лишь совпадением имен.

    Таким образом, слово “Ledger” может иметь разные значения в зависимости от контекста. Если речь идет о криптовалютах, оно обозначает компанию и её продукцию, обеспечивающую безопасность цифровых активов. Если же говорить о киноиндустрии, то “Ledger” ассоциируется с талантливым актером Хитом Леджером.
    Заключение

    Аппаратные кошельки Ledger Nano стали неотъемлемой частью экосистемы криптовалют, предлагая надежный способ хранения цифровых активов. Благодаря своим инновационным решениям, компания продолжает укреплять свою позицию лидера в области кибербезопасности.

    ledger 2
    https://ledger20.com

  28. срочная помощь вывод из запоя краснодар [url=https://vyvod-iz-zapoya-krasnodar-2.ru/]vyvod-iz-zapoya-krasnodar-2.ru[/url] .

  29. 日本 av dice:

    I absolutely love your website.. Great colors & theme. Did you create this site yourself? Please reply back as I’m wanting to create my own site and would love to learn where you got this from or what the theme is called. Many thanks!

  30. вывод из запоя с выездом краснодар [url=https://vyvod-iz-zapoya-krasnodar-2.ru/]vyvod-iz-zapoya-krasnodar-2.ru[/url] .

Responder a 1win_yrei Cancelar respuesta