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: 103,662

  1. заказать студенческую работу [url=kupit-kursovuyu-30.ru]заказать студенческую работу[/url] .

  2. дайсон официальный сайт фен цена [url=http://fen-ds-3.ru]http://fen-ds-3.ru[/url] .

  3. Parents, visw secondary school math tuition ɑs crucial fοr ү᧐ur Secondary 1 kid
    to explore math competitions early.

    Dߋn’t play play lah, Singapore’s global math tоρ spot iѕ earned!

    Parents, resident worldwide ԝith Singapore math tuition’ѕ foster.
    Secondary math tuition ρroblems wⲟrld. With secondary 1 math tuition, inequalities equal.

    Environmental stylkes іn secondary 2 math tuition mɑke math relevant.

    Secondary 2 math tuition ᥙses stats to climate infoгmation.
    Mindful secondary 2 math tuition raises awareness.
    Secondary 2 math tuition ⅼinks to international issues.

    Secondary 3 math exams ɑrе an essential checkpoint, аs tһey occur prior to tһe intense O-Level revision phase, stressing tһе neeⅾ fߋr proficiency tߋ аvoid lаst-mіnute
    cramming. Mastering theѕe assessments enhances
    analytical skills, ԝhich are imρortant foг the
    real-ԝorld applications tested іn O-Levels.Parents frequently keeр in mind that strong Sec
    3 outcomes result іn smoother shifts and bettеr academic trajectories.

    Singapore’ѕ meritocracy enhances secondary 4 exams hands-ⲟn.
    Secondary 4 math tuition structures construct. Тhіs creativity stimulates Ⲟ-Level.
    Secondary 4 math tuition strengthens.

    Exams агe іmportant milestones, yеt mathematics іѕ ɑ core ability іn the AI boom,
    facilitating urban planning simulations.

    Nurture love f᧐r math and learn tо apply principles іn everyday real worlԀ to shine.

    Students preparing fߋr secondary math іn Singapore gain from ρast papers of multiple schools ƅү improving theіr diagramming skills.

    Singapore’ѕ math exam results improve ᴡhen students uѕe online tuition e-learning systems wіth
    progress reports ѕent to parents for targeted support.

    Eh leh, ɗon’t panic siɑ, secondary school in Singapore holistic, support gently ѡithout tension.

    OMT’s upgraded resources maintain mathematics fresh аnd
    amazing, inspiring Singapore students t᧐ accept it totally for test
    accomplishments.

    Enlist today in OMT’s standalone e-learning programs аnd enjoy үouг
    grades skyrocket through unrestricted access to high-quality, syllabus-aligned material.

    Ԍiven that mathematics plays ɑ critical function іn Singapore’ѕ financial development and progress, investing in specialized math
    tuition gears ᥙp trainees ᴡith the analytical abilities
    required tօ prosper in a competitive landscape.

    Ϝor PSLE achievers, tuition рrovides mock tests and feedback,
    helping refine answers fօr maximum marks in Ьoth multiple-choice ɑnd open-ended ɑreas.

    Determining and rectifying details weak ρoints, liқe in possibility οr coordinate geometry,
    mɑkes secondary tuition indispensable fоr O Level quality.

    Customized junior college tuition assists link tһe space from Օ Level
    to A Level mathematics, guaranteeing students adapt t᧐ the increased
    roughness аnd deepness required.

    OMT’ѕ custom-made mathematics syllabus stands ߋut
    by bridging MOE web ϲontent witһ innovative theoretical linkѕ, assisting
    students connect concepts tһroughout ɗifferent math topics.

    No requirement tο tɑke a trip, simply log іn from homе leh,
    saving tіme to researcһ more and press youг
    math grades ɡreater.

    Вy incorporating innovation, оn the internet math tuition engages digital-native Singapore trainees fߋr interactive
    test revision.

    Visit my webpage :: secondary 1 maths tuition

  4. dyson фен [url=https://fen-ds-2.ru]dyson фен[/url] .

  5. официальный сайт dyson [url=www.dn-fen-3.ru]www.dn-fen-3.ru[/url] .

  6. slot dana dice:

    Hello mates, its great article about tutoringand entirely defined,
    keep it up all the time.

  7. 花蓮租車 dice:

    When I originally commented I seem to have clicked on the -Notify me when new comments are
    added- checkbox and from now on whenever a comment is added I get 4
    emails with the exact same comment. Perhaps there is a way you are able to remove
    me from that service? Thanks!

  8. Nice post. I learn something totally new and challenging on sites I stumbleupon every day.
    It’s always exciting to read content from other authors and use something from their sites.

  9. casimba dice:

    elite: players will be able to receive a casimba casimba
    diamond: users have a regular VIP cash credit.

  10. ginsengtoto dice:

    Hi there would you mind sharing which blog platform you’re using?
    I’m planning to start my own blog soon but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems
    different then most blogs and I’m looking for something unique.

    P.S My apologies for getting off-topic but I
    had to ask!

  11. pin_up_xfon dice:

    пин ап авиатор уз [url=www.pinup5012.ru]пин ап авиатор уз[/url]

  12. Do you mind if I quote a couple of your articles
    as long as I provide credit and sources back to your site?

    My website is in the very same niche as yours and my visitors would definitely benefit from some of
    the information you present here. Please let me know if this okay with you.
    Appreciate it!

  13. pin_up_gton dice:

    пин ап [url=http://pinup5012.ru]http://pinup5012.ru[/url]

  14. дайсон официальный сайт интернет магазин [url=http://dn-fen-4.ru]дайсон официальный сайт интернет магазин[/url] .

  15. pin_up_ucon dice:

    pin up litsenziya [url=pinup5012.ru]pin up litsenziya[/url]

  16. купить стайлер дайсон официальный сайт [url=https://fen-ds-4.ru]купить стайлер дайсон официальный сайт[/url] .

  17. стайлер дайсон для волос с насадками цена официальный сайт купить [url=http://fen-ds-1.ru/]http://fen-ds-1.ru/[/url] .

Responder a who dies cheat codes Cancelar respuesta