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: 21,359

  1. I read this piece of writing fully about the comparison of most
    up-to-date and preceding technologies, it’s remarkable article.

  2. Great work! That is the type of info that are supposed to be shared
    around the web. Disgrace on Google for now not positioning this put up upper!

    Come on over and visit my site . Thanks =)

  3. togel dice:

    Nice post. I learn something new and challenging on blogs I stumbleupon on a daily basis.
    It will always be interesting to read through
    articles from other authors and use a little something from other sites.

  4. Aurum Fix dice:

    Terrific article! That is the type of information that are supposed
    to be shared across the internet. Shame on the search engines for not
    positioning this publish higher! Come on over and seek advice from
    my web site . Thank you =)

  5. ¿Es posible integrar la ética en el código abierto para garantizar una ciudadanía digital consciente y responsable en la industria de la tecnología?

    Где снялись айдолы, и это неожиданно! Список, который вас удивит! [url=https://doramalend.online/]дорамаленд[/url]

  6. bk8 dice:

    Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something.
    I think that you can do with some pics to drive the message home
    a bit, but other than that, this is wonderful
    blog. A great read. I’ll certainly be back.

  7. slot demo dice:

    Nikmati slot demo gratis X5000 dari provider ternama di
    platform terbaik! Rasakan semua game slot tanpa deposit,
    gacor, dan lancar hanya di platform TESLATOTO.

  8. agen togel dice:

    Helpful info. Fortunate me I found your web site accidentally, and I’m stunned why this
    twist of fate did not took place earlier! I bookmarked it.

  9. Everyone loves what you guys are usually
    up too. Such clever work and coverage! Keep up the wonderful works guys I’ve added you guys to blogroll.

  10. I’m not sure why but this web site is loading extremely slow for me.

    Is anyone else having this problem or is it a issue on my end?
    I’ll check back later on and see if the problem still exists.

  11. Hello just wanted to give you a brief heads up and let you know a
    few of the images aren’t loading properly. I’m not sure why but I think its a linking issue.

    I’ve tried it in two different web browsers and both show the
    same results.

  12. Thanks , I have just been searching for information approximately this subject for a while and yours is the greatest I’ve
    came upon till now. However, what about the conclusion? Are you
    certain in regards to the source?

  13. Its such as you learn my mind! You appear to understand
    a lot approximately this, such as you wrote the ebook in it or something.

    I believe that you simply could do with a few % to
    drive the message house a bit, however other than that, that is magnificent blog.

    A fantastic read. I’ll certainly be back.

  14. setor123 dice:

    I needed to thank you for this wonderful read!! I definitely loved
    every little bit of it. I have you bookmarked to
    check out new things you post…

  15. evostoto dice:

    Do you have a spam problem on this site; I also am a blogger, and
    I was curious about your situation; we have developed some
    nice practices and we are looking to exchange strategies with others, be
    sure to shoot me an email if interested.

  16. naturally like your web site however you have to test the
    spelling on several of your posts. A number of them are rife
    with spelling problems and I find it very troublesome to inform the reality
    on the other hand I will definitely come again again.

  17. My partner and I stumbled over here from a different web address and
    thought I should check things out. I like what I see so i am just following
    you. Look forward to looking at your web page for a second time.

  18. Greetings from Carolina! I’m bored at work so I decided to browse
    your site on my iphone during lunch break. I enjoy the information you present here and can’t wait to take a look when I get home.

    I’m surprised at how quick your blog loaded on my phone ..

    I’m not even using WIFI, just 3G .. Anyways, fantastic
    site!

  19. QuantReich dice:

    I couldn’t resist commenting. Exceptionally well written!

  20. Peсᥙliaг article, just what I needed.

  21. cek di sini dice:

    Hi eѵeryone, it’s my first visit at this web site,
    and piece off writing is inn fact fruitfyl in favor of me, keep uup posting such
    articⅼes or reviews.

  22. Dawn dice:

    You don’t have to worry about the class precedence
    list for methods and slots inherited from only one superclass or another.
    The advantage of using auxiliary methods is that it makes it quite clear which methods
    are primarily responsible for implementing the generic function and which
    ones are only contributing additional bits of functionality.
    Of course, if you’re going to rely on a coding
    convention–that every method calls CALL-NEXT-METHOD–to ensure all
    the applicable methods run at some point, you
    should think about using auxiliary methods instead.

    Thus, if you want to be able to reuse the code that prints the
    savings-account part of the statement, you’ll need to break that code into a separate function, which you can then call
    directly from both the money-market-account and savings-account print-statement
    methods. The more proxy components are located between client and server, the more is the latency’s part in the response time.
    So Common Lisp uses a second rule that sorts unrelated superclasses according to
    the order they’re listed in the DEFCLASS’s direct superclass list–classes earlier in the
    list are considered more specific than classes later in the list.
    The problem is that while you can use CALL-NEXT-METHOD to call “up” to the next most specific method, namely,
    the one specialized on checking-account, there’s no way to invoke
    a particular less-specific method, such as the one specialized on savings-account.

  23. Pretty nice post. I simply stumbled upon your weblog and wished to mention that I’ve really loved browsing your weblog posts.
    In any case I will be subscribing for your feed and I am hoping
    you write again soon!

  24. Si vous obtenez une combinaison gagnante ou déclenchez le mode Shooter, profitez immédiatement
    des récompenses associées. Gold Rush Shooter offre une
    expérience de jeu parfaitement optimisée pour tous
    les appareils mobiles, garantissant une immersion totale où que vous soyez.

    Ouvrez Gold Rush Shooter sur votre appareil préféré (ordinateur, mobile
    ou tablette) et laissez-vous transporter dans l’univers du Far West.
    If you try to rush through this process too quickly, you may end
    up with an inaccurate count or even damage the machine. They cannot
    inform you about accidents, road closures, or heavy traffic that may significantly impact your travel time.
    Now you can create an account and specify the slot values at
    the same time. Finally, the :allocation option is, like
    :initform, determined by the most specific class that specifies the slot.
    That is, if classes could have only a single direct superclass, ordering classes by specificity would be
    trivial–a class and all its superclasses could be ordered in a straight line
    starting from the class itself, followed by its single direct superclass, followed by
    its direct superclass, all the way up to T. But when a class has
    multiple direct superclasses, those superclasses are typically not related
    to each other–indeed, if one was a subclass of another, you wouldn’t need to subclass both
    directly.

  25. I am regular visitor, how are you everybody? This article posted at this website is really
    good.

  26. 188bet dice:

    I get pleasure from, cause I found exactly what I used to be taking a look for.
    You have ended my four day long hunt! God Bless you man. Have a great day.
    Bye

  27. Demo slot tanpa deposit, dua provider populer bikin dompet gak
    jebol dari TESLATOTO. Di sini arena latihan paling hits buat eksplor semua fitur game,
    mulai dari uji coba free spin, dan mengejar pola jackpot buat dapetin scatter.
    Kerennya lagi, semua permainan ada! Mulai dari Zeus sang kakek petir, slot manis Sweet
    Bonanza sampai Mahjong klasik semuanya bisa kita
    mainkan, tanpa biaya!

    Gunakan peluang ini buat ngasah strategi tanpa risiko,
    temukan sensasi bermain dengan berbagai jenis slot.

  28. TESLATOTO adalah platform slot unggulan terbaru 2025 dengan deposit hanya 5000 via QRIS.
    Menawarkan RTP tinggi dan slot mudah jackpot, platform ini
    jadi andalan pemain yang ingin menang besar.

  29. EdwardHip dice:

    JoyCasino — фантомный клуб для знатоков увеселений
    Джойказино — это широко общераспространенное гемблинг платформа, какое долгое ятси остаётся подбором среди инвесторов, горячих для пылу в течение интернете.
    Знакомство один-другой Джойказино [url=http://alexa.toolsky.com/?url=https%3A%2F%2Fjoycasino-xyz.ru]http://alexa.toolsky.com/?url=https%3A%2F%2Fjoycasino-xyz.ru[/url]
    Комплект игр

    В JoyCasino презентован широкий ассортимент слотов, столовых игр и живого толпа. Ось ваша милость раскопаете такие же форматы, яко:
    – Правильные слоты
    – Диалоговые автоматы
    – Открыточные развлечения
    – Истинное толпа

    Это пустит на человека покупателю эвентуальность выбрать любимый эвритмия и испытать везение.

    Кода лояльности

    Джойказино предлагает соблазнительные бонусы чтобы новых а также постоянных инвесторов:
    – Тантьема согласен регистрацию
    – Отчисления с проигрышей
    – Бесплатные вращения
    – Турниры
    – VIP-программа

    Настоящие проекта делают выступление интереснее равным образом повышают эпинефрин.

    Чистота исполнения

    Одним изо первейших положительных сторон JoyCasino считается энергобезопасность сервиса. На сайте используются:
    – SSL-шифрование
    – Сквозные выплаты
    – Сертифицированные забавы

    Это обеспечивает в сохранности интимною инфы (а) также объективности выигрышей.

    Пополнение равно энтимема лекарственное средство

    Джойказино призывает многообразные приемы для внесения оружий а также заключения выигрышей:
    – Visa, Mastercard
    – WebMoney, QIWI, Яндекс.Деньги
    – Технологии Blockchain

    Экономические акции прочерчиваются я мухой да без лишних комиссий.

    Подвижная версия равно употребления

    Для активных игроков сверху сайте Джой толпа является адаптированная версия для телефонных аппаратов, что позволяет играть где желать.

  30. 破解软件 dice:

    Hi to all, how is the whole thing, I think every one is getting more from this web page,
    and your views are fastidious in support of new visitors.

  31. Today, I went to the beach front with my children. I found a sea shell and gave it to my
    4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed
    the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear.

    She never wants to go back! LoL I know this is entirely off
    topic but I had to tell someone!

  32. Hey there! This is my 1st comment here so I just wanted to give a
    quick shout out and say I genuinely enjoy reading through
    your articles. Can you recommend any other blogs/websites/forums that cover the
    same subjects? Thanks for your time!

  33. miototo slot dice:

    Saved as a favorite, I like your web site!

  34. Article writing is also a fun, if you know then you can write if not
    it is difficult to write.

  35. I’ve learn some just right stuff here. Definitely price bookmarking for revisiting.
    I wonder how much effort you set to create one of these fantastic informative
    site.

  36. An impressive share! I’ve just forwarded this onto
    a colleague who had been conducting a little homework on this.
    And he in fact bought me lunch simply because I found it for him…
    lol. So allow me to reword this…. Thanks for the meal!!

    But yeah, thanks for spending the time to talk about this subject here on your website.

  37. Продвижение сайта https://team-black-top.ru в ТОП Яндекса и Google. Комплексное SEO, аудит, оптимизация, контент, внешние ссылки. Рост трафика и продаж уже через 2–3 месяца.

  38. Комедия детства смотреть один дома — легендарная комедия для всей семьи. Без ограничений, в отличном качестве, на любом устройстве. Погрузитесь в атмосферу праздника вместе с Кевином!

  39. Generally I don’t learn post on blogs, but I wish to
    say that this write-up very pressured me to try and do so!
    Your writing style has been amazed me. Thank you, very nice article.

  40. Excellent goods from you, man. I have understand your stuff previous to and you are just too magnificent.
    I really like what you’ve acquired here, really like what
    you’re stating and the way in which you say
    it. You make it entertaining and you still take care of to keep it sensible.
    I cant wait to read much more from you. This is really a great website.

  41. Geld Zenvix dice:

    I’m not positive the place you are getting your information, but great topic.
    I needs to spend a while finding out much more or working
    out more. Thank you for magnificent info I was on the lookout for this info for my mission.

  42. black-top-92 dice:

    Продвижение сайта https://team-black-top.ru в ТОП Яндекса и Google. Комплексное SEO, аудит, оптимизация, контент, внешние ссылки. Рост трафика и продаж уже через 2–3 месяца.

  43. Комедия детства один дома — легендарная комедия для всей семьи. Без ограничений, в отличном качестве, на любом устройстве. Погрузитесь в атмосферу праздника вместе с Кевином!

  44. TESLATOTO adalah platform judi slot dengan tingkat RTP tinggi dan data RTP live yang diperbarui setiap hari.
    Memberikan info RTP terbaru, platform ini jadi andalan pemain yang ingin menang besar.

  45. AnthonyStoge dice:

    The 1xBet welcome bonus gives you the perfect opportunity to start with [url=https://www.imdb.com/list/ls4788820332/]https://www.imdb.com/list/ls4788820332/[/url]

  46. syair sdy dice:

    Hi there mates, its impressive piece of writing on the topic of educationand completely defined,
    keep it up all the time.

  47. Продвижение сайта https://team-black-top.ru в ТОП Яндекса и Google. Комплексное SEO, аудит, оптимизация, контент, внешние ссылки. Рост трафика и продаж уже через 2–3 месяца.

Agrega tu comenatio