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: 20,125

  1. ylmiiqoo dice:

    Remember the Golden Rule: As hard as it can be some times, you can have a lot more done inside a calm friendly manner then you definitely ever will accomplish by pounding your fist on the counter. Drugs might be ordered by only entering the pharmacy website and placing an order with a click of the mouse button. Veri – Sign and Scan – Alert Hacker Safe would be the two names you need to be looking out for as well as these names will proclaim the websites are safe for paying online.
    Safe online pharmacy

  2. Vulkan Platinum — это платформа для настоящих ценителей
    азартных игр, предлагающая уникальные возможности для заработка.

    Мы предлагаем захватывающий игровой процесс с возможностью крупных выигрышей в каждой игре.

    Vulkan Platinum — это не просто развлечение, это возможность заработать.

    Почему стоит выбрать Vulkan Platinum бонусы на пополнение?
    Наша платформа отличается
    удобством и безопасностью, а также
    продуманной системой выплат.

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

    Когда лучший момент для того, чтобы начать играть?
    Уже сейчас! Просто зарегистрируйтесь, и начните
    игру с бонусами, которые мы подготовили
    для новых игроков. Вот, что вас ждет в Vulkan Platinum:

    Мы гарантируем быстрые и безопасные выплаты.

    Независимо от того, какой жанр игр вам нравится, у
    нас есть все, что вам нужно.

    Программа лояльности для постоянных игроков.

    Vulkan Platinum — это ваш шанс на большие выигрыши. https://vulkan-primecasino.top/

  3. There is certainly a lot to find out about this subject.
    I love all the points you made.

  4. good88 dice:

    Tải ứng dụng fb88 và tận hưởng giao diện đẹp mắt, dễ sử dụng.

  5. This is my first time pay a quick visit at here and i am truly pleassant to read all at one place.

  6. wedding blog dice:

    Hi there, i read your blog occasionally and i own a similar
    one and i was just curious if you get a lot of spam remarks?
    If so how do you stop it, any plugin or anything you can advise?
    I get so much lately it’s driving me mad so any
    support is very much appreciated.

  7. v9bet dice:

    Write more, thats all I have to say. Literally, it seems as though you relied on the video
    to make your point. You definitely know what youre
    talking about, why throw away your intelligence on just posting
    videos to your site when you could be giving us something informative to read?

  8. dsmxoszp dice:

    “(3) The Washington Post(4) commemorated the closing using a write-up that contained just a little of Schadenfreude. Fear not, as time passes you will know precisely how to handle different kinds of problems that comes about. If you obtain prescriptions on a monthly basis make sure your pharmacy has your most up-to-date prescription insurance information.
    Mail-order pharmacy

  9. slots no deposit zertifiziertes casino 100 euro bonus uk,
    australia gambling winnings taxable and australian prime minister blackjack,
    or usa poker app

  10. seo-204 dice:

    Продвижение сайтов https://team-black-top.ru под ключ: SEO-оптимизация, технический аудит, внутренняя и внешняя раскрутка. Повышаем видимость и продажи.

  11. metall-76 dice:

    Всё о металлообработке https://j-metall.ru и металлах: технологии резки, сварки, литья, фрезеровки. Свойства металлов, советы для производства и хобби.

  12. asbery dice:

    An online pharmacy is quite a help within an embarrassing scenario like this. Any reputable web business puts their shopping cart on a safe and secure server. This is a common occurrence as January 1 kicks off a whole new year of pharmacy benefits and beneficiaries are locked in (with minor exceptions naturally called qualifying life events or QLEs) before the next open enrollment season in November.
    Order Amlodipine from an online pharmacy

  13. JNETOTO dice:

    I every time emailed this blog post page to all my friends, as if like to read it after that my contacts will too.

  14. Its like you read my mind! You appear to know so much about this,
    like you wrote the book in it or something. I think that you could do with a
    few pics to drive the message home a bit, but instead of
    that, this is magnificent blog. A fantastic read. I’ll definitely be back.

  15. 188bet dice:

    Hey there! This post couldn’t be written any better!
    Reading through this post reminds me of my previous room mate!
    He always kept talking about this. I will forward this article to him.
    Pretty sure he will have a good read. Thank
    you for sharing!

  16. xliwsud dice:

    The live answering services company company later changed its name to e – Telecare Global Soltions in 2004. Before taking any exams necessary for their state, they must pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English like a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. This is a common occurrence as January 1 kicks off a fresh year of pharmacy benefits and beneficiaries are kept in (with minor exceptions needless to say called qualifying life events or QLEs) before next open enrollment season in November.
    #phenergan

  17. Pretty great post. I simply stumbled upon your weblog and wished
    to say that I have really loved browsing your weblog posts.
    After all I will be subscribing for your feed and
    I’m hoping you write again very soon!

  18. agenolx dice:

    Wonderful beat ! I would like to apprentice while you amend
    your web site, how could i subscribe for a blog website?
    The account aided me a acceptable deal. I had been tiny bit acquainted of this
    your broadcast offered bright clear concept

  19. Unquestionably believe that which you said. Your favorite reason seemed to be on the web the easiest thing to be aware of.
    I say to you, I certainly get annoyed while people consider worries that they plainly do not
    know about. You managed to hit the nail upon the top as well as defined out the whole thing without
    having side effect , people can take a signal. Will probably be
    back to get more. Thanks

  20. suncity dice:

    Amazing blog! Do you have any helpful hints for aspiring writers? I’m hoping to start my own blog soon but I’m a little lost on everything. Would you recommend starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any ideas? Many thanks!

  21. iemwzoaq dice:

    The moon sheds her subtle affect on all with this, adding on the variables. To find degree programs that train you for any career like a pharmacy technician, you are able to check out the Directory of Schools website at directoryofschools. If possible try to use the same pharmacy around possible.
    Online pharmacy for contraceptives

  22. Quality articles is the key to be a focus for the people to pay a quick visit the website, that’s what this
    site is providing.

  23. Whats up very nice blog!! Man .. Excellent .. Superb ..

    I’ll bookmark your website and take the feeds also? I’m satisfied to find numerous
    helpful info right here within the publish, we need
    develop more strategies on this regard, thank you for sharing.
    . . . . .

  24. depo 5k dice:

    Your mode of describing the whole thing in this article is really good, every
    one be able to easily know it, Thanks a lot.

  25. I visit daily a few blogs and sites to read articles or reviews, except this blog provides
    feature based content.

  26. deposit 5k dice:

    Good site you’ve got here.. It’s hard to find good
    quality writing like yours nowadays. I seriously
    appreciate people like you! Take care!!

  27. patgwxi dice:

    It is vital to note that not every pharmacy technician receives this type of low wage which when doing work in private pharmacies, it is most likely that one gets to be a wage of $17 each hour minimum. The pharmacist technician must have the prepared prescription, reviewed by a pharmacist, before dispensing or submitting the completed order to a patient or customer. The application deadline is in late April, however it is best to apply much sooner.
    Online pharmacy for asthma inhalers

  28. Hey! Do you know if they make any plugins to
    protect against hackers? I’m kinda paranoid about losing
    everything I’ve worked hard on. Any recommendations?

  29. This excellent website truly has all the information and facts I needed concerning this subject
    and didn’t know who to ask.

  30. Do you have any video of that? I’d like to find out some additional information.

  31. spmxojd dice:

    CVS Pharmacy must depend on prescription drug sales to be in business, but Wal-Mart doesn’t ought to add a huge markup to the prescribed drugs they sell. ” A good a reaction to this just isn’t “I’m searching for a job. It is essential that the internet doctor exactly understands what are the problem is and accordingly provides the medicine.
    Metformin prescription refill online

  32. We stumbled over here different web address and thought I may as well check things out.
    I like what I see so now i’m following you. Look forward to
    looking at your web page for a second time.

  33. In fact no matter if someone doesn’t be aware of afterward its up to other visitors that they will assist, so here it
    takes place.

  34. vdqwtso dice:

    It doesn’t seem fair individuals don’t have cheap drugs available for purchase and that they’re burdened with spending the rest of their life worrying about a thing that could affect their survival like this. When all factors are thought, however, I would need to say that the prices charged at CVS Pharmacy and Rite Aid Pharmacy can be comparable. It is extremely important that the net doctor exactly understands what the problem is and accordingly provides medicine.
    Pharmacy delivery service

  35. Thank you a lot for sharing this with all folks you actually know
    what you are talking about! Bookmarked. Kindly additionally discuss
    with my website =). We could have a link trade contract among us

  36. SLOT 777 dice:

    TESLATOTO adalah situs slot777 terpercaya dengan kualitas “Semakin di Depan”.
    Mereka memang rajanya situs slot gacor. Dengan fitur super lengkap,
    ada demo biar bisa nyoba gratis, pilihan activity dari provider major kayak Pragmatic Perform,
    moreover yang paling penting, RTP Reside slot-nya sampai ninety eight.seven% tinggi banget!
    Peluang JP auto gede! Transaksi juga sat-established dengan reward harian melimpah
    ruah. Pokoknya, kalau pengen sensasi key slot on the internet yang beda, langsung aja gas kesini!

  37. jkygqza dice:

    By giving your pharmacy the actual name of one’s medication you can better safe guard your health. Before taking any exams required by their state, they should pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English being a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. Use those outlines as a roadmap to assist you study for your pharmacy tech certification test.
    Online pharmacy for hormone therapy

  38. teslatoto dice:

    Toto Macau 4D, pasaran yang tengah booming di dunia togel online saat ini.
    Hasil keluaran tiap hari diumumkan beberapa kali, bikin peluang menang
    makin besar. Hadiahnya super menggoda! Taruhan minim bisa
    mendatangkan untung yang cukup gede, dan langkah mainnya simpel!
    Tinggal pilih 4 nomor dari 0000 sampai 9999.

  39. I’m curious to find out what blog system you have been working with?
    I’m experiencing some small security problems with my
    latest site and I’d like to find something more
    safe. Do you have any solutions?

  40. Hi there! I could have sworn I’ve been to
    this blog before but after looking at some of the posts I realized
    it’s new to me. Anyhow, I’m definitely happy I found it and
    I’ll be book-marking it and checking back frequently!

  41. Post writing is also a excitement, if you know
    then you can write if not it is difficult to write.

  42. oiqkqcm dice:

    In order to be eligible for federal loans a Free Application for Federal Student Aid (FAFSA) must be completed and aid is granted based upon student need, tuition rates at the college, and also other factors. The final volume of the certified local pharmacy professional training course takes a one year preparation software as well as as soon because the completing the specific tutorials you might purchase an associates education. If you receive prescriptions monthly make sure your pharmacy has your most up to date prescription insurance information.
    Online pharmacy coupons

  43. kids couch dice:

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

  44. Thanks for sharing your thoughts on fbs forex broker review.
    Regards

  45. WOW just what I was looking for. Came here by searching for
    agenolx

  46. yuxrwf dice:

    CVS Pharmacy must rely on prescription drug sales to be in business, but Wal-Mart doesn’t ought to add a huge markup to the prescription medications they sell. ” A good response to this is not “I’m searching for a job. It is very important that the internet doctor exactly understands just what the problem is and accordingly gives the medicine.
    Online pharmacy for contraceptives

  47. wdmknef dice:

    Location and the type of employer would be the final factors in determining how much pharmacists make. I must add, I have never had any kind of emotional disorder inside my life and am a skeptic of anti-depressants. If you get prescriptions every month make sure your pharmacy has your most up-to-date prescription insurance information.
    Online pharmacy for skincare products

  48. Thanks a bunch for sharing this with all of us you actually recognise what
    you’re talking about! Bookmarked. Please additionally consult with my
    site =). We will have a hyperlink trade contract between us

Responder a kids couch Cancelar respuesta