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: 60,224

  1. Jeffreyunolf dice:

    Кейсы в CS:GO: что это, как их использовать и какие из них самые популярные

    [url=https://dolphin.win/]Кейсы кс2[/url] – это один из самых увлекательных аспектов игры, который привлекает как начинающих игроков, так и ветеранов. Эти игровые контейнеры содержат облики для оружия, а их открывание часто сравнивают с рулеткой. В этой статье мы расскажем, что такое кейсы, как их открывать, и какие из них считаются самыми востребованными.

    Что такое кейсы и как они работают?

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

    Как получить кейсы?

    Кейсы можно получить многими способами:

    1. Играя на официальных хостингах. После матча есть шанс выпадения кейса в качестве бонуса.
    2. Покупая на маркетплейсах. Вы можете приобрести кейсы у других игроков через Steam Market.
    3. Участвуя в акциях. Иногда разработчики раздают кейсы в рамках ивентов.
    Как открыть кейс?

    Чтобы открыть кейс, следуйте этим этапам:

    1. Приобретите отмычку. Ключи продаются в той же системе, что и кейсы.
    2. Выберите ящик. Убедитесь, что у вас есть подходящий ключ для него.
    3. Нажмите опцию «Открыть». После этого вы получите рандомный скин.
    Самые популярные кейсы

    Среди множества кейсов в CS:GO есть несколько, которые особенно известны среди игроков. Вот список самых известных:

    1. Operation Bravo Case. Этот кейс считается легендарным и содержит уникальные скины.
    2. Gamma Case. Включает в себя красочные скины, которые ценятся за креативность.
    3. Chroma Case. Содержит пёстрые скины, которые радуют глаз своей креативностью.
    Стоит ли открывать кейсы?

    Открытие кейсов – это азартный процесс, который может принести как удачу, так и неудачу. Если вы хотите получить желанный скин, часто проще купить его на торговой площадке, чем тратить деньги на активаторы. Однако для тех, кто любит азарт, открытие кейсов может стать увлекательным опытом.

    Заключение

    Кейсы в CS:GO – это неотъемлемая часть цифрового опыта, которая добавляет волнения. Независимо от того, являетесь ли вы фанатом скинов или просто цените адреналин, кейсы предлагают уникальную возможность получить эксклюзивные предметы.

  2. 1xbet resmi giri? [url=http://www.1xbet-giris-5.com]http://www.1xbet-giris-5.com[/url] .

  3. Davidjusty dice:

    trattamento ED online Italia [url=https://mediuomo.com/#]trattamento ED online Italia[/url] Viagra generico con pagamento sicuro

  4. Randynuamy dice:

    comprare Sildenafil senza ricetta: comprare Sildenafil senza ricetta – pillole per disfunzione erettile

  5. 1win_kg_lmma dice:

    1 вин скачать приложение [url=http://1win5519.ru]http://1win5519.ru[/url]

  6. Jesussmeds dice:

    online apotheek zonder recept: HerenGezondheid – Viagra online kopen Nederland

  7. Jesussmeds dice:

    farmacia online para hombres: comprar Sildenafilo sin receta – ConfiaFarmacia

  8. 1xbet tr [url=www.1xbet-giris-9.com/]1xbet tr[/url] .

  9. Arnold Schwarzenegger popularized its use, with it believed to have sculpted his Mr.
    Olympia-winning physique of the 70s. Proviron does this
    by rising the metabolites of other steroids, corresponding to Dianabol.

    It also binds to SHBG (sex hormone-binding globulin) with a high affinity, increasing free testosterone levels.
    Deca Durabolin can be significantly less androgenic in comparison with Dianabol,
    that means ladies are less likely to expertise virilization side effects on Deca in low
    doses in comparability with Dianabol. Deca Durabolin additionally has a
    considerably longer half-life than Dianabol (6-12 days vs.
    3-6 hours).
    These can embody decreased muscle mass, decreased power,
    low libido, fatigue, and despair. Anavar, also recognized as Oxandrolone,
    is a popular anabolic steroid that’s generally used to improve bodily performance and muscle mass.

    Dianabol suppresses natural testosterone production, which may lead to symptoms like fatigue, decreased libido, and
    mood swings. To counteract this, post-cycle remedy (PCT) with compounds similar to Clomid or Nolvadex is really helpful.

    If that happens, you will endure from low testosterone
    and by no means be capable of product the same level of testosterone again without external help.
    I discovered Dbal a number of weeks ago after my coach really helpful it to me.
    Unfortunately, I did experience a couple of delicate unwanted effects whereas taking Dianabol.

    In some instances, they will increase libido, whereas in others they
    can lower it.
    D-Bal from Loopy Bulk – D-Bal is an all-natural Dianabol different that may allow you to get outcomes rapidly.

    Most customers start seeing results within one week and 30 days day
    results might embrace a major enhance in each muscle mass and energy.
    Testosterone or Deca many be stacked with Dbol
    since they don’t improve hepatotoxicity. It’s price noting that the majority Testosterone and Deca are injectable steroids and they bear
    a mild impact in each cholesterol and blood strain in your physique.

    Dianabol isn’t nearly trying muscular; it also
    boosts athletic performance. It shortens recovery occasions, letting athletes work out more often and more durable.
    First meant for medical use, it rapidly grew to become a game-changer for athletes.

    As A Outcome Of you possibly can take it orally and it actually works
    properly without injections, it earned a special spot in bodybuilding history.

    My energy ranges are up, I’m seeing an enchancment in my efficiency, and I
    don’t have any of the unwanted aspect effects that I skilled with Dianabol.

    Nonetheless, this effect from eating protein is very gentle compared to Dianabol’s effect on nitrogen retention,
    which is more efficacious (4). When a consumer comes off Dianabol,
    testosterone levels will become suppressed. This dramatic elevation in testosterone explains why Dianabol users
    can experience euphoria during a cycle (due to testosterone having a robust
    optimistic effect on well-being). In drugs, Dianabol was also prescribed to treat the elderly and
    people affected by severe burns, with each of these individuals vulnerable to appreciable reductions in muscle
    mass. Ziegler went back to the US with the target of creating a compound that was extra powerful than testosterone to assist defeat the Russians.

    Now, relaxation on this sense doesn’t mean that you should lay at home all day, it merely means that
    you should take a break from the drug. With this, you possibly can keep
    away from a number of the more harmful unwanted side effects
    of dianabol pills before and after.

    Keep In Mind, using the drug for lengthy periods
    of time is extremely dangerous to your health and may
    trigger vital harm to your liver.
    We find that a optimistic nitrogen steadiness also allows the body to utilize
    more of the protein consumed by a person, contributing to further muscle and power features.
    We have had customers report energy features of 25–30 lbs on their
    bench press (and different compound exercises) in the course of the first
    week of administration (2). Energy features on Dianabol are prominent
    and can be experienced within the early levels of a cycle. Because
    Dianabol suppresses testosterone production, post-cycle remedy
    is crucial. PCT helps the body restore its natural hormone steadiness, reduces the danger of adverse
    unwanted side effects, and preserves the gains made during the cycle.
    Dianabol’s capability to retain nitrogen is a
    key consider its strength-enhancing properties.

Responder a you must escape cheat codes Cancelar respuesta