saa Infraestructura como código – Politraining

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: 142,942

  1. статьи про автомобили [url=https://avto-zhurnal-3.ru/]avto-zhurnal-3.ru[/url] .

  2. журнал про машины [url=https://avto-zhurnal-3.ru/]журнал про машины[/url] .

  3. line下載 dice:

    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?

  4. When someone writes an article he/she retains the
    image of a user in his/her mind that how a user can be aware
    of it. Thus that’s why this post is amazing.

    Thanks!

  5. Greetings I am so glad I found your website,
    I really found you by accident, while I was searching on Askjeeve for something else,
    Regardless I am here now and would just like to say thanks for a remarkable post
    and a all round enjoyable blog (I also love the theme/design), I don’t have time to go through it all at the moment but I have bookmarked it and also added
    your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up
    the excellent work.

  6. masterbat3 dice:

    I don’t even know how I ended up here, but I thought this
    post was good. I do not know who you are but certainly you
    are going to a famous blogger if you are not already 😉 Cheers!

  7. Randytaito dice:

    http://usmedsoutlet.com/# canadian pharmacy world coupon

  8. 1win_nvoa dice:

    1win casino [url=http://1win43218.help]http://1win43218.help[/url]

  9. Randytaito dice:

    http://usmedsoutlet.com/# buying from canadian pharmacies

  10. В русском даркнете Rutor занимает прочные позиции «ветерана» благодаря стабильности, системе безопасности и поддержке транзакций через Rutor.Rutor — старейший представитель даркнета на русском языке

    [url=https://rutorforum24x7.co]рутор орг сейчас[/url] — это один из первых и известнейших русскоязычных ресурсов даркнета, неразрывно связанный с анонимной онлайн-экосистемой. Данный сервис специализируется на доступе к широчайшему ассортименту софта, файлов, новостей и разнообразных материалов, охватывающих вопросы взлома и защиты.

    Главные аспекты функционирования Rutor
    Механизм работы ресурса позволяет пользователям получать доступ к большим массивам данных и файлов, при этом обеспечивая максимальную приватность и анонимность. Главное преимущество платформы — интеграция с сетью Rutor, что значительно уменьшает вероятность раскрытия личности и потери конфиденциальной информации. За годы существования Rutor стал местом, где сохраняется важная история русскоязычного даркнета.

    Платформа функционирует стабильно, обеспечивая равный доступ для новых и опытных участников даркнета. Архитектура ресурса предусматривает, что любые разделы — магазин, новостной блок или гайды по взлому — являются составляющими единой системы, где превалируют безопасность и анонимность.
    Возможные направления развития и связанные опасности
    Безусловно, дальнейшая история Rutor будет связана с новыми формами риска, новыми способами защиты конфиденциальности и методами обхода блокировок. Следует помнить, что даже максимально анонимная среда не обеспечивает стопроцентную безопасность.
    Платформа продолжает быть ресурсом для получения расширенной информации, обмена мнениями по безопасности и мониторинга новшеств в сферах даркнета. Улучшение технологий, увеличение аудитории и внедрение инноваций способствуют статусу Rutor как центрального элемента русскоязычного онлайн-сообщества.

    – Сохранение анонимности
    – Гарантия безопасности сделок
    – Открытый доступ к специализированному контенту
    – Защищённость коммуникаций

    Rutor представляет собой ресурс с неповторимой историей, важный для пользователей, стремящихся к свободе, сохранению конфиденциальности и автономии от внешних ограничений в современном интернете.

  11. OMT’s taped sessions aⅼlow students tɑke another ⅼоοk at
    inspiring explanations anytime, strengthening tһeir love for mathematics аnd sustaining thеir
    aspiration for test triumphs.

    Established іn 2013 by Mr. Justin Tan, OMT Math Tuition һas
    assisted mɑny trainees ace tests ⅼike PSLE, O-Levels, and A-Levels ѡith tested analytical strategies.

    Ꭺs mathematics forms tһe bedrock οf logical thinking and critical ⲣroblem-solving іn Singapore’ѕ education syѕtem, professional math tuition ρrovides the
    individualized guidance necessary tо turn obstacles
    into victories.

    Math tuition іn primary school school bridges gaps іn class knowing, maкing suгe students comprehend complex subjects ѕuch ɑs geometry and data analysis
    Ьefore tһe PSLE.

    Detailed feedback from tuition trachers ᧐n practice efforts helps secondary students pick
    սp from errors, enhancing precision f᧐r tһе real O Levels.

    Ꮤith A Levels affecting profession paths іn STEM fields, math tuition reinforces fundamental abilities fօr future university researches.

    OMT’s customized syllabus uniquely straightens ѡith MOE
    framework by providing linking modules fоr smooth changеѕ betweеn primary,
    secondary, аnd JC math.

    OMT’sinexpensive online option lah, offering tօp quality
    tuition ԝithout breaking tһe bank fоr bettеr mathematics outcomes.

    Specialized math tuition fоr O-Levels assists Singapore secondary students separate tһemselves in ɑ
    congested applicant swimming pool.

    Μy һomepage :: secondary a-maths tuition singapore

  12. журнал автомобили [url=https://avto-zhurnal-4.ru/]журнал автомобили[/url] .

  13. онлайн обучение 11 класс [url=https://shkola-onlajn-23.ru/]shkola-onlajn-23.ru[/url] .

  14. газета про автомобили [url=https://avto-zhurnal-4.ru/]газета про автомобили[/url] .

  15. WilliamDig dice:

    BajaMed Direct: BajaMed Direct – BajaMed Direct

  16. 3aplus63.ru dice:

    В нашем онлайн магазине Вы сможете купить дженерик сиалис 40мг с доставкой
    по Санкт-Петербургу и области в день покупки.Высокое качество по привлекательной цене

  17. WilliamDig dice:

    US Meds Outlet: modafinil online pharmacy – US Meds Outlet

  18. lesbian porn dice:

    Adult content is available on various adult websites for entertainment.
    Always choose safe platforms for a protected experience.

  19. статьи про автомобили [url=https://avto-zhurnal-4.ru/]avto-zhurnal-4.ru[/url] .

  20. Randytaito dice:

    https://indogenericexport.com/# buy tizanidine without prescription

  21. StephenThura dice:

    BajaMed Direct [url=http://bajameddirect.com/#]BajaMed Direct[/url] mexican online pharmacy wegovy

  22. WilliamDig dice:

    BajaMed Direct: mexican drugstore – BajaMed Direct

  23. обучение стриминг [url=https://shkola-onlajn-22.ru/]shkola-onlajn-22.ru[/url] .

  24. What’s up, yup this piece of writing is in fact good and I have learned lot of things from it concerning blogging.
    thanks.

  25. ekluhuk dice:

    120 iq это много или мало

    официальный тест на айкью
    уровни iq
    какой должен быть айкью в 17 лет
    как проходят тест на айкью

  26. журнал авто [url=https://avto-zhurnal-4.ru/]журнал авто[/url] .

  27. Hi to every one, the contents existing at this web page are really amazing for people
    experience, well, keep up the nice work fellows.

    Here is my homepage; уроки XRumer

  28. журнал о машинах [url=https://avto-zhurnal-3.ru/]журнал о машинах[/url] .

  29. автоновости [url=https://avto-zhurnal-4.ru/]автоновости[/url] .

  30. pinup_mqEn dice:

    pin-up mines qaydaları pin-up [url=pinup2006.help]pinup2006.help[/url]

  31. журнал автомобильный [url=https://avto-zhurnal-4.ru/]журнал автомобильный[/url] .

  32. журнал автомобили [url=https://avto-zhurnal-3.ru/]журнал автомобили[/url] .

  33. Vaughnprido dice:

    http://usmedsoutlet.com/# no prescription needed pharmacy

  34. WilliamDig dice:

    BajaMed Direct: BajaMed Direct – order medication from mexico

Responder a Randytaito Cancelar respuesta