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: 19,068

  1. olxtoto link dice:

    Yes! Finally someone writes about olxtoto.

  2. vjpdec dice:

    The live answering services company company later changed its name to e – Telecare Global Soltions in 2004. Important point being noticed is that cost can’t often be the first consideration. This can be a common occurrence as January 1 kicks off a fresh year of pharmacy benefits and beneficiaries are locked in (with minor exceptions naturally called qualifying life events or QLEs) before next open enrollment season in November.
    Online pharmacy for hormone therapy

  3. Been using Nitric Boost Ultra for a month now and honestly, my energy levels are way more stable.
    Not just for workouts—feels like a full-body upgrade.

  4. wocaacb dice:

    In order to qualify for federal loans a Free Application for Federal Student Aid (FAFSA) have to be completed and aid is granted in relation to student need, tuition rates with the college, and other factors. The last volume of your certified local pharmacy professional program takes a twelve month preparation software in addition to as soon because completing this tutorials you may purchase an associates education. If you obtain prescriptions monthly make sure your pharmacy has your most current prescription insurance information.
    Prescription eye care products online

  5. Wow that was odd. I just wrote an really long comment
    but after I clicked submit my comment didn’t appear.
    Grrrr… well I’m not writing all that over again. Anyhow, just
    wanted to say superb blog!

  6. エロ ラブドールNo se te acuerda que me enga?aste ya otra vez? y que tu descortes desden y crueldad me hechó en destierro,negando a quien te adoraua por otro que tu adorauas,

  7. Valuable information. Fortunate me I discovered your web site by chance, and I
    am surprised why this coincidence did not came about
    earlier! I bookmarked it.

  8. vswstb dice:

    The call center company later changed its name to e – Telecare Global Soltions in 2004. Important point to become noticed is always that cost can’t continually be the first consideration. Use those outlines as a roadmap to assist you study for that pharmacy tech certification test.
    Online pharmacy for mental health

  9. 피곤함이 가득했던 하루, 강남토닥이의 정성 가득한 여성전용마사지가 저를 회복시켜줬어요.

  10. depo123 dice:

    Thankfulness to my father who shared with me on the topic of this blog,
    this blog is truly awesome.

  11. Check it out dice:

    Check it out

    Wonderful goods from you, man. I’ve understand your stuff previous to and you’re just
    too wonderful. I actually like what you have acquired here, certainly like what you are saying
    and the way in which you say it. You make it entertaining and you still take care of to keep it smart.

    I can’t wait to read much more from you. This is really a great
    web site.

  12. Oh my goodness! Incredible article dude!

    Thanks, However I am going through issues with your RSS.
    I don’t know why I cannot join it. Is there anybody else getting identical RSS problems?
    Anybody who knows the solution will you kindly respond?
    Thanks!!

  13. Harika bir içerik!

    Do you mind if I quote a couple of your articles as long as I provide
    credit and sources back to your webpage? My blog site is in the
    exact same area of interest as yours and my visitors
    would truly benefit from a lot of the information you provide here.

    Please let me know if this ok with you. Appreciate it!

  14. lxbrwqlz dice:

    There are two ways for being a pharmacist technician, getting certified or registered because of your state. College pre-pharmacy study as little being a day or two and may still pass the exam. They can also check with doctors to authorize refills, and enter drug information in to the computer.
    Online drugstore

  15. fiwqev dice:

    The certification does play a huge role in making a rewarding career as a PT since it helps for making one more qualified when they apply for promotion. You might additionally check out “Physician Assistant Is a Top Healthcare Career. However, by exercising with adequate practice pharmacy technician test questions we have better chances of being successful.
    Online pharmacy reviews

  16. “I’ve been using Prodentim for a few weeks now and honestly, my breath stays fresh all day — no mints or gum needed. The probiotics really make a difference!”

  17. More recent related research analysis by Christoph Becker,ラブドール 販売Isadora Kirchmaier,

  18. _–Pues dime,ラブドール エロ?no te acuerdas?_–Muy bien,

  19. _–No veys? bueno viene el se?or Apio esta ma?ana.ラブドール 無 修正_–Estan más promptos los spiritos a esta ora.

  20. ラブドール sexpehme?n k?den.Ette pid? l?hetyssaarnaajista,

  21. リアル ラブドール[499] Suplida la _i_ primera de esta voz.[500] _Popreza en el original.

  22. If you’ve been struggling with bad breath like I
    was, give Prodentim a try. It’s the only thing that’s worked for me — feels amazing to have lasting freshness!

  23. ドール エロinjurias,gastos y otros mil males que se sienten y no se dizen por los enamorados; considerad al mismo Hercules despues de tantas vitorias y ser tan animoso y sabi cómo le hizo el Amor parecer otro Sardanapal y le quemó viuo.

  24. Es que vuelve al mundocon su antigua y persuasiva elocuencia y su caudal de tercerías y malasartes: es una genial _resurrección_,ラブドール エロbien distinta de aquella otra quetoscamente inventó el autor de la historia de _Felides y Polandria_.

  25. _–No aueis oido decir,ドール エロdebaxo de mala capa ay buen bebedor? a quien vos vieredes que es de mi quadrilla no lo estimeis en poc porque yo no me entiendo con gente vulgar.

  26. apnihfhg dice:

    If you happen to be disabled as outlined by federal government standards, and receive government disability payments, you then generally may have your student loans discharged. In Oklahoma, pharmacists are required to obtain a valid photo identification before dispensing any controlled, dangerous substance. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.
    Online pharmacy FAQs

  27. Vos soys el retracto del summo poder,Que Dios ha mostrado en las criaturas; Angélica imagen que acá en las baxuras Ensal?ais a Dios en tal os hazer; Soys solo una A quien fortuna Obedece desde la cuna.ラブドール えろ

  28. Shoutout to XTB! I’ve been using them for a few months now — the zero commissions and clean interface are .
    Sad it’s not in the U.S. though, hope that changes soon.

  29. black lotus dice:

    Hello just wanted to give you a quick heads up. The text in your content seem to be running off the screen in Ie. I’m not sure if this is a format issue or something to do with internet browser compatibility but I figured I’d post to let you know. The design look great though! Hope you get the issue solved soon. Cheers

  30. homepage dice:

    Свежая и проверенная база для эффективного продвижения вашего
    сайта средствами Хрумера и ГСА!

    Преимущества нашего предложения:

    – Качественная база проверенных площадок для мощного SEO-прогона.

    – Готовые успешные базы — мгновенный эффект без риска и разочарований.

    -Возможность создать уникальную базу под ваши
    конкретные критерии.

  31. amunra dice:

    Hi there just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Safari. I’m not sure if this is a formatting issue or something to do with internet browser compatibility but I figured I’d post to let you know. The design look great though! Hope you get the problem solved soon. Cheers

  32. Hello to all, it’s genuinely a good for me to visit this website, it includes important Information.

  33. jwndnru dice:

    The answering services company company later changed its name to e – Telecare Global Soltions in 2004. Important point to be noticed is always that cost can’t often be the first consideration. This is often a common occurrence as January 1 kicks off a brand new year of pharmacy benefits and beneficiaries are stuck (with minor exceptions obviously called qualifying life events or QLEs) before next open enrollment season in November.
    Affordable Levothyroxine online

  34. I couldn’t refrain from commenting. Very well written!

  35. obviously like your website however you need
    to check the spelling on several of your posts. Several of them are rife with spelling
    problems and I in finding it very troublesome to inform the reality however I’ll surely come again again.

  36. amunra dice:

    Howdy just wanted to give you a quick heads up. The text in your post seem to be running off the screen in Ie. I’m not sure if this is a formatting issue or something to do with web browser compatibility but I figured I’d post to let you know. The style and design look great though! Hope you get the issue solved soon. Many thanks

  37. エロ ラブドール_–Antes te vi,y te oy preguntar por mí; y despues de ydo tú,

  38. oxbet dice:

    I enjoy what you guys are usually up too. Such clever work and coverage! Keep up the terrific works guys I’ve added you guys to my personal blogroll.

  39. Le Trésor et les Vigicoffres n’attaquent pas, ils ne comptent que sur
    une erreur de votre part pour vous tuer instantanément.

  40. esport bet dice:

    Everyone loves what you guys tend to be up too. This type of clever work and coverage! Keep up the terrific works guys I’ve incorporated you guys to blogroll.

  41. bwin dice:

    Hi there just wanted to give you a quick heads up. The text in your content seem to be running off the screen in Opera. I’m not sure if this is a format issue or something to do with browser compatibility but I thought I’d post to let you know. The design look great though! Hope you get the problem resolved soon. Kudos

  42. vblink777 dice:

    Hi there just wanted to give you a quick heads up. The text in your content seem to be running off the screen in Firefox. I’m not sure if this is a formatting issue or something to do with browser compatibility but I thought I’d post to let you know. The layout look great though! Hope you get the problem solved soon. Cheers

  43. toto slot 4d dice:

    I am sure this paragraph has touched all the internet people, its really really good
    paragraph on building up new webpage.

  44. ywsahx dice:

    The certification does play a huge role in making a rewarding career as being a PT since it helps to produce one more qualified whenever they apply for promotion. To find degree programs that train you for any career as a pharmacy technician, it is possible to check out the Directory of Schools website at directoryofschools. They may also check with doctors to authorize refills, and enter drug information into the computer.
    Affordable medications online

  45. esoccer bet dice:

    I enjoy what you guys tend to be up too. This sort of clever work and exposure! Keep up the terrific works guys I’ve incorporated you guys to my personal blogroll.

  46. Do you mind if I quote a couple of your posts as long as I provide
    credit and sources back to your site? My blog site is
    in the very same niche as yours and my users would definitely benefit from some of the
    information you present here. Please let me know if this ok with you.
    Thanks a lot!

  47. m98 bet dice:

    Good post. I learn something new and challenging on websites
    I stumbleupon every day. It will always be helpful to read articles from
    other writers and practice a little something from their sites.

Responder a fiwqev Cancelar respuesta