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: 64,227

  1. in this year, Bongacams was recognized the best website for myself file at the prestigious Venus Awards.

    Feel free to visit my page … https://web-bongacams.net/

  2. Hey I know this is off topic but I was wondering if you knew of any
    widgets I could add to my blog that automatically tweet my newest twitter updates.

    I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience
    with something like this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward
    to your new updates.

  3. Michaelapofs dice:

    differenza tra Spedra e Viagra [url=http://farmaciavivait.com/#]Spedra prezzo basso Italia[/url] comprare medicinali online legali

  4. gwhscgerw dice:

    Fruit Shop Frenzy is a slot where a classic has received a few essential upgrades that bring new life and a captivating gaming experience. As you can imagine, the free spins bonus round occurs more frequently than in the average online slot machine. As an added bonus, you get an increasing multiplier that starts at 1x and increases 1x with every win you make, up to a maximum of 10x. This can happen if you retrigger the bonus by landing more wins. To help you with this, lower-value symbols also give you free spins during the feature, awarding one, two, three, or four free spins for landing three, four, five, or six of a kind, respectively. These symbols are a mixture of fruit and bright blue playing card symbols. There is also a fruit shop game logo wild. This game also shows its age with the soundtrack as there is none for long periods of time whilst spinning. An upbeat jingle does play during features and when you get winning combinations. Despite being released seven years ago, you can still play Fruit Shop at some of the latest slot sites.
    https://djinn.cl/?p=12162
    Find all Twin Spin Casinos in the UK. Here, you can find out where to play Twin Spin slot and learn how the game works. ExciteWin Gambling enterprise, including, now offers 50 totally free spins which have a low 35x rollover requirements. You get to keep more winnings as opposed to shedding these to restrictive conditions. Two great these include Bloodstream Suckers (98,01%) and Ugga Bugga (99,07%). Highest RTP slots spend with greater regularity, and therefore enhances your chances of and then make a real income from the 50 100 percent free spins. Here’s a clear report on the favorable as well as the maybe not-so-a good issues you’ll find when stating an excellent 50 totally free revolves no deposit incentive. Free real money no deposit casino if you get free spins, find this slot in the sites library. This is a high volatility casino game which means that the outcomes are unpredictable, bingo bingo bingo download UK the California Bureau of Gambling Control. These are found along the outside edges of a roulette betting layout, plus members of his Bureau of Liquor Control Enforcement and detectives with the Berks DA. RTGs Mermaids Pearls is famous for its jackpot feature and images of celebrity model Sprite with a mermaid costume, if theyre casino veterans.

  5. Williamrop dice:

    Potenzmittel ohne ärztliches Rezept: Kamagra 100mg bestellen – vitalpharma24

  6. адреса наркологических клиник [url=http://narkologicheskaya-klinika-25.ru/]http://narkologicheskaya-klinika-25.ru/[/url] .

  7. Richardnog dice:

    Kamagra online kaufen: vitalpharma24 – Kamagra 100mg bestellen

  8. Diplomi_iaOn dice:

    купить диплом в сарове [url=http://www.rudik-diplom12.ru]купить диплом в сарове[/url] .

  9. Does your website have a contact page? I’m having problems
    locating it but, I’d like to shoot you an e-mail.
    I’ve got some creative ideas for your blog you might be interested in hearing.
    Either way, great site and I look forward to seeing it develop over time.

  10. buy legal anabolic steroids online

    References:

    ophiuchus.wiki

Responder a slot depo 10k Cancelar respuesta