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: 63,390

  1. I think that is among the such a lot vital info for me.

    And i’m satisfied reading your article. But should remark on some general issues,
    The site style is ideal, the articles is in point of fact great : D.

    Excellent job, cheers

  2. 1xbet_uxSi dice:

    one x bet [url=www.1xbet-14.com/]www.1xbet-14.com/[/url] .

  3. I think everything published was actually very logical.
    However, what about this? what if you were to write a killer title?
    I am not saying your information isn’t solid,
    but what if you added a post title that grabbed people’s attention? I mean Infraestructura como código – Politraining is a little boring.
    You ought to look at Yahoo’s home page and note how they create post titles to
    get viewers interested. You might add a video or a
    pic or two to grab readers excited about what you’ve written. In my opinion, it could make your website a little bit more interesting.

  4. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each
    time a comment is added I get three emails with the same comment.
    Is there any way you can remove people from that service?
    Many thanks!

  5. анонимная наркология [url=https://narkologicheskaya-klinika-23.ru]https://narkologicheskaya-klinika-23.ru[/url] .

  6. поставщик медоборудования [url=medoborudovanie-postavka.ru]medoborudovanie-postavka.ru[/url] .

  7. Great article! I really appreciate the clear insights you shared – it shows true expertise. As someone working in this field, I see the importance of strong web presence every day. That’s exactly what I do at https://webdesignfreelancerhamburg.de/ where I help businesses in Hamburg with modern, conversion-focused web design. Thanks for the valuable content!

  8. After I initially commented I appear to have clicked on the -Notify me when new comments
    are added- checkbox and now every time a comment is added I
    get four emails with the same comment. There has to be a means you are able to remove me from that service?
    Many thanks!

  9. 1xbet_wqKt dice:

    1xbet giris [url=www.1xbet-17.com/]1xbet giris[/url] .

  10. Jesussmeds dice:

    comprar Sildenafilo sin receta: ConfiaFarmacia – Confia Farmacia

  11. Davidjusty dice:

    Viagra generico con pagamento sicuro [url=https://mediuomo.com/#]farmaci per potenza maschile[/url] comprare Sildenafil senza ricetta

  12. клиника наркологии москва [url=http://narkologicheskaya-klinika-23.ru]http://narkologicheskaya-klinika-23.ru[/url] .

  13. Jesussmeds dice:

    comprare Sildenafil senza ricetta: miglior sito per acquistare Sildenafil online – Viagra generico con pagamento sicuro

  14. поставщик медицинского оборудования [url=https://www.medoborudovanie-postavka.ru]поставщик медицинского оборудования[/url] .

  15. оборудование медицинское [url=http://www.medicinskoe–oborudovanie.ru]оборудование медицинское[/url] .

  16. hin lookup dice:

    Hey there, You’ve done a fantastic job. I will certainly digg it and personally recommend to my
    friends. I’m sure they’ll be benefited from this web site.

  17. The therapeutic and repair method accommodates a every
    day dose of two.5mg TB-500 with 250mcg BPC-157,
    to be taken orally between meals. While these clinical findings are
    promising, extra research is required to fully understand the benefits and long-term results of
    this peptide mixture. The protective effects of BPC-157 on the gastrointestinal (GI) system have been extensively studied.

    KPV, with its anti-inflammatory and anti-microbial properties,
    has proven to help by combatting these microbes and healing wounds.
    In addition to its anti‐inflammatory effect, KPV also has antimicrobial results towards a number of pathogens with two specifically S.

    Extra studies are additionally needed to gauge KPV for
    specific experimental conditions. By researching these areas scientists can uncover
    new insights into KPV and develop new approaches to numerous well being points.

    This is how new blood vessels are fashioned, inflicting additional damage.

    KPV can velocity wound therapeutic, cut back an infection, fight inflammation, and lead
    to higher beauty outcomes. These advantages occur at physiologic concentrations which implies KPV might assist forestall an infection in the setting of great
    wounds like burns. KPV, on one hand is a naturally occurring tri-peptide and is fashioned by alpha melanocyte stimulating hormone (alpha-MSH)as compared to TB-500 which is synthetically made.

    The primary function of each these peptides is to promote wound therapeutic however similar to Pentosan, the origin of each the
    peptides differ. The peptide has proved to be promising in the remedy of inflammatory ailments.
    This peptide can be a potent immunomodulator because
    it stabilizes the immune system’s mast cells
    to scale back the after effects of allergic reactions.

    Having the right high quality of sleep allows for correct healing and restore for our
    brain. This peptide has been proven to allow these suffering from poor sleep to carry out cognitive tasks a lot better.
    In addition, many commonly used peptides have been discovered to
    don’t have any unwanted aspect effects even when given at doses 1000 occasions the same old dose, which is unprecedented with any treatment.

    KPV peptide is usually thought-about secure
    when administered under the steering of a healthcare supplier.

    Folks who regularly devour the “standard American diet”
    with its seed oil-laden fast foods, highly-processed foods,
    and excessive sugar content material put complete health- not simply
    their Gi tracts at high risk. As you may be (hopefully) aware, GMO meals are confirmed
    to break the gut lining and disturb the microbiome. In addition, GMO gluten is increasingly blamed for non-celiac gluten sensitivity and leaky
    intestine. It’s not your creativeness when you suppose that certain meals are inflicting signs.
    It’s estimated that 25-75% of Individuals have some type of meals
    sensitivity. This sensitivity is different from a food allergy
    that causes immediate allergic symptoms. The most frequent foods causing sensitivities are (in this order)
    wheat, dairy, eggs-usually the whites, and
    corn.
    Semax peptide remedy is frequently used for its neurogenic, neurorestorative, nootropic (cognitive enhancing),
    and neuroprotective effects. Studies have proven that the Optimizer combination peptide remedy, comprising
    each CJC-1295 and Ipamorelin, surpasses the effectiveness of either
    ingredient when used in isolation. It’s crucial to emphasise that TB4-Frag stays in the experimental stage for
    human use. Its security and effectiveness in treating numerous conditions have yet to be fully established, despite ongoing research and curiosity.
    DSIP (Delta sleep-inducing peptide) is a neuromodulator peptide that has
    been proven to promote sleep at low doses.

    DSIP freely crosses the blood-brain barrier and
    is instantly absorbed from the intestine with out being denatured by enzymes.

    Peptides can be used for multiple issues, together with Joint and Tendon restore
    and decreasing ache and irritation. Peptides can also be used for weight reduction,
    hair restoration, lowering blood sugar ranges, and bringing again a youthful appearance to the pores and skin. It is predicted that ALMOST 70% of medication will be shifting to peptides
    over the following five years.
    Due To This Fact, the assist for its therapeutic makes use of is limited, albeit largely optimistic.
    Scientific research reveals that KPV is a totally secure peptide
    if used as directed. Even if it doesn’t present any severe unwanted
    side effects, the peptide must be used according to
    indications, by no means independently but with the doctor’s consideration.

    References:

    https://nonstopvn.net/@pvrwaylon5192?page=about

  18. медтехника [url=http://medicinskaya-tehnika.ru]http://medicinskaya-tehnika.ru[/url] .

  19. ドール エロIn his trouble and fear he went down into the courtyard and took thoughthow to help himself out of his trouble.Now some ducks were sittingtogether quietly by a brook and taking their rest; whilst theywere making their feathers smooth with their bills,

  20. basket168 dice:

    Hello, i read your blog occasionally and i own a similar one and i was
    just wondering if you get a lot of spam responses? If so how do
    you stop it, any plugin or anything you can advise? I get
    so much lately it’s driving me insane so any assistance is very much appreciated.

  21. Davidjusty dice:

    pastillas de potencia masculinas [url=http://confiafarmacia.com/#]Viagra sin prescripción médica[/url] pastillas de potencia masculinas

  22. 1xbet_qlKt dice:

    1xbet mobil giri? [url=http://www.1xbet-17.com]1xbet mobil giri?[/url] .

  23. медтехника [url=www.medicinskaya-tehnika.ru]www.medicinskaya-tehnika.ru[/url] .

  24. 1xbet_abSi dice:

    1xbet ?ye ol [url=www.1xbet-14.com/]www.1xbet-14.com/[/url] .

Responder a Dolly Sow Cancelar respuesta