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: 78,652

  1. TimothyBruth dice:

    buy oxycontin [url=https://indiavameds.com/#]indian pharmacy[/url] IndiavaMeds

  2. エロ 着物Itinapon ng ilang babae sa ilog ang mga hiyas at sinunog ang damit nacanyang bigay,at mula ng ilibing ang bangcay sa puno ng balitì ringiyn,

  3. frwe porn, porn, porn hub, jav porn, indo porn,
    poen indo, japanese porn, porn dude, indoneswia porn, gay porn, video porn,
    porn video, porn hd, korean porn, tһe porn dude,japan porn, free porn, rae lil black porn, porn indonesia,
    ɑi porn, porn comic, tiktok porn, audrey davis porn,
    porn movie, chinese porn, sophie rain porn, xxx porn, porn sex,
    hd porn, aian porn, anime porn, deepfake porn, sex porn, alyx star porn, hikaru nagi porn, indonesian porn, nagi hikaru
    porn, roblox porn, porn xxx, bu guru salsa porn,
    porn tube, Ƅig boobs porn, xnxx porn, sijtus porn, porn japan, msbreewc porn, film porn, bulan sutena
    porn, hazel moore porn, hijab porn, douyin porn viagra, сlick here, buy xanax online,
    bestt casino, hacked site, scam reviews, malware, download mp3 free

  4. This article will help the internet visitors for building up new weblog or even a
    blog from start to end.

  5. MartinJaify dice:

    Navikara Pharmacy: Navikara Pharmacy – cheap amoxicillin 500mg

  6. Hmm it appears like your site ate my first comment (it was extremely
    long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog.

    I too am an aspiring blog blogger but I’m still new to the whole thing.
    Do you have any recommendations for beginner blog writers? I’d
    genuinely appreciate it.

  7. mostbet online [url=https://mostbet12040.ru/]https://mostbet12040.ru/[/url]

  8. CesarOppot dice:

    Stromectol over the counter: StromectaDirect – Stromecta Direct

  9. エッチ な コスプレEt sans doute,toutepartie de l’église qu’on apercevait la distinguait de tout autreédifice par une sorte de pensée qui lui était infuse,

  10. iswap24.com dice:

    Really insightful post — Your article is very clearly written, i enjoyed reading it, can i ask you a question? you can also checkout this newbies in classied. iswap24.com. thank you

  11. CesarOppot dice:

    buy ivermectin online: Stromectol tablets – buy ivermectin online

  12. CesarOppot dice:

    medicines online india: india pharmacy – online medicine

  13. ¿Sientes que eres tú quien siempre debe cambiar y adaptarse? https://lasmujeresqueamandemasiadopdf.cyou/ Descarga gratis este libro revelador. Aprende a establecer relaciones equitativas.

  14. icebet login [url=http://www.icebet-online.com]icebet login[/url] .

  15. MartinJaify dice:

    PrednexaMed: prednisone 10 mg canada – prednisone price

  16. Wow, wonderful weblog format! How long have you been blogging for?
    you made blogging look easy. The full look of your web site
    is fantastic, as smartly as the content material!

  17. Have you ever thought about creating an e-book or guest authoring on other blogs?

    I have a blog centered on the same information you discuss and
    would really like to have you share some stories/information. I know my subscribers would appreciate your work.

    If you are even remotely interested, feel free to shoot me an e mail.

  18. mostbet baixar [url=www.mostbet12040.ru]www.mostbet12040.ru[/url]

  19. TimothyBruth dice:

    india pharmacy [url=https://indiavameds.com/#]india pharmacy[/url] indian pharmacy

  20. icebetcasino [url=https://icebet-online.com/]icebetcasino[/url] .

  21. LC888 dice:

    Thank you for every other magnificent post. Where else may just anyone get that kind of info in such an ideal way of writing?
    I’ve a presentation subsequent week, and I am on the search for such info.

  22. I now remember,I haue often ?eene there 5 A woman,せっくす 美人

  23. 188vvv.info dice:

    Hmm is anyone else encountering problems with the images on this
    blog loading? I’m trying to determine if its a problem on my
    end or if it’s the blog. Any responses would be greatly appreciated.

  24. CesarOppot dice:

    Prednexa Med: PrednexaMed – buy prednisone

  25. MartinJaify dice:

    generic amoxil: Amoxicillin 500mg buy online – amoxil online

  26. WW88 dice:

    What’s up, its fastidious article on the topic of media print, we all
    be familiar with media is a wonderful source of information.

  27. CesarOppot dice:

    Navikara Pharmacy: amoxicillin 500 mg brand name – amoxicillin 500mg capsule buy online

  28. ラブドール えろand theartillerymen,and the cadet exchanged silent glances as theyawaited their fate.

  29. TimothyBruth dice:

    Stromectol tablets [url=https://stromectadirect.xyz/#]buy ivermectin online[/url] best pharmacy buy Stromectol

  30. CesarOppot dice:

    IndiavaMeds: india pharmacy – indian pharmacy

  31. Mais nous restames silencieux.エッチ コスプレLes s?urs de magrand’mère ayant manifesté l’intention de parler a Swann de ce mot duFigaro,

  32. Deweyjes dice:

    Don Mueang International Airport, Thailand (DMK)
    [url=http://trips45.cc]трип скан[/url]
    Are you an avgeek with a mean handicap? Then it’s time to tee off in Bangkok, where Don Mueang International Airport has an 18-hole golf course between its two runways. If you’re nervous from a safety point of view, don’t be — players at the Kantarat course must go through airport-style security before they hit the grass. Oh, you meant safety on the course? Just beware of those flying balls, because there are no barriers between the course and the runways. Players are, at least, shown a red light when a plane is coming in to land so don’t get too distracted by the game.
    http://trips45.cc
    трип скан
    Although Suvarnabhumi (BKK) is Bangkok’s main airport these days — it opened in 2006 —Don Mueang, which started out as a Royal Thai Air Force base in 1914, remains Bangkok’s budget airline hub, with brands including Thai Air Asia and Thai Lion Air using it as their base. Although you’re more likely to see narrowbodies these days, you may just get lucky — in 2022, an Emirates A380 made an emergency landing here. Imagine the views from the course that day.

    Related article
    Sporty airport outfit being worn by writer
    CNN Underscored: Flying sucks. Make it better with these comfy airport outfits for women

    Sumburgh Airport, Scotland (LSI)
    The road south from Lerwick cuts across the runway of Sumburgh Airport on Shetland.
    The road south from Lerwick cuts across the runway of Sumburgh Airport on Shetland. Alan Morris/iStock Editorial/Getty Images
    Planning a trip to Jarlshof, the extraordinarily well-preserved Bronze Age settlement towards the southern tip of Shetland? You may need to build in some extra time. The ancient and Viking-era ruins, called one of the UK’s greatest archaeological sites, sit just beyond one of the runways of Sumburgh, Shetland’s main airport — and reaching them means driving, cycling or walking across the runway itself.

    There’s only one road heading due south from the capital, Lerwick; and while it ducks around most of the airport’s perimeter, skirting the two runways, the road cuts directly across the western end of one of them. A staff member occupies a roadside hut, and before take-offs and landings, comes out to lower a barrier across the road. Once the plane is where it needs to be, up come the barriers and waiting drivers get a friendly thumbs up.

    Amata Kabua International Airport, Marshall Islands (MAJ)
    Fly into Majuro and you’ll skim across the Pacific and land on the runway that’s just about as wide as the sandbar-like island itself.
    Fly into Majuro and you’ll skim across the Pacific and land on the runway that’s just about as wide as the sandbar-like island itself. mtcurado/iStockphoto/Getty Images
    Imagine flying into Majuro, the capital of the Marshall Islands in Micronesia. You’re descending down, down, and further down towards the Pacific, no land in sight. Then you’re suddenly above a pencil-thin atoll — can you really be about to land here? Yes you are, with cars racing past the runway no less, matching you for speed.

    Majuro’s Amata Kabua International Airport gives a whole new meaning to the phrase “water landing”. Its single runway, just shy of 8,000ft, is a slim strip of asphalt over the sandbar that’s barely any wider than the atoll itself — and the island is so remote that when the runway was resurfaced, materials had to be transported from the Philippines, Hong Kong and Korea, according to the constructors. “Lagoon Road” — the 30-mile road that runs from top to toe on Majuro — skims alongside the runway.
    Don’t think about pulling over, though — there’s only sand and sea on one side, and that runway the other.

    Related article
    Barra Airport, Scotland
    At Scotland’s beach airport, the runway disappears at high tide

  33. MartinJaify dice:

    PrednexaMed: Prednexa Med – 50 mg prednisone from canada

  34. icebet casino games [url=www.icebet-online.com/]www.icebet-online.com/[/url] .

  35. Hi, I do think this is an excellent site. I stumbledupon it 😉 I’m going to
    come back yet again since I saved as a favorite it.

    Money and freedom is the greatest way to change, may you be rich and continue to help
    other people.

  36. Eliz Serva dice:

    growthflow.click – Color palette felt calming, nothing distracting, just focused, thoughtful design.

  37. Diplomi_rdMa dice:

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

  38. Indiajer dice:

    india pharmacy: IndiavaMeds – indian pharmacy

  39. エロ ランジェリー?At iny po,aking General!ang sagt ni capitang Tiago ng bongcataimtiman.

  40. I’m gone to convey my little brother, that he should also pay a
    quick visit this website on regular basis to take updated from most up-to-date news update.

  41. CesarOppot dice:

    indian pharmacy: indian pharmacy – Indiava Meds

Responder a Diplomi_rdMa Cancelar respuesta