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: 99,501

  1. DonaldAcaft dice:

    https://dabet.reviews/# địa chỉ truy cập Dabet mới nhất

  2. 撥筋證照 dice:

    https://je-tal-marketing-981.lon1.digitaloceanspaces.com/research/je-marketing-(355).html
    Carrie Crowell had come across the silk costume that her mother, nation singer Rosanne Cash, wore at her 1995 marriage ceremony to Carrie’s stepfather.

  3. 按摩課程 dice:

    https://je-tal-marketing-935.lon1.digitaloceanspaces.com/research/je-marketing-(359).html
    Otherwise, pictures will seem off-balanced, and it might be misconstrued
    that one mother is attempting to outshine or outdo the opposite.

  4. Fun88Oxync dice:

    darazplay: DarazPlay রেফারেন্স লিংক Bangladesh – DarazPlay Bangladesh আপডেটেড লিংক

  5. DonaldAcaft dice:

    https://planbet.sbs/# PLANBET Bangladesh official link

  6. Diplomi_mwKa dice:

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

  7. Bryancof dice:

    Nagad88 Bangladesh main link [url=https://nagad88.top/#]Nagad88 ব্যবহারকারীদের জন্য বর্তমান লিংক[/url] Nagad88 latest working link

  8. Bryancof dice:

    darazplay login [url=https://darazplay.blog/#]DarazPlay রেফারেন্স লিংক Bangladesh[/url] DarazPlay Vietnam current access

  9. Way cool! Some very valid points! I appreciate you writing this article and the rest of the
    site is really good.

  10. I like the helpful info you provide in your articles. I’ll bookmark
    your weblog and check again here regularly.
    I’m quite sure I will learn a lot of new stuff right here!

    Best of luck for the next!

  11. https://je-tal-marketing-952.lon1.digitaloceanspaces.com/research/je-marketing-(449).html
    Think about jewelry, shoes and handbags – all issues that can help make your mom of the bride outfit distinctive.

  12. DonaldAcaft dice:

    http://fun88.sale/# liên kết vào Fun88 cho người dùng Việt Nam

  13. Bryancof dice:

    PLANBET Bangladesh main access page [url=http://planbet.sbs/#]PLANBET working address for Bangladesh[/url] PLANBET latest entry link

  14. secret-book dice:

    I have read a few just right stuff here. Definitely price bookmarking for revisiting.
    I wonder how a lot effort you set to create one of these fantastic informative web site.

  15. DonaldAcaft dice:

    https://planbet.sbs/# PLANBET লগইন করার জন্য বর্তমান লিংক

  16. Fun88Oxync dice:

    Nagad88 কাজ করা লিংক Bangladesh: Nagad88 latest working link – Nagad88 কাজ করা লিংক Bangladesh

  17. bandar slot dice:

    Great goods from you, man. I have understand your stuff previous to and you’re just too fantastic.
    I actually like what you have acquired here, really like what
    you’re stating and the way in which you say it. You make it enjoyable and you still care for to keep it
    smart. I can not wait to read much more from you. This is actually a wonderful site.

  18. dewalive dice:

    You actually make it seem so easy with your presentation but I find
    this topic to be actually something which I think I would never understand.
    It seems too complicated and very broad for me. I’m looking forward for your next
    post, I will try to get the hang of it!

  19. JuliusMap dice:

    http://planbet.sbs/# PLANBET Bangladesh official link

  20. Fun88Oxync dice:

    Nagad88 এ ঢোকার রেফারেন্স পেজ: Nagad88 Bangladesh main link – Nagad88 Bangladesh main link

  21. DouglasSweme dice:

    DarazPlay latest access address: DarazPlay updated entry link – DarazPlay Bangladesh official link

  22. Update Tips dice:

    It’s very effortless to find out any matter on web as
    compared to books, as I found this article at this web page.

  23. DonaldAcaft dice:

    https://nagad88.top/# Nagad88 এ ঢোকার রেফারেন্স পেজ

  24. Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you!

    However, how can we communicate?

  25. If you are going for finest contents like me, just visit this web
    site every day because it provides quality contents, thanks

  26. https://fr-box-2.sfo3.digitaloceanspaces.com/research/paris-(826).html
    You don’t wish to wait until final minute to get your dress in your child’s wedding ceremony.

  27. Bryancof dice:

    fun88 [url=http://fun88.sale/#]link Fun88 Vietnam đang hoạt động[/url] current Fun88 Vietnam URL

  28. 整復學徒 dice:

    https://fr-korea-5.lon1.digitaloceanspaces.com/research/beauty-(2499).html
    You can purchase long sleeves, a long lace mother of the bride costume, or a lovely ballgown with a ship neckline.

  29. https://je-tal-marketing-926.lon1.digitaloceanspaces.com/research/je-marketing-(457).html
    It’s your responsibility to know what she desires from each you and the groom’s mother in phrases of your attire.

  30. DonaldAcaft dice:

    http://dabet.reviews/# link Dabet hoạt động cho người dùng Việt Nam

  31. vag servis spb_wnmi dice:

    ваг сервис спб [url=https://www.elektromontazh-spb.su]ваг сервис спб[/url] .

  32. DouglasSweme dice:

    nagad88 ???? ????: Nagad88 ??? ??? ???? Bangladesh – Nagad88 latest working link

  33. DouglasSweme dice:

    Nagad88 Bangladesh main link: Nagad88 Bangladesh official access – nagad88

  34. mostbet az dice:

    mostbet azerbaycan, https://mostbet-azerbaycan-giris.it.com/ tanınmış onlayn qumar platformasıdır. Oyunçulara riayət olunan müxtəlif imkanları təqdim edir. Effektiv giriş prosesi nəticəsində hər kəs rahatca bahis edə bilər.

  35. Royaltoto dice:

    I personally find that this platform exceeded my expectations with seamless withdrawals and wide token selection.

  36. JuliusMap dice:

    http://fun88.sale/# Fun88 working link for Vietnam

  37. kd777 login dice:

    I needed to thank you for this good read!! I certainly enjoyed
    every little bit of it. I have you book marked to check out new stuff you
    post…

  38. mostbet casino, mostbet promo code free spin nabídne hráčům bohatý
    výběr zábavy. Užijte si vzrušení z značných výher a skvělých bonusů.
    Nenechte si ujít tuto adrenalinovou příležitost!

  39. Angellaf dice:

    Mostbet is a reliable online casino with a wide selection of slot machines, bonuses, the official mostbet промокод на ставки

  40. Bryancof dice:

    Dabet Vietnam current access link [url=http://dabet.reviews/#]link Dabet hoạt động cho người dùng Việt Nam[/url] Dabet Vietnam current access link

  41. Great post. I was checking constantly this blog and I’m impressed!
    Very helpful information specially the last part 🙂 I care for such info a
    lot. I was looking for this certain information for a long
    time. Thank you and best of luck.

  42. Bryancof dice:

    Fun88 updated entry link [url=https://fun88.sale/#]Fun88 working link for Vietnam[/url] Fun88 updated entry link

  43. Hello there, just became alert to your blog through Google, and found that it is
    truly informative. I’m going to watch out for brussels. I will be grateful if you continue this in future.
    Lots of people will be benefited from your writing.

    Cheers!

  44. dewapoker dice:

    I personally find that the learning crypto basics tools are wide token selection and clear transparency.

  45. RonaldFaw dice:

    How to Apply for a UK ETA online

    Applying for a UK digital travel permit is an important process for travelers planning to visit the United Kingdom. This permission allows eligible tourists to enter the UK without a traditional visa for short stays. Below is a in-depth guide on how to get a UK ETA.

    What is a UK ETA and its purpose

    The [url=https://uketapermit.com/uk-eta-validity/]eta uk[/url] is an online authorization that allows entry to the UK for short visits, including tourism, business meetings, or transit. It complements previous visa regulations for certain nationalities.

    Eligibility for the UK ETA

    Not all travelers require an ETA; it applies to citizens from specific countries that fall under the UK ETA scheme. Check the official list of eligible regions before applying.

    Steps to apply for a UK ETA

    1. Prepare your documents
    To apply, you will need a unexpired passport, credit or debit card, and sometimes additional documents such as accommodation information.

    2. Visit the official website
    Complete the application form via the UK government’s official application site.

    3. Fill in personal details
    Provide your full identity details, passport information, travel dates, and purpose of visit.

    4. Upload documents
    Upload scans or photos of your travel document if required.

    5. Pay the application fee
    The UK ETA application requires a fee that can be paid online by card or other accepted methods.

    6. Submit the application
    Double-check all entered information to avoid errors, then submit your application.

    Processing time and approval

    The UK ETA is usually processed within hours to a few days. You will receive a confirmation by email with your ETA status. Make sure to keep this electronic authorization accessible when traveling.

    Benefits of the UK ETA

    – Fast and easy application process
    – No need to visit an embassy or consulate
    – Valid for multiple short visits within a designated period
    – Enables smoother travel experience

    Common mistakes to avoid

    – Applying with an invalid passport
    – Entering incorrect personal data
    – Missing required documents
    – Paying on unofficial websites

    Conclusion

    Applying for a UK ETA is a efficient process that simplifies short-term travel to the United Kingdom. By following official guidelines and preparing proper documentation, you can secure your electronic travel authorization quickly and with minimal hassle. Always use the official websites to apply and stay informed about any changes in travel regulations.

Responder a Bryancof Cancelar respuesta