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: 31,985

  1. какие провайдеры по адресу
    inernetvkvartiru-krasnodar006.ru
    проверить интернет по адресу

  2. sauntering along,ラブドール 激安and picking our teeth with halibut bones.

  3. Your means of explaining everything in this post is genuinely
    fastidious, all be able to without difficulty know it,
    Thanks a lot.

  4. you’re really a good webmaster. The site loading
    speed is incredible. It sort of feels that you’re doing any distinctive trick.
    Furthermore, The contents are masterpiece.
    you’ve performed a magnificent process in this subject!

    Also visit my webpage: Humanoid Robot Sales

  5. she might by this time have been presented to her as herfuture niece,nor could she think,エロ ラブドール

  6. Fascinating blog! Is your theme custom made or did you download it from
    somewhere? A design like yours with a few simple tweeks would really make my blog jump out.
    Please let me know where you got your theme. Appreciate it

  7. A lot of users are searching for ways to enjoy Get
    free Faphouse premium without having to spend money. If
    you want to get access to Faphouse premium
    account free, there are now several working methods
    that provide Unlock free Faphouse premium directly.

    By trying the Faphouse premium free trial, you can easily
    learn different steps to unlock premium without paying. This makes it
    possible to activate a premium plan at no cost within just a few minutes.

    Once activated, you can Enjoy Faphouse premium for free and experience the same benefits as paying members.
    With these methods, anyone can save money while still unlocking premium features.

  8. I began also to observe,with greater accuracy,ダッチワイフ

  9. where Bennet was alone,エロ リアルthan she likewise began onthe subject,

  10. and when for a minute or so the two boats werepretty near to each other,人形 エロStubb hailed the mate.

  11. If I do not,may lightnings strikeme! ?“‘A pretty scholar,ラブドール おすすめ

  12. There had been many,butthey were all wrecked.ラブドール

  13. mostbet.com казино скачать [url=www.mostbet4126.ru]www.mostbet4126.ru[/url]

  14. loket 88 dice:

    Baru saja saya menjelajahi LOKET88 dan hasilnya sangat memuaskan.
    tingkat kemenangan besar membantu saya maxwin berulang.

    Selain itu, penarikan instan bikin main jadi nyaman.
    Highly recommended bagi teman-teman yang cari hiburan online.

  15. as if to make it betterwithstand the pointed pressure of his ivory limb,人形 エロand also the anxietyhe evinced in exactly shaping the thigh board,

  16. OMT’s emphasis on metacognition ѕhows pupils to delight іn considerіng mathematics, cultivating affection ɑnd drive for premium exam outcomes.

    Register todaʏ in OMT’s standalone e-learning programs ɑnd enjoy ʏour grades soar
    through unrestricted access tߋ premium, syllabus-aligned material.

    Ꮃith math integrated flawlessly іnto Singapore’s classroom settings tօ benefit both
    instructors and trainees, committed math tuition amplifies tһese gains bʏ ᥙsing customized assistance
    fοr continual achievement.

    primary school school math tuition booss rational reasoning, vital fоr analyzing PSLE
    questions including series ɑnd logical reductions.

    In Singapore’s competitive education landscape, secondary
    math tuition ⲣrovides the addеd side needed to stand apart in O Level rankings.

    Vіɑ normal mock exams and detailed responses, tuition assists junior college trainees identify аnd fix weak
    рoints prior tօ the actual A Levels.

    What collections OMT аpart is its custom curriculum tһat
    lines up witһ MOE while ᥙsing versatile pacing,
    permitting sophisticated students tо increase their knowing.

    OMT’s online math tuition аllows yоu modify ɑt your own speed lah, so ѕay ցoodbye tߋ
    rushing and yߋur mathematics qualities ѡill certainly skyrocket steadily.

    Tuition exposes pupils tߋ varied inquiry kinds, widening thеir readiness foг unpredictable Singapore mathematics exams.

    Μy web blog – singapore primary 2 math tuition

  17. theblubber-hook was inserted into the original hole there cut by thespades of the mates.But how did so clumsy and weighty a mass as thatsame hook get fixed in that hole? It was inserted there by myparticular friend Queequeg,sex doll

  18. less innocent than poor Justine had been.Such were mythoughts when the door of my apartment was opened and Kirwin entered.ラブドール えろ

  19. Новости мира общество: протесты за права животных.

    my blog post essex university jobs colchester

  20. ラブドール おすすめdrawn by scale fromone killed on the coast of Mexico,August,

Responder a find out here now Cancelar respuesta