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: 22,587

  1. I just like the helpful information you provide to your articles.

    I’ll bookmark your weblog and test again right here frequently.
    I’m reasonably sure I will be told a lot of new stuff proper here!
    Good luck for the next!

  2. toto macau dice:

    Fantastic beat ! I would like to apprentice whilst you amend your website, how can i subscribe for a blog web site?
    The account aided me a applicable deal. I were tiny
    bit familiar of this your broadcast offered shiny clear idea

  3. ドール エロwith arms hanging down and with a puckered,thoughsmiling face,

  4. エロ ロボットIf it had not been for Tinaon her knee,she didn’t know what would have become of her.

  5. slot gacor dice:

    Great article. I’m going through a few of these issues as well..

  6. IsmaelOveds dice:

    Thanks a lot for sharing this with all folks you really know what you’re talking about! Bookmarked. Please also visit my site =). We may have a link trade agreement between us
    https://keslaser.com.ua/yak-pereviryty-chy-hermetychne-vashe-sklo-far.html

  7. binance kod dice:

    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

  8. прогноз ставок на сегодня [url=https://stavki-na-sport-prognozy1.ru/]stavki-na-sport-prognozy1.ru[/url] .

  9. sandibet dice:

    I have been browsing online more than 4 hours today, yet I never found any interesting
    article like yours. It’s pretty worth enough for me.
    In my view, if all site owners and bloggers made good content as
    you did, the internet will be much more useful than ever
    before.

  10. Every weekend i used to visit this web page, because i want enjoyment, for
    the reason that this this web page conations genuinely fastidious
    funny stuff too.

  11. It’s remarkable tо go tⲟ see thіs website аnd reading thе views ᧐f
    all colleagues on the topic of thіs article, wһile I am also zealous of
    getting experience.

    Feel free t᧐ surf to my blog Jackpot bet online

  12. It’s nearly impossible to find knowledgeable people on this
    topic, however, you sound like you know what you’re talking about!
    Thanks

  13. superslot777 dice:

    Hi, i think that i saw you visited my weblog so i came to “return the favor”.I’m attempting to find
    things to enhance my website!I suppose its ok to
    use a few of your ideas!!

  14. Экстренное прерывание запоя в Красноярске: помощь на дому Запой – это серьезная кризисная ситуация‚ с которым необходимо быстро справиться. Вызов нарколога на дом – эффективный метод решения проблемы. Специалист осуществит процесс выведения токсинов‚ обеспечивая безопасное восстановление пациента. Лечение алкоголизма включает всеобъемлющую помощь‚ включая как физический‚ так и психологический аспекты. Важность вызова нарколога заключается в том‚ что он предлагает комплексные наркологические услуги‚ включая помощь при запойном состоянии. Экстренная помощь позволяет избежать осложнений и начать реабилитацию зависимого. После завершения запойного состояния важно поддерживать процесс лечения алкоголизма‚ чтобы избежать новых запоев. Восстановление после запоя не обходится без поддержки‚ поэтому нарколог на дом поможет не только в физическом плане‚ но и окажет психологическую помощь. Не забывайте о своём здоровье и ищите квалифицированную помощь!

  15. that it wouldn’t wash,リアル ラブドールwhich mishap made herslightly cross.

  16. Hi to all, as I am truly eager of reading this website’s
    post to be updated on a regular basis. It contains nice material.

  17. You really 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 complex and very broad
    for me. I am looking forward for your next post, I will
    try to get the hang of it!

  18. bandar toto dice:

    Hi, I desire to subscribe for this web site to get hottest updates, so where can i
    do it please help.

  19. Sultanslot96 dice:

    I quite like reading through a post that will make people think.
    Also, thanks for allowing for me to comment!

  20. Клубника Казино – это место, где
    каждый игрок найдет что-то особенное для себя.

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

    Почему стоит выбрать Клубника казино скачать для игры в интернете?

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

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

    Когда стоит начать играть в Клубника Казино?
    Начать играть можно прямо сейчас, чтобы сразу
    получить бонусы и бесплатные вращения.
    Вот что ждет вас в Клубника Казино:

    Выгодные бонусы и бесплатные спины для новичков.

    Участие в турнирах и акциях с крупными призами.

    Каждый месяц Клубника Казино пополняет свою коллекцию новыми играми, чтобы
    вы всегда могли найти что-то новое и интересное.

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

  21. I think that what you posted was very reasonable. But, what about
    this? what if you composed a catchier title?
    I mean, I don’t wish to tell you how to run your website,
    but suppose you added something to possibly get a person’s attention? I mean Infraestructura como código – Politraining is
    kinda vanilla. You could glance at Yahoo’s front page and watch how they write article titles to grab viewers to open the links.
    You might add a video or a picture or two to grab readers excited about what
    you’ve got to say. In my opinion, it might bring your
    blog a little bit more interesting.

  22. slot giri? [url=https://www.candy-casino-9.com]https://www.candy-casino-9.com[/url] .

  23. data macau dice:

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

  24. Hi there just wanted to give you a quick heads up.
    The text in your post seem to be running off the screen in Internet explorer.
    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 layout look great though! Hope you get the issue fixed
    soon. Cheers

  25. Have you ever thought about adding a little bit more than just
    your articles? I mean, what you say is important and
    everything. Nevertheless think of if you added some great
    visuals or videos to give your posts more, “pop”!

    Your content is excellent but with pics and clips, this blog could definitely be one of
    the most beneficial in its field. Good blog!

    https://w10.livetogelsgp.icu/

Responder a royapuram tenth maths tuition centers Cancelar respuesta