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: 30,540

  1. After Hours Liquor Delivery

    Whatever your alcohol, we’ve compiled a mega-list of our favorites,
    so you may enjoy a great beverage from the comfort of your own home.
    Whether it’s gin, wine, vodka, tequila, or a delicious craft beer, we deliver after hours liquor for your convenience during this uncertain time.

    It’s worth noting that, as the demand for online
    deliveries develops, certain delivery times may be longer than advertised, and that, of course, deliveries
    and stock are subject to availability. Still, if you have to remain in this weekend, you’ll want to do it in style.

    All services of our alcohol delivery

    – AFTER HOURS LIQUOR DELIVERY
    – AFTER HOURS ALCOHOL DELIVERY
    – LATE NIGHT ALCOHOL DELIVERY
    – 24 HOUR LIQUOR DELIVERY
    – AFTER HOURS ALCOHOL
    – AFTER HOURS BEER DELIVERY
    – ALCOHOL AFTER HOURS NEAR ME
    – 24 HOUR ALCOHOL DELIVERY
    – ALL NIGHT ALCOHOL DELIVERY
    – 24 HOUR ALCOHOL DELIVERY NEAR ME
    – 24 HOUR BOTTLE DELIVERY
    – 24 HOUR LIQUOR DELIVERY NEAR ME
    – LIQUOR STORE TORONTO 24 HOURS
    – 24 HOUR DRINK DELIVERY

    LOOKING FOR LIQUOR STORE DELIVERY IN TORONTO AFTER HOURS?

    When liquor stores in Toronto are closed, After Hours Liquor Delivery can deliver
    Whatever, Wherever, and Whenever, 24 hours a day,
    7 days a week.

    With its unique network, After Hours Liquor Delivery can transport any sort of liquor, wine, alcohol,
    beer, smirnoff vodka, whisky, quickly and reliably.

    liquor store toronto 24 hours

  2. Use a laptop rather than a computer. In case you are someone
    that stays on the Internet for very long time periods, this can perhaps lower
    your electrical use by 75 pct, specifically. The notebook
    is also portable, so you can use it anywhere!

  3. After Hours Liquor Delivery

    Whatever your alcohol, we’ve compiled a mega-list of our favorites,
    so you may enjoy a great beverage from the comfort of your own home.
    Whether it’s gin, wine, vodka, tequila, or a delicious craft beer, we deliver
    after hours liquor for your convenience during this uncertain time.
    It’s worth noting that, as the demand for online deliveries develops, certain delivery times may be longer than advertised, and that,
    of course, deliveries and stock are subject to availability.
    Still, if you have to remain in this weekend,
    you’ll want to do it in style.

    All services of our alcohol delivery

    – AFTER HOURS LIQUOR DELIVERY
    – AFTER HOURS ALCOHOL DELIVERY
    – LATE NIGHT ALCOHOL DELIVERY
    – 24 HOUR LIQUOR DELIVERY
    – AFTER HOURS ALCOHOL
    – AFTER HOURS BEER DELIVERY
    – ALCOHOL AFTER HOURS NEAR ME
    – 24 HOUR ALCOHOL DELIVERY
    – ALL NIGHT ALCOHOL DELIVERY
    – 24 HOUR ALCOHOL DELIVERY NEAR ME
    – 24 HOUR BOTTLE DELIVERY
    – 24 HOUR LIQUOR DELIVERY NEAR ME
    – LIQUOR STORE TORONTO 24 HOURS
    – 24 HOUR DRINK DELIVERY

    LOOKING FOR LIQUOR STORE DELIVERY IN TORONTO AFTER HOURS?

    When liquor stores in Toronto are closed, After Hours Liquor Delivery can deliver Whatever, Wherever, and Whenever, 24 hours a day, 7 days a week.

    With its unique network, After Hours Liquor Delivery can transport any sort of liquor, wine, alcohol, beer, smirnoff vodka, whisky, quickly and reliably.

    beer Delivery toronto app

  4. At this moment I am ready to do my breakfast, after having my breakfast coming over again to read
    more news.

  5. Hello, Neat post. There is an issue together with
    your site in internet explorer, could check this? IE still is the market
    leader and a good portion of other folks will
    miss your great writing because of this problem.

  6. There hace been no winners in the final Powerball drawing of
    2021, and the jackpot grew to $483 million, according to the game operator.

    Also visit my pagye Discover more

  7. read more dice:

    Lawmakers introduced legizlation to authorize parimutuel wagering in 2019, but the bill fwiled to choose up traction and
    died in committee.

    my webpage; read more

  8. Marvelous, what a blog it is! This web site presents valuable data to us, keep it up.

  9. Unquestionably believe that which you said. Your favorite reason seemed to be on the
    net the easiest thing to be aware of. I say to you, I definitely
    get annoyed while people think about worries that they just do not know about.

    You managed to hit the nail upon the top and also defined out the whole thing
    without having side-effects , people could take a signal.
    Will likely be back to get more. Thanks

  10. This text is priceless. How can I find out more?

  11. It’s in fact very complex in this active life to listen news on Television, therefore I
    just use web for that reason, and obtain the most up-to-date news.

  12. Wonderful blog! I found it while searching on Yahoo News.

    Do you have any suggestions on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Thank you

  13. Hey there! I know this is somewhat off topic but I
    was wondering which blog platform are you using for this website?
    I’m getting sick and tired of WordPress because I’ve had issues with
    hackers and I’m looking at options for another platform.
    I would be great if you could point me in the direction of a good platform.

  14. But herte we are, but once again, with a Powerball jackpot that is reigniting
    interest in the preecarious game.

    My webpage: Browse around this site

  15. Thank you for the good writeup. It in fact was a amusement account it.

    Look advanced to more added agreeable from you! However, how
    could we communicate?

  16. We’re a group of volunteers and opening a new scheme in our community.
    Your site provided us with valuable info to work on. You’ve done an impressive job and our entire community will be thankful to you.

  17. hello!,I really like your writing so a lot! proportion we be in contact extra about your article on AOL?
    I require an expert in this house to solve my problem.
    Maybe that is you! Taking a look forward to see you.

  18. Thee January 1 drawing was for a total cash prize of $518.7 millioon but that has due to the fact grown to $522 million.

    Here is my web sjte ::Visit this site

  19. Greetings from Los angeles! I’m bored at work so I decided to check out your blog on my iphone during lunch
    break. I really like the information you present here and can’t wait to take a look when I get home.

    I’m shocked at how quick your blog loaded on my phone ..
    I’m not even using WIFI, just 3G .. Anyways, excellent blog!

  20. With havin so much content do you ever run into any issues of plagorism
    or copyright infringement? My blog has a lot of exclusive content I’ve either created myself or
    outsourced but it seems a lot of it is popping it up
    all over the internet without my permission. Do you know any methods to help
    stop content from being stolen? I’d genuinely
    appreciate it.

  21. The Powerball jackpot for Saturday’s lottery drawing has climbed tto an estimated $635 million, with a
    money alternatgive of $450 million.

    Have a look at my website; Find more information

  22. The random Energy Play multiplier was retired for a set, fixed dollar quantity payout.

    Feel free to visit my blog posst – Click here for more info

  23. Thank you for the auspicious writeup. It in fact was a amusement account
    it. Look advanced to far added agreeable from you! However,
    how can we communicate?

  24. Thanks for sharing your thoughts on website. Regards

  25. Woah! I’m really loving the template/theme of this blog.
    It’s simple, yet effective. A lot of times it’s difficult to get that “perfect balance” between superb usability and appearance.
    I must say you have done a great job with this. Also, the blog loads extremely quick for me on Chrome.
    Superb Blog!

  26. I’d like to find out more? I’d like to find out some additional information.

  27. I really like your blog.. very nice colors & theme. Did you
    make this website yourself or did you hire someone to do it for you?
    Plz respond as I’m looking to construct my own blog
    and would like to know where u got this from.

    appreciate it

  28. The Lottery should get the Multi-Winner kind by December 31 of the yea the prize iss claimed.

    Feel free to surf to my web page: Helpful resources

  29. 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.

  30. tarot dice:

    I loved as much as you’ll receive carried out right here. The sketch is tasteful, your
    authored material stylish. nonetheless, you command get bought an nervousness over that you
    wish be delivering the following. unwell unquestionably
    come further formerly again since exactly the same nearly very often inside case you
    shield this increase.

  31. – A Powerball ticket sold at a North Carolina Sam’s Martt won a lucky perdson $two million in Monday’s drawing,
    according to the North Carolina Education Lottery.

    Stop by my web psge … Click for more info

  32. Use the on thee net Powerball Number Checker to verify the tickets
    you’ve bought against the Powerball winning numbers for the previous 365 days.

    My web site: Go to the website

  33. I’m impressed, I must say. Seldom do I encounter a blog that’s
    both equally educative and entertaining, and without
    a doubt, you have hit the nail on the head. The issue is
    something not enough men and women are speaking intelligently about.
    I am very happy that I stumbled across this during my search
    for something regarding this.

  34. You should be a part of a contest for one of the finest sites on the internet.

    I most certainly will recommend this blog!

  35. After looking at a handful of the blog articles on your web site, I truly like your way of writing a blog.
    I saved it to my bookmark site list and will be checking back in the near future.
    Please check out my web site as well and let me know your opinion.

  36. If enhancements were created, create on your own reminders to be in addition to
    new Top Gun: Maverick film productivity objectives, and check each and every costs towards
    this past year to discover. By way of example, reducing your electrical energy or h2o consumption will get
    you to the practice of converting away from equipment and lighting fixtures if not employed.

  37. Howdy! I just wish to offer you a huge thumbs up for the excellent information you have got here on this post.
    I will be returning to your site for more soon.

  38. If some one wants to be updated with latest technologies after that he must be pay
    a visit this web site and be up to date everyday.

  39. I’m gone to say to my little brother, that he should also pay a visit this weblog on regular basis to get
    updated from hottest news update.

  40. archives dice:

    That is a very good tip particularly to those fresh to the
    blogosphere. Brief but very precise information… Appreciate
    your sharing this one. A must read post!

  41. certainly like your web site but you need to test the spelling
    on quite a few of your posts. A number of them are rife with spelling
    issues and I in finding it very bothersome to inform
    the truth then again I’ll definitely come back again.

  42. VISA 13071 dice:

    Hi, this weekend is nice for me, since this point
    in time i am reading this fantastic educational piece of writing here at my
    residence.

  43. read more dice:

    If you mark this box, you let the terminal randomly choose
    the Florida Powerball numbers.

    Feel free to surf to my webpage … read more

  44. I’m not sure where you’re getting your info, but great topic.
    I needs to spend some time learning more
    or understanding more. Thanks for fantastic info I was looking for
    this information for my mission.

  45. What’s up, I read your blog on a regular basis. Your story-telling style is witty, keep
    up the good work!

  46. here dice:

    To account for inflation, each and every payment
    would be 5% larger than the preceding.

    Also visit my web-site :: here

  47. After Hours Liquor Delivery

    Whatever your alcohol, we’ve compiled a mega-list of our favorites, so you may enjoy a great
    beverage from the comfort of your own home.
    Whether it’s gin, wine, vodka, tequila, or a delicious craft beer,
    we deliver after hours liquor for your convenience during this
    uncertain time. It’s worth noting that, as the demand for online deliveries develops, certain delivery times may be longer
    than advertised, and that, of course, deliveries and stock are subject to availability.

    Still, if you have to remain in this weekend, you’ll want to do it in style.

    All services of our alcohol delivery

    – AFTER HOURS LIQUOR DELIVERY
    – AFTER HOURS ALCOHOL DELIVERY
    – LATE NIGHT ALCOHOL DELIVERY
    – 24 HOUR LIQUOR DELIVERY
    – AFTER HOURS ALCOHOL
    – AFTER HOURS BEER DELIVERY
    – ALCOHOL AFTER HOURS NEAR ME
    – 24 HOUR ALCOHOL DELIVERY
    – ALL NIGHT ALCOHOL DELIVERY
    – 24 HOUR ALCOHOL DELIVERY NEAR ME
    – 24 HOUR BOTTLE DELIVERY
    – 24 HOUR LIQUOR DELIVERY NEAR ME
    – LIQUOR STORE TORONTO 24 HOURS
    – 24 HOUR DRINK DELIVERY

    LOOKING FOR LIQUOR STORE DELIVERY IN TORONTO AFTER HOURS?

    When liquor stores in Toronto are closed, After Hours Liquor Delivery can deliver Whatever, Wherever, and Whenever, 24 hours
    a day, 7 days a week.

    With its unique network, After Hours Liquor Delivery can transport
    any sort of liquor, wine, alcohol, beer, smirnoff vodka, whisky, quickly and reliably.

    http://Www.Zilahy.info/wiki/index.php/Desire_A_Thriving_Enterprise_Deal_With_Alcohol_After_Hours_Near_Me

  48. The Powerball Lottery winning numbers and final results will be announced iin at ten p.m.

    Here iis my web site :: Click for more

  49. ivermectin injection dogs ivermectin 6mg tablet for lice when does ivermectin start working what kind of dogs cannot use ivermectin

  50. WE DELIVER ALCOHOL AFTER HOURS ALL AROUND ONTARIO

    Toronto, Mississauga, Brampton, Etobicoke,
    North York, Scarborough, Vaughan, Markham,
    Richmond Hill, Oakville, Burlington, and Newmarket are all
    cities in Ontario.

    ABOUT AFTER HOURS ALCOHOL
    Whatever your alcohol, we’ve compiled a mega-list of our favorites, so you may enjoy
    a great beverage from the comfort of your own home.
    Whether it’s gin, wine, vodka, tequila, or a delicious craft
    beer, we deliver for your convenience during this uncertain time.

    It’s worth noting that, as the demand for online deliveries develops,
    certain delivery times may be longer than advertised and that, of course, deliveries
    and stock are subject to availability.
    Still, if you have to remain in this weekend, you’ll want to do it in style.

    Also visit my web-site – liquor store near me Open 24 7

Responder a Büroreinigung Cancelar respuesta