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,509

  1. Texas dice:

    Undeniably imagine that that you stated. Your favourite justification seemed to be on the net the simplest factor to be mindful of.
    I say to you, I definitely get irked while folks consider
    issues that they plainly don’t recognize about.
    You controlled to hit the nail upon the highest and also defined out the entire thing with no need side-effects
    , other people could take a signal. Will probably be again to get
    more. Thank you

  2. купить курсовую работу [url=www.kupit-kursovuyu-1.ru/]www.kupit-kursovuyu-1.ru/[/url] .

  3. melbet_cpMt dice:

    melbet actualizare aplicație [url=https://melbet5013.ru]https://melbet5013.ru[/url]

  4. koi toto dice:

    Hello, this weekend is pleasant in support of me, for the reason that this moment
    i am reading this wonderful educational article here
    at my house.

  5. Diplomi_atot dice:

    купить аттестат о школьном образовании [url=www.r-diploma14.ru/]www.r-diploma14.ru/[/url] .

  6. cockjockey dice:

    Hello There. I discovered your blog the use
    of msn. That is a really neatly written article. I will
    be sure to bookmark it and come back to read extra of your helpful information. Thank
    you for the post. I’ll certainly return.

  7. курсовая работа на заказ цена [url=www.kupit-kursovuyu-6.ru/]www.kupit-kursovuyu-6.ru/[/url] .

  8. situs toto dice:

    This site was… how do I say it? Relevant!! Finally I’ve found something which helped me.
    Cheers!

  9. Awesome blog! Do you have any tips for aspiring writers?
    I’m hoping to start my own website soon but I’m a little lost on everything.
    Would you recommend starting with a free platform like WordPress or go for a paid option? There
    are so many choices out there that I’m totally
    confused .. Any recommendations? Thanks!

  10. melbet_eoMr dice:

    melbet eSports [url=melbet5014.ru]melbet5014.ru[/url]

  11. bali777 dice:

    Very nice post. I definitely love this website.

    Keep it up!

  12. заказать курсовой проект [url=https://kupit-kursovuyu-4.ru/]заказать курсовой проект[/url] .

  13. What a information of un-ambiguity and preserveness of
    valuable knowledge on the topic of unexpected emotions.

  14. melbet_toMr dice:

    melbet noutăți [url=www.melbet5014.ru]www.melbet5014.ru[/url]

  15. ThomasRed dice:

    Стандартизированный алгоритм позволяет действовать быстро и безопасно. Он гибко настраивается под конкретный случай, но всегда включает триаж, экспресс-диагностику, старт инфузии, симптом-менеджмент и выдачу плана на 72 часа с «коридорами безопасности».
    Изучить вопрос глубже – http://narcolog-na-dom-krasnodar14.ru

  16. It was evidentthat she had not intended her flight to bring her so far.セックス ロボットBehind her inthe doorway appeared a student with a crimson coat collar,

  17. помощь курсовые [url=http://www.kupit-kursovuyu-4.ru]http://www.kupit-kursovuyu-4.ru[/url] .

  18. RichardDycle dice:

    best rated canadian pharmacy http://isoindiapharm.com/# Iso Pharm

  19. Foresttat dice:

    UvaPharm [url=http://uvapharm.com/#]UvaPharm[/url] Uva Pharm

  20. RichardDycle dice:

    best canadian online pharmacy https://mhfapharm.xyz/# 77 canadian pharmacy

  21. wop dice:

    Wonderful article! We will be linking to this particularly great article on our website.
    Keep up the good writing.

  22. курсовая работа на заказ цена [url=https://kupit-kursovuyu-6.ru/]https://kupit-kursovuyu-6.ru/[/url] .

  23. написать курсовую работу на заказ в москве [url=http://www.kupit-kursovuyu-2.ru]http://www.kupit-kursovuyu-2.ru[/url] .

  24. написать курсовую на заказ [url=https://kupit-kursovuyu-1.ru]https://kupit-kursovuyu-1.ru[/url] .

  25. melbet_hkMr dice:

    melbet mobil [url=https://www.melbet5014.ru]melbet mobil[/url]

  26. mathematics dice:

    Visual aids in OMT’s educational program mаke abstract concepts concrete,
    promoting ɑ deep appreciation f᧐r math ɑnd motivation to overcome exams.

    Unlock үoսr kid’s full potential in mathematics ѡith OMT Math Tuition’ѕ expert-led classes, tailored tо Singapore’ѕ MOE syllabus f᧐r primary, secondary, ɑnd JC trainees.

    Gіven that mathematics plays ɑ
    critical role in Singapore’s economic development аnd development, purchasing specialized math tuition equips students ԝith tһe
    analytical abilities needed to grow in a competitive landscape.

    With PSLE mathematics contributing ѕubstantially tօ general
    ratings, tuition supplies extra resources ⅼike model answers fоr pattern recognition аnd algebraic thinking.

    Tuition fosters innovative рroblem-solving skills, critical fоr solving tһe complicated, multi-step questions tһat define
    O Level math challenges.

    Ԝith A Levels affectіng job paths in STEM fields, math tuition strengthens foundational skills
    forr future university studies.

    Ꮤһat sets apart OMT is іts custom curriculum tһat aligns with MOE wһile concentrating օn metacognitive
    abilities, ѕhowing trainees how to learn math effectively.

    Flexible scheduling implies no clashing ᴡith CCAs one, guaranteeing wеll balanced life and climbing math scores.

    Wіth math ratings influencing hiɡh school placements, tuition is crucial for Singapore primary trainees ɡoing fߋr elite organizations throսgh PSLE.

  27. заказать курсовую работу [url=https://www.kupit-kursovuyu-4.ru]заказать курсовую работу[/url] .

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

  29. купить курсовую сайт [url=www.kupit-kursovuyu-4.ru]купить курсовую сайт[/url] .

  30. курсовая работа на заказ цена [url=http://kupit-kursovuyu-3.ru]курсовая работа на заказ цена[/url] .

  31. melbet_qzMt dice:

    melbet bonus de primă depunere [url=http://melbet5013.ru/]http://melbet5013.ru/[/url]

  32. RichardDycle dice:

    canadian pharmacy mall http://mhfapharm.com/# canadian pharmacy sarasota

  33. RichardDycle dice:

    legit canadian online pharmacy https://mhfapharm.com/# MhfaPharm

Responder a melbet_jiMr Cancelar respuesta