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: 87,801

  1. melbet_wtMt dice:

    melbet apk [url=http://melbet5013.ru]melbet apk[/url]

  2. he dreaded a prosecution for bigamy,thoughhe had justice on his side,ラブドール 無 修正

  3. написание курсовых на заказ [url=http://kupit-kursovuyu-10.ru/]написание курсовых на заказ[/url] .

  4. Cazrckw dice:

    Заказать диплом о высшем образовании можем помочь. Купить диплом в Ярославле – [url=http://diplomybox.com/kupit-diplom-yaroslavl/]diplomybox.com/kupit-diplom-yaroslavl[/url]

  5. написание курсовых на заказ [url=www.kupit-kursovuyu-7.ru]написание курсовых на заказ[/url] .

  6. покупка курсовых работ [url=http://kupit-kursovuyu-8.ru/]http://kupit-kursovuyu-8.ru/[/url] .

  7. melbet_ptMt dice:

    melbet sporturi live [url=https://www.melbet5013.ru]melbet sporturi live[/url]

  8. Foresttat dice:

    UvaPharm [url=https://uvapharm.xyz/#]Uva Pharm[/url] mexican pharmacy ship to usa

  9. Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you!
    However, how could we communicate?

  10. melbet_qzMt dice:

    melbet partners [url=https://www.melbet5013.ru]melbet partners[/url]

  11. Roberterymn dice:

    IsoIndiaPharm: IsoIndiaPharm – indian pharmacies safe

  12. курсовые работы заказать [url=www.kupit-kursovuyu-10.ru]курсовые работы заказать[/url] .

  13. Write more, thats all I have to say. Literally, it seems as though you relied on the video
    to make your point. You definitely know what youre talking about, why throw away
    your intelligence on just posting videos to your blog when you
    could be giving us something enlightening to read?

  14. курсовая работа недорого [url=www.kupit-kursovuyu-9.ru]курсовая работа недорого[/url] .

  15. курсовая работа купить москва [url=https://kupit-kursovuyu-8.ru/]https://kupit-kursovuyu-8.ru/[/url] .

  16. курсовая работа недорого [url=https://kupit-kursovuyu-7.ru/]kupit-kursovuyu-7.ru[/url] .

  17. Secondary school math tuition plays ɑn essential role іn Singapore, providing yоur child with motivational math experiences.

    Sia lor, celebrating Singapore’ѕ math world championship leh!

    As moms and dads, change finding out wіth Singapore math tuition’ѕ reflection. Secondary math tuition encourages practice.
    Τhrough secondary 1 math tuition, trig ratios engage.

    Secondary 2 math tuition utilizes music rhythms fоr patterns.
    Secondary 2 math tuition integrates beats wіth series.
    Harmonious secondary 2 math tuition engages senses.
    Secondary 2 math tuition innovates teaching.

    Standing ᧐ut іn secondary 3 math exams iѕ vital, as O-Levels approach rapidly, requiring seamless integration ᧐f prior understanding.

    Τhis efficiency impacts eligibility fοr Additional Math, ɑ booster fоr STEM goals.

    Іt imparts routines οf precision and reasoning essential foг national exam success.

    Secondary 4 exams motivate experiential knowing іn Singapore.
    Secondary 4 math tuition resolves оutside puzzles.

    Τhis experience solidifies О-Level principles.

    Secondary 4 math tuition checks ᧐ut.

    Don’t limit math to exams; it’s a key skill in the AІ surge,
    vital for interpreting statistical data іn intelligent
    systems.

    Excelling ɑt math гequires fostering ɑ love for the discipline ԝhile applying itѕ core ideas tⲟ
    everyday situations.

    Students can refine their estimation skills throygh рast papers
    from assorted secondary schools fօr math exams.

    Online math tuition е-learning in Singapore enhances exam гesults Ƅу allowing students tо revisit recorded sessions ɑnd reinforce
    weak areaѕ at theіr own pace.

    Wah aһ, relax parents, secondary school builds confidence, Ԁߋn’t give
    yⲟur child too much stress.

    my website; sat math tutor singapore

  18. покупка курсовых работ [url=https://kupit-kursovuyu-8.ru/]https://kupit-kursovuyu-8.ru/[/url] .

  19. olxtoto dice:

    Woah! I’m really digging the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s tough to get that “perfect balance”
    between superb usability and visual appearance. I must
    say you’ve done a very good job with this. In addition,
    the blog loads very fast for me on Opera. Superb Blog!

  20. I’m impressed by how you manage to cover so much ground without overwhelming the reader.

  21. and consulted their safety by starting up from table,anddrawing their swords.ラブドール 女性 用

  22. курсовая заказать [url=https://www.kupit-kursovuyu-7.ru]курсовая заказать[/url] .

  23. You could certainly see your expertise in the work you write.
    The arena hopes for more passionate writers like you who aren’t afraid to mention how they
    believe. At all times follow your heart.

  24. We are a group of volunteers and opening a new scheme in our community.

    Your web site offered us with valuable info to work on. You’ve done an impressive job and our
    whole community will be thankful to you.

  25. demanded her dismission,affirming that these things were certainlyeffected by some person in the family,ドール エロ

  26. Refresh Renovation Broomfield
    11001 W 120th Ave 400 suite 459ɑ,
    Broomfield, CO 80021, United Stateѕ
    +13032681372
    Contemporary living renovations [https://raindrop.io/cirioghxyc/bookmarks-60908584]

  27. курсовая работа недорого [url=www.kupit-kursovuyu-10.ru/]курсовая работа недорого[/url] .

  28. Your expertise shines through in every paragraph. Very impressive and helpful!

  29. покупка курсовой [url=http://kupit-kursovuyu-7.ru]http://kupit-kursovuyu-7.ru[/url] .

  30. где можно заказать курсовую работу [url=www.kupit-kursovuyu-8.ru/]где можно заказать курсовую работу[/url] .

Responder a kypit kyrsovyu_mqpl Cancelar respuesta