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: 68,222

  1. Steroids are drugs that mimic sure natural hormones in the physique that regulate
    and control how the physique works and develops.

    There are two primary teams of pure steroids – anabolic steroids and corticosteroids.

    It is the anabolic steroids that tend to be misused,
    mainly as a outcome of they’re much like the male hormone testosterone and they can improve endurance and efficiency
    and stimulate muscle progress. Similar to anabolic steroids, human progress hormone (HGH) can be a controlled substance in the United States.
    The use, possession, and distribution of HGH without a legitimate prescription is against the
    law.
    Nonetheless, the draw back to water retention is that the muscle
    tissue look easy, and their definition is decreased.

    Bloating is a standard side effect we see with Anadrol, especially in excessive doses
    or when taken at the facet of a high-sodium diet. However, bodybuilders shouldn’t have any reason to
    go above 100 mg per day, as muscle and weight positive aspects largely remained the
    identical between the 100 mg and a hundred and fifty mg
    teams on this examine. Anecdotally, we find that 18 lbs of lean muscle is widespread for a first-time 6-week cycle
    of Anadrol. There are totally different classes of steroids that
    can be found in stores, or on-line.
    They decrease irritation in the body and can also work as immunosuppressants and
    vasoconstrictors. Speak together with your physician about
    another medications, supplements, and herbal
    cures you at present take to prevent potential interactions with steroids.
    Thanks to high-profile cases of illicit misuse in sports activities, steroids have turn into synonymous with cheating.

    Nevertheless, steroids are additionally pharmaceuticals that
    can be used to deal with a wide range of common conditions.
    The scientific neighborhood should intensify its efforts to
    assess the pathophysiology of conduct and cognitive impairment because of long term AAS exposure.

    The half-life of Dianabol is roughly 3-6 hours; thus, utilizing the very best
    value (being 6), we are able to calculate that all of the methandrostenolone may have left the body after 33 hours.
    It’s unknown exactly why Chris did this; nevertheless, his spouse Nancy filed for divorce in 2003 after
    suspected domestic abuse left her fearing for her life
    (29). The frequent retinoids applied are adapalene, tretinoin, and tazarotene.
    These could be bought on-line or over the counter,
    and not using a prescription.
    Anabolic steroids are often injected right into a muscle or taken by mouth as
    tablets, however in addition they come as lotions or gels that are applied to the pores
    and skin. Don’t overlook, you also want a prescription or
    to know the best person in order to get your arms on these substances.
    The usually accepted dose is 10 to 50mg daily depending on tolerance.
    Nevertheless it is probably to offer you headaches, despair, elevated irritability, sexual
    issues and even fluid retention.
    Nonetheless, it’s unlawful to possess, import or export
    anabolic steroids if it’s believed you are supplying or selling them.
    This signifies that supplying another person,
    even your friends, can get you as a lot as 14 years in jail, an unlimited
    fine or both. The majority of people that misuse steroids are male weightlifters in their 20s or 30s.
    It is tough to measure steroid misuse within the Usa as a outcome
    of many national surveys do not measure it.
    Nevertheless, Success stories featuring Anavar users can expertise more muscle and energy features through the latter levels of a cycle.
    As injectable Dianabol can take longer to have an impact, customers may need to enhance the period of their
    cycles. Gym-goers and bodybuilders seeking even bigger muscle positive aspects commonly take larger doses, ranging from 30 to
    50 mg per day. Elite bodybuilders (IFBB pros) could take
    up to a hundred mg; nevertheless, the danger of developing
    side effects is excessive with such mega doses.

    These products are often paired with a diet that is excessive in protein, low in carbs
    and fat. The use of anabolic steroids for muscle progress and athletic efficiency, then again, isn’t thought-about a authorized or safe use of this drug.
    The excessive doses of steroids taken for such purposes, in addition to the shortage of oversight by a medical skilled, can lead to a
    extensive range of great side effects. The dosage for oxandrolone is 2.5 mg–20
    mg, two to 4 times daily, administered orally.
    They’re man-made variations of testosterone, a male sex hormone
    that helps construct greater muscle tissue.

  2. электрокарнизы купить в москве [url=https://www.elektrokarniz777.ru]электрокарнизы купить в москве[/url] .

  3. услуги онлайн трансляции [url=https://zakazat-onlayn-translyaciyu5.ru/]https://zakazat-onlayn-translyaciyu5.ru/[/url] .

  4. Edmundrhify dice:

    online pharmacy

  5. услуги онлайн трансляции [url=https://www.zakazat-onlayn-translyaciyu5.ru]https://www.zakazat-onlayn-translyaciyu5.ru[/url] .

  6. JohnnyHaf dice:

    best Irish pharmacy websites: irishpharmafinder – trusted online pharmacy Ireland

  7. жалюзи с электроприводом купить [url=https://elektricheskie-zhalyuzi97.ru/]жалюзи с электроприводом купить[/url] .

  8. онлайн трансляции заказать [url=www.zakazat-onlayn-translyaciyu4.ru]www.zakazat-onlayn-translyaciyu4.ru[/url] .

Responder a buy essay paper online Cancelar respuesta