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,191

  1. управление жалюзи смартфоном [url=www.elektricheskie-zhalyuzi97.ru]www.elektricheskie-zhalyuzi97.ru[/url] .

  2. организация онлайн трансляций москва [url=https://zakazat-onlayn-translyaciyu5.ru/]https://zakazat-onlayn-translyaciyu5.ru/[/url] .

  3. Hmm is anyone else having problems with the images on this blog loading?
    I’m trying to determine if its a problem on my end or
    if it’s the blog. Any suggestions would be greatly appreciated.

  4. Thanks , I have just been looking for information about
    this subject for a while and yours is the best I have discovered so far.
    However, what concerning the conclusion? Are you certain in regards to the source?

  5. жалюзи с мотором [url=https://www.elektricheskie-zhalyuzi97.ru]жалюзи с мотором[/url] .

  6. Hermanvow dice:

    best UK pharmacy websites [url=https://ukmedsguide.shop/#]non-prescription medicines UK[/url] cheap medicines online UK

  7. Diplomi_kiEt dice:

    купить диплом техникума в чите [url=http://frei-diplom11.ru/]купить диплом техникума в чите[/url] .

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

  9. Hermanvow dice:

    irishpharmafinder [url=https://irishpharmafinder.com/#]best Irish pharmacy websites[/url] affordable medication Ireland

  10. автоматические гардины для штор [url=https://elektrokarniz777.ru]https://elektrokarniz777.ru[/url] .

  11. Hermanvow dice:

    trusted online pharmacy UK [url=https://ukmedsguide.com/#]safe place to order meds UK[/url] safe place to order meds UK

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

  13. Anabolic steroids are manufactured medicine, emphasizing
    their synthetic nature and how they mimic natural hormones like testosterone.

    The first step in treating anabolic steroid abuse is to discontinue use and to
    seek medical help to handle any psychiatric or bodily
    signs that may happen. Research links long run, non-medical use of AASs to coronary heart
    issues, unwanted bodily adjustments, and increases in all-cause mortality and
    untimely death.
    Yet, the truth that interpreting so many choices and understanding their features
    and execs and cons is a obligatory condition for anyone conscious of eco-friendly transport alternate options should be thought of.

    Steroids, particularly anabolic steroids, are artificial derivatives of the male intercourse hormone testosterone designed to encourage
    muscle progress and enhance physical efficiency.

    Many bodybuilders cannot perform an everyday workout as needed because they will only carry out it
    for a short while. Throughout the anabolic steroid cycle, it could
    increase the user’s muscular endurance as a outcome of steroids can increase the manufacturing of red blood cell count.
    Nevertheless, some anabolic steroids cause excessive water retention as a
    end result of cardiovascular train. The use of anabolic steroids
    to spice up testosterone levels has long been a subject of debate on the earth of
    sports activities and health. While there are potential advantages to
    utilizing these substances, it’s necessary to grasp the
    dangers and potential unwanted facet effects as properly.
    There is a robust black market for Deca-Durabolin, given its monumental popularity, and it’s one of many lower-cost and easier-to-find steroids.
    While this makes counterfeiting much less appealing to
    those who manufacture and promote fakes, they nonetheless exist, so due diligence is required.
    If you don’t prefer it, you’ll get it out of your system quick and end up wasting much less
    money – with Deca-Durabolin, you’re looking at at least 5 to six weeks
    of use earlier than you can evaluate your response.
    I would goal for no less than 12 weeks if muscle development
    is your major aim; in any other case, it’s not worth the price.
    For fats loss, basic rejuvenation, restoration, and different low-level advantages are your goal?
    However, those using HGH with a longer-term outlook will take a look at utilizing it for six months and beyond.

    Yes, it gets very pricey, however that’s why I always say growth
    hormone is only for THE most severe of customers.
    HGH improves recovery, endurance, and fats metabolism, but it
    doesn’t immediately enhance strength like anabolic steroids.
    At their heart, anabolic steroids are artificial variations of
    testosterone, the first male intercourse hormone.
    Testosterone plays a significant position in quite a
    few bodily features, and it’s the amplification of these
    results that underpins the perceived benefits of
    anabolic steroids.
    It is essential to notice that while the usage of steroids
    might provide these potential benefits, their use
    is regulated and prohibited in most sports activities organizations.
    Athletes who select to use steroids to realize a aggressive advantage may face extreme penalties,
    together with fines, suspensions, and damage to
    their status. Athletes who use steroids often report a quicker return to
    coaching or competitors, allowing them to resume their athletic
    pursuits more rapidly. One of the perceived advantages of using steroids in athletics is their potential to
    expedite the recovery course of after injuries.
    Steroids have been proven to possess anti-inflammatory
    properties and promote tissue repair, enabling athletes to return to their training or competition sooner.

    For bodybuilders and fitness fanatics who are preparing for
    competitions or just need to improve their body’s look, this benefit could make a big difference.
    The shorter your recovery window, the extra often you’ll have
    the ability to train successfully. That doesn’t mean overtraining, but rather coaching smarter,
    with fewer breaks in progress. When it involves unlocking serious muscle development, strategic stacking of anabolic compounds
    can make or break your results. These benefits make AAS interesting to athletes in sports activities like bodybuilding, monitor and subject, biking, and soccer.
    Nevertheless, their use is broadly condemned as a end result of their unfair advantage and health consequences—conflicting
    with the ideas of unpolluted sport and moral competition.
    Quite A Few athletes and people aiming for fats loss and muscle achieve choose to order Anadrol online to avoid
    additional costs. Testosterone is considered one of the most effective bulking brokers, growing muscularity and power features.
    Cypionate and enanthate are frequent esters amongst bodybuilders, promoting gradual and regular
    but significant outcomes. The lower finish of this range is tailor-made for improvements in athletic performance, with forty mg being more optimum for bodybuilders trying to add
    lean mass. Turinabol, when taken by itself, will trigger a average decline in natural testosterone production, just like Anavar.

    We find that such suppression can be exacerbated if cycled along side other steroids.

    We find that Turinabol’s hepatotoxicity is often less extreme than other oral steroids.

    And for that, people typically use substances similar to Anabolic steroids.

    Anabolic steroids have been on the heart of discussions
    in fitness, medication, and sports activities for decades.

    While the highlight often shines on the unfavorable aspects, it’s equally
    important to acknowledge the benefits of anabolic steroids and how they are useful when used beneath medical supervision. Anabolic steroids can even improve aerobic capability and scale back fatigue by increasing the manufacturing of red
    blood cells, which transport oxygen to muscle tissues.
    This is especially advantageous in endurance-based
    sports activities similar to cycling, long-distance operating, and swimming.
    Quicker recovery between exercises means athletes can prepare more incessantly and at greater intensities, resulting in accelerated
    progress and improved performance. Due to these results, anabolic steroids have turn out to be extensively
    used in bodybuilding, weightlifting, and aggressive sports activities to boost bodily efficiency and sculpt muscular
    physiques.
    Nonetheless, it must be kept in thoughts that erectile dysfunction in an AAS person isn’t necessarily the results of AAS use per se and could be a symptom of an underlying
    psychiatric disorder. The presence of rigid morning
    or night erections, sudden onset, intermittent course and brief period are an excellent indication of a
    psychogenic trigger. Lack of morning or night time erections,
    a gradual onset, progressive course, or lengthy length recommend an natural trigger.

    Erectile dysfunction is outlined as the shortcoming to achieve or maintain an erection enough for satisfactory sexual performance (189).
    Testosterone performs an necessary role in almost every side of erectile perform (190) and erectile dysfunction is
    considered a suggestive symptom of testosterone deficiency (191).
    Nonetheless, not all hypogonadal males develop erectile dysfunction, and TRT usually leads to solely a small improvement in erectile function (192).

    For most Anadrol customers, the looks of gyno is not as pronounced as the water retention this Real-Life Steroid Enhancements
    notoriously causes. Anadrol just isn’t a perfect cutting steroid because of the amount of water
    retention it causes. This is the opposite of what you want in a
    cutting cycle, the place you purpose to realize a very outlined and vascular physique.
    Anadrol may be useful between cutting cycles to put on mass however would rarely, if ever, be used in a devoted slicing cycle.

  14. электрические карнизы купить [url=http://www.elektrokarniz777.ru]http://www.elektrokarniz777.ru[/url] .

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

  16. JohnnyHaf dice:

    trusted online pharmacy USA: best pharmacy sites with discounts – buy medications online safely

  17. организация онлайн трансляций под ключ [url=zakazat-onlayn-translyaciyu4.ru]организация онлайн трансляций под ключ[/url] .

  18. карниз для штор электрический [url=http://www.elektrokarniz777.ru]карниз для штор электрический[/url] .

  19. Fine way of explaining, and pleasant post to get facts concerning my presentation subject, which i am going to present in university.

  20. Edmundrhify dice:

    affordable medication Ireland

  21. организация прямых трансляций [url=https://zakazat-onlayn-translyaciyu5.ru/]https://zakazat-onlayn-translyaciyu5.ru/[/url] .

  22. ランジェリー エロang adios na sa canya’y dulot ng canyang bayangkinalalagyan ng lahat ng canyang mga sinisinta.Tumung,

  23. HaroldPsype dice:

    best online pharmacy: buy medications online safely – buy medications online safely

  24. Edmundrhify dice:

    pharmacy delivery Ireland

  25. электрический карниз для штор купить [url=https://elektrokarniz777.ru/]https://elektrokarniz777.ru/[/url] .

  26. Hermanvow dice:

    UkMedsGuide [url=https://ukmedsguide.com/#]Uk Meds Guide[/url] UK online pharmacies list

  27. мы даем гарантию на соответствующие готовые рукодельные поделки.

    my web blog: мастерская кожаных изделий

Responder a buhuchet-564 Cancelar respuesta