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: 28,683

  1. bandar toto dice:

    Hi there to every body, it’s my first visit of this webpage; this
    website carries amazing and really fine information in favor of readers.

  2. keo nha cai dice:

    Hi, this weekend is pleasant in favor of me,
    since this moment i am reading this enormous educational
    paragraph here at my house.

  3. 188bet dice:

    If you are going for finest contents like myself,
    just visit this site every day as it presents feature contents, thanks

  4. A 1200cc motorcycle delivers powerful performance for
    pros.

    Here is my blog post queen mary university of london library

  5. Sleep Lean dice:

    Sleep Lean seems like a really smart approach to weight loss .

    I love how it supports quality sleep while
    also helping the body burn fat overnight. It’s refreshing to see a product that focuses on both rest and metabolism together!

  6. mostbet_zdPt dice:

    mostbet rasmiy sayti [url=www.mostbet4103.ru]www.mostbet4103.ru[/url]

  7. Frankspatt dice:

    ivermectin for scabies in humans: IverGrove – IverGrove

  8. betonred dice:

    Thankfulness to my father who stated to me regarding this website, this blog is in fact awesome.

  9. What’s up to every one, since I am really eager of reading this weblog’s post to be updated regularly.
    It carries pleasant information.

  10. depo123 dice:

    Appreciating the time and effort you put into your
    website and detailed information you present. It’s great to come across a blog every once in a while that isn’t the same unwanted rehashed material.
    Fantastic read! I’ve bookmarked your site and I’m including your RSS feeds to
    my Google account.

  11. えろ 人形–allowingsomething for fortune and figure.?The whist party soon afterwards breaking up,

  12. https://je-tall-sf-marketings-135.b-cdn.net/research/je-tall-sf-marketing-(133).html
    Her mother, Rita, opted for this champagne-hued gown that was equally as ethereal.

  13. I all the time emailed this weblog post page to all my contacts, since
    if like to read it then my friends will too.

  14. KevinTrisk dice:

    Промокод Куш Казино — это специальный код для бонусов, который игроки могут ввести при регистрации или пополнении счёта, чтобы получить бонусные деньги, бесплатные спины или другие привилегии.

    Основные виды промокодов
    – Промокод при пополнении: даёт процентный бонус и иногда фриспины.
    – Промокод без депозита: позволяет получить микробонус или бесплатные спины без пополнения.
    – Промокод повторяющийся: выдается постоянным клиентам за активность.

    Как использовать промокод
    1. Зарегистрируйтесь на сайте Куш Казино или войдите в аккаунт.
    2. Перейдите в раздел касса или в поле ввода промокода при регистрации.
    3. Введите промокод и нажмите подтвердить.
    4. Проверьте зачисление бонуса в личном кабинете или в истории операций.

    Условия и требования
    – Вейджер — обычно требуется отыграть бонус кратность перед выводом средств [url=https://t.me/kush_promokod]Промокод Куш Казино[/url]
    – минимальная сумма — для активации некоторых кодов требуется внести конкретную сумму.
    – Срок действия — промокоды имеют дату истечения.
    – Ограничения по странам — могут действовать не во всех странах.

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

    Заключение
    Промокод КушКазино может дать полезные бонусы и увеличить шансы на выигрыш при условии понимания правил и требований. Всегда читайте условия и пользуйтесь только проверенными источниками промокодов.

  15. Cabinet IQ Cedar Park
    2419 Ⴝ Bell Blvd, Cedar Park,
    TX 78613, United Տtates
    +12543183528
    meowing-yew-418.notion.site</a

  16. Prodentim dice:

    ProDentim is a probiotic-based dental supplement that supports gum health, fresh breath,
    and stronger teeth by balancing the oral microbiome.
    Its natural ingredients work to reduce harmful
    bacteria while promoting beneficial ones,
    helping maintain long-term oral hygiene. Many users
    appreciate it as a simple and effective addition to their daily dental care routine.

  17. Kaizenaire.com curates tһe most recent for Singapore’ѕ consumers,
    featuring leading brand namе promotions.

    Singaporeans ϲonstantly light up at thе sight of a promotion, accepting tһeir city’ѕ track record аs an unequaled shopping heaven.

    Accumulating stamps ⲟr coins is a timeless leisure activity for collection agency Singaporeans, аnd bear in mind tօ stay updated on Singapore’ѕ neԝest promotions ɑnd shopping deals.

    Netflix streams fulms ɑnd series, treasured Ƅy Singaporeans for tһeir binge-worthy material
    аnd tailored suggestions.

    Ⲣast the Vines generates vivid bags ɑnd garments lah, cherished by vivid
    Singaporeans fоr theіr fun, practical designs lor.

    328 Katong Laksa spruces ᥙp with coconutty noodle soup, valued ƅy residents fߋr abundant, Peranakan heritage іn eѵery slurp.

    Singaporeans, d᧐n’t FOMO leh, ⅼooқ for promotions one.

    my web site; time Magazine Promotions

  18. I think everything typed made a ton of sense. But, what about this?
    suppose you added a little content? I mean, I don’t want to tell you how to run your blog, but
    what if you added a post title to possibly grab
    people’s attention? I mean Infraestructura como código – Politraining is a
    little boring. You ought to look at Yahoo’s home
    page and see how they write post headlines to get
    viewers interested. You might add a related video or a picture or two to get readers excited about what you’ve got to say.
    Just my opinion, it would make your posts a little bit more interesting.

Responder a how to buy feet pics Cancelar respuesta