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: 85,535

  1. empire888 dice:

    I blog quite often and I really thank you for your
    information. Your article has really peaked my
    interest. I’m going to take a note of your website and keep checking
    for new details about once a week. I subscribed to your RSS feed
    as well.

  2. This post will assist the internet viewers for setting up new web site
    or even a blog from start to end.

  3. that were sent from Boston to Sackett’s harbour,ラブドールon LakeOntario,

  4. melbet_wnKn dice:

    melbet înregistrare 1 clic [url=http://melbet5011.ru/]http://melbet5011.ru/[/url]

  5. slot toto dice:

    For hottest news you have to pay a quick visit the web and on internet
    I found this website as a most excellent website for newest updates.

  6. Thank you for the good writeup. It actually was a enjoyment account it.
    Look complicated to more introduced agreeable from you! However, how could we communicate?

  7. Just wish to say your article is as surprising.
    The clarity in your post is just spectacular and i can assume you’re an expert
    on this subject. Well with your permission allow me to grab your RSS
    feed to keep up to date with forthcoming post. Thanks a million and please continue the enjoyable work.

  8. Hunterunuse dice:

    Uva Pharm: online pharmacies – farmacia mexicana en chicago

  9. бонус код мелбет [url=www.melbetbonusy.ru]www.melbetbonusy.ru[/url] .

  10. Foresttat dice:

    MHFA Pharm [url=http://mhfapharm.com/#]MhfaPharm[/url] MhfaPharm

  11. The other day, while I was at work, my sister stole my
    apple ipad and tested to see if it can survive a 40 foot
    drop, just so she can be a youtube sensation. My
    apple ipad is now destroyed and she has 83 views.
    I know this is completely off topic but I had to share it with someone!

  12. RichardDycle dice:

    cheapest pharmacy canada http://isoindiapharm.com/# IsoIndiaPharm

  13. RichardDycle dice:

    canadian pharmacy online reviews https://uvapharm.com/# mexico pharmacy price list

  14. Timothybot dice:

    Montre replique Montre replique haut de gamme : la qualite au rendez-vous ? Les montres repliques haut de gamme se distinguent par une qualite de fabrication superieure et une attention particuliere aux details. Elles utilisent des materiaux plus nobles et des mouvements plus precis, offrant une experience plus proche de celle d’une montre de luxe authentique. Cependant, il est important de bien choisir son fournisseur pour s’assurer de la qualite de la replique.

  15. and so much mor “Her Kind of Healthy” is here to bring you honest conversations about self-care,happiness,リアル ドール

  16. RichardDycle dice:

    buying drugs from canada https://mhfapharm.xyz/# MHFA Pharm

  17. ラブドール 激安This made her angrier than before,and she blew her silverwhistle twice.

  18. Полезный материал! Как
    раз планирую салют и искал где взять фейерверки в Минске с адекватными ценниками
    и быстрой доставкой. Советую заглянуть
    на салют в минске сегодня
    ipn.mx держит цены и помогает с подбором эффектов.

  19. Roberterymn dice:

    MHFA Pharm: canadian pharmacy 24h com – legal to buy prescription drugs from canada

  20. melbet site [url=https://v-bux.ru]https://v-bux.ru[/url] .

  21. オナホ フィギュアWiglaf recalls Beowulf’s generosity. The W?gmunding warriors’ wealthblessèd homestead,

  22. Listen up, Singapore moms and dads, math proves
    pеrhaps thе extremely essential primary topic, encouraging creativity f᧐r issue-resolving
    tо innovative careers.

    Victoria Junior College cultivates creativity аnd management,
    igniting enthusiasms for future production. Coastal campus facilities support arts, liberal arts,
    ɑnd sciences. Integrated programs ᴡith alliances provide seamless,
    enriched education. Service аnd global initiatives develop caring, resistant people.
    Graduates lead ԝith conviction, attaining exceptional success.

    Millennia Institute sticks ⲟut witһ its unique three-уear pre-university pathway
    гesulting in the GCE А-Level examinations, providing versatile ɑnd in-depth
    rеsearch study alternatives іn commerce, arts, ɑnd sciences tailored tо accommodate ɑ diverse variety օf students and their unique goals.
    Αs a centralized institute,іt uses customized guidance аnd
    support group, including devoted scholastic coinsultants ɑnd counseling services,
    to mаke sure every student’s holistic advancement and
    scholastic success іn a inspiring environment. Thе institute’s
    cutting edge facilities, ѕuch as digital learning centers, multimedia resource centers,
    аnd collective woгk areas, develop ɑn іnteresting platform fοr ingenious mentor aⲣproaches аnd hands-on jobs tһat bridge
    theory ԝith practical application. Тhrough strong industry partnerships, students gain access tο real-world experiences ⅼike
    internships, workshops with professionals, ɑnd scholarship opportunities that enhance theіr employability ɑnd profession preparedness.

    Alumni from Millennia Institute regularly attain success іn college and expert arenas, showing the
    institution’s unwavering commitment tօ promoting long-lasting knowing, flexibility,
    ɑnd individual empowerment.

    Αvoid play play lah, combine а reputable Junior College рlus math proficiency for guarantee elevatd А
    Levels scores and effortless ⅽhanges.
    Mums and Dads, fear the disparity hor, math foundation іs vital at Junior College tо comprehending data,
    essential for tօⅾay’s digital market.

    Alas, mіnus robust maths during Junior College, еvеn prestigious institution children mаy stumble at secondary
    calculations, tһerefore build tһat рromptly leh.

    Aрart frߋm school amenities, focus witһ
    math fօr avoid common mistakes like inattentive mistakes
    аt exams.

    Kiasu parents аlways push fօr A іn Math bеcause it’ѕ ɑ
    gateway to prestigious degrees ⅼike medicine.

    Folks, fear thhe gap hor, maths groundwork гemains vital іn Junior College fߋr comprehending data,
    crucial ԝithin current digitall market.
    Wah lao, regardless tһough school іs high-end, maths is thе
    critical subject f᧐r cultivates poise іn calculations.

    Here іѕ my blog post; how much one on one tutor math primary

  23. 人形 エロor testing it by personal experience; until it almost ceases to connectitself at all with the inner life of the human being.Then are seen thecases,

  24. 人形 エロfor anypurpose not involving harm to others: the persons combining beingsupposed to be of full age,and not forced or deceived.

  25. melbet_pkKn dice:

    melbet forum Moldova [url=https://melbet5011.ru]https://melbet5011.ru[/url]

  26. Foresttat dice:

    Uva Pharm [url=http://uvapharm.com/#]Uva Pharm[/url] UvaPharm

  27. better lookmaybe it is written there whom it isfrom.”I broke the seal.フィギュア 無 修正

  28. They are free-for-all marketplaces where people can sell anything, and 99 of the time, エロ 人形the dolls there are cheap, knockoff dolls using stolen photos.

  29. {The messenger continues,人形 エロand refers to the feuds of Swedes and Geats.

  30. Diplomi_gxPn dice:

    обложка на диплом где купить [url=http://www.r-diploma19.ru]обложка на диплом где купить[/url] .

  31. melbet_tvKa dice:

    melbet mirror .md [url=www.melbet5012.ru]www.melbet5012.ru[/url]

  32. Diplomi_haMt dice:

    купить диплом аспиранта [url=https://www.r-diploma21.ru]купить диплом аспиранта[/url] .

  33. si mon grandpère demandait au nouvel ami deSwann: ?Et le voyezvous toujours beaucoup?? la figure del’interlocuteur s’allongeait: ?Ne prononcez jamais son nom devantmoi!??Mais je croyais que vous étiez si liés…? Il avait été ainsipendant quelques mois le familier de cousins de ma grand’mère,コスプレ r18

  34. Thanks a bunch for sharing this with all of us
    you really understand what you are speaking approximately!
    Bookmarked. Kindly also visit my web site =). We can have a hyperlink exchange agreement among us

  35. melbet фрибет [url=https://melbetbonusy.ru]https://melbetbonusy.ru[/url] .

  36. Foresttat dice:

    pharmacy website india [url=https://isoindiapharm.com/#]IsoIndiaPharm[/url] indian pharmacies safe

  37. melbet_zcKn dice:

    melbet dispute plăți [url=https://melbet5011.ru/]https://melbet5011.ru/[/url]

  38. ng huwag namang totoongmauwi na nga tayo sa wala,cung di may matirang an mangmacapagpapaalaala sa atin.ストッキング エロ

  39. 人形 エロBut to be a criticof doctrine she was hardly qualified.Mill has made some clearadmissions on this point.

Responder a Foresttat Cancelar respuesta