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: 17,896

  1. PeterCleag dice:

    Туристический портал https://atrium.if.ua всё для путешественников: путеводители, маршруты, советы, отели, билеты и отзывы. Откройте для себя новые направления с полезной информацией и лайфхаками.

  2. What’s G᧐iing dopwn i’m neѡ to thіѕ, I ѕtumbled upon this I’ve found
    It absolutely helpful and it haѕ aideⅾ me out loads.
    I’m hoping tto give a contributon & aiԁ other userѕ like
    iits helpеd me. Good job.

  3. Современные стиральные машины – это надежные
    и удобные устройства, которые значительно облегчают повседневные заботы хозяйки.

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

    И когда это происходит, необходимо обратиться к
    специалистам по ремонту.
    Ну а подробнее про ремонт стиральных машин в Подольске Вы
    можете почитать на сайте: podolsk.ctc-service.ru

  4. Michaelbob dice:

    Женский онлайн-журнал https://socvirus.com.ua мода, макияж, карьера, семья, тренды. Полезные статьи, интервью, обзоры и вдохновляющий контент для настоящих женщин.

  5. rvjhktg dice:

    Most patients were paying big money for their insurance and were often upset when their prescriptions required a $50 co-pay, or they’d not met their $4,000 deductable and must give the entire cost out-of-pocket. In 1960, the Ayala Group of Companies offered Mariano Que a place to lease in the shopping center that has been about to get developed within the heart of Makati. According towards the Bureau of Labor Statistics (BLS), pharmacists perform a lot greater than provide prescription drugs to patients.

  6. Robertadada dice:

    Портал про ремонт https://prezent-house.com.ua полезные советы, инструкции, дизайн-идеи и лайфхаки. От черновой отделки до декора. Всё о ремонте квартир, домов и офисов — просто, понятно и по делу.

  7. JerryReido dice:

    Всё о ремонте https://sevgr.org.ua на одном портале: полезные статьи, видеоуроки, проекты, ошибки и решения. Интерьерные идеи, советы мастеров, выбор стройматериалов.

  8. I am really grateful to the holder of this website who has shared this great article
    at at this place.

  9. Wow, wonderful blog structure! How long have you been running
    a blog for? you made running a blog glance easy. The total look
    of your site is great, let alone the content material!

  10. I was recommended this blog by means of my cousin. I am not sure whether this
    post is written by him as no one else realize such distinct approximately my problem.
    You’re wonderful! Thank you!

  11. kzyzmqj dice:

    Location and the sort of employer would be the final factors in determining how much pharmacists make. The pharmacist technician will need to have the prepared prescription, reviewed by a pharmacist, before dispensing or submitting the completed order with a patient or customer. You should find these records somewhere in the “Contact Us” section in the website.

  12. gvmjvxcp dice:

    Remember the Golden Rule: As hard as it might be some times, you can have a lot more done in a very calm friendly manner then you definitely ever will accomplish by pounding your fist around the counter. The local temperature in the medicine producing country is one and the other country could be another, and also the avian temperature is the other. Make certain you take some time to ask about a cheaper version so they really will look at the list.

  13. ocenili váš obsah. Dejte mi prosím vědět.

  14. I’m really enjoying the theme/design of your website.
    Do you ever run into any web browser compatibility issues?
    A few of my blog readers have complained about my site not
    working correctly in Explorer but looks great in Chrome.
    Do you have any recommendations to help fix this
    problem?

  15. Özel forma yaptırma

    I believe everything published was very reasonable.

    However, what about this? suppose you were to create a awesome post title?

    I am not suggesting your information is not good., but suppose you added something that makes people desire more?
    I mean Infraestructura como código – Politraining
    is kinda plain. You could look at Yahoo’s front page and watch how they write article headlines to grab viewers to open the links.
    You might add a video or a pic or two to get people
    interested about everything’ve written. Just my opinion, it might make your website a little livelier.

  16. 성인웹툰 dice:

    I was suggested this blog by my cousin. I am not
    sure whether this post is written by him as nobody else know such detailed about my trouble.
    You’re incredible! Thanks!

  17. travel dice:

    Art of Travel, una de las principales agencia de viajes en India, se especializa en crear experiencias de viaje personalizadas.
    Con un profundo conocimiento de diversos destinos, ofrecen paquetes turísticos personalizados, que incluyen viajes de
    lujo, de aventura, culturales y patrimoniales. Desde arreglos de viaje perfectos hasta itinerarios únicos, Art of Travel garantiza un viaje memorable para cada cliente.

    Su equipo de expertos brinda un servicio de primer nivel, lo que los convierte en la opción preferida para
    los viajeros que buscan una experiencia de viaje excepcional y personalizada en toda la India y
    más allá.

  18. ltkaaexr dice:

    “(3) The Washington Post(4) commemorated the closing using a write-up that contained slightly of Schadenfreude. The pharmacist technician must have the prepared prescription, reviewed by a pharmacist, before dispensing or submitting the completed order to some patient or customer. Cocci are sphere-shaped bacteria and can include streptococci, that happen to be chains of cocci bacteria, and staphylococci, which can be clusters of cocci bacteria1.

  19. prumujhh dice:

    Also, look for that bargain table nearby the front from the store brimming with items as much as 50 percent over regular price. Insurance is confusing first of all, additionally it is constantly changing. This is a common occurrence as January 1 kicks off a whole new year of pharmacy benefits and beneficiaries are kept in (with minor exceptions obviously called qualifying life events or QLEs) prior to the next open enrollment season in November.

  20. but breathing morefreely,as if a great weight had been lifted from them.コスプレ えろ

  21. I’ll right away clutch your rss feed as I can’t to find your email subscription hyperlink or newsletter service.
    Do you have any? Kindly allow me know in order that
    I may just subscribe. Thanks.

  22. whoah this weblog is fantastic i really like reading your articles.
    Keep up the good work! You already know, a lot of persons are searching around for this info,
    you could aid them greatly.

  23. fake sg88win dice:

    Thank you for every other informative blog. Where else may I
    get that kind of info written in such an ideal way?
    I’ve a challenge that I am just now working on, and I’ve been on the glance out for such information.

  24. with such dismay that Jo sat downon the floor and screamed.エロ ロボット“Twins,

  25. DavidElaps dice:

    Бюро дизайна https://sinega.com.ua интерьеров: функциональность, стиль и комфорт в каждой детали. Предлагаем современные решения, индивидуальный подход и поддержку на всех этапах проекта.

  26. JacobMen dice:

    Портал про ремонт https://techproduct.com.ua для тех, кто строит, переделывает и обустраивает. Рекомендации, калькуляторы, фото до и после, инструкции по всем этапам ремонта.

  27. Generally I do not learn article on blogs, however I would
    like to say that this write-up very compelled me to
    take a look at and do it! Your writing taste has been amazed me.
    Thank you, very great post.

  28. emakohi dice:

    The pharmaceutical industry especially can’t afford to allow its practitioners to delay or refuse treating clients due towards the perceived using any medical device, be it a pill or even a syringe. The above image shows that a secure protocol ( has been used by the fraudster. They may also check with doctors to authorize refills, and enter drug information in the computer.

  29. Hello to all, it’s truly a fastidious for me to go to see this site, it contains helpful Information.

  30. slot bet 200 dice:

    I do trust all of the ideas you’ve presented for your post.
    They’re very convincing and can certainly work. Still, the posts are very brief for novices.

    Could you please lengthen them a little from next time?
    Thanks for the post.

  31. Remarkable things here. I’m very satisfied to see your
    article. Thank you a lot and I’m taking a look ahead to touch
    you. Will you kindly drop me a e-mail?

  32. I’m truly enjoying the design and layout of your site.
    It’s a very easy on the eyes which makes it much more pleasant
    for me to come here and visit more often. Did you hire out a designer to create your theme?
    Superb work!

  33. WilliamMaype dice:

    Всё о строительстве https://kinoranok.org.ua на одном портале: строительные технологии, интерьер, отделка, ландшафт. Советы экспертов, фото до и после, инструкции и реальные кейсы.

  34. Austinupsep dice:

    Портал о строительстве https://bms-soft.com.ua от фундамента до кровли. Технологии, лайфхаки, выбор инструментов и материалов. Честные обзоры, проекты, сметы, помощь в выборе подрядчиков.

  35. Edwardmam dice:

    Ремонт и строительство https://mtbo.org.ua всё в одном месте. Сайт с советами, схемами, расчетами, обзорами и фотоидееями. Дом, дача, квартира — строй легко, качественно и с умом.

  36. wblfdkfy dice:

    While there is really a small chance you have access to laid off (for example, in the event the chain supermarket closes some stores) you mustn’t have much problem finding another job. When all factors are thought, however, I would ought 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 exactly what the problem is and accordingly increases the medicine.

  37. video mesum dice:

    Hi i am kavin, its my first time to commenting anyplace, when i
    read this piece of writing i thought i could also make comment due to this sensible paragraph.

  38. vovtaly dice:

    “(3) The Washington Post(4) commemorated the closing having a write-up that contained slightly of Schadenfreude. The pharmacist technician should have the prepared prescription, reviewed by a pharmacist, before dispensing or submitting the completed order to a patient or customer. If you get prescriptions every month make sure your pharmacy has your most current prescription insurance information.

  39. Anónimo dice:

    Regularnie gram w kasynach online i testuję nowe platformy i
    muszę powiedzieć, że koreanaggies.net naprawdę wyróżnia się na tle innych.
    Na początek trzeba pochwalić prostotę obsługi i szybki proces tworzenia
    konta – całość zajmuje dosłownie chwilę. Najbardziej spodobał mi się fakt, że można
    dostać bonus bez depozytu – można zagrać za darmo
    i przekonać się, jak działa platforma.
    Dodatkowo oferta powitalna i dostępność kodów promocyjnych sprawiają,
    że na starcie można zdobyć naprawdę sporo dodatkowych środków.
    Cenię sobie też to, że Spinmama pl jest w pełni przetłumaczona na język
    polski, a interfejs i promocje są dopasowane do polskiego rynku – to robi dużą różnicę, zwłaszcza na początku.

    Kontakt z supportem jest szybki i pomocny, a platforma
    działa stabilnie na różnych urządzeniach. Moim zdaniem to jedna z lepszych platform, jeśli ktoś szuka nowoczesnego
    kasyna z uczciwymi zasadami i naprawdę bogatą ofertą rozrywki.
    Warto dać Spinmamie szansę – ja zostaję na dłużej.

  40. ItalvalutMax dice:

    Link exchange is nothing else except it is simply placing the other person’s webpage
    link on your page at suitable place and other person will also do same in favor of
    you.

  41. Splintered rocks leaped up,中国 エロbroken twigs fell from trees,

  42. frpich dice:

    It is important to note that not every pharmacy technician receives such a low wage which when in private pharmacies, it is probably that one receives a wage of $17 hourly minimum. The very last volume of the certified local pharmacy professional training course takes a 12 month preparation software as well as as soon because completing the specific tutorials you might purchase an associates education. If you get prescriptions from month to month make sure your pharmacy has your most up-to-date prescription insurance information.

  43. 조용한 평온함이 부산토닥이
    함께 찾아왔습니다.

  44. “”Don’t be sorry,リアル ラブドールI won’t let it hurt me; I’ll forget all the bad,

  45. memek dice:

    memekdark webdark webillegal contentngentot

  46. hasnte dice:

    In order to be entitled to federal loans a Free Application for Federal Student Aid (FAFSA) should be completed and aid is granted based upon student need, tuition rates at the college, along with other factors. When I asked the tech about this new action she stated that yes, it is a new policy understanding that it is really a “law” that every pharmacies must adhere to. The application deadline is in late April, yet it’s best to apply much sooner.

  47. Very shortly this web page will be famous amid all blog viewers, due to it’s
    nice articles or reviews

  48. dvqgdli dice:

    By giving your pharmacy the complete name of your medication you are able to better safe guard your health. Insurance is confusing to begin with, and yes it is constantly changing. This is really a common occurrence as January 1 kicks off a fresh year of pharmacy benefits and beneficiaries are located in (with minor exceptions naturally called qualifying life events or QLEs) before the next open enrollment season in November.

  49. tnrjeh dice:

    It doesn’t seem fair individuals don’t have cheap drugs open to them for purchase and that they may be burdened with spending the rest of their life worrying about something could affect their survival like this. When all factors are thought, however, I would ought to say that the prices charged at CVS Pharmacy and Rite Aid Pharmacy are very comparable. Most drugs need being stored at exact temperatures, so one in the things pharmacists learn in pharmaceutical quality training could be the necessary steps to keep the facilities clean and in compliance with regulations.

Responder a vovtaly Cancelar respuesta